aws-sdk-sns 1.58.0 → 1.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +106 -23
- data/lib/aws-sdk-sns/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-sns/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-sns/resource.rb +0 -7
- data/lib/aws-sdk-sns/topic.rb +105 -22
- data/lib/aws-sdk-sns/types.rb +105 -32
- data/lib/aws-sdk-sns.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5180f45a384868426bbd2327643aafb1efe30da3bcdb42c129869ea07051c942
|
4
|
+
data.tar.gz: 9654db3e5315e4cb9c98c88d110c2ab0db23b491877152cc2dd112f8eff341f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29b9cb431cc2c015ace8853a8e2fc4b514e64202c4c5a1d7f9a0433e5ec60bb53ebe04414e900d901db8c6cd396a0a2f8805ab1e189db5939c13a29151586a2d
|
7
|
+
data.tar.gz: 1abdc459db9fc01ba16a3d134089ab16bf51cd281881c811a405bbaafcea214f15c511d6ac4f1ac87b76836a6722d9d27cc08e3a98dd7a51cb5c77ff3a636e68
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -732,13 +732,6 @@ module Aws::SNS
|
|
732
732
|
# confirmation messages sent by Amazon SNS. By default,
|
733
733
|
# `SignatureVersion` is set to 1.
|
734
734
|
#
|
735
|
-
# * `TracingConfig` – Tracing mode of an Amazon SNS topic. By default
|
736
|
-
# `TracingConfig` is set to `PassThrough`, and the topic passes
|
737
|
-
# through the tracing header it receives from an Amazon SNS publisher
|
738
|
-
# to its subscriptions. If set to Active, Amazon SNS will vend X-Ray
|
739
|
-
# segment data to topic owner account if the sampled flag in the
|
740
|
-
# tracing header is true. This is only supported on standard topics.
|
741
|
-
#
|
742
735
|
# The following attribute applies only to [server-side encryption][1]\:
|
743
736
|
#
|
744
737
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
@@ -2358,6 +2351,10 @@ module Aws::SNS
|
|
2358
2351
|
# The following lists the names, descriptions, and values of the special
|
2359
2352
|
# request parameters that the `SetTopicAttributes` action uses:
|
2360
2353
|
#
|
2354
|
+
# * `ApplicationSuccessFeedbackRoleArn` – Indicates failed message
|
2355
|
+
# delivery status for an Amazon SNS topic that is subscribed to a
|
2356
|
+
# platform application endpoint.
|
2357
|
+
#
|
2361
2358
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
2362
2359
|
# failed deliveries to HTTP/S endpoints.
|
2363
2360
|
#
|
@@ -2367,18 +2364,103 @@ module Aws::SNS
|
|
2367
2364
|
# * `Policy` – The policy that defines who can access your topic. By
|
2368
2365
|
# default, only the topic owner can publish or subscribe to the topic.
|
2369
2366
|
#
|
2370
|
-
# *
|
2371
|
-
#
|
2372
|
-
#
|
2373
|
-
#
|
2374
|
-
#
|
2375
|
-
#
|
2367
|
+
# * HTTP
|
2368
|
+
#
|
2369
|
+
# * `HTTPSuccessFeedbackRoleArn` – Indicates successful message
|
2370
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2371
|
+
# HTTP endpoint.
|
2372
|
+
#
|
2373
|
+
# * `HTTPSuccessFeedbackSampleRate` – Indicates percentage of
|
2374
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2375
|
+
# subscribed to an HTTP endpoint.
|
2376
|
+
#
|
2377
|
+
# * `HTTPFailureFeedbackRoleArn` – Indicates failed message delivery
|
2378
|
+
# status for an Amazon SNS topic that is subscribed to an HTTP
|
2379
|
+
# endpoint.
|
2380
|
+
#
|
2381
|
+
# * Amazon Kinesis Data Firehose
|
2382
|
+
#
|
2383
|
+
# * `FirehoseSuccessFeedbackRoleArn` – Indicates successful message
|
2384
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2385
|
+
# Amazon Kinesis Data Firehose endpoint.
|
2386
|
+
#
|
2387
|
+
# * `FirehoseSuccessFeedbackSampleRate` – Indicates percentage of
|
2388
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2389
|
+
# subscribed to an Amazon Kinesis Data Firehose endpoint.
|
2390
|
+
#
|
2391
|
+
# * `FirehoseFailureFeedbackRoleArn` – Indicates failed message
|
2392
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2393
|
+
# Amazon Kinesis Data Firehose endpoint.
|
2394
|
+
#
|
2395
|
+
# * Lambda
|
2396
|
+
#
|
2397
|
+
# * `LambdaSuccessFeedbackRoleArn` – Indicates successful message
|
2398
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2399
|
+
# Lambda endpoint.
|
2400
|
+
#
|
2401
|
+
# * `LambdaSuccessFeedbackSampleRate` – Indicates percentage of
|
2402
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2403
|
+
# subscribed to an Lambda endpoint.
|
2404
|
+
#
|
2405
|
+
# * `LambdaFailureFeedbackRoleArn` – Indicates failed message delivery
|
2406
|
+
# status for an Amazon SNS topic that is subscribed to an Lambda
|
2407
|
+
# endpoint.
|
2408
|
+
#
|
2409
|
+
# * Platform application endpoint
|
2410
|
+
#
|
2411
|
+
# * `ApplicationSuccessFeedbackRoleArn` – Indicates successful message
|
2412
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2413
|
+
# Amazon Web Services application endpoint.
|
2414
|
+
#
|
2415
|
+
# * `ApplicationSuccessFeedbackSampleRate` – Indicates percentage of
|
2416
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2417
|
+
# subscribed to an Amazon Web Services application endpoint.
|
2418
|
+
#
|
2419
|
+
# * `ApplicationFailureFeedbackRoleArn` – Indicates failed message
|
2420
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2421
|
+
# Amazon Web Services application endpoint.
|
2376
2422
|
#
|
2377
|
-
#
|
2423
|
+
# <note markdown="1"> In addition to being able to configure topic attributes for message
|
2424
|
+
# delivery status of notification messages sent to Amazon SNS
|
2425
|
+
# application endpoints, you can also configure application attributes
|
2426
|
+
# for the delivery status of push notification messages sent to push
|
2427
|
+
# notification services.
|
2428
|
+
#
|
2429
|
+
# For example, For more information, see [Using Amazon SNS Application
|
2430
|
+
# Attributes for Message Delivery Status][1].
|
2431
|
+
#
|
2432
|
+
# </note>
|
2433
|
+
#
|
2434
|
+
# * Amazon SQS
|
2435
|
+
#
|
2436
|
+
# * `SQSSuccessFeedbackRoleArn` – Indicates successful message
|
2437
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2438
|
+
# Amazon SQS endpoint.
|
2439
|
+
#
|
2440
|
+
# * `SQSSuccessFeedbackSampleRate` – Indicates percentage of
|
2441
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2442
|
+
# subscribed to an Amazon SQS endpoint.
|
2443
|
+
#
|
2444
|
+
# * `SQSFailureFeedbackRoleArn` – Indicates failed message delivery
|
2445
|
+
# status for an Amazon SNS topic that is subscribed to an Amazon SQS
|
2446
|
+
# endpoint.
|
2447
|
+
#
|
2448
|
+
# <note markdown="1"> The <ENDPOINT>SuccessFeedbackRoleArn and
|
2449
|
+
# <ENDPOINT>FailureFeedbackRoleArn attributes are used to give
|
2450
|
+
# Amazon SNS write access to use CloudWatch Logs on your behalf. The
|
2451
|
+
# <ENDPOINT>SuccessFeedbackSampleRate attribute is for specifying
|
2452
|
+
# the sample rate percentage (0-100) of successfully delivered messages.
|
2453
|
+
# After you configure the <ENDPOINT>FailureFeedbackRoleArn
|
2454
|
+
# attribute, then all failed message deliveries generate CloudWatch
|
2455
|
+
# Logs.
|
2456
|
+
#
|
2457
|
+
# </note>
|
2458
|
+
#
|
2459
|
+
# The following attribute applies only to [server-side-encryption][2]\:
|
2378
2460
|
#
|
2379
2461
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
2380
2462
|
# master key (CMK) for Amazon SNS or a custom CMK. For more
|
2381
|
-
# information, see [Key Terms][
|
2463
|
+
# information, see [Key Terms][3]. For more examples, see [KeyId][4]
|
2382
2464
|
# in the *Key Management Service API Reference*.
|
2383
2465
|
#
|
2384
2466
|
# * `SignatureVersion` – The signature version corresponds to the
|
@@ -2386,7 +2468,7 @@ module Aws::SNS
|
|
2386
2468
|
# notifications, subscription confirmations, or unsubscribe
|
2387
2469
|
# confirmation messages sent by Amazon SNS.
|
2388
2470
|
#
|
2389
|
-
# The following attribute applies only to [FIFO topics][
|
2471
|
+
# The following attribute applies only to [FIFO topics][5]\:
|
2390
2472
|
#
|
2391
2473
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
2392
2474
|
# for FIFO topics.
|
@@ -2394,7 +2476,7 @@ module Aws::SNS
|
|
2394
2476
|
# * By default, `ContentBasedDeduplication` is set to `false`. If you
|
2395
2477
|
# create a FIFO topic and this attribute is `false`, you must
|
2396
2478
|
# specify a value for the `MessageDeduplicationId` parameter for the
|
2397
|
-
# [Publish][
|
2479
|
+
# [Publish][6] action.
|
2398
2480
|
#
|
2399
2481
|
# * When you set `ContentBasedDeduplication` to `true`, Amazon SNS
|
2400
2482
|
# uses a SHA-256 hash to generate the `MessageDeduplicationId` using
|
@@ -2406,11 +2488,12 @@ module Aws::SNS
|
|
2406
2488
|
#
|
2407
2489
|
#
|
2408
2490
|
#
|
2409
|
-
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-
|
2410
|
-
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
2411
|
-
# [3]: https://docs.aws.amazon.com/
|
2412
|
-
# [4]: https://docs.aws.amazon.com/
|
2413
|
-
# [5]: https://docs.aws.amazon.com/sns/latest/
|
2491
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
|
2492
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
2493
|
+
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
|
2494
|
+
# [4]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
2495
|
+
# [5]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
2496
|
+
# [6]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
2414
2497
|
#
|
2415
2498
|
# @option params [String] :attribute_value
|
2416
2499
|
# The new value for the attribute.
|
@@ -2771,7 +2854,7 @@ module Aws::SNS
|
|
2771
2854
|
params: params,
|
2772
2855
|
config: config)
|
2773
2856
|
context[:gem_name] = 'aws-sdk-sns'
|
2774
|
-
context[:gem_version] = '1.
|
2857
|
+
context[:gem_version] = '1.59.0'
|
2775
2858
|
Seahorse::Client::Request.new(handlers, context)
|
2776
2859
|
end
|
2777
2860
|
|
@@ -50,6 +50,9 @@ module Aws::SNS
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -15,7 +15,7 @@ module Aws::SNS
|
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
17
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
20
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
21
|
end
|
data/lib/aws-sdk-sns/resource.rb
CHANGED
@@ -116,13 +116,6 @@ module Aws::SNS
|
|
116
116
|
# confirmation messages sent by Amazon SNS. By default,
|
117
117
|
# `SignatureVersion` is set to 1.
|
118
118
|
#
|
119
|
-
# * `TracingConfig` – Tracing mode of an Amazon SNS topic. By default
|
120
|
-
# `TracingConfig` is set to `PassThrough`, and the topic passes
|
121
|
-
# through the tracing header it receives from an Amazon SNS publisher
|
122
|
-
# to its subscriptions. If set to Active, Amazon SNS will vend X-Ray
|
123
|
-
# segment data to topic owner account if the sampled flag in the
|
124
|
-
# tracing header is true. This is only supported on standard topics.
|
125
|
-
#
|
126
119
|
# The following attribute applies only to [server-side encryption][1]\:
|
127
120
|
#
|
128
121
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
@@ -77,13 +77,6 @@ module Aws::SNS
|
|
77
77
|
#
|
78
78
|
# * `TopicArn` – The topic's ARN.
|
79
79
|
#
|
80
|
-
# * `TracingConfig` – Tracing mode of an Amazon SNS topic. By default
|
81
|
-
# `TracingConfig` is set to `PassThrough`, and the topic passes
|
82
|
-
# through the tracing header it receives from an Amazon SNS publisher
|
83
|
-
# to its subscriptions. If set to Active, Amazon SNS will vend X-Ray
|
84
|
-
# segment data to topic owner account if the sampled flag in the
|
85
|
-
# tracing header is true. This is only supported on standard topics.
|
86
|
-
#
|
87
80
|
# The following attribute applies only to [server-side-encryption][1]\:
|
88
81
|
#
|
89
82
|
# * `KmsMasterKeyId` - The ID of an Amazon Web Services managed customer
|
@@ -393,6 +386,10 @@ module Aws::SNS
|
|
393
386
|
# The following lists the names, descriptions, and values of the special
|
394
387
|
# request parameters that the `SetTopicAttributes` action uses:
|
395
388
|
#
|
389
|
+
# * `ApplicationSuccessFeedbackRoleArn` – Indicates failed message
|
390
|
+
# delivery status for an Amazon SNS topic that is subscribed to a
|
391
|
+
# platform application endpoint.
|
392
|
+
#
|
396
393
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
397
394
|
# failed deliveries to HTTP/S endpoints.
|
398
395
|
#
|
@@ -402,18 +399,103 @@ module Aws::SNS
|
|
402
399
|
# * `Policy` – The policy that defines who can access your topic. By
|
403
400
|
# default, only the topic owner can publish or subscribe to the topic.
|
404
401
|
#
|
405
|
-
# *
|
406
|
-
#
|
407
|
-
#
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
402
|
+
# * HTTP
|
403
|
+
#
|
404
|
+
# * `HTTPSuccessFeedbackRoleArn` – Indicates successful message
|
405
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
406
|
+
# HTTP endpoint.
|
407
|
+
#
|
408
|
+
# * `HTTPSuccessFeedbackSampleRate` – Indicates percentage of
|
409
|
+
# successful messages to sample for an Amazon SNS topic that is
|
410
|
+
# subscribed to an HTTP endpoint.
|
411
|
+
#
|
412
|
+
# * `HTTPFailureFeedbackRoleArn` – Indicates failed message delivery
|
413
|
+
# status for an Amazon SNS topic that is subscribed to an HTTP
|
414
|
+
# endpoint.
|
415
|
+
#
|
416
|
+
# * Amazon Kinesis Data Firehose
|
417
|
+
#
|
418
|
+
# * `FirehoseSuccessFeedbackRoleArn` – Indicates successful message
|
419
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
420
|
+
# Amazon Kinesis Data Firehose endpoint.
|
421
|
+
#
|
422
|
+
# * `FirehoseSuccessFeedbackSampleRate` – Indicates percentage of
|
423
|
+
# successful messages to sample for an Amazon SNS topic that is
|
424
|
+
# subscribed to an Amazon Kinesis Data Firehose endpoint.
|
425
|
+
#
|
426
|
+
# * `FirehoseFailureFeedbackRoleArn` – Indicates failed message
|
427
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
428
|
+
# Amazon Kinesis Data Firehose endpoint.
|
429
|
+
#
|
430
|
+
# * Lambda
|
431
|
+
#
|
432
|
+
# * `LambdaSuccessFeedbackRoleArn` – Indicates successful message
|
433
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
434
|
+
# Lambda endpoint.
|
435
|
+
#
|
436
|
+
# * `LambdaSuccessFeedbackSampleRate` – Indicates percentage of
|
437
|
+
# successful messages to sample for an Amazon SNS topic that is
|
438
|
+
# subscribed to an Lambda endpoint.
|
439
|
+
#
|
440
|
+
# * `LambdaFailureFeedbackRoleArn` – Indicates failed message delivery
|
441
|
+
# status for an Amazon SNS topic that is subscribed to an Lambda
|
442
|
+
# endpoint.
|
443
|
+
#
|
444
|
+
# * Platform application endpoint
|
445
|
+
#
|
446
|
+
# * `ApplicationSuccessFeedbackRoleArn` – Indicates successful message
|
447
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
448
|
+
# Amazon Web Services application endpoint.
|
449
|
+
#
|
450
|
+
# * `ApplicationSuccessFeedbackSampleRate` – Indicates percentage of
|
451
|
+
# successful messages to sample for an Amazon SNS topic that is
|
452
|
+
# subscribed to an Amazon Web Services application endpoint.
|
453
|
+
#
|
454
|
+
# * `ApplicationFailureFeedbackRoleArn` – Indicates failed message
|
455
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
456
|
+
# Amazon Web Services application endpoint.
|
457
|
+
#
|
458
|
+
# <note markdown="1"> In addition to being able to configure topic attributes for message
|
459
|
+
# delivery status of notification messages sent to Amazon SNS
|
460
|
+
# application endpoints, you can also configure application attributes
|
461
|
+
# for the delivery status of push notification messages sent to push
|
462
|
+
# notification services.
|
463
|
+
#
|
464
|
+
# For example, For more information, see [Using Amazon SNS Application
|
465
|
+
# Attributes for Message Delivery Status][1].
|
466
|
+
#
|
467
|
+
# </note>
|
468
|
+
#
|
469
|
+
# * Amazon SQS
|
470
|
+
#
|
471
|
+
# * `SQSSuccessFeedbackRoleArn` – Indicates successful message
|
472
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
473
|
+
# Amazon SQS endpoint.
|
474
|
+
#
|
475
|
+
# * `SQSSuccessFeedbackSampleRate` – Indicates percentage of
|
476
|
+
# successful messages to sample for an Amazon SNS topic that is
|
477
|
+
# subscribed to an Amazon SQS endpoint.
|
478
|
+
#
|
479
|
+
# * `SQSFailureFeedbackRoleArn` – Indicates failed message delivery
|
480
|
+
# status for an Amazon SNS topic that is subscribed to an Amazon SQS
|
481
|
+
# endpoint.
|
482
|
+
#
|
483
|
+
# <note markdown="1"> The <ENDPOINT>SuccessFeedbackRoleArn and
|
484
|
+
# <ENDPOINT>FailureFeedbackRoleArn attributes are used to give
|
485
|
+
# Amazon SNS write access to use CloudWatch Logs on your behalf. The
|
486
|
+
# <ENDPOINT>SuccessFeedbackSampleRate attribute is for specifying
|
487
|
+
# the sample rate percentage (0-100) of successfully delivered messages.
|
488
|
+
# After you configure the <ENDPOINT>FailureFeedbackRoleArn
|
489
|
+
# attribute, then all failed message deliveries generate CloudWatch
|
490
|
+
# Logs.
|
491
|
+
#
|
492
|
+
# </note>
|
411
493
|
#
|
412
|
-
# The following attribute applies only to [server-side-encryption][
|
494
|
+
# The following attribute applies only to [server-side-encryption][2]\:
|
413
495
|
#
|
414
496
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
415
497
|
# master key (CMK) for Amazon SNS or a custom CMK. For more
|
416
|
-
# information, see [Key Terms][
|
498
|
+
# information, see [Key Terms][3]. For more examples, see [KeyId][4]
|
417
499
|
# in the *Key Management Service API Reference*.
|
418
500
|
#
|
419
501
|
# * `SignatureVersion` – The signature version corresponds to the
|
@@ -421,7 +503,7 @@ module Aws::SNS
|
|
421
503
|
# notifications, subscription confirmations, or unsubscribe
|
422
504
|
# confirmation messages sent by Amazon SNS.
|
423
505
|
#
|
424
|
-
# The following attribute applies only to [FIFO topics][
|
506
|
+
# The following attribute applies only to [FIFO topics][5]\:
|
425
507
|
#
|
426
508
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
427
509
|
# for FIFO topics.
|
@@ -429,7 +511,7 @@ module Aws::SNS
|
|
429
511
|
# * By default, `ContentBasedDeduplication` is set to `false`. If you
|
430
512
|
# create a FIFO topic and this attribute is `false`, you must
|
431
513
|
# specify a value for the `MessageDeduplicationId` parameter for the
|
432
|
-
# [Publish][
|
514
|
+
# [Publish][6] action.
|
433
515
|
#
|
434
516
|
# * When you set `ContentBasedDeduplication` to `true`, Amazon SNS
|
435
517
|
# uses a SHA-256 hash to generate the `MessageDeduplicationId` using
|
@@ -441,11 +523,12 @@ module Aws::SNS
|
|
441
523
|
#
|
442
524
|
#
|
443
525
|
#
|
444
|
-
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-
|
445
|
-
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
446
|
-
# [3]: https://docs.aws.amazon.com/
|
447
|
-
# [4]: https://docs.aws.amazon.com/
|
448
|
-
# [5]: https://docs.aws.amazon.com/sns/latest/
|
526
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
|
527
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
528
|
+
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
|
529
|
+
# [4]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
530
|
+
# [5]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
531
|
+
# [6]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
449
532
|
# @option options [String] :attribute_value
|
450
533
|
# The new value for the attribute.
|
451
534
|
# @return [EmptyStructure]
|
data/lib/aws-sdk-sns/types.rb
CHANGED
@@ -365,14 +365,6 @@ module Aws::SNS
|
|
365
365
|
# confirmation messages sent by Amazon SNS. By default,
|
366
366
|
# `SignatureVersion` is set to 1.
|
367
367
|
#
|
368
|
-
# * `TracingConfig` – Tracing mode of an Amazon SNS topic. By default
|
369
|
-
# `TracingConfig` is set to `PassThrough`, and the topic passes
|
370
|
-
# through the tracing header it receives from an Amazon SNS
|
371
|
-
# publisher to its subscriptions. If set to Active, Amazon SNS will
|
372
|
-
# vend X-Ray segment data to topic owner account if the sampled flag
|
373
|
-
# in the tracing header is true. This is only supported on standard
|
374
|
-
# topics.
|
375
|
-
#
|
376
368
|
# The following attribute applies only to [server-side
|
377
369
|
# encryption][1]\:
|
378
370
|
#
|
@@ -915,14 +907,6 @@ module Aws::SNS
|
|
915
907
|
#
|
916
908
|
# * `TopicArn` – The topic's ARN.
|
917
909
|
#
|
918
|
-
# * `TracingConfig` – Tracing mode of an Amazon SNS topic. By default
|
919
|
-
# `TracingConfig` is set to `PassThrough`, and the topic passes
|
920
|
-
# through the tracing header it receives from an Amazon SNS
|
921
|
-
# publisher to its subscriptions. If set to Active, Amazon SNS will
|
922
|
-
# vend X-Ray segment data to topic owner account if the sampled flag
|
923
|
-
# in the tracing header is true. This is only supported on standard
|
924
|
-
# topics.
|
925
|
-
#
|
926
910
|
# The following attribute applies only to
|
927
911
|
# [server-side-encryption][1]\:
|
928
912
|
#
|
@@ -2430,6 +2414,10 @@ module Aws::SNS
|
|
2430
2414
|
# special request parameters that the `SetTopicAttributes` action
|
2431
2415
|
# uses:
|
2432
2416
|
#
|
2417
|
+
# * `ApplicationSuccessFeedbackRoleArn` – Indicates failed message
|
2418
|
+
# delivery status for an Amazon SNS topic that is subscribed to a
|
2419
|
+
# platform application endpoint.
|
2420
|
+
#
|
2433
2421
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
2434
2422
|
# failed deliveries to HTTP/S endpoints.
|
2435
2423
|
#
|
@@ -2440,20 +2428,104 @@ module Aws::SNS
|
|
2440
2428
|
# default, only the topic owner can publish or subscribe to the
|
2441
2429
|
# topic.
|
2442
2430
|
#
|
2443
|
-
# *
|
2444
|
-
#
|
2445
|
-
#
|
2446
|
-
#
|
2447
|
-
#
|
2448
|
-
#
|
2449
|
-
#
|
2431
|
+
# * HTTP
|
2432
|
+
#
|
2433
|
+
# * `HTTPSuccessFeedbackRoleArn` – Indicates successful message
|
2434
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2435
|
+
# HTTP endpoint.
|
2436
|
+
#
|
2437
|
+
# * `HTTPSuccessFeedbackSampleRate` – Indicates percentage of
|
2438
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2439
|
+
# subscribed to an HTTP endpoint.
|
2440
|
+
#
|
2441
|
+
# * `HTTPFailureFeedbackRoleArn` – Indicates failed message delivery
|
2442
|
+
# status for an Amazon SNS topic that is subscribed to an HTTP
|
2443
|
+
# endpoint.
|
2444
|
+
#
|
2445
|
+
# * Amazon Kinesis Data Firehose
|
2446
|
+
#
|
2447
|
+
# * `FirehoseSuccessFeedbackRoleArn` – Indicates successful message
|
2448
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2449
|
+
# Amazon Kinesis Data Firehose endpoint.
|
2450
|
+
#
|
2451
|
+
# * `FirehoseSuccessFeedbackSampleRate` – Indicates percentage of
|
2452
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2453
|
+
# subscribed to an Amazon Kinesis Data Firehose endpoint.
|
2454
|
+
#
|
2455
|
+
# * `FirehoseFailureFeedbackRoleArn` – Indicates failed message
|
2456
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2457
|
+
# Amazon Kinesis Data Firehose endpoint.
|
2458
|
+
#
|
2459
|
+
# * Lambda
|
2460
|
+
#
|
2461
|
+
# * `LambdaSuccessFeedbackRoleArn` – Indicates successful message
|
2462
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2463
|
+
# Lambda endpoint.
|
2464
|
+
#
|
2465
|
+
# * `LambdaSuccessFeedbackSampleRate` – Indicates percentage of
|
2466
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2467
|
+
# subscribed to an Lambda endpoint.
|
2468
|
+
#
|
2469
|
+
# * `LambdaFailureFeedbackRoleArn` – Indicates failed message
|
2470
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2471
|
+
# Lambda endpoint.
|
2472
|
+
#
|
2473
|
+
# * Platform application endpoint
|
2474
|
+
#
|
2475
|
+
# * `ApplicationSuccessFeedbackRoleArn` – Indicates successful
|
2476
|
+
# message delivery status for an Amazon SNS topic that is
|
2477
|
+
# subscribed to an Amazon Web Services application endpoint.
|
2478
|
+
#
|
2479
|
+
# * `ApplicationSuccessFeedbackSampleRate` – Indicates percentage of
|
2480
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2481
|
+
# subscribed to an Amazon Web Services application endpoint.
|
2482
|
+
#
|
2483
|
+
# * `ApplicationFailureFeedbackRoleArn` – Indicates failed message
|
2484
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2485
|
+
# Amazon Web Services application endpoint.
|
2486
|
+
#
|
2487
|
+
# <note markdown="1"> In addition to being able to configure topic attributes for
|
2488
|
+
# message delivery status of notification messages sent to Amazon
|
2489
|
+
# SNS application endpoints, you can also configure application
|
2490
|
+
# attributes for the delivery status of push notification messages
|
2491
|
+
# sent to push notification services.
|
2492
|
+
#
|
2493
|
+
# For example, For more information, see [Using Amazon SNS
|
2494
|
+
# Application Attributes for Message Delivery Status][1].
|
2495
|
+
#
|
2496
|
+
# </note>
|
2497
|
+
#
|
2498
|
+
# * Amazon SQS
|
2499
|
+
#
|
2500
|
+
# * `SQSSuccessFeedbackRoleArn` – Indicates successful message
|
2501
|
+
# delivery status for an Amazon SNS topic that is subscribed to an
|
2502
|
+
# Amazon SQS endpoint.
|
2503
|
+
#
|
2504
|
+
# * `SQSSuccessFeedbackSampleRate` – Indicates percentage of
|
2505
|
+
# successful messages to sample for an Amazon SNS topic that is
|
2506
|
+
# subscribed to an Amazon SQS endpoint.
|
2507
|
+
#
|
2508
|
+
# * `SQSFailureFeedbackRoleArn` – Indicates failed message delivery
|
2509
|
+
# status for an Amazon SNS topic that is subscribed to an Amazon
|
2510
|
+
# SQS endpoint.
|
2511
|
+
#
|
2512
|
+
# <note markdown="1"> The <ENDPOINT>SuccessFeedbackRoleArn and
|
2513
|
+
# <ENDPOINT>FailureFeedbackRoleArn attributes are used to give
|
2514
|
+
# Amazon SNS write access to use CloudWatch Logs on your behalf. The
|
2515
|
+
# <ENDPOINT>SuccessFeedbackSampleRate attribute is for
|
2516
|
+
# specifying the sample rate percentage (0-100) of successfully
|
2517
|
+
# delivered messages. After you configure the
|
2518
|
+
# <ENDPOINT>FailureFeedbackRoleArn attribute, then all failed
|
2519
|
+
# message deliveries generate CloudWatch Logs.
|
2520
|
+
#
|
2521
|
+
# </note>
|
2450
2522
|
#
|
2451
2523
|
# The following attribute applies only to
|
2452
|
-
# [server-side-encryption][
|
2524
|
+
# [server-side-encryption][2]\:
|
2453
2525
|
#
|
2454
2526
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
|
2455
2527
|
# customer master key (CMK) for Amazon SNS or a custom CMK. For more
|
2456
|
-
# information, see [Key Terms][
|
2528
|
+
# information, see [Key Terms][3]. For more examples, see [KeyId][4]
|
2457
2529
|
# in the *Key Management Service API Reference*.
|
2458
2530
|
#
|
2459
2531
|
# * `SignatureVersion` – The signature version corresponds to the
|
@@ -2461,7 +2533,7 @@ module Aws::SNS
|
|
2461
2533
|
# notifications, subscription confirmations, or unsubscribe
|
2462
2534
|
# confirmation messages sent by Amazon SNS.
|
2463
2535
|
#
|
2464
|
-
# The following attribute applies only to [FIFO topics][
|
2536
|
+
# The following attribute applies only to [FIFO topics][5]\:
|
2465
2537
|
#
|
2466
2538
|
# * `ContentBasedDeduplication` – Enables content-based deduplication
|
2467
2539
|
# for FIFO topics.
|
@@ -2469,7 +2541,7 @@ module Aws::SNS
|
|
2469
2541
|
# * By default, `ContentBasedDeduplication` is set to `false`. If
|
2470
2542
|
# you create a FIFO topic and this attribute is `false`, you must
|
2471
2543
|
# specify a value for the `MessageDeduplicationId` parameter for
|
2472
|
-
# the [Publish][
|
2544
|
+
# the [Publish][6] action.
|
2473
2545
|
#
|
2474
2546
|
# * When you set `ContentBasedDeduplication` to `true`, Amazon SNS
|
2475
2547
|
# uses a SHA-256 hash to generate the `MessageDeduplicationId`
|
@@ -2482,11 +2554,12 @@ module Aws::SNS
|
|
2482
2554
|
#
|
2483
2555
|
#
|
2484
2556
|
#
|
2485
|
-
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-
|
2486
|
-
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
2487
|
-
# [3]: https://docs.aws.amazon.com/
|
2488
|
-
# [4]: https://docs.aws.amazon.com/
|
2489
|
-
# [5]: https://docs.aws.amazon.com/sns/latest/
|
2557
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
|
2558
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
2559
|
+
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
|
2560
|
+
# [4]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
2561
|
+
# [5]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
2562
|
+
# [6]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
2490
2563
|
# @return [String]
|
2491
2564
|
#
|
2492
2565
|
# @!attribute [rw] attribute_value
|
data/lib/aws-sdk-sns.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.59.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|