aws-sdk-sns 1.118.0 → 1.124.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 +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +112 -25
- data/lib/aws-sdk-sns/platform_endpoint.rb +16 -2
- data/lib/aws-sdk-sns/resource.rb +22 -2
- data/lib/aws-sdk-sns/topic.rb +59 -18
- data/lib/aws-sdk-sns/types.rb +89 -26
- data/lib/aws-sdk-sns.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/errors.rbs +34 -34
- data/sig/resource.rbs +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebc66c7b9e4b0f43e01c45db095f2a8c03f2271c165495cf31d0b51ef7349740
|
|
4
|
+
data.tar.gz: 6913600447c8a3e53e23d21585e7163224799240c6cdba9f31dadb2e00233fce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a16b65324c7f6b90a9df62f0e9fdb51d60fd66e98d0976d89a855bc1b9f40e941c4d22e694b6acd0f92f1522cabf43d1e3700a0656e596fb34ef840dbe51071
|
|
7
|
+
data.tar.gz: d4d0ce3df3c4e8751efddb5dd223693fdeaeea1a2f09126ec7d94e6152c4a54e46662e0515945ac6983fce206c8092ab30bd6e77e12628b380fb965e3339934f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.124.0 (2026-10-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.123.0 (2026-10-20)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.122.0 (2026-10-19)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
1.121.0 (2026-09-17)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - SNS API reference documentation update
|
|
23
|
+
|
|
24
|
+
1.120.0 (2026-09-11)
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
28
|
+
|
|
29
|
+
1.119.0 (2026-09-09)
|
|
30
|
+
------------------
|
|
31
|
+
|
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
33
|
+
|
|
4
34
|
1.118.0 (2026-07-09)
|
|
5
35
|
------------------
|
|
6
36
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.124.0
|
data/lib/aws-sdk-sns/client.rb
CHANGED
|
@@ -199,13 +199,20 @@ module Aws::SNS
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
-
# a clock skew correction and retry requests with skewed client
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
204
205
|
#
|
|
205
206
|
# @option options [String] :defaults_mode ("legacy")
|
|
206
207
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
207
208
|
# accepted modes and the configuration defaults that are included.
|
|
208
209
|
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
209
216
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
210
217
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
211
218
|
#
|
|
@@ -833,8 +840,20 @@ module Aws::SNS
|
|
|
833
840
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
|
834
841
|
# failed deliveries to HTTP/S endpoints.
|
|
835
842
|
#
|
|
836
|
-
# * `DisplayName` – The display name to use for a topic with SMS
|
|
837
|
-
# subscriptions.
|
|
843
|
+
# * `DisplayName` – The display name to use for a topic with SMS,
|
|
844
|
+
# `email`, and `email-json` subscriptions. For `email` and
|
|
845
|
+
# `email-json` subscriptions, the display name is used as the sender
|
|
846
|
+
# name for regular notification messages. Subscription confirmation
|
|
847
|
+
# and unsubscribe confirmation emails always use "Amazon Web Services
|
|
848
|
+
# Notifications" as the sender name.
|
|
849
|
+
#
|
|
850
|
+
# * `MaximumMessageSize` – The maximum size, in bytes, of a message that
|
|
851
|
+
# can be published to the topic. Valid values are `1024` to `1048576`
|
|
852
|
+
# (1 MiB). The default is `262144` (256 KiB).
|
|
853
|
+
#
|
|
854
|
+
# A topic with a `MaximumMessageSize` above 256 KiB must have 100 or
|
|
855
|
+
# fewer subscriptions, and each subscription must be an Amazon SQS,
|
|
856
|
+
# Amazon Data Firehose, or Lambda subscription.
|
|
838
857
|
#
|
|
839
858
|
# * `Policy` – The policy that defines who can access your topic. By
|
|
840
859
|
# default, only the topic owner can publish or subscribe to the topic.
|
|
@@ -999,6 +1018,10 @@ module Aws::SNS
|
|
|
999
1018
|
# </note>
|
|
1000
1019
|
#
|
|
1001
1020
|
# @option params [String] :data_protection_policy
|
|
1021
|
+
# Amazon SNS message data protection is no longer available to new
|
|
1022
|
+
# customers. For more information and guidance on alternatives, see
|
|
1023
|
+
# [Amazon SNS message data protection availability change][1].
|
|
1024
|
+
#
|
|
1002
1025
|
# The body of the policy document you want to use for this topic.
|
|
1003
1026
|
#
|
|
1004
1027
|
# You can only add one policy per topic.
|
|
@@ -1007,6 +1030,10 @@ module Aws::SNS
|
|
|
1007
1030
|
#
|
|
1008
1031
|
# Length Constraints: Maximum length of 30,720.
|
|
1009
1032
|
#
|
|
1033
|
+
#
|
|
1034
|
+
#
|
|
1035
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-data-protection-availability-change.html
|
|
1036
|
+
#
|
|
1010
1037
|
# @return [Types::CreateTopicResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1011
1038
|
#
|
|
1012
1039
|
# * {Types::CreateTopicResponse#topic_arn #topic_arn} => String
|
|
@@ -1162,9 +1189,17 @@ module Aws::SNS
|
|
|
1162
1189
|
req.send_request(options)
|
|
1163
1190
|
end
|
|
1164
1191
|
|
|
1192
|
+
# Amazon SNS message data protection is no longer available to new
|
|
1193
|
+
# customers. For more information and guidance on alternatives, see
|
|
1194
|
+
# [Amazon SNS message data protection availability change][1].
|
|
1195
|
+
#
|
|
1165
1196
|
# Retrieves the specified inline `DataProtectionPolicy` document that is
|
|
1166
1197
|
# stored in the specified Amazon SNS topic.
|
|
1167
1198
|
#
|
|
1199
|
+
#
|
|
1200
|
+
#
|
|
1201
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-data-protection-availability-change.html
|
|
1202
|
+
#
|
|
1168
1203
|
# @option params [required, String] :resource_arn
|
|
1169
1204
|
# The ARN of the topic whose `DataProtectionPolicy` you want to get.
|
|
1170
1205
|
#
|
|
@@ -1908,8 +1943,18 @@ module Aws::SNS
|
|
|
1908
1943
|
#
|
|
1909
1944
|
# Constraints:
|
|
1910
1945
|
#
|
|
1911
|
-
# * With the exception of SMS, messages must be UTF-8 encoded strings
|
|
1912
|
-
#
|
|
1946
|
+
# * With the exception of SMS, messages must be UTF-8 encoded strings.
|
|
1947
|
+
# By default, a message can be at most 256 KiB in size (262,144 bytes,
|
|
1948
|
+
# not 262,144 characters).
|
|
1949
|
+
#
|
|
1950
|
+
# When you publish to a topic, the maximum size is determined by the
|
|
1951
|
+
# topic's `MaximumMessageSize` attribute, which supports values up to
|
|
1952
|
+
# 1 MiB (1,048,576 bytes). Amazon SNS validates the combined size of
|
|
1953
|
+
# the message body and message attributes against this value and
|
|
1954
|
+
# returns an `InvalidParameter` error if the limit is exceeded.
|
|
1955
|
+
#
|
|
1956
|
+
# For more information, see [Large message payloads][1] in the *Amazon
|
|
1957
|
+
# SNS Developer Guide.*
|
|
1913
1958
|
#
|
|
1914
1959
|
# * For SMS, each message can contain up to 140 characters. This
|
|
1915
1960
|
# character limit depends on the encoding schema. For example, an SMS
|
|
@@ -1951,6 +1996,10 @@ module Aws::SNS
|
|
|
1951
1996
|
# * Failure to parse or validate any key or value in the message will
|
|
1952
1997
|
# cause the `Publish` call to return an error (no partial delivery).
|
|
1953
1998
|
#
|
|
1999
|
+
#
|
|
2000
|
+
#
|
|
2001
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
2002
|
+
#
|
|
1954
2003
|
# @option params [String] :subject
|
|
1955
2004
|
# Optional parameter to be used as the "Subject" line when the message
|
|
1956
2005
|
# is delivered to email endpoints. This field will also be included, if
|
|
@@ -2099,9 +2148,16 @@ module Aws::SNS
|
|
|
2099
2148
|
# successful and unsuccessful actions, you should check for batch errors
|
|
2100
2149
|
# even when the call returns an HTTP status code of 200.
|
|
2101
2150
|
#
|
|
2102
|
-
#
|
|
2103
|
-
# payload size (the sum of the individual lengths of all
|
|
2104
|
-
# messages) are both 256
|
|
2151
|
+
# By default, the maximum allowed individual message size and the
|
|
2152
|
+
# maximum total payload size (the sum of the individual lengths of all
|
|
2153
|
+
# of the batched messages) are both 256 KiB (262,144 bytes). To publish
|
|
2154
|
+
# larger batches, set the topic's `MaximumMessageSize` attribute, which
|
|
2155
|
+
# supports values up to 1 MiB (1,048,576 bytes). The combined size of
|
|
2156
|
+
# all messages in the batch, including each message's body and
|
|
2157
|
+
# attributes, must not exceed the topic's `MaximumMessageSize`.
|
|
2158
|
+
#
|
|
2159
|
+
# For more information, see [Large message payloads][1] in the *Amazon
|
|
2160
|
+
# SNS Developer Guide.*
|
|
2105
2161
|
#
|
|
2106
2162
|
# The `PublishBatch` API can send up to 10 messages at a time. If you
|
|
2107
2163
|
# attempt to send more than 10 messages in one request, you will
|
|
@@ -2126,6 +2182,10 @@ module Aws::SNS
|
|
|
2126
2182
|
# When a `messageId` is returned, the batch message is saved, and Amazon
|
|
2127
2183
|
# SNS immediately delivers the message to subscribers.
|
|
2128
2184
|
#
|
|
2185
|
+
#
|
|
2186
|
+
#
|
|
2187
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
2188
|
+
#
|
|
2129
2189
|
# @option params [required, String] :topic_arn
|
|
2130
2190
|
# The Amazon resource name (ARN) of the topic you want to batch publish
|
|
2131
2191
|
# to.
|
|
@@ -2182,9 +2242,17 @@ module Aws::SNS
|
|
|
2182
2242
|
req.send_request(options)
|
|
2183
2243
|
end
|
|
2184
2244
|
|
|
2245
|
+
# Amazon SNS message data protection is no longer available to new
|
|
2246
|
+
# customers. For more information and guidance on alternatives, see
|
|
2247
|
+
# [Amazon SNS message data protection availability change][1].
|
|
2248
|
+
#
|
|
2185
2249
|
# Adds or updates an inline policy document that is stored in the
|
|
2186
2250
|
# specified Amazon SNS topic.
|
|
2187
2251
|
#
|
|
2252
|
+
#
|
|
2253
|
+
#
|
|
2254
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-data-protection-availability-change.html
|
|
2255
|
+
#
|
|
2188
2256
|
# @option params [required, String] :resource_arn
|
|
2189
2257
|
# The ARN of the topic whose `DataProtectionPolicy` you want to add or
|
|
2190
2258
|
# update.
|
|
@@ -2631,8 +2699,26 @@ module Aws::SNS
|
|
|
2631
2699
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
|
2632
2700
|
# failed deliveries to HTTP/S endpoints.
|
|
2633
2701
|
#
|
|
2634
|
-
# * `DisplayName` – The display name to use for a topic with SMS
|
|
2635
|
-
# subscriptions.
|
|
2702
|
+
# * `DisplayName` – The display name to use for a topic with SMS,
|
|
2703
|
+
# `email`, and `email-json` subscriptions. For `email` and
|
|
2704
|
+
# `email-json` subscriptions, the display name is used as the sender
|
|
2705
|
+
# name for regular notification messages. Subscription confirmation
|
|
2706
|
+
# and unsubscribe confirmation emails always use "Amazon Web Services
|
|
2707
|
+
# Notifications" as the sender name.
|
|
2708
|
+
#
|
|
2709
|
+
# * `MaximumMessageSize` – The maximum size, in bytes, of a message that
|
|
2710
|
+
# can be published to the topic. Valid values are `1024` to `1048576`
|
|
2711
|
+
# (1 MiB). The default is `262144` (256 KiB).
|
|
2712
|
+
#
|
|
2713
|
+
# A topic with a `MaximumMessageSize` above 256 KiB must have 100 or
|
|
2714
|
+
# fewer subscriptions, and each subscription must be an Amazon SQS,
|
|
2715
|
+
# Amazon Data Firehose, or Lambda subscription.
|
|
2716
|
+
#
|
|
2717
|
+
# You can increase or decrease this value at any time. If the topic
|
|
2718
|
+
# doesn't meet these requirements when you set a value above 256 KiB,
|
|
2719
|
+
# Amazon SNS returns an `InvalidParameter` error. For more
|
|
2720
|
+
# information, see [Large message payloads][1] in the *Amazon SNS
|
|
2721
|
+
# Developer Guide.*
|
|
2636
2722
|
#
|
|
2637
2723
|
# * `Policy` – The policy that defines who can access your topic. By
|
|
2638
2724
|
# default, only the topic owner can publish or subscribe to the topic.
|
|
@@ -2703,7 +2789,7 @@ module Aws::SNS
|
|
|
2703
2789
|
# notification services.
|
|
2704
2790
|
#
|
|
2705
2791
|
# For example, For more information, see [Using Amazon SNS Application
|
|
2706
|
-
# Attributes for Message Delivery Status][
|
|
2792
|
+
# Attributes for Message Delivery Status][2].
|
|
2707
2793
|
#
|
|
2708
2794
|
# </note>
|
|
2709
2795
|
#
|
|
@@ -2732,11 +2818,11 @@ module Aws::SNS
|
|
|
2732
2818
|
#
|
|
2733
2819
|
# </note>
|
|
2734
2820
|
#
|
|
2735
|
-
# The following attribute applies only to [server-side-encryption][
|
|
2821
|
+
# The following attribute applies only to [server-side-encryption][3]:
|
|
2736
2822
|
#
|
|
2737
2823
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
|
2738
2824
|
# master key (CMK) for Amazon SNS or a custom CMK. For more
|
|
2739
|
-
# information, see [Key Terms][
|
|
2825
|
+
# information, see [Key Terms][4]. For more examples, see [KeyId][5]
|
|
2740
2826
|
# in the *Key Management Service API Reference*.
|
|
2741
2827
|
#
|
|
2742
2828
|
# * `SignatureVersion` – The signature version corresponds to the
|
|
@@ -2745,7 +2831,7 @@ module Aws::SNS
|
|
|
2745
2831
|
# confirmation messages sent by Amazon SNS. By default,
|
|
2746
2832
|
# `SignatureVersion` is set to `1`.
|
|
2747
2833
|
#
|
|
2748
|
-
# The following attribute applies only to [FIFO topics][
|
|
2834
|
+
# The following attribute applies only to [FIFO topics][6]:
|
|
2749
2835
|
#
|
|
2750
2836
|
# * `ArchivePolicy` – The policy that sets the retention period for
|
|
2751
2837
|
# messages stored in the message archive of an Amazon SNS FIFO topic.
|
|
@@ -2756,7 +2842,7 @@ module Aws::SNS
|
|
|
2756
2842
|
# * By default, `ContentBasedDeduplication` is set to `false`. If you
|
|
2757
2843
|
# create a FIFO topic and this attribute is `false`, you must
|
|
2758
2844
|
# specify a value for the `MessageDeduplicationId` parameter for the
|
|
2759
|
-
# [Publish][
|
|
2845
|
+
# [Publish][7] action.
|
|
2760
2846
|
#
|
|
2761
2847
|
# * When you set `ContentBasedDeduplication` to `true`, Amazon SNS
|
|
2762
2848
|
# uses a SHA-256 hash to generate the `MessageDeduplicationId` using
|
|
@@ -2779,18 +2865,19 @@ module Aws::SNS
|
|
|
2779
2865
|
# * `MessageGroup` – The scope of deduplication is within each
|
|
2780
2866
|
# individual message group, which enables higher throughput per
|
|
2781
2867
|
# topic subject to regional quotas. For more information on quotas
|
|
2782
|
-
# or to request an increase, see [Amazon SNS service quotas][
|
|
2868
|
+
# or to request an increase, see [Amazon SNS service quotas][8] in
|
|
2783
2869
|
# the Amazon Web Services General Reference.
|
|
2784
2870
|
#
|
|
2785
2871
|
#
|
|
2786
2872
|
#
|
|
2787
|
-
# [1]: https://docs.aws.amazon.com/sns/latest/dg/
|
|
2788
|
-
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-
|
|
2789
|
-
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
2790
|
-
# [4]: https://docs.aws.amazon.com/
|
|
2791
|
-
# [5]: https://docs.aws.amazon.com/
|
|
2792
|
-
# [6]: https://docs.aws.amazon.com/sns/latest/
|
|
2793
|
-
# [7]: https://docs.aws.amazon.com/
|
|
2873
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
2874
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
|
|
2875
|
+
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
2876
|
+
# [4]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
|
|
2877
|
+
# [5]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
|
2878
|
+
# [6]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
|
2879
|
+
# [7]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
|
2880
|
+
# [8]: https://docs.aws.amazon.com/general/latest/gr/sns.html
|
|
2794
2881
|
#
|
|
2795
2882
|
# @option params [String] :attribute_value
|
|
2796
2883
|
# The new value for the attribute.
|
|
@@ -3169,7 +3256,7 @@ module Aws::SNS
|
|
|
3169
3256
|
tracer: tracer
|
|
3170
3257
|
)
|
|
3171
3258
|
context[:gem_name] = 'aws-sdk-sns'
|
|
3172
|
-
context[:gem_version] = '1.
|
|
3259
|
+
context[:gem_version] = '1.124.0'
|
|
3173
3260
|
Seahorse::Client::Request.new(handlers, context)
|
|
3174
3261
|
end
|
|
3175
3262
|
|
|
@@ -153,8 +153,18 @@ module Aws::SNS
|
|
|
153
153
|
#
|
|
154
154
|
# Constraints:
|
|
155
155
|
#
|
|
156
|
-
# * With the exception of SMS, messages must be UTF-8 encoded strings
|
|
157
|
-
#
|
|
156
|
+
# * With the exception of SMS, messages must be UTF-8 encoded strings.
|
|
157
|
+
# By default, a message can be at most 256 KiB in size (262,144 bytes,
|
|
158
|
+
# not 262,144 characters).
|
|
159
|
+
#
|
|
160
|
+
# When you publish to a topic, the maximum size is determined by the
|
|
161
|
+
# topic's `MaximumMessageSize` attribute, which supports values up to
|
|
162
|
+
# 1 MiB (1,048,576 bytes). Amazon SNS validates the combined size of
|
|
163
|
+
# the message body and message attributes against this value and
|
|
164
|
+
# returns an `InvalidParameter` error if the limit is exceeded.
|
|
165
|
+
#
|
|
166
|
+
# For more information, see [Large message payloads][1] in the *Amazon
|
|
167
|
+
# SNS Developer Guide.*
|
|
158
168
|
#
|
|
159
169
|
# * For SMS, each message can contain up to 140 characters. This
|
|
160
170
|
# character limit depends on the encoding schema. For example, an SMS
|
|
@@ -195,6 +205,10 @@ module Aws::SNS
|
|
|
195
205
|
#
|
|
196
206
|
# * Failure to parse or validate any key or value in the message will
|
|
197
207
|
# cause the `Publish` call to return an error (no partial delivery).
|
|
208
|
+
#
|
|
209
|
+
#
|
|
210
|
+
#
|
|
211
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
198
212
|
# @option options [String] :subject
|
|
199
213
|
# Optional parameter to be used as the "Subject" line when the message
|
|
200
214
|
# is delivered to email endpoints. This field will also be included, if
|
data/lib/aws-sdk-sns/resource.rb
CHANGED
|
@@ -105,8 +105,20 @@ module Aws::SNS
|
|
|
105
105
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
|
106
106
|
# failed deliveries to HTTP/S endpoints.
|
|
107
107
|
#
|
|
108
|
-
# * `DisplayName` – The display name to use for a topic with SMS
|
|
109
|
-
# subscriptions.
|
|
108
|
+
# * `DisplayName` – The display name to use for a topic with SMS,
|
|
109
|
+
# `email`, and `email-json` subscriptions. For `email` and
|
|
110
|
+
# `email-json` subscriptions, the display name is used as the sender
|
|
111
|
+
# name for regular notification messages. Subscription confirmation
|
|
112
|
+
# and unsubscribe confirmation emails always use "Amazon Web Services
|
|
113
|
+
# Notifications" as the sender name.
|
|
114
|
+
#
|
|
115
|
+
# * `MaximumMessageSize` – The maximum size, in bytes, of a message that
|
|
116
|
+
# can be published to the topic. Valid values are `1024` to `1048576`
|
|
117
|
+
# (1 MiB). The default is `262144` (256 KiB).
|
|
118
|
+
#
|
|
119
|
+
# A topic with a `MaximumMessageSize` above 256 KiB must have 100 or
|
|
120
|
+
# fewer subscriptions, and each subscription must be an Amazon SQS,
|
|
121
|
+
# Amazon Data Firehose, or Lambda subscription.
|
|
110
122
|
#
|
|
111
123
|
# * `Policy` – The policy that defines who can access your topic. By
|
|
112
124
|
# default, only the topic owner can publish or subscribe to the topic.
|
|
@@ -269,6 +281,10 @@ module Aws::SNS
|
|
|
269
281
|
#
|
|
270
282
|
# </note>
|
|
271
283
|
# @option options [String] :data_protection_policy
|
|
284
|
+
# Amazon SNS message data protection is no longer available to new
|
|
285
|
+
# customers. For more information and guidance on alternatives, see
|
|
286
|
+
# [Amazon SNS message data protection availability change][1].
|
|
287
|
+
#
|
|
272
288
|
# The body of the policy document you want to use for this topic.
|
|
273
289
|
#
|
|
274
290
|
# You can only add one policy per topic.
|
|
@@ -276,6 +292,10 @@ module Aws::SNS
|
|
|
276
292
|
# The policy must be in JSON string format.
|
|
277
293
|
#
|
|
278
294
|
# Length Constraints: Maximum length of 30,720.
|
|
295
|
+
#
|
|
296
|
+
#
|
|
297
|
+
#
|
|
298
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-data-protection-availability-change.html
|
|
279
299
|
# @return [Topic]
|
|
280
300
|
def create_topic(options = {})
|
|
281
301
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
|
@@ -41,11 +41,19 @@ module Aws::SNS
|
|
|
41
41
|
# policy.
|
|
42
42
|
#
|
|
43
43
|
# * `DisplayName` – The human-readable name used in the `From` field for
|
|
44
|
-
# notifications to `email` and `email-json` endpoints.
|
|
44
|
+
# notifications to `email` and `email-json` endpoints. For
|
|
45
|
+
# subscription confirmation and unsubscribe confirmation emails, the
|
|
46
|
+
# sender name is always "Amazon Web Services Notifications"
|
|
47
|
+
# regardless of this attribute.
|
|
45
48
|
#
|
|
46
49
|
# * `EffectiveDeliveryPolicy` – The JSON serialization of the effective
|
|
47
50
|
# delivery policy, taking system defaults into account.
|
|
48
51
|
#
|
|
52
|
+
# * `MaximumMessageSize` – The maximum size, in bytes, of a message that
|
|
53
|
+
# can be published to the topic. Amazon SNS returns this attribute
|
|
54
|
+
# only if you explicitly set it. If Amazon SNS doesn't return it, the
|
|
55
|
+
# topic uses the default of `262144` (256 KiB).
|
|
56
|
+
#
|
|
49
57
|
# * `Owner` – The Amazon Web Services account ID of the topic's owner.
|
|
50
58
|
#
|
|
51
59
|
# * `Policy` – The JSON serialization of the topic's access control
|
|
@@ -281,8 +289,18 @@ module Aws::SNS
|
|
|
281
289
|
#
|
|
282
290
|
# Constraints:
|
|
283
291
|
#
|
|
284
|
-
# * With the exception of SMS, messages must be UTF-8 encoded strings
|
|
285
|
-
#
|
|
292
|
+
# * With the exception of SMS, messages must be UTF-8 encoded strings.
|
|
293
|
+
# By default, a message can be at most 256 KiB in size (262,144 bytes,
|
|
294
|
+
# not 262,144 characters).
|
|
295
|
+
#
|
|
296
|
+
# When you publish to a topic, the maximum size is determined by the
|
|
297
|
+
# topic's `MaximumMessageSize` attribute, which supports values up to
|
|
298
|
+
# 1 MiB (1,048,576 bytes). Amazon SNS validates the combined size of
|
|
299
|
+
# the message body and message attributes against this value and
|
|
300
|
+
# returns an `InvalidParameter` error if the limit is exceeded.
|
|
301
|
+
#
|
|
302
|
+
# For more information, see [Large message payloads][1] in the *Amazon
|
|
303
|
+
# SNS Developer Guide.*
|
|
286
304
|
#
|
|
287
305
|
# * For SMS, each message can contain up to 140 characters. This
|
|
288
306
|
# character limit depends on the encoding schema. For example, an SMS
|
|
@@ -323,6 +341,10 @@ module Aws::SNS
|
|
|
323
341
|
#
|
|
324
342
|
# * Failure to parse or validate any key or value in the message will
|
|
325
343
|
# cause the `Publish` call to return an error (no partial delivery).
|
|
344
|
+
#
|
|
345
|
+
#
|
|
346
|
+
#
|
|
347
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
326
348
|
# @option options [String] :subject
|
|
327
349
|
# Optional parameter to be used as the "Subject" line when the message
|
|
328
350
|
# is delivered to email endpoints. This field will also be included, if
|
|
@@ -455,8 +477,26 @@ module Aws::SNS
|
|
|
455
477
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
|
456
478
|
# failed deliveries to HTTP/S endpoints.
|
|
457
479
|
#
|
|
458
|
-
# * `DisplayName` – The display name to use for a topic with SMS
|
|
459
|
-
# subscriptions.
|
|
480
|
+
# * `DisplayName` – The display name to use for a topic with SMS,
|
|
481
|
+
# `email`, and `email-json` subscriptions. For `email` and
|
|
482
|
+
# `email-json` subscriptions, the display name is used as the sender
|
|
483
|
+
# name for regular notification messages. Subscription confirmation
|
|
484
|
+
# and unsubscribe confirmation emails always use "Amazon Web Services
|
|
485
|
+
# Notifications" as the sender name.
|
|
486
|
+
#
|
|
487
|
+
# * `MaximumMessageSize` – The maximum size, in bytes, of a message that
|
|
488
|
+
# can be published to the topic. Valid values are `1024` to `1048576`
|
|
489
|
+
# (1 MiB). The default is `262144` (256 KiB).
|
|
490
|
+
#
|
|
491
|
+
# A topic with a `MaximumMessageSize` above 256 KiB must have 100 or
|
|
492
|
+
# fewer subscriptions, and each subscription must be an Amazon SQS,
|
|
493
|
+
# Amazon Data Firehose, or Lambda subscription.
|
|
494
|
+
#
|
|
495
|
+
# You can increase or decrease this value at any time. If the topic
|
|
496
|
+
# doesn't meet these requirements when you set a value above 256 KiB,
|
|
497
|
+
# Amazon SNS returns an `InvalidParameter` error. For more
|
|
498
|
+
# information, see [Large message payloads][1] in the *Amazon SNS
|
|
499
|
+
# Developer Guide.*
|
|
460
500
|
#
|
|
461
501
|
# * `Policy` – The policy that defines who can access your topic. By
|
|
462
502
|
# default, only the topic owner can publish or subscribe to the topic.
|
|
@@ -527,7 +567,7 @@ module Aws::SNS
|
|
|
527
567
|
# notification services.
|
|
528
568
|
#
|
|
529
569
|
# For example, For more information, see [Using Amazon SNS Application
|
|
530
|
-
# Attributes for Message Delivery Status][
|
|
570
|
+
# Attributes for Message Delivery Status][2].
|
|
531
571
|
#
|
|
532
572
|
# </note>
|
|
533
573
|
#
|
|
@@ -556,11 +596,11 @@ module Aws::SNS
|
|
|
556
596
|
#
|
|
557
597
|
# </note>
|
|
558
598
|
#
|
|
559
|
-
# The following attribute applies only to [server-side-encryption][
|
|
599
|
+
# The following attribute applies only to [server-side-encryption][3]:
|
|
560
600
|
#
|
|
561
601
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
|
562
602
|
# master key (CMK) for Amazon SNS or a custom CMK. For more
|
|
563
|
-
# information, see [Key Terms][
|
|
603
|
+
# information, see [Key Terms][4]. For more examples, see [KeyId][5]
|
|
564
604
|
# in the *Key Management Service API Reference*.
|
|
565
605
|
#
|
|
566
606
|
# * `SignatureVersion` – The signature version corresponds to the
|
|
@@ -569,7 +609,7 @@ module Aws::SNS
|
|
|
569
609
|
# confirmation messages sent by Amazon SNS. By default,
|
|
570
610
|
# `SignatureVersion` is set to `1`.
|
|
571
611
|
#
|
|
572
|
-
# The following attribute applies only to [FIFO topics][
|
|
612
|
+
# The following attribute applies only to [FIFO topics][6]:
|
|
573
613
|
#
|
|
574
614
|
# * `ArchivePolicy` – The policy that sets the retention period for
|
|
575
615
|
# messages stored in the message archive of an Amazon SNS FIFO topic.
|
|
@@ -580,7 +620,7 @@ module Aws::SNS
|
|
|
580
620
|
# * By default, `ContentBasedDeduplication` is set to `false`. If you
|
|
581
621
|
# create a FIFO topic and this attribute is `false`, you must
|
|
582
622
|
# specify a value for the `MessageDeduplicationId` parameter for the
|
|
583
|
-
# [Publish][
|
|
623
|
+
# [Publish][7] action.
|
|
584
624
|
#
|
|
585
625
|
# * When you set `ContentBasedDeduplication` to `true`, Amazon SNS
|
|
586
626
|
# uses a SHA-256 hash to generate the `MessageDeduplicationId` using
|
|
@@ -603,18 +643,19 @@ module Aws::SNS
|
|
|
603
643
|
# * `MessageGroup` – The scope of deduplication is within each
|
|
604
644
|
# individual message group, which enables higher throughput per
|
|
605
645
|
# topic subject to regional quotas. For more information on quotas
|
|
606
|
-
# or to request an increase, see [Amazon SNS service quotas][
|
|
646
|
+
# or to request an increase, see [Amazon SNS service quotas][8] in
|
|
607
647
|
# the Amazon Web Services General Reference.
|
|
608
648
|
#
|
|
609
649
|
#
|
|
610
650
|
#
|
|
611
|
-
# [1]: https://docs.aws.amazon.com/sns/latest/dg/
|
|
612
|
-
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-
|
|
613
|
-
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
614
|
-
# [4]: https://docs.aws.amazon.com/
|
|
615
|
-
# [5]: https://docs.aws.amazon.com/
|
|
616
|
-
# [6]: https://docs.aws.amazon.com/sns/latest/
|
|
617
|
-
# [7]: https://docs.aws.amazon.com/
|
|
651
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
652
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
|
|
653
|
+
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
654
|
+
# [4]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
|
|
655
|
+
# [5]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
|
656
|
+
# [6]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
|
657
|
+
# [7]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
|
658
|
+
# [8]: https://docs.aws.amazon.com/general/latest/gr/sns.html
|
|
618
659
|
# @option options [String] :attribute_value
|
|
619
660
|
# The new value for the attribute.
|
|
620
661
|
# @return [EmptyStructure]
|
data/lib/aws-sdk-sns/types.rb
CHANGED
|
@@ -351,8 +351,20 @@ module Aws::SNS
|
|
|
351
351
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
|
352
352
|
# failed deliveries to HTTP/S endpoints.
|
|
353
353
|
#
|
|
354
|
-
# * `DisplayName` – The display name to use for a topic with SMS
|
|
355
|
-
# subscriptions.
|
|
354
|
+
# * `DisplayName` – The display name to use for a topic with SMS,
|
|
355
|
+
# `email`, and `email-json` subscriptions. For `email` and
|
|
356
|
+
# `email-json` subscriptions, the display name is used as the sender
|
|
357
|
+
# name for regular notification messages. Subscription confirmation
|
|
358
|
+
# and unsubscribe confirmation emails always use "Amazon Web
|
|
359
|
+
# Services Notifications" as the sender name.
|
|
360
|
+
#
|
|
361
|
+
# * `MaximumMessageSize` – The maximum size, in bytes, of a message
|
|
362
|
+
# that can be published to the topic. Valid values are `1024` to
|
|
363
|
+
# `1048576` (1 MiB). The default is `262144` (256 KiB).
|
|
364
|
+
#
|
|
365
|
+
# A topic with a `MaximumMessageSize` above 256 KiB must have 100 or
|
|
366
|
+
# fewer subscriptions, and each subscription must be an Amazon SQS,
|
|
367
|
+
# Amazon Data Firehose, or Lambda subscription.
|
|
356
368
|
#
|
|
357
369
|
# * `Policy` – The policy that defines who can access your topic. By
|
|
358
370
|
# default, only the topic owner can publish or subscribe to the
|
|
@@ -523,6 +535,10 @@ module Aws::SNS
|
|
|
523
535
|
# @return [Array<Types::Tag>]
|
|
524
536
|
#
|
|
525
537
|
# @!attribute [rw] data_protection_policy
|
|
538
|
+
# Amazon SNS message data protection is no longer available to new
|
|
539
|
+
# customers. For more information and guidance on alternatives, see
|
|
540
|
+
# [Amazon SNS message data protection availability change][1].
|
|
541
|
+
#
|
|
526
542
|
# The body of the policy document you want to use for this topic.
|
|
527
543
|
#
|
|
528
544
|
# You can only add one policy per topic.
|
|
@@ -530,6 +546,10 @@ module Aws::SNS
|
|
|
530
546
|
# The policy must be in JSON string format.
|
|
531
547
|
#
|
|
532
548
|
# Length Constraints: Maximum length of 30,720.
|
|
549
|
+
#
|
|
550
|
+
#
|
|
551
|
+
#
|
|
552
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-data-protection-availability-change.html
|
|
533
553
|
# @return [String]
|
|
534
554
|
#
|
|
535
555
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicInput AWS API Documentation
|
|
@@ -983,11 +1003,19 @@ module Aws::SNS
|
|
|
983
1003
|
# policy.
|
|
984
1004
|
#
|
|
985
1005
|
# * `DisplayName` – The human-readable name used in the `From` field
|
|
986
|
-
# for notifications to `email` and `email-json` endpoints.
|
|
1006
|
+
# for notifications to `email` and `email-json` endpoints. For
|
|
1007
|
+
# subscription confirmation and unsubscribe confirmation emails, the
|
|
1008
|
+
# sender name is always "Amazon Web Services Notifications"
|
|
1009
|
+
# regardless of this attribute.
|
|
987
1010
|
#
|
|
988
1011
|
# * `EffectiveDeliveryPolicy` – The JSON serialization of the
|
|
989
1012
|
# effective delivery policy, taking system defaults into account.
|
|
990
1013
|
#
|
|
1014
|
+
# * `MaximumMessageSize` – The maximum size, in bytes, of a message
|
|
1015
|
+
# that can be published to the topic. Amazon SNS returns this
|
|
1016
|
+
# attribute only if you explicitly set it. If Amazon SNS doesn't
|
|
1017
|
+
# return it, the topic uses the default of `262144` (256 KiB).
|
|
1018
|
+
#
|
|
991
1019
|
# * `Owner` – The Amazon Web Services account ID of the topic's
|
|
992
1020
|
# owner.
|
|
993
1021
|
#
|
|
@@ -1595,15 +1623,18 @@ module Aws::SNS
|
|
|
1595
1623
|
# Name, type, and value must not be empty or null. In addition, the
|
|
1596
1624
|
# message body should not be empty or null. All parts of the message
|
|
1597
1625
|
# attribute, including name, type, and value, are included in the
|
|
1598
|
-
# message size restriction, which is
|
|
1599
|
-
#
|
|
1600
|
-
#
|
|
1626
|
+
# message size restriction, which is 256 KiB (262,144 bytes) by default
|
|
1627
|
+
# and is determined by the topic's `MaximumMessageSize` attribute. For
|
|
1628
|
+
# more information, see [Large message payloads][2], [Amazon SNS message
|
|
1629
|
+
# attributes][3] and [Publishing to a mobile phone][4] in the *Amazon
|
|
1630
|
+
# SNS Developer Guide.*
|
|
1601
1631
|
#
|
|
1602
1632
|
#
|
|
1603
1633
|
#
|
|
1604
1634
|
# [1]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
|
1605
|
-
# [2]: https://docs.aws.amazon.com/sns/latest/dg/
|
|
1606
|
-
# [3]: https://docs.aws.amazon.com/sns/latest/dg/
|
|
1635
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
1636
|
+
# [3]: https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html
|
|
1637
|
+
# [4]: https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html
|
|
1607
1638
|
#
|
|
1608
1639
|
# @!attribute [rw] data_type
|
|
1609
1640
|
# Amazon SNS supports the following logical data types: String,
|
|
@@ -2017,9 +2048,18 @@ module Aws::SNS
|
|
|
2017
2048
|
#
|
|
2018
2049
|
# Constraints:
|
|
2019
2050
|
#
|
|
2020
|
-
# * With the exception of SMS, messages must be UTF-8 encoded strings
|
|
2021
|
-
#
|
|
2022
|
-
# characters).
|
|
2051
|
+
# * With the exception of SMS, messages must be UTF-8 encoded strings.
|
|
2052
|
+
# By default, a message can be at most 256 KiB in size (262,144
|
|
2053
|
+
# bytes, not 262,144 characters).
|
|
2054
|
+
#
|
|
2055
|
+
# When you publish to a topic, the maximum size is determined by the
|
|
2056
|
+
# topic's `MaximumMessageSize` attribute, which supports values up
|
|
2057
|
+
# to 1 MiB (1,048,576 bytes). Amazon SNS validates the combined size
|
|
2058
|
+
# of the message body and message attributes against this value and
|
|
2059
|
+
# returns an `InvalidParameter` error if the limit is exceeded.
|
|
2060
|
+
#
|
|
2061
|
+
# For more information, see [Large message payloads][1] in the
|
|
2062
|
+
# *Amazon SNS Developer Guide.*
|
|
2023
2063
|
#
|
|
2024
2064
|
# * For SMS, each message can contain up to 140 characters. This
|
|
2025
2065
|
# character limit depends on the encoding schema. For example, an
|
|
@@ -2060,6 +2100,10 @@ module Aws::SNS
|
|
|
2060
2100
|
#
|
|
2061
2101
|
# * Failure to parse or validate any key or value in the message will
|
|
2062
2102
|
# cause the `Publish` call to return an error (no partial delivery).
|
|
2103
|
+
#
|
|
2104
|
+
#
|
|
2105
|
+
#
|
|
2106
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
2063
2107
|
# @return [String]
|
|
2064
2108
|
#
|
|
2065
2109
|
# @!attribute [rw] subject
|
|
@@ -2632,8 +2676,26 @@ module Aws::SNS
|
|
|
2632
2676
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
|
2633
2677
|
# failed deliveries to HTTP/S endpoints.
|
|
2634
2678
|
#
|
|
2635
|
-
# * `DisplayName` – The display name to use for a topic with SMS
|
|
2636
|
-
# subscriptions.
|
|
2679
|
+
# * `DisplayName` – The display name to use for a topic with SMS,
|
|
2680
|
+
# `email`, and `email-json` subscriptions. For `email` and
|
|
2681
|
+
# `email-json` subscriptions, the display name is used as the sender
|
|
2682
|
+
# name for regular notification messages. Subscription confirmation
|
|
2683
|
+
# and unsubscribe confirmation emails always use "Amazon Web
|
|
2684
|
+
# Services Notifications" as the sender name.
|
|
2685
|
+
#
|
|
2686
|
+
# * `MaximumMessageSize` – The maximum size, in bytes, of a message
|
|
2687
|
+
# that can be published to the topic. Valid values are `1024` to
|
|
2688
|
+
# `1048576` (1 MiB). The default is `262144` (256 KiB).
|
|
2689
|
+
#
|
|
2690
|
+
# A topic with a `MaximumMessageSize` above 256 KiB must have 100 or
|
|
2691
|
+
# fewer subscriptions, and each subscription must be an Amazon SQS,
|
|
2692
|
+
# Amazon Data Firehose, or Lambda subscription.
|
|
2693
|
+
#
|
|
2694
|
+
# You can increase or decrease this value at any time. If the topic
|
|
2695
|
+
# doesn't meet these requirements when you set a value above 256
|
|
2696
|
+
# KiB, Amazon SNS returns an `InvalidParameter` error. For more
|
|
2697
|
+
# information, see [Large message payloads][1] in the *Amazon SNS
|
|
2698
|
+
# Developer Guide.*
|
|
2637
2699
|
#
|
|
2638
2700
|
# * `Policy` – The policy that defines who can access your topic. By
|
|
2639
2701
|
# default, only the topic owner can publish or subscribe to the
|
|
@@ -2706,7 +2768,7 @@ module Aws::SNS
|
|
|
2706
2768
|
# sent to push notification services.
|
|
2707
2769
|
#
|
|
2708
2770
|
# For example, For more information, see [Using Amazon SNS
|
|
2709
|
-
# Application Attributes for Message Delivery Status][
|
|
2771
|
+
# Application Attributes for Message Delivery Status][2].
|
|
2710
2772
|
#
|
|
2711
2773
|
# </note>
|
|
2712
2774
|
#
|
|
@@ -2735,11 +2797,11 @@ module Aws::SNS
|
|
|
2735
2797
|
#
|
|
2736
2798
|
# </note>
|
|
2737
2799
|
#
|
|
2738
|
-
# The following attribute applies only to [server-side-encryption][
|
|
2800
|
+
# The following attribute applies only to [server-side-encryption][3]:
|
|
2739
2801
|
#
|
|
2740
2802
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
|
|
2741
2803
|
# customer master key (CMK) for Amazon SNS or a custom CMK. For more
|
|
2742
|
-
# information, see [Key Terms][
|
|
2804
|
+
# information, see [Key Terms][4]. For more examples, see [KeyId][5]
|
|
2743
2805
|
# in the *Key Management Service API Reference*.
|
|
2744
2806
|
#
|
|
2745
2807
|
# * `SignatureVersion` – The signature version corresponds to the
|
|
@@ -2748,7 +2810,7 @@ module Aws::SNS
|
|
|
2748
2810
|
# confirmation messages sent by Amazon SNS. By default,
|
|
2749
2811
|
# `SignatureVersion` is set to `1`.
|
|
2750
2812
|
#
|
|
2751
|
-
# The following attribute applies only to [FIFO topics][
|
|
2813
|
+
# The following attribute applies only to [FIFO topics][6]:
|
|
2752
2814
|
#
|
|
2753
2815
|
# * `ArchivePolicy` – The policy that sets the retention period for
|
|
2754
2816
|
# messages stored in the message archive of an Amazon SNS FIFO
|
|
@@ -2760,7 +2822,7 @@ module Aws::SNS
|
|
|
2760
2822
|
# * By default, `ContentBasedDeduplication` is set to `false`. If
|
|
2761
2823
|
# you create a FIFO topic and this attribute is `false`, you must
|
|
2762
2824
|
# specify a value for the `MessageDeduplicationId` parameter for
|
|
2763
|
-
# the [Publish][
|
|
2825
|
+
# the [Publish][7] action.
|
|
2764
2826
|
#
|
|
2765
2827
|
# * When you set `ContentBasedDeduplication` to `true`, Amazon SNS
|
|
2766
2828
|
# uses a SHA-256 hash to generate the `MessageDeduplicationId`
|
|
@@ -2784,18 +2846,19 @@ module Aws::SNS
|
|
|
2784
2846
|
# * `MessageGroup` – The scope of deduplication is within each
|
|
2785
2847
|
# individual message group, which enables higher throughput per
|
|
2786
2848
|
# topic subject to regional quotas. For more information on quotas
|
|
2787
|
-
# or to request an increase, see [Amazon SNS service quotas][
|
|
2849
|
+
# or to request an increase, see [Amazon SNS service quotas][8] in
|
|
2788
2850
|
# the Amazon Web Services General Reference.
|
|
2789
2851
|
#
|
|
2790
2852
|
#
|
|
2791
2853
|
#
|
|
2792
|
-
# [1]: https://docs.aws.amazon.com/sns/latest/dg/
|
|
2793
|
-
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-
|
|
2794
|
-
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
2795
|
-
# [4]: https://docs.aws.amazon.com/
|
|
2796
|
-
# [5]: https://docs.aws.amazon.com/
|
|
2797
|
-
# [6]: https://docs.aws.amazon.com/sns/latest/
|
|
2798
|
-
# [7]: https://docs.aws.amazon.com/
|
|
2854
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/large-message-payloads.html
|
|
2855
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
|
|
2856
|
+
# [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
2857
|
+
# [4]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
|
|
2858
|
+
# [5]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
|
2859
|
+
# [6]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
|
|
2860
|
+
# [7]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
|
|
2861
|
+
# [8]: https://docs.aws.amazon.com/general/latest/gr/sns.html
|
|
2799
2862
|
# @return [String]
|
|
2800
2863
|
#
|
|
2801
2864
|
# @!attribute [rw] attribute_value
|
data/lib/aws-sdk-sns.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/errors.rbs
CHANGED
|
@@ -11,106 +11,106 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class AuthorizationErrorException <
|
|
14
|
+
class AuthorizationErrorException < ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
end
|
|
17
|
-
class BatchEntryIdsNotDistinctException <
|
|
17
|
+
class BatchEntryIdsNotDistinctException < ServiceError
|
|
18
18
|
def message: () -> ::String
|
|
19
19
|
end
|
|
20
|
-
class BatchRequestTooLongException <
|
|
20
|
+
class BatchRequestTooLongException < ServiceError
|
|
21
21
|
def message: () -> ::String
|
|
22
22
|
end
|
|
23
|
-
class ConcurrentAccessException <
|
|
23
|
+
class ConcurrentAccessException < ServiceError
|
|
24
24
|
def message: () -> ::String
|
|
25
25
|
end
|
|
26
|
-
class EmptyBatchRequestException <
|
|
26
|
+
class EmptyBatchRequestException < ServiceError
|
|
27
27
|
def message: () -> ::String
|
|
28
28
|
end
|
|
29
|
-
class EndpointDisabledException <
|
|
29
|
+
class EndpointDisabledException < ServiceError
|
|
30
30
|
def message: () -> ::String
|
|
31
31
|
end
|
|
32
|
-
class FilterPolicyLimitExceededException <
|
|
32
|
+
class FilterPolicyLimitExceededException < ServiceError
|
|
33
33
|
def message: () -> ::String
|
|
34
34
|
end
|
|
35
|
-
class InternalErrorException <
|
|
35
|
+
class InternalErrorException < ServiceError
|
|
36
36
|
def message: () -> ::String
|
|
37
37
|
end
|
|
38
|
-
class InvalidBatchEntryIdException <
|
|
38
|
+
class InvalidBatchEntryIdException < ServiceError
|
|
39
39
|
def message: () -> ::String
|
|
40
40
|
end
|
|
41
|
-
class InvalidParameterException <
|
|
41
|
+
class InvalidParameterException < ServiceError
|
|
42
42
|
def message: () -> ::String
|
|
43
43
|
end
|
|
44
|
-
class InvalidParameterValueException <
|
|
44
|
+
class InvalidParameterValueException < ServiceError
|
|
45
45
|
def message: () -> ::String
|
|
46
46
|
end
|
|
47
|
-
class InvalidSecurityException <
|
|
47
|
+
class InvalidSecurityException < ServiceError
|
|
48
48
|
def message: () -> ::String
|
|
49
49
|
end
|
|
50
|
-
class InvalidStateException <
|
|
50
|
+
class InvalidStateException < ServiceError
|
|
51
51
|
def message: () -> ::String
|
|
52
52
|
end
|
|
53
|
-
class KMSAccessDeniedException <
|
|
53
|
+
class KMSAccessDeniedException < ServiceError
|
|
54
54
|
def message: () -> ::String
|
|
55
55
|
end
|
|
56
|
-
class KMSDisabledException <
|
|
56
|
+
class KMSDisabledException < ServiceError
|
|
57
57
|
def message: () -> ::String
|
|
58
58
|
end
|
|
59
|
-
class KMSInvalidStateException <
|
|
59
|
+
class KMSInvalidStateException < ServiceError
|
|
60
60
|
def message: () -> ::String
|
|
61
61
|
end
|
|
62
|
-
class KMSNotFoundException <
|
|
62
|
+
class KMSNotFoundException < ServiceError
|
|
63
63
|
def message: () -> ::String
|
|
64
64
|
end
|
|
65
|
-
class KMSOptInRequired <
|
|
65
|
+
class KMSOptInRequired < ServiceError
|
|
66
66
|
def message: () -> ::String
|
|
67
67
|
end
|
|
68
|
-
class KMSThrottlingException <
|
|
68
|
+
class KMSThrottlingException < ServiceError
|
|
69
69
|
def message: () -> ::String
|
|
70
70
|
end
|
|
71
|
-
class NotFoundException <
|
|
71
|
+
class NotFoundException < ServiceError
|
|
72
72
|
def message: () -> ::String
|
|
73
73
|
end
|
|
74
|
-
class OptedOutException <
|
|
74
|
+
class OptedOutException < ServiceError
|
|
75
75
|
def message: () -> ::String
|
|
76
76
|
end
|
|
77
|
-
class PlatformApplicationDisabledException <
|
|
77
|
+
class PlatformApplicationDisabledException < ServiceError
|
|
78
78
|
def message: () -> ::String
|
|
79
79
|
end
|
|
80
|
-
class ReplayLimitExceededException <
|
|
80
|
+
class ReplayLimitExceededException < ServiceError
|
|
81
81
|
def message: () -> ::String
|
|
82
82
|
end
|
|
83
|
-
class ResourceNotFoundException <
|
|
83
|
+
class ResourceNotFoundException < ServiceError
|
|
84
84
|
def message: () -> ::String
|
|
85
85
|
end
|
|
86
|
-
class StaleTagException <
|
|
86
|
+
class StaleTagException < ServiceError
|
|
87
87
|
def message: () -> ::String
|
|
88
88
|
end
|
|
89
|
-
class SubscriptionLimitExceededException <
|
|
89
|
+
class SubscriptionLimitExceededException < ServiceError
|
|
90
90
|
def message: () -> ::String
|
|
91
91
|
end
|
|
92
|
-
class TagLimitExceededException <
|
|
92
|
+
class TagLimitExceededException < ServiceError
|
|
93
93
|
def message: () -> ::String
|
|
94
94
|
end
|
|
95
|
-
class TagPolicyException <
|
|
95
|
+
class TagPolicyException < ServiceError
|
|
96
96
|
def message: () -> ::String
|
|
97
97
|
end
|
|
98
|
-
class ThrottledException <
|
|
98
|
+
class ThrottledException < ServiceError
|
|
99
99
|
def message: () -> ::String
|
|
100
100
|
end
|
|
101
|
-
class TooManyEntriesInBatchRequestException <
|
|
101
|
+
class TooManyEntriesInBatchRequestException < ServiceError
|
|
102
102
|
def message: () -> ::String
|
|
103
103
|
end
|
|
104
|
-
class TopicLimitExceededException <
|
|
104
|
+
class TopicLimitExceededException < ServiceError
|
|
105
105
|
def message: () -> ::String
|
|
106
106
|
end
|
|
107
|
-
class UserErrorException <
|
|
107
|
+
class UserErrorException < ServiceError
|
|
108
108
|
def message: () -> ::String
|
|
109
109
|
end
|
|
110
|
-
class ValidationException <
|
|
110
|
+
class ValidationException < ServiceError
|
|
111
111
|
def message: () -> ::String
|
|
112
112
|
end
|
|
113
|
-
class VerificationException <
|
|
113
|
+
class VerificationException < ServiceError
|
|
114
114
|
def message: () -> ::String
|
|
115
115
|
def status: () -> ::String
|
|
116
116
|
end
|
data/sig/resource.rbs
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.124.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.260.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.260.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|