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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


2055
2056
2057
2058
2059
2060
# File 'lib/aws-sdk-sns/types.rb', line 2055

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)


2055
2056
2057
2058
2059
2060
# File 'lib/aws-sdk-sns/types.rb', line 2055

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