Class: Aws::SNS::Types::PublishBatchInput

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

Overview

Note:

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

{
  topic_arn: "topicARN", # required
  publish_batch_request_entries: [ # required
    {
      id: "String", # required
      message: "message", # required
      subject: "subject",
      message_structure: "messageStructure",
      message_attributes: {
        "String" => {
          data_type: "String", # required
          string_value: "String",
          binary_value: "data",
        },
      },
      message_deduplication_id: "String",
      message_group_id: "String",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#publish_batch_request_entriesArray<Types::PublishBatchRequestEntry>

A list of PublishBatch request entries to be sent to the SNS topic.



1804
1805
1806
1807
1808
1809
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1804

class PublishBatchInput < Struct.new(
  :topic_arn,
  :publish_batch_request_entries)
  SENSITIVE = []
  include Aws::Structure
end

#topic_arnString

The Amazon resource name (ARN) of the topic you want to batch publish to.

Returns:

  • (String)


1804
1805
1806
1807
1808
1809
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1804

class PublishBatchInput < Struct.new(
  :topic_arn,
  :publish_batch_request_entries)
  SENSITIVE = []
  include Aws::Structure
end