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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SqsAction as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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:

  • (Types::Payload)

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

#queue_urlString

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

Returns:

  • (String)

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

#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)

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