Class: Aws::IoTEvents::Types::SqsAction

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

Overview

Note:

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

{
  queue_url: "QueueUrl", # required
  use_base_64: false,
  payload: {
    content_expression: "ContentExpression", # required
    type: "STRING", # required, accepts STRING, JSON
  },
}

Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#payloadTypes::Payload

You can configure the action payload when you send a message to an Amazon SQS queue.

Returns:



3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 3474

class SqsAction < Struct.new(
  :queue_url,
  :use_base_64,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end

#queue_urlString

The URL of the SQS queue where the data is written.

Returns:

  • (String)


3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 3474

class SqsAction < Struct.new(
  :queue_url,
  :use_base_64,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end

#use_base_64Boolean

Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.

Returns:

  • (Boolean)


3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 3474

class SqsAction < Struct.new(
  :queue_url,
  :use_base_64,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end