AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SNS::Types::PublishResponse

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

Overview

Response for Publish action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#message_idString

Unique identifier assigned to the published message.

Length Constraint: Maximum 100 characters

Returns:

  • (String)


1602
1603
1604
1605
1606
1607
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1602

class PublishResponse < Struct.new(
  :message_id,
  :sequence_number)
  SENSITIVE = []
  include Aws::Structure
end

#sequence_numberString

This response element applies only to FIFO (first-in-first-out) topics.

The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for each MessageGroupId.

Returns:

  • (String)


1602
1603
1604
1605
1606
1607
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1602

class PublishResponse < Struct.new(
  :message_id,
  :sequence_number)
  SENSITIVE = []
  include Aws::Structure
end