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)


1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1635

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)


1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1635

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