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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sqs/types.rb

Overview

Note:

When making an API call, you may pass SendMessageBatchRequest data as a 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",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#entriesArray<Types::SendMessageBatchRequestEntry>

A list of ` SendMessageBatchRequestEntry ` items.


1731
1732
1733
1734
1735
1736
# File 'lib/aws-sdk-sqs/types.rb', line 1731

class SendMessageBatchRequest < Struct.new(
  :queue_url,
  :entries)
  SENSITIVE = []
  include Aws::Structure
end

#queue_urlString

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

Queue URLs and names are case-sensitive.

Returns:

  • (String)

1731
1732
1733
1734
1735
1736
# File 'lib/aws-sdk-sqs/types.rb', line 1731

class SendMessageBatchRequest < Struct.new(
  :queue_url,
  :entries)
  SENSITIVE = []
  include Aws::Structure
end