aws-sdk-sns 1.57.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 +12 -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 +41 -103
- 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
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.59.0 (2023-02-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Additional attributes added for set-topic-attributes.
|
8
|
+
|
9
|
+
1.58.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.57.0 (2022-12-02)
|
5
17
|
------------------
|
6
18
|
|
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?
|
@@ -9,111 +9,49 @@
|
|
9
9
|
|
10
10
|
module Aws::SNS
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sns-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sns.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sns.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sns-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
44
|
+
end
|
45
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
46
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sns.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
48
|
+
end
|
49
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
50
|
+
end
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sns.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
52
|
end
|
22
|
-
|
23
|
-
end
|
53
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
54
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
55
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQi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cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUi
|
110
|
-
OiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFs
|
111
|
-
U3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qg
|
112
|
-
c3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0
|
113
|
-
aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc25zLntSZWdp
|
114
|
-
b259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMi
|
115
|
-
Ont9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
116
|
-
|
117
|
-
JSON
|
118
56
|
end
|
119
57
|
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:
|
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
|