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

Class: Aws::SQS::Types::SendMessageBatchRequest

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

Overview

Note:

When passing SendMessageBatchRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  queue_url: "String", # required
  entries: [ # required
    {
      id: "String", # required
      message_body: "String", # required
      delay_seconds: 1,
      message_attributes: {
        "String" => {
          string_value: "String",
          binary_value: "data",
          string_list_values: ["String"],
          binary_list_values: ["data"],
          data_type: "String", # required
        },
      },
      message_system_attributes: {
        "AWSTraceHeader" => {
          string_value: "String",
          binary_value: "data",
          string_list_values: ["String"],
          binary_list_values: ["data"],
          data_type: "String", # required
        },
      },
      message_deduplication_id: "String",
      message_group_id: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#entriesArray<Types::SendMessageBatchRequestEntry>

A list of SendMessageBatchRequestEntry items.

Returns:

#queue_urlString

The URL of the Amazon SQS queue to which batched messages are sent.

Queue URLs and names are case-sensitive.

Returns:

  • (String)

    The URL of the Amazon SQS queue to which batched messages are sent.