You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoT::Types::SqsAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass SqsAction data as a hash:

{
  role_arn: "AwsArn", # required
  queue_url: "QueueUrl", # required
  use_base_64: false,
}

Describes an action to publish data to an Amazon SQS queue.

Instance Attribute Summary collapse

Instance Attribute Details

#queue_urlString

The URL of the Amazon SQS queue.

Returns:

  • (String)


3043
3044
3045
3046
3047
3048
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3043

class SqsAction < Struct.new(
  :role_arn,
  :queue_url,
  :use_base_64)
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that grants access.

Returns:

  • (String)


3043
3044
3045
3046
3047
3048
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3043

class SqsAction < Struct.new(
  :role_arn,
  :queue_url,
  :use_base_64)
  include Aws::Structure
end

#use_base_64Boolean

Specifies whether to use Base64 encoding.

Returns:

  • (Boolean)


3043
3044
3045
3046
3047
3048
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3043

class SqsAction < Struct.new(
  :role_arn,
  :queue_url,
  :use_base_64)
  include Aws::Structure
end