aws-sdk-sns 1.28.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sns.rb +1 -1
- data/lib/aws-sdk-sns/client.rb +7 -41
- data/lib/aws-sdk-sns/resource.rb +1 -20
- data/lib/aws-sdk-sns/topic.rb +1 -15
- data/lib/aws-sdk-sns/types.rb +2 -37
- 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: 287a854cd0d72e977abcc32963f8d40ec6ba5c4b95124e884d33cb2a4c758101
|
4
|
+
data.tar.gz: c9d602b5b3a121c052bf358a4922288e802ba6ce97ddc95982fe4dbf4b67c168
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e69d5d4b49a28e50237f2ffac3c8aaa419682cd004bb21f82669538561ea8d9798bf5d3326b49cca40cce74d35ff7c96c8c966a59c22b679405e99baf117357
|
7
|
+
data.tar.gz: 85036ba044a0eaf7a0bb4ff42e73f899d4f1f577541fe09589399462057ca1ac16a089091cbf963d8ab5e246d211106e18866045184775a928ab9b2caa5113dc
|
data/lib/aws-sdk-sns.rb
CHANGED
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -576,11 +576,10 @@ module Aws::SNS
|
|
576
576
|
end
|
577
577
|
|
578
578
|
# Creates a topic to which notifications can be published. Users can
|
579
|
-
# create at most 100,000
|
580
|
-
#
|
581
|
-
#
|
582
|
-
#
|
583
|
-
# topic.
|
579
|
+
# create at most 100,000 topics. For more information, see
|
580
|
+
# [https://aws.amazon.com/sns][1]. This action is idempotent, so if the
|
581
|
+
# requester already owns a topic with the specified name, that topic's
|
582
|
+
# ARN is returned without creating a new topic.
|
584
583
|
#
|
585
584
|
#
|
586
585
|
#
|
@@ -593,9 +592,6 @@ module Aws::SNS
|
|
593
592
|
# lowercase ASCII letters, numbers, underscores, and hyphens, and must
|
594
593
|
# be between 1 and 256 characters long.
|
595
594
|
#
|
596
|
-
# For a FIFO (first-in-first-out) topic, the name must end with the
|
597
|
-
# `.fifo` suffix.
|
598
|
-
#
|
599
595
|
# @option params [Hash<String,String>] :attributes
|
600
596
|
# A map of attributes with their corresponding values.
|
601
597
|
#
|
@@ -608,34 +604,18 @@ module Aws::SNS
|
|
608
604
|
# * `DisplayName` – The display name to use for a topic with SMS
|
609
605
|
# subscriptions.
|
610
606
|
#
|
611
|
-
# * `FifoTopic` – Set to true to create a FIFO topic.
|
612
|
-
#
|
613
607
|
# * `Policy` – The policy that defines who can access your topic. By
|
614
608
|
# default, only the topic owner can publish or subscribe to the topic.
|
615
609
|
#
|
616
610
|
# The following attribute applies only to [server-side-encryption][1]\:
|
617
611
|
#
|
618
|
-
# * `KmsMasterKeyId`
|
612
|
+
# * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
|
619
613
|
# (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
|
620
614
|
# Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
|
621
615
|
# Management Service API Reference*.
|
622
616
|
#
|
623
617
|
# ^
|
624
618
|
#
|
625
|
-
# The following attribute applies only to FIFO topics:
|
626
|
-
#
|
627
|
-
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
628
|
-
# Amazon SNS uses a SHA-256 hash to generate the
|
629
|
-
# `MessageDeduplicationId` using the body of the message (but not the
|
630
|
-
# attributes of the message).
|
631
|
-
#
|
632
|
-
# * When `ContentBasedDeduplication` is in effect, messages with
|
633
|
-
# identical content sent within the deduplication interval are treated
|
634
|
-
# as duplicates and only one copy of the message is delivered.
|
635
|
-
#
|
636
|
-
# * If the queue has `ContentBasedDeduplication` set, your
|
637
|
-
# `MessageDeduplicationId` overrides the generated one.
|
638
|
-
#
|
639
619
|
#
|
640
620
|
#
|
641
621
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
@@ -1781,27 +1761,13 @@ module Aws::SNS
|
|
1781
1761
|
#
|
1782
1762
|
# The following attribute applies only to [server-side-encryption][1]\:
|
1783
1763
|
#
|
1784
|
-
# * `KmsMasterKeyId`
|
1764
|
+
# * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
|
1785
1765
|
# (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
|
1786
1766
|
# Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
|
1787
1767
|
# Management Service API Reference*.
|
1788
1768
|
#
|
1789
1769
|
# ^
|
1790
1770
|
#
|
1791
|
-
# The following attribute applies only to FIFO topics:
|
1792
|
-
#
|
1793
|
-
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
1794
|
-
# Amazon SNS uses a SHA-256 hash to generate the
|
1795
|
-
# `MessageDeduplicationId` using the body of the message (but not the
|
1796
|
-
# attributes of the message).
|
1797
|
-
#
|
1798
|
-
# * When `ContentBasedDeduplication` is in effect, messages with
|
1799
|
-
# identical content sent within the deduplication interval are treated
|
1800
|
-
# as duplicates and only one copy of the message is delivered.
|
1801
|
-
#
|
1802
|
-
# * If the queue has `ContentBasedDeduplication` set, your
|
1803
|
-
# `MessageDeduplicationId` overrides the generated one.
|
1804
|
-
#
|
1805
1771
|
#
|
1806
1772
|
#
|
1807
1773
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
@@ -2090,7 +2056,7 @@ module Aws::SNS
|
|
2090
2056
|
params: params,
|
2091
2057
|
config: config)
|
2092
2058
|
context[:gem_name] = 'aws-sdk-sns'
|
2093
|
-
context[:gem_version] = '1.
|
2059
|
+
context[:gem_version] = '1.29.0'
|
2094
2060
|
Seahorse::Client::Request.new(handlers, context)
|
2095
2061
|
end
|
2096
2062
|
|
data/lib/aws-sdk-sns/resource.rb
CHANGED
@@ -89,9 +89,6 @@ module Aws::SNS
|
|
89
89
|
# Constraints: Topic names must be made up of only uppercase and
|
90
90
|
# lowercase ASCII letters, numbers, underscores, and hyphens, and must
|
91
91
|
# be between 1 and 256 characters long.
|
92
|
-
#
|
93
|
-
# For a FIFO (first-in-first-out) topic, the name must end with the
|
94
|
-
# `.fifo` suffix.
|
95
92
|
# @option options [Hash<String,String>] :attributes
|
96
93
|
# A map of attributes with their corresponding values.
|
97
94
|
#
|
@@ -104,34 +101,18 @@ module Aws::SNS
|
|
104
101
|
# * `DisplayName` – The display name to use for a topic with SMS
|
105
102
|
# subscriptions.
|
106
103
|
#
|
107
|
-
# * `FifoTopic` – Set to true to create a FIFO topic.
|
108
|
-
#
|
109
104
|
# * `Policy` – The policy that defines who can access your topic. By
|
110
105
|
# default, only the topic owner can publish or subscribe to the topic.
|
111
106
|
#
|
112
107
|
# The following attribute applies only to [server-side-encryption][1]\:
|
113
108
|
#
|
114
|
-
# * `KmsMasterKeyId`
|
109
|
+
# * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
|
115
110
|
# (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
|
116
111
|
# Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
|
117
112
|
# Management Service API Reference*.
|
118
113
|
#
|
119
114
|
# ^
|
120
115
|
#
|
121
|
-
# The following attribute applies only to FIFO topics:
|
122
|
-
#
|
123
|
-
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
124
|
-
# Amazon SNS uses a SHA-256 hash to generate the
|
125
|
-
# `MessageDeduplicationId` using the body of the message (but not the
|
126
|
-
# attributes of the message).
|
127
|
-
#
|
128
|
-
# * When `ContentBasedDeduplication` is in effect, messages with
|
129
|
-
# identical content sent within the deduplication interval are treated
|
130
|
-
# as duplicates and only one copy of the message is delivered.
|
131
|
-
#
|
132
|
-
# * If the queue has `ContentBasedDeduplication` set, your
|
133
|
-
# `MessageDeduplicationId` overrides the generated one.
|
134
|
-
#
|
135
116
|
#
|
136
117
|
#
|
137
118
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
@@ -332,27 +332,13 @@ module Aws::SNS
|
|
332
332
|
#
|
333
333
|
# The following attribute applies only to [server-side-encryption][1]\:
|
334
334
|
#
|
335
|
-
# * `KmsMasterKeyId`
|
335
|
+
# * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
|
336
336
|
# (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
|
337
337
|
# Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
|
338
338
|
# Management Service API Reference*.
|
339
339
|
#
|
340
340
|
# ^
|
341
341
|
#
|
342
|
-
# The following attribute applies only to FIFO topics:
|
343
|
-
#
|
344
|
-
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
345
|
-
# Amazon SNS uses a SHA-256 hash to generate the
|
346
|
-
# `MessageDeduplicationId` using the body of the message (but not the
|
347
|
-
# attributes of the message).
|
348
|
-
#
|
349
|
-
# * When `ContentBasedDeduplication` is in effect, messages with
|
350
|
-
# identical content sent within the deduplication interval are treated
|
351
|
-
# as duplicates and only one copy of the message is delivered.
|
352
|
-
#
|
353
|
-
# * If the queue has `ContentBasedDeduplication` set, your
|
354
|
-
# `MessageDeduplicationId` overrides the generated one.
|
355
|
-
#
|
356
342
|
#
|
357
343
|
#
|
358
344
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
data/lib/aws-sdk-sns/types.rb
CHANGED
@@ -319,9 +319,6 @@ module Aws::SNS
|
|
319
319
|
# Constraints: Topic names must be made up of only uppercase and
|
320
320
|
# lowercase ASCII letters, numbers, underscores, and hyphens, and must
|
321
321
|
# be between 1 and 256 characters long.
|
322
|
-
#
|
323
|
-
# For a FIFO (first-in-first-out) topic, the name must end with the
|
324
|
-
# `.fifo` suffix.
|
325
322
|
# @return [String]
|
326
323
|
#
|
327
324
|
# @!attribute [rw] attributes
|
@@ -336,8 +333,6 @@ module Aws::SNS
|
|
336
333
|
# * `DisplayName` – The display name to use for a topic with SMS
|
337
334
|
# subscriptions.
|
338
335
|
#
|
339
|
-
# * `FifoTopic` – Set to true to create a FIFO topic.
|
340
|
-
#
|
341
336
|
# * `Policy` – The policy that defines who can access your topic. By
|
342
337
|
# default, only the topic owner can publish or subscribe to the
|
343
338
|
# topic.
|
@@ -345,28 +340,13 @@ module Aws::SNS
|
|
345
340
|
# The following attribute applies only to
|
346
341
|
# [server-side-encryption][1]\:
|
347
342
|
#
|
348
|
-
# * `KmsMasterKeyId`
|
343
|
+
# * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
|
349
344
|
# (CMK) for Amazon SNS or a custom CMK. For more information, see
|
350
345
|
# [Key Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
|
351
346
|
# Management Service API Reference*.
|
352
347
|
#
|
353
348
|
# ^
|
354
349
|
#
|
355
|
-
# The following attribute applies only to FIFO topics:
|
356
|
-
#
|
357
|
-
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
358
|
-
# Amazon SNS uses a SHA-256 hash to generate the
|
359
|
-
# `MessageDeduplicationId` using the body of the message (but not
|
360
|
-
# the attributes of the message).
|
361
|
-
#
|
362
|
-
# * When `ContentBasedDeduplication` is in effect, messages with
|
363
|
-
# identical content sent within the deduplication interval are
|
364
|
-
# treated as duplicates and only one copy of the message is
|
365
|
-
# delivered.
|
366
|
-
#
|
367
|
-
# * If the queue has `ContentBasedDeduplication` set, your
|
368
|
-
# `MessageDeduplicationId` overrides the generated one.
|
369
|
-
#
|
370
350
|
#
|
371
351
|
#
|
372
352
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
@@ -1911,28 +1891,13 @@ module Aws::SNS
|
|
1911
1891
|
# The following attribute applies only to
|
1912
1892
|
# [server-side-encryption][1]\:
|
1913
1893
|
#
|
1914
|
-
# * `KmsMasterKeyId`
|
1894
|
+
# * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
|
1915
1895
|
# (CMK) for Amazon SNS or a custom CMK. For more information, see
|
1916
1896
|
# [Key Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
|
1917
1897
|
# Management Service API Reference*.
|
1918
1898
|
#
|
1919
1899
|
# ^
|
1920
1900
|
#
|
1921
|
-
# The following attribute applies only to FIFO topics:
|
1922
|
-
#
|
1923
|
-
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
1924
|
-
# Amazon SNS uses a SHA-256 hash to generate the
|
1925
|
-
# `MessageDeduplicationId` using the body of the message (but not
|
1926
|
-
# the attributes of the message).
|
1927
|
-
#
|
1928
|
-
# * When `ContentBasedDeduplication` is in effect, messages with
|
1929
|
-
# identical content sent within the deduplication interval are
|
1930
|
-
# treated as duplicates and only one copy of the message is
|
1931
|
-
# delivered.
|
1932
|
-
#
|
1933
|
-
# * If the queue has `ContentBasedDeduplication` set, your
|
1934
|
-
# `MessageDeduplicationId` overrides the generated one.
|
1935
|
-
#
|
1936
1901
|
#
|
1937
1902
|
#
|
1938
1903
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
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.29.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: 2020-
|
11
|
+
date: 2020-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|