Class: Aws::IoTEvents::Types::SqsAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTEvents::Types::SqsAction
- 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
-
#payload ⇒ Types::Payload
You can configure the action payload when you send a message to an Amazon SQS queue.
-
#queue_url ⇒ String
The URL of the SQS queue where the data is written.
-
#use_base_64 ⇒ Boolean
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
Instance Attribute Details
#payload ⇒ Types::Payload
You can configure the action payload when you send a message to an Amazon SQS queue.
5477 5478 5479 5480 5481 5482 5483 |
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 5477 class SqsAction < Struct.new( :queue_url, :use_base_64, :payload) SENSITIVE = [] include Aws::Structure end |
#queue_url ⇒ String
The URL of the SQS queue where the data is written.
5477 5478 5479 5480 5481 5482 5483 |
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 5477 class SqsAction < Struct.new( :queue_url, :use_base_64, :payload) SENSITIVE = [] include Aws::Structure end |
#use_base_64 ⇒ Boolean
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.
5477 5478 5479 5480 5481 5482 5483 |
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 5477 class SqsAction < Struct.new( :queue_url, :use_base_64, :payload) SENSITIVE = [] include Aws::Structure end |