aws-sdk-sns 1.88.0 → 1.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +120 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +309 -133
- data/lib/aws-sdk-sns/client_api.rb +33 -33
- data/lib/aws-sdk-sns/customizations.rb +0 -1
- data/lib/aws-sdk-sns/endpoint_parameters.rb +13 -10
- data/lib/aws-sdk-sns/endpoint_provider.rb +15 -19
- data/lib/aws-sdk-sns/endpoints.rb +2 -460
- data/lib/aws-sdk-sns/errors.rb +93 -0
- data/lib/aws-sdk-sns/platform_application.rb +0 -1
- data/lib/aws-sdk-sns/platform_endpoint.rb +61 -21
- data/lib/aws-sdk-sns/plugins/endpoints.rb +1 -90
- data/lib/aws-sdk-sns/resource.rb +117 -24
- data/lib/aws-sdk-sns/subscription.rb +0 -4
- data/lib/aws-sdk-sns/topic.rb +99 -43
- data/lib/aws-sdk-sns/types.rb +264 -105
- data/lib/aws-sdk-sns.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/resource.rbs +3 -0
- metadata +6 -9
data/lib/aws-sdk-sns/resource.rb
CHANGED
|
@@ -108,17 +108,9 @@ module Aws::SNS
|
|
|
108
108
|
# * `DisplayName` – The display name to use for a topic with SMS
|
|
109
109
|
# subscriptions.
|
|
110
110
|
#
|
|
111
|
-
# * `FifoTopic` – Set to true to create a FIFO topic.
|
|
112
|
-
#
|
|
113
111
|
# * `Policy` – The policy that defines who can access your topic. By
|
|
114
112
|
# default, only the topic owner can publish or subscribe to the topic.
|
|
115
113
|
#
|
|
116
|
-
# * `SignatureVersion` – The signature version corresponds to the
|
|
117
|
-
# hashing algorithm used while creating the signature of the
|
|
118
|
-
# notifications, subscription confirmations, or unsubscribe
|
|
119
|
-
# confirmation messages sent by Amazon SNS. By default,
|
|
120
|
-
# `SignatureVersion` is set to `1`.
|
|
121
|
-
#
|
|
122
114
|
# * `TracingConfig` – Tracing mode of an Amazon SNS topic. By default
|
|
123
115
|
# `TracingConfig` is set to `PassThrough`, and the topic passes
|
|
124
116
|
# through the tracing header it receives from an Amazon SNS publisher
|
|
@@ -126,24 +118,107 @@ module Aws::SNS
|
|
|
126
118
|
# segment data to topic owner account if the sampled flag in the
|
|
127
119
|
# tracing header is true. This is only supported on standard topics.
|
|
128
120
|
#
|
|
129
|
-
#
|
|
121
|
+
# * HTTP
|
|
122
|
+
#
|
|
123
|
+
# * `HTTPSuccessFeedbackRoleArn` – Indicates successful message
|
|
124
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
125
|
+
# HTTP endpoint.
|
|
126
|
+
#
|
|
127
|
+
# * `HTTPSuccessFeedbackSampleRate` – Indicates percentage of
|
|
128
|
+
# successful messages to sample for an Amazon SNS topic that is
|
|
129
|
+
# subscribed to an HTTP endpoint.
|
|
130
|
+
#
|
|
131
|
+
# * `HTTPFailureFeedbackRoleArn` – Indicates failed message delivery
|
|
132
|
+
# status for an Amazon SNS topic that is subscribed to an HTTP
|
|
133
|
+
# endpoint.
|
|
134
|
+
# * Amazon Data Firehose
|
|
135
|
+
#
|
|
136
|
+
# * `FirehoseSuccessFeedbackRoleArn` – Indicates successful message
|
|
137
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
138
|
+
# Amazon Data Firehose endpoint.
|
|
139
|
+
#
|
|
140
|
+
# * `FirehoseSuccessFeedbackSampleRate` – Indicates percentage of
|
|
141
|
+
# successful messages to sample for an Amazon SNS topic that is
|
|
142
|
+
# subscribed to an Amazon Data Firehose endpoint.
|
|
143
|
+
#
|
|
144
|
+
# * `FirehoseFailureFeedbackRoleArn` – Indicates failed message
|
|
145
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
146
|
+
# Amazon Data Firehose endpoint.
|
|
147
|
+
# * Lambda
|
|
148
|
+
#
|
|
149
|
+
# * `LambdaSuccessFeedbackRoleArn` – Indicates successful message
|
|
150
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
151
|
+
# Lambda endpoint.
|
|
152
|
+
#
|
|
153
|
+
# * `LambdaSuccessFeedbackSampleRate` – Indicates percentage of
|
|
154
|
+
# successful messages to sample for an Amazon SNS topic that is
|
|
155
|
+
# subscribed to an Lambda endpoint.
|
|
156
|
+
#
|
|
157
|
+
# * `LambdaFailureFeedbackRoleArn` – Indicates failed message delivery
|
|
158
|
+
# status for an Amazon SNS topic that is subscribed to an Lambda
|
|
159
|
+
# endpoint.
|
|
160
|
+
# * Platform application endpoint
|
|
161
|
+
#
|
|
162
|
+
# * `ApplicationSuccessFeedbackRoleArn` – Indicates successful message
|
|
163
|
+
# delivery status for an Amazon SNS topic that is subscribed to a
|
|
164
|
+
# platform application endpoint.
|
|
165
|
+
#
|
|
166
|
+
# * `ApplicationSuccessFeedbackSampleRate` – Indicates percentage of
|
|
167
|
+
# successful messages to sample for an Amazon SNS topic that is
|
|
168
|
+
# subscribed to an platform application endpoint.
|
|
169
|
+
#
|
|
170
|
+
# * `ApplicationFailureFeedbackRoleArn` – Indicates failed message
|
|
171
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
172
|
+
# platform application endpoint.
|
|
173
|
+
# <note markdown="1"> In addition to being able to configure topic attributes for message
|
|
174
|
+
# delivery status of notification messages sent to Amazon SNS
|
|
175
|
+
# application endpoints, you can also configure application attributes
|
|
176
|
+
# for the delivery status of push notification messages sent to push
|
|
177
|
+
# notification services.
|
|
178
|
+
#
|
|
179
|
+
# For example, For more information, see [Using Amazon SNS Application
|
|
180
|
+
# Attributes for Message Delivery Status][1].
|
|
181
|
+
#
|
|
182
|
+
# </note>
|
|
183
|
+
#
|
|
184
|
+
# * Amazon SQS
|
|
185
|
+
#
|
|
186
|
+
# * `SQSSuccessFeedbackRoleArn` – Indicates successful message
|
|
187
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
188
|
+
# Amazon SQS endpoint.
|
|
189
|
+
#
|
|
190
|
+
# * `SQSSuccessFeedbackSampleRate` – Indicates percentage of
|
|
191
|
+
# successful messages to sample for an Amazon SNS topic that is
|
|
192
|
+
# subscribed to an Amazon SQS endpoint.
|
|
193
|
+
#
|
|
194
|
+
# * `SQSFailureFeedbackRoleArn` – Indicates failed message delivery
|
|
195
|
+
# status for an Amazon SNS topic that is subscribed to an Amazon SQS
|
|
196
|
+
# endpoint.
|
|
197
|
+
#
|
|
198
|
+
# <note markdown="1"> The <ENDPOINT>SuccessFeedbackRoleArn and
|
|
199
|
+
# <ENDPOINT>FailureFeedbackRoleArn attributes are used to give
|
|
200
|
+
# Amazon SNS write access to use CloudWatch Logs on your behalf. The
|
|
201
|
+
# <ENDPOINT>SuccessFeedbackSampleRate attribute is for specifying
|
|
202
|
+
# the sample rate percentage (0-100) of successfully delivered messages.
|
|
203
|
+
# After you configure the <ENDPOINT>FailureFeedbackRoleArn
|
|
204
|
+
# attribute, then all failed message deliveries generate CloudWatch
|
|
205
|
+
# Logs.
|
|
206
|
+
#
|
|
207
|
+
# </note>
|
|
208
|
+
#
|
|
209
|
+
# The following attribute applies only to [server-side encryption][2]:
|
|
130
210
|
#
|
|
131
211
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
|
132
212
|
# master key (CMK) for Amazon SNS or a custom CMK. For more
|
|
133
|
-
# information, see [Key Terms][
|
|
213
|
+
# information, see [Key Terms][3]. For more examples, see [KeyId][4]
|
|
134
214
|
# in the *Key Management Service API Reference*.
|
|
135
215
|
#
|
|
136
216
|
# ^
|
|
137
217
|
#
|
|
138
|
-
# The following attributes apply only to [FIFO topics][
|
|
218
|
+
# The following attributes apply only to [FIFO topics][5]:
|
|
139
219
|
#
|
|
140
|
-
# * `ArchivePolicy` –
|
|
141
|
-
#
|
|
142
|
-
#
|
|
143
|
-
# * `BeginningArchiveTime` – The earliest starting point at which a
|
|
144
|
-
# message in the topic’s archive can be replayed from. This point in
|
|
145
|
-
# time is based on the configured message retention period set by the
|
|
146
|
-
# topic’s message archiving policy.
|
|
220
|
+
# * `ArchivePolicy` – The policy that sets the retention period for
|
|
221
|
+
# messages stored in the message archive of an Amazon SNS FIFO topic.
|
|
147
222
|
#
|
|
148
223
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
|
149
224
|
# for FIFO topics.
|
|
@@ -151,7 +226,7 @@ module Aws::SNS
|
|
|
151
226
|
# * By default, `ContentBasedDeduplication` is set to `false`. If you
|
|
152
227
|
# create a FIFO topic and this attribute is `false`, you must
|
|
153
228
|
# specify a value for the `MessageDeduplicationId` parameter for the
|
|
154
|
-
# [Publish][
|
|
229
|
+
# [Publish][6] action.
|
|
155
230
|
#
|
|
156
231
|
# * When you set `ContentBasedDeduplication` to `true`, Amazon SNS
|
|
157
232
|
# uses a SHA-256 hash to generate the `MessageDeduplicationId` using
|
|
@@ -160,14 +235,32 @@ module Aws::SNS
|
|
|
160
235
|
# (Optional) To override the generated value, you can specify a
|
|
161
236
|
# value for the `MessageDeduplicationId` parameter for the `Publish`
|
|
162
237
|
# action.
|
|
238
|
+
# ^
|
|
239
|
+
#
|
|
240
|
+
# * `FifoThroughputScope` – Enables higher throughput for your FIFO
|
|
241
|
+
# topic by adjusting the scope of deduplication. This attribute has
|
|
242
|
+
# two possible values:
|
|
243
|
+
#
|
|
244
|
+
# * `Topic` – The scope of message deduplication is across the entire
|
|
245
|
+
# topic. This is the default value and maintains existing behavior,
|
|
246
|
+
# with a maximum throughput of 3000 messages per second or 20MB per
|
|
247
|
+
# second, whichever comes first.
|
|
248
|
+
#
|
|
249
|
+
# * `MessageGroup` – The scope of deduplication is within each
|
|
250
|
+
# individual message group, which enables higher throughput per
|
|
251
|
+
# topic subject to regional quotas. For more information on quotas
|
|
252
|
+
# or to request an increase, see [Amazon SNS service quotas][7] in
|
|
253
|
+
# the Amazon Web Services General Reference.
|
|
163
254
|
#
|
|
164
255
|
#
|
|
165
256
|
#
|
|
166
|
-
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-
|
|
167
|
-
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
168
|
-
# [3]: https://docs.aws.amazon.com/
|
|
169
|
-
# [4]: https://docs.aws.amazon.com/
|
|
170
|
-
# [5]: https://docs.aws.amazon.com/sns/latest/
|
|
257
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
|
|
258
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
259
|
+
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
|
|
260
|
+
# [4]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
|
261
|
+
# [5]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
|
262
|
+
# [6]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
|
263
|
+
# [7]: https://docs.aws.amazon.com/general/latest/gr/sns.html
|
|
171
264
|
# @option options [Array<Types::Tag>] :tags
|
|
172
265
|
# The list of tags to add to a new topic.
|
|
173
266
|
#
|
|
@@ -58,7 +58,6 @@ module Aws::SNS
|
|
|
58
58
|
# message attributes.
|
|
59
59
|
#
|
|
60
60
|
# * `MessageBody` – The filter is applied on the message body.
|
|
61
|
-
#
|
|
62
61
|
# * `Owner` – The Amazon Web Services account ID of the subscription's
|
|
63
62
|
# owner.
|
|
64
63
|
#
|
|
@@ -90,7 +89,6 @@ module Aws::SNS
|
|
|
90
89
|
# * Permission to write to the Firehose delivery stream
|
|
91
90
|
#
|
|
92
91
|
# * Amazon SNS listed as a trusted entity
|
|
93
|
-
#
|
|
94
92
|
# Specifying a valid ARN for this attribute is required for Firehose
|
|
95
93
|
# delivery stream subscriptions. For more information, see [Fanout to
|
|
96
94
|
# Firehose delivery streams][2] in the *Amazon SNS Developer Guide*.
|
|
@@ -183,7 +181,6 @@ module Aws::SNS
|
|
|
183
181
|
# message attributes.
|
|
184
182
|
#
|
|
185
183
|
# * `MessageBody` – The filter is applied on the message body.
|
|
186
|
-
#
|
|
187
184
|
# * `RawMessageDelivery` – When set to `true`, enables raw message
|
|
188
185
|
# delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need
|
|
189
186
|
# for the endpoints to process JSON formatting, which is otherwise
|
|
@@ -205,7 +202,6 @@ module Aws::SNS
|
|
|
205
202
|
# * Permission to write to the Firehose delivery stream
|
|
206
203
|
#
|
|
207
204
|
# * Amazon SNS listed as a trusted entity
|
|
208
|
-
#
|
|
209
205
|
# Specifying a valid ARN for this attribute is required for Firehose
|
|
210
206
|
# delivery stream subscriptions. For more information, see [Fanout to
|
|
211
207
|
# Firehose delivery streams][1] in the *Amazon SNS Developer Guide*.
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
|
@@ -67,7 +67,6 @@ module Aws::SNS
|
|
|
67
67
|
# value **1**.
|
|
68
68
|
#
|
|
69
69
|
# </note>
|
|
70
|
-
#
|
|
71
70
|
# * `SubscriptionsConfirmed` – The number of confirmed subscriptions for
|
|
72
71
|
# the topic.
|
|
73
72
|
#
|
|
@@ -97,7 +96,13 @@ module Aws::SNS
|
|
|
97
96
|
#
|
|
98
97
|
# The following attributes apply only to [FIFO topics][4]:
|
|
99
98
|
#
|
|
100
|
-
# * `
|
|
99
|
+
# * `ArchivePolicy` – The policy that sets the retention period for
|
|
100
|
+
# messages stored in the message archive of an Amazon SNS FIFO topic.
|
|
101
|
+
#
|
|
102
|
+
# * `BeginningArchiveTime` – The earliest starting point at which a
|
|
103
|
+
# message in the topic’s archive can be replayed from. This point in
|
|
104
|
+
# time is based on the configured message retention period set by the
|
|
105
|
+
# topic’s message archiving policy.
|
|
101
106
|
#
|
|
102
107
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
|
103
108
|
# for FIFO topics.
|
|
@@ -114,6 +119,7 @@ module Aws::SNS
|
|
|
114
119
|
# (Optional) To override the generated value, you can specify a
|
|
115
120
|
# value for the `MessageDeduplicationId` parameter for the `Publish`
|
|
116
121
|
# action.
|
|
122
|
+
# * `FifoTopic` – When this is set to `true`, a FIFO topic is created.
|
|
117
123
|
#
|
|
118
124
|
#
|
|
119
125
|
#
|
|
@@ -343,30 +349,70 @@ module Aws::SNS
|
|
|
343
349
|
# @option options [Hash<String,Types::MessageAttributeValue>] :message_attributes
|
|
344
350
|
# Message attributes for Publish action.
|
|
345
351
|
# @option options [String] :message_deduplication_id
|
|
346
|
-
# This parameter applies only to FIFO (first-in-first-out) topics. The
|
|
347
|
-
#
|
|
352
|
+
# * This parameter applies only to FIFO (first-in-first-out) topics. The
|
|
353
|
+
# `MessageDeduplicationId` can contain up to 128 alphanumeric
|
|
354
|
+
# characters `(a-z, A-Z, 0-9)` and punctuation ``
|
|
355
|
+
# (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
|
356
|
+
#
|
|
357
|
+
# * Every message must have a unique `MessageDeduplicationId`, which is
|
|
358
|
+
# a token used for deduplication of sent messages within the 5 minute
|
|
359
|
+
# minimum deduplication interval.
|
|
360
|
+
#
|
|
361
|
+
# * The scope of deduplication depends on the `FifoThroughputScope`
|
|
362
|
+
# attribute, when set to `Topic` the message deduplication scope is
|
|
363
|
+
# across the entire topic, when set to `MessageGroup` the message
|
|
364
|
+
# deduplication scope is within each individual message group.
|
|
365
|
+
#
|
|
366
|
+
# * If a message with a particular `MessageDeduplicationId` is sent
|
|
367
|
+
# successfully, subsequent messages within the deduplication scope and
|
|
368
|
+
# interval, with the same `MessageDeduplicationId`, are accepted
|
|
369
|
+
# successfully but aren't delivered.
|
|
370
|
+
#
|
|
371
|
+
# * Every message must have a unique `MessageDeduplicationId`:
|
|
372
|
+
#
|
|
373
|
+
# * You may provide a `MessageDeduplicationId` explicitly.
|
|
374
|
+
#
|
|
375
|
+
# * If you aren't able to provide a `MessageDeduplicationId` and you
|
|
376
|
+
# enable `ContentBasedDeduplication` for your topic, Amazon SNS uses
|
|
377
|
+
# a SHA-256 hash to generate the `MessageDeduplicationId` using the
|
|
378
|
+
# body of the message (but not the attributes of the message).
|
|
379
|
+
#
|
|
380
|
+
# * If you don't provide a `MessageDeduplicationId` and the topic
|
|
381
|
+
# doesn't have `ContentBasedDeduplication` set, the action fails
|
|
382
|
+
# with an error.
|
|
383
|
+
#
|
|
384
|
+
# * If the topic has a `ContentBasedDeduplication` set, your
|
|
385
|
+
# `MessageDeduplicationId` overrides the generated one.
|
|
386
|
+
# * When `ContentBasedDeduplication` is in effect, messages with
|
|
387
|
+
# identical content sent within the deduplication scope and interval
|
|
388
|
+
# are treated as duplicates and only one copy of the message is
|
|
389
|
+
# delivered.
|
|
390
|
+
#
|
|
391
|
+
# * If you send one message with `ContentBasedDeduplication` enabled,
|
|
392
|
+
# and then another message with a `MessageDeduplicationId` that is the
|
|
393
|
+
# same as the one generated for the first `MessageDeduplicationId`,
|
|
394
|
+
# the two messages are treated as duplicates, within the deduplication
|
|
395
|
+
# scope and interval, and only one copy of the message is delivered.
|
|
396
|
+
# @option options [String] :message_group_id
|
|
397
|
+
# The `MessageGroupId` can contain up to 128 alphanumeric characters
|
|
348
398
|
# `(a-z, A-Z, 0-9)` and punctuation ``
|
|
349
|
-
# (!"#$%&'()*+,-./:;<=>?@[\]^_
|
|
399
|
+
# (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
|
|
350
400
|
#
|
|
351
|
-
#
|
|
352
|
-
#
|
|
353
|
-
#
|
|
354
|
-
#
|
|
355
|
-
#
|
|
401
|
+
# For FIFO topics: The `MessageGroupId` is a tag that specifies that a
|
|
402
|
+
# message belongs to a specific message group. Messages that belong to
|
|
403
|
+
# the same message group are processed in a FIFO manner (however,
|
|
404
|
+
# messages in different message groups might be processed out of order).
|
|
405
|
+
# Every message must include a `MessageGroupId`.
|
|
356
406
|
#
|
|
357
|
-
#
|
|
358
|
-
#
|
|
359
|
-
# `
|
|
360
|
-
#
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
# a specific message group. Messages that belong to the same message
|
|
367
|
-
# group are processed in a FIFO manner (however, messages in different
|
|
368
|
-
# message groups might be processed out of order). Every message must
|
|
369
|
-
# include a `MessageGroupId`.
|
|
407
|
+
# For standard topics: The `MessageGroupId` is optional and is forwarded
|
|
408
|
+
# only to Amazon SQS standard subscriptions to activate [fair
|
|
409
|
+
# queues][1]. The `MessageGroupId` is not used for, or sent to, any
|
|
410
|
+
# other endpoint types. When provided, the same validation rules apply
|
|
411
|
+
# as for FIFO topics.
|
|
412
|
+
#
|
|
413
|
+
#
|
|
414
|
+
#
|
|
415
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fair-queues.html
|
|
370
416
|
# @return [Types::PublishResponse]
|
|
371
417
|
def publish(options = {})
|
|
372
418
|
options = options.merge(topic_arn: @arn)
|
|
@@ -406,10 +452,6 @@ module Aws::SNS
|
|
|
406
452
|
# The following lists the names, descriptions, and values of the special
|
|
407
453
|
# request parameters that the `SetTopicAttributes` action uses:
|
|
408
454
|
#
|
|
409
|
-
# * `ApplicationSuccessFeedbackRoleArn` – Indicates failed message
|
|
410
|
-
# delivery status for an Amazon SNS topic that is subscribed to a
|
|
411
|
-
# platform application endpoint.
|
|
412
|
-
#
|
|
413
455
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
|
414
456
|
# failed deliveries to HTTP/S endpoints.
|
|
415
457
|
#
|
|
@@ -439,21 +481,19 @@ module Aws::SNS
|
|
|
439
481
|
# * `HTTPFailureFeedbackRoleArn` – Indicates failed message delivery
|
|
440
482
|
# status for an Amazon SNS topic that is subscribed to an HTTP
|
|
441
483
|
# endpoint.
|
|
442
|
-
#
|
|
443
|
-
# * Amazon Kinesis Data Firehose
|
|
484
|
+
# * Amazon Data Firehose
|
|
444
485
|
#
|
|
445
486
|
# * `FirehoseSuccessFeedbackRoleArn` – Indicates successful message
|
|
446
487
|
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
447
|
-
# Amazon
|
|
488
|
+
# Amazon Data Firehose endpoint.
|
|
448
489
|
#
|
|
449
490
|
# * `FirehoseSuccessFeedbackSampleRate` – Indicates percentage of
|
|
450
491
|
# successful messages to sample for an Amazon SNS topic that is
|
|
451
|
-
# subscribed to an Amazon
|
|
492
|
+
# subscribed to an Amazon Data Firehose endpoint.
|
|
452
493
|
#
|
|
453
494
|
# * `FirehoseFailureFeedbackRoleArn` – Indicates failed message
|
|
454
495
|
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
455
|
-
# Amazon
|
|
456
|
-
#
|
|
496
|
+
# Amazon Data Firehose endpoint.
|
|
457
497
|
# * Lambda
|
|
458
498
|
#
|
|
459
499
|
# * `LambdaSuccessFeedbackRoleArn` – Indicates successful message
|
|
@@ -467,21 +507,19 @@ module Aws::SNS
|
|
|
467
507
|
# * `LambdaFailureFeedbackRoleArn` – Indicates failed message delivery
|
|
468
508
|
# status for an Amazon SNS topic that is subscribed to an Lambda
|
|
469
509
|
# endpoint.
|
|
470
|
-
#
|
|
471
510
|
# * Platform application endpoint
|
|
472
511
|
#
|
|
473
512
|
# * `ApplicationSuccessFeedbackRoleArn` – Indicates successful message
|
|
474
513
|
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
475
|
-
#
|
|
514
|
+
# platform application endpoint.
|
|
476
515
|
#
|
|
477
516
|
# * `ApplicationSuccessFeedbackSampleRate` – Indicates percentage of
|
|
478
517
|
# successful messages to sample for an Amazon SNS topic that is
|
|
479
|
-
# subscribed to an
|
|
518
|
+
# subscribed to an platform application endpoint.
|
|
480
519
|
#
|
|
481
520
|
# * `ApplicationFailureFeedbackRoleArn` – Indicates failed message
|
|
482
521
|
# delivery status for an Amazon SNS topic that is subscribed to an
|
|
483
|
-
#
|
|
484
|
-
#
|
|
522
|
+
# platform application endpoint.
|
|
485
523
|
# <note markdown="1"> In addition to being able to configure topic attributes for message
|
|
486
524
|
# delivery status of notification messages sent to Amazon SNS
|
|
487
525
|
# application endpoints, you can also configure application attributes
|
|
@@ -533,6 +571,9 @@ module Aws::SNS
|
|
|
533
571
|
#
|
|
534
572
|
# The following attribute applies only to [FIFO topics][5]:
|
|
535
573
|
#
|
|
574
|
+
# * `ArchivePolicy` – The policy that sets the retention period for
|
|
575
|
+
# messages stored in the message archive of an Amazon SNS FIFO topic.
|
|
576
|
+
#
|
|
536
577
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
|
537
578
|
# for FIFO topics.
|
|
538
579
|
#
|
|
@@ -548,6 +589,22 @@ module Aws::SNS
|
|
|
548
589
|
# (Optional) To override the generated value, you can specify a
|
|
549
590
|
# value for the `MessageDeduplicationId` parameter for the `Publish`
|
|
550
591
|
# action.
|
|
592
|
+
# ^
|
|
593
|
+
#
|
|
594
|
+
# * `FifoThroughputScope` – Enables higher throughput for your FIFO
|
|
595
|
+
# topic by adjusting the scope of deduplication. This attribute has
|
|
596
|
+
# two possible values:
|
|
597
|
+
#
|
|
598
|
+
# * `Topic` – The scope of message deduplication is across the entire
|
|
599
|
+
# topic. This is the default value and maintains existing behavior,
|
|
600
|
+
# with a maximum throughput of 3000 messages per second or 20MB per
|
|
601
|
+
# second, whichever comes first.
|
|
602
|
+
#
|
|
603
|
+
# * `MessageGroup` – The scope of deduplication is within each
|
|
604
|
+
# individual message group, which enables higher throughput per
|
|
605
|
+
# topic subject to regional quotas. For more information on quotas
|
|
606
|
+
# or to request an increase, see [Amazon SNS service quotas][7] in
|
|
607
|
+
# the Amazon Web Services General Reference.
|
|
551
608
|
#
|
|
552
609
|
#
|
|
553
610
|
#
|
|
@@ -557,6 +614,7 @@ module Aws::SNS
|
|
|
557
614
|
# [4]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
|
558
615
|
# [5]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
|
559
616
|
# [6]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
|
617
|
+
# [7]: https://docs.aws.amazon.com/general/latest/gr/sns.html
|
|
560
618
|
# @option options [String] :attribute_value
|
|
561
619
|
# The new value for the attribute.
|
|
562
620
|
# @return [EmptyStructure]
|
|
@@ -599,8 +657,8 @@ module Aws::SNS
|
|
|
599
657
|
#
|
|
600
658
|
# * `lambda` – delivery of JSON-encoded message to an Lambda function
|
|
601
659
|
#
|
|
602
|
-
# * `firehose` – delivery of JSON-encoded message to an Amazon
|
|
603
|
-
#
|
|
660
|
+
# * `firehose` – delivery of JSON-encoded message to an Amazon Data
|
|
661
|
+
# Firehose delivery stream.
|
|
604
662
|
# @option options [String] :endpoint
|
|
605
663
|
# The endpoint that you want to receive notifications. Endpoints vary by
|
|
606
664
|
# protocol:
|
|
@@ -628,7 +686,7 @@ module Aws::SNS
|
|
|
628
686
|
# function.
|
|
629
687
|
#
|
|
630
688
|
# * For the `firehose` protocol, the endpoint is the ARN of an Amazon
|
|
631
|
-
#
|
|
689
|
+
# Data Firehose delivery stream.
|
|
632
690
|
# @option options [Hash<String,String>] :attributes
|
|
633
691
|
# A map of attributes with their corresponding values.
|
|
634
692
|
#
|
|
@@ -649,7 +707,6 @@ module Aws::SNS
|
|
|
649
707
|
# message attributes.
|
|
650
708
|
#
|
|
651
709
|
# * `MessageBody` – The filter is applied on the message body.
|
|
652
|
-
#
|
|
653
710
|
# * `RawMessageDelivery` – When set to `true`, enables raw message
|
|
654
711
|
# delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need
|
|
655
712
|
# for the endpoints to process JSON formatting, which is otherwise
|
|
@@ -671,7 +728,6 @@ module Aws::SNS
|
|
|
671
728
|
# * Permission to write to the Firehose delivery stream
|
|
672
729
|
#
|
|
673
730
|
# * Amazon SNS listed as a trusted entity
|
|
674
|
-
#
|
|
675
731
|
# Specifying a valid ARN for this attribute is required for Firehose
|
|
676
732
|
# delivery stream subscriptions. For more information, see [Fanout to
|
|
677
733
|
# Firehose delivery streams][1] in the *Amazon SNS Developer Guide*.
|