aws-sdk-sns 1.35.0 → 1.40.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 +280 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-sns.rb +2 -2
- data/lib/aws-sdk-sns/client.rb +68 -18
- data/lib/aws-sdk-sns/client_api.rb +1 -1
- data/lib/aws-sdk-sns/errors.rb +1 -1
- data/lib/aws-sdk-sns/platform_application.rb +1 -1
- data/lib/aws-sdk-sns/platform_endpoint.rb +1 -1
- data/lib/aws-sdk-sns/resource.rb +1 -1
- data/lib/aws-sdk-sns/subscription.rb +37 -2
- data/lib/aws-sdk-sns/topic.rb +38 -13
- data/lib/aws-sdk-sns/types.rb +74 -15
- metadata +11 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e590f9e08b6eafc33012fa36e3e23c634e506ff0055a24e96c16a65f0cc1cf3
|
4
|
+
data.tar.gz: bc930a580a56f0ff84da8c3abd579c49d2c5963d45661931cc5a8ff3f0841e9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50e2eddd12e240bab514df1ec1e4da4b04e90807ed696fc49a496e9129390fdf61d3351ae9f4b41421700ff92bdca53ae672ee7d3b38daaa1c66fb85205f3dc2
|
7
|
+
data.tar.gz: 48f4ad1708159e8fd6df1cc38f93a8cf15e961b1ec6cd7d92f7705272938422db4bb7e4ed5b0bded3976ce08e8c170ab1177227beedcfa50a3c58d06d75eab22
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,280 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.40.0 (2021-04-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon SNS adds two new attributes, TemplateId and EntityId, for using sender IDs to send SMS messages to destinations in India.
|
8
|
+
|
9
|
+
1.39.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.38.0 (2021-02-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.37.0 (2021-01-15)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation updates for Amazon SNS.
|
23
|
+
|
24
|
+
1.36.0 (2020-11-16)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Documentation updates for Amazon SNS.
|
28
|
+
|
29
|
+
1.35.0 (2020-10-30)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Documentation updates for Amazon SNS
|
33
|
+
|
34
|
+
1.34.0 (2020-10-22)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - SNS now supports a new class of topics: FIFO (First-In-First-Out). FIFO topics provide strictly-ordered, deduplicated, filterable, encryptable, many-to-many messaging at scale.
|
38
|
+
|
39
|
+
1.33.0 (2020-10-08)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Documentation updates for SNS.
|
43
|
+
|
44
|
+
1.32.1 (2020-10-05)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Issue - Use `:http_proxy` configuration when fetching PEM files with `Aws::SNS::MessageVerifier`. (#1683)
|
48
|
+
|
49
|
+
1.32.0 (2020-09-30)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.31.0 (2020-09-15)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.30.0 (2020-08-25)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.29.0 (2020-08-05)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - Documentation updates for SNS.
|
68
|
+
|
69
|
+
1.28.0 (2020-07-09)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - This release adds support for SMS origination number as an attribute in the MessageAttributes parameter for the SNS Publish API.
|
73
|
+
|
74
|
+
1.27.0 (2020-07-02)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
78
|
+
|
79
|
+
1.26.0 (2020-06-23)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
83
|
+
|
84
|
+
1.25.1 (2020-06-11)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
88
|
+
|
89
|
+
1.25.0 (2020-06-10)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Issue - This version has been yanked. (#2327).
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.24.0 (2020-05-28)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.23.0 (2020-05-07)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.22.0 (2020-03-09)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.21.0 (2019-11-22)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Added documentation for the dead-letter queue feature.
|
114
|
+
|
115
|
+
1.20.0 (2019-10-23)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
119
|
+
|
120
|
+
1.19.0 (2019-07-25)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.18.0 (2019-07-01)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
129
|
+
|
130
|
+
1.17.0 (2019-06-17)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
134
|
+
|
135
|
+
1.16.0 (2019-05-21)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.15.0 (2019-05-15)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.14.0 (2019-05-14)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.13.0 (2019-04-26)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.12.0 (2019-03-21)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.11.0 (2019-03-18)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.10.0 (2019-03-14)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - API update.
|
169
|
+
|
170
|
+
1.9.0 (2018-11-20)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.8.1 (2018-11-16)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery.
|
179
|
+
|
180
|
+
1.8.0 (2018-11-14)
|
181
|
+
------------------
|
182
|
+
|
183
|
+
* Feature - API update.
|
184
|
+
|
185
|
+
1.7.0 (2018-10-24)
|
186
|
+
------------------
|
187
|
+
|
188
|
+
* Feature - API update.
|
189
|
+
|
190
|
+
1.6.0 (2018-10-23)
|
191
|
+
------------------
|
192
|
+
|
193
|
+
* Feature - API update.
|
194
|
+
|
195
|
+
1.5.0 (2018-09-06)
|
196
|
+
------------------
|
197
|
+
|
198
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
199
|
+
|
200
|
+
1.4.0 (2018-09-05)
|
201
|
+
------------------
|
202
|
+
|
203
|
+
* Feature - API update.
|
204
|
+
|
205
|
+
1.3.0 (2018-06-26)
|
206
|
+
------------------
|
207
|
+
|
208
|
+
* Feature - API update.
|
209
|
+
|
210
|
+
1.2.0 (2018-06-01)
|
211
|
+
------------------
|
212
|
+
|
213
|
+
* Feature - API update.
|
214
|
+
|
215
|
+
1.1.0 (2017-09-14)
|
216
|
+
------------------
|
217
|
+
|
218
|
+
* Feature - API update.
|
219
|
+
|
220
|
+
* Issue - Update `aws-sdk-sns` gemspec metadata.
|
221
|
+
|
222
|
+
1.0.0 (2017-08-29)
|
223
|
+
------------------
|
224
|
+
|
225
|
+
* Feature - Aws::SNS - MessageVerifier now support Lamdba message verification
|
226
|
+
|
227
|
+
1.0.0.rc11 (2017-08-15)
|
228
|
+
------------------
|
229
|
+
|
230
|
+
* Feature - API update.
|
231
|
+
|
232
|
+
1.0.0.rc10 (2017-08-01)
|
233
|
+
------------------
|
234
|
+
|
235
|
+
* Feature - API update.
|
236
|
+
|
237
|
+
1.0.0.rc9 (2017-07-25)
|
238
|
+
------------------
|
239
|
+
|
240
|
+
* Feature - API update.
|
241
|
+
|
242
|
+
1.0.0.rc8 (2017-07-13)
|
243
|
+
------------------
|
244
|
+
|
245
|
+
* Feature - API update.
|
246
|
+
|
247
|
+
1.0.0.rc7 (2017-07-06)
|
248
|
+
------------------
|
249
|
+
|
250
|
+
* Feature - API update.
|
251
|
+
|
252
|
+
1.0.0.rc6 (2017-06-29)
|
253
|
+
------------------
|
254
|
+
|
255
|
+
* Feature - API update.
|
256
|
+
|
257
|
+
1.0.0.rc5 (2017-05-23)
|
258
|
+
------------------
|
259
|
+
|
260
|
+
* Feature - API update.
|
261
|
+
|
262
|
+
1.0.0.rc4 (2017-05-09)
|
263
|
+
------------------
|
264
|
+
|
265
|
+
* Feature - API update.
|
266
|
+
|
267
|
+
1.0.0.rc3 (2017-05-09)
|
268
|
+
------------------
|
269
|
+
|
270
|
+
* Feature - API update.
|
271
|
+
|
272
|
+
1.0.0.rc2 (2017-04-21)
|
273
|
+
------------------
|
274
|
+
|
275
|
+
* Feature - API update.
|
276
|
+
|
277
|
+
1.0.0.rc1 (2016-12-05)
|
278
|
+
------------------
|
279
|
+
|
280
|
+
* Feature - Initial preview release of the `aws-sdk-sns` gem.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.40.0
|
data/lib/aws-sdk-sns.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-sns/customizations'
|
|
52
52
|
# @!group service
|
53
53
|
module Aws::SNS
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.40.0'
|
56
56
|
|
57
57
|
end
|
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -1282,7 +1282,7 @@ module Aws::SNS
|
|
1282
1282
|
# You can opt in a phone number only once every 30 days.
|
1283
1283
|
#
|
1284
1284
|
# @option params [required, String] :phone_number
|
1285
|
-
# The phone number to opt in.
|
1285
|
+
# The phone number to opt in. Use E.164 format.
|
1286
1286
|
#
|
1287
1287
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1288
1288
|
#
|
@@ -1653,6 +1653,12 @@ module Aws::SNS
|
|
1653
1653
|
# parameter. For more information, see [Publishing to a mobile phone][1]
|
1654
1654
|
# in the *Amazon SNS Developer Guide*.
|
1655
1655
|
#
|
1656
|
+
# <note markdown="1"> To use this operation, you must grant the Amazon SNS service principal
|
1657
|
+
# (`sns.amazonaws.com`) permission to perform the `s3:ListBucket`
|
1658
|
+
# action.
|
1659
|
+
#
|
1660
|
+
# </note>
|
1661
|
+
#
|
1656
1662
|
#
|
1657
1663
|
#
|
1658
1664
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html
|
@@ -1770,7 +1776,7 @@ module Aws::SNS
|
|
1770
1776
|
# A map of attributes with their corresponding values.
|
1771
1777
|
#
|
1772
1778
|
# The following lists the names, descriptions, and values of the special
|
1773
|
-
# request parameters that
|
1779
|
+
# request parameters that this action uses:
|
1774
1780
|
#
|
1775
1781
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
1776
1782
|
# failed deliveries to HTTP/S endpoints.
|
@@ -1791,6 +1797,25 @@ module Aws::SNS
|
|
1791
1797
|
# service that powers the subscribed endpoint becomes unavailable) are
|
1792
1798
|
# held in the dead-letter queue for further analysis or reprocessing.
|
1793
1799
|
#
|
1800
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
1801
|
+
# delivery stream subscriptions:
|
1802
|
+
#
|
1803
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
1804
|
+
# following:
|
1805
|
+
#
|
1806
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
1807
|
+
#
|
1808
|
+
# * Amazon SNS listed as a trusted entity
|
1809
|
+
#
|
1810
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
1811
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
1812
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
1813
|
+
# *Amazon SNS Developer Guide*.
|
1814
|
+
#
|
1815
|
+
#
|
1816
|
+
#
|
1817
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
1818
|
+
#
|
1794
1819
|
# @option params [String] :attribute_value
|
1795
1820
|
# The new value for the attribute in JSON format.
|
1796
1821
|
#
|
@@ -1892,8 +1917,8 @@ module Aws::SNS
|
|
1892
1917
|
|
1893
1918
|
# Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is
|
1894
1919
|
# HTTP/S or email, or if the endpoint and the topic are not in the same
|
1895
|
-
# AWS account, the endpoint owner must the `ConfirmSubscription`
|
1896
|
-
# to confirm the subscription.
|
1920
|
+
# AWS account, the endpoint owner must run the `ConfirmSubscription`
|
1921
|
+
# action to confirm the subscription.
|
1897
1922
|
#
|
1898
1923
|
# You call the `ConfirmSubscription` action with the token from the
|
1899
1924
|
# subscription response. Confirmation tokens are valid for three days.
|
@@ -1904,7 +1929,7 @@ module Aws::SNS
|
|
1904
1929
|
# The ARN of the topic you want to subscribe to.
|
1905
1930
|
#
|
1906
1931
|
# @option params [required, String] :protocol
|
1907
|
-
# The protocol you want to use. Supported protocols include:
|
1932
|
+
# The protocol that you want to use. Supported protocols include:
|
1908
1933
|
#
|
1909
1934
|
# * `http` – delivery of JSON-encoded message via HTTP POST
|
1910
1935
|
#
|
@@ -1919,36 +1944,42 @@ module Aws::SNS
|
|
1919
1944
|
# * `sqs` – delivery of JSON-encoded message to an Amazon SQS queue
|
1920
1945
|
#
|
1921
1946
|
# * `application` – delivery of JSON-encoded message to an EndpointArn
|
1922
|
-
# for a mobile app and device
|
1947
|
+
# for a mobile app and device
|
1923
1948
|
#
|
1924
|
-
# * `lambda` – delivery of JSON-encoded message to an
|
1925
|
-
# function
|
1949
|
+
# * `lambda` – delivery of JSON-encoded message to an AWS Lambda
|
1950
|
+
# function
|
1951
|
+
#
|
1952
|
+
# * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
|
1953
|
+
# Data Firehose delivery stream.
|
1926
1954
|
#
|
1927
1955
|
# @option params [String] :endpoint
|
1928
1956
|
# The endpoint that you want to receive notifications. Endpoints vary by
|
1929
1957
|
# protocol:
|
1930
1958
|
#
|
1931
1959
|
# * For the `http` protocol, the (public) endpoint is a URL beginning
|
1932
|
-
# with `http
|
1960
|
+
# with `http://`.
|
1933
1961
|
#
|
1934
1962
|
# * For the `https` protocol, the (public) endpoint is a URL beginning
|
1935
|
-
# with `https
|
1963
|
+
# with `https://`.
|
1936
1964
|
#
|
1937
|
-
# * For the `email` protocol, the endpoint is an email address
|
1965
|
+
# * For the `email` protocol, the endpoint is an email address.
|
1938
1966
|
#
|
1939
|
-
# * For the `email-json` protocol, the endpoint is an email address
|
1967
|
+
# * For the `email-json` protocol, the endpoint is an email address.
|
1940
1968
|
#
|
1941
1969
|
# * For the `sms` protocol, the endpoint is a phone number of an
|
1942
|
-
# SMS-enabled device
|
1970
|
+
# SMS-enabled device.
|
1943
1971
|
#
|
1944
1972
|
# * For the `sqs` protocol, the endpoint is the ARN of an Amazon SQS
|
1945
|
-
# queue
|
1973
|
+
# queue.
|
1946
1974
|
#
|
1947
1975
|
# * For the `application` protocol, the endpoint is the EndpointArn of a
|
1948
1976
|
# mobile app and device.
|
1949
1977
|
#
|
1950
|
-
# * For the `lambda` protocol, the endpoint is the ARN of an
|
1951
|
-
#
|
1978
|
+
# * For the `lambda` protocol, the endpoint is the ARN of an AWS Lambda
|
1979
|
+
# function.
|
1980
|
+
#
|
1981
|
+
# * For the `firehose` protocol, the endpoint is the ARN of an Amazon
|
1982
|
+
# Kinesis Data Firehose delivery stream.
|
1952
1983
|
#
|
1953
1984
|
# @option params [Hash<String,String>] :attributes
|
1954
1985
|
# A map of attributes with their corresponding values.
|
@@ -1975,6 +2006,25 @@ module Aws::SNS
|
|
1975
2006
|
# service that powers the subscribed endpoint becomes unavailable) are
|
1976
2007
|
# held in the dead-letter queue for further analysis or reprocessing.
|
1977
2008
|
#
|
2009
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
2010
|
+
# delivery stream subscriptions:
|
2011
|
+
#
|
2012
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
2013
|
+
# following:
|
2014
|
+
#
|
2015
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
2016
|
+
#
|
2017
|
+
# * Amazon SNS listed as a trusted entity
|
2018
|
+
#
|
2019
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
2020
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
2021
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
2022
|
+
# *Amazon SNS Developer Guide*.
|
2023
|
+
#
|
2024
|
+
#
|
2025
|
+
#
|
2026
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
2027
|
+
#
|
1978
2028
|
# @option params [Boolean] :return_subscription_arn
|
1979
2029
|
# Sets whether the response from the `Subscribe` request includes the
|
1980
2030
|
# subscription ARN, even if the subscription is not yet confirmed.
|
@@ -2147,7 +2197,7 @@ module Aws::SNS
|
|
2147
2197
|
params: params,
|
2148
2198
|
config: config)
|
2149
2199
|
context[:gem_name] = 'aws-sdk-sns'
|
2150
|
-
context[:gem_version] = '1.
|
2200
|
+
context[:gem_version] = '1.40.0'
|
2151
2201
|
Seahorse::Client::Request.new(handlers, context)
|
2152
2202
|
end
|
2153
2203
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-sns/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-sns/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -72,9 +72,25 @@ module Aws::SNS
|
|
72
72
|
#
|
73
73
|
# * `TopicArn` – The topic ARN that the subscription is associated with.
|
74
74
|
#
|
75
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
76
|
+
# delivery stream subscriptions:
|
77
|
+
#
|
78
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
79
|
+
# following:
|
80
|
+
#
|
81
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
82
|
+
#
|
83
|
+
# * Amazon SNS listed as a trusted entity
|
84
|
+
#
|
85
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
86
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
87
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][2] in the
|
88
|
+
# *Amazon SNS Developer Guide*.
|
89
|
+
#
|
75
90
|
#
|
76
91
|
#
|
77
92
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html
|
93
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
78
94
|
# @return [Hash<String,String>]
|
79
95
|
def attributes
|
80
96
|
data[:attributes]
|
@@ -139,7 +155,7 @@ module Aws::SNS
|
|
139
155
|
# A map of attributes with their corresponding values.
|
140
156
|
#
|
141
157
|
# The following lists the names, descriptions, and values of the special
|
142
|
-
# request parameters that
|
158
|
+
# request parameters that this action uses:
|
143
159
|
#
|
144
160
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
145
161
|
# failed deliveries to HTTP/S endpoints.
|
@@ -159,6 +175,25 @@ module Aws::SNS
|
|
159
175
|
# endpoint is unreachable) or server errors (for example, when the
|
160
176
|
# service that powers the subscribed endpoint becomes unavailable) are
|
161
177
|
# held in the dead-letter queue for further analysis or reprocessing.
|
178
|
+
#
|
179
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
180
|
+
# delivery stream subscriptions:
|
181
|
+
#
|
182
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
183
|
+
# following:
|
184
|
+
#
|
185
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
186
|
+
#
|
187
|
+
# * Amazon SNS listed as a trusted entity
|
188
|
+
#
|
189
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
190
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
191
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
192
|
+
# *Amazon SNS Developer Guide*.
|
193
|
+
#
|
194
|
+
#
|
195
|
+
#
|
196
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
162
197
|
# @option options [String] :attribute_value
|
163
198
|
# The new value for the attribute in JSON format.
|
164
199
|
# @return [EmptyStructure]
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -434,7 +434,7 @@ module Aws::SNS
|
|
434
434
|
# })
|
435
435
|
# @param [Hash] options ({})
|
436
436
|
# @option options [required, String] :protocol
|
437
|
-
# The protocol you want to use. Supported protocols include:
|
437
|
+
# The protocol that you want to use. Supported protocols include:
|
438
438
|
#
|
439
439
|
# * `http` – delivery of JSON-encoded message via HTTP POST
|
440
440
|
#
|
@@ -449,35 +449,41 @@ module Aws::SNS
|
|
449
449
|
# * `sqs` – delivery of JSON-encoded message to an Amazon SQS queue
|
450
450
|
#
|
451
451
|
# * `application` – delivery of JSON-encoded message to an EndpointArn
|
452
|
-
# for a mobile app and device
|
452
|
+
# for a mobile app and device
|
453
453
|
#
|
454
|
-
# * `lambda` – delivery of JSON-encoded message to an
|
455
|
-
# function
|
454
|
+
# * `lambda` – delivery of JSON-encoded message to an AWS Lambda
|
455
|
+
# function
|
456
|
+
#
|
457
|
+
# * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
|
458
|
+
# Data Firehose delivery stream.
|
456
459
|
# @option options [String] :endpoint
|
457
460
|
# The endpoint that you want to receive notifications. Endpoints vary by
|
458
461
|
# protocol:
|
459
462
|
#
|
460
463
|
# * For the `http` protocol, the (public) endpoint is a URL beginning
|
461
|
-
# with `http
|
464
|
+
# with `http://`.
|
462
465
|
#
|
463
466
|
# * For the `https` protocol, the (public) endpoint is a URL beginning
|
464
|
-
# with `https
|
467
|
+
# with `https://`.
|
465
468
|
#
|
466
|
-
# * For the `email` protocol, the endpoint is an email address
|
469
|
+
# * For the `email` protocol, the endpoint is an email address.
|
467
470
|
#
|
468
|
-
# * For the `email-json` protocol, the endpoint is an email address
|
471
|
+
# * For the `email-json` protocol, the endpoint is an email address.
|
469
472
|
#
|
470
473
|
# * For the `sms` protocol, the endpoint is a phone number of an
|
471
|
-
# SMS-enabled device
|
474
|
+
# SMS-enabled device.
|
472
475
|
#
|
473
476
|
# * For the `sqs` protocol, the endpoint is the ARN of an Amazon SQS
|
474
|
-
# queue
|
477
|
+
# queue.
|
475
478
|
#
|
476
479
|
# * For the `application` protocol, the endpoint is the EndpointArn of a
|
477
480
|
# mobile app and device.
|
478
481
|
#
|
479
|
-
# * For the `lambda` protocol, the endpoint is the ARN of an
|
480
|
-
#
|
482
|
+
# * For the `lambda` protocol, the endpoint is the ARN of an AWS Lambda
|
483
|
+
# function.
|
484
|
+
#
|
485
|
+
# * For the `firehose` protocol, the endpoint is the ARN of an Amazon
|
486
|
+
# Kinesis Data Firehose delivery stream.
|
481
487
|
# @option options [Hash<String,String>] :attributes
|
482
488
|
# A map of attributes with their corresponding values.
|
483
489
|
#
|
@@ -502,6 +508,25 @@ module Aws::SNS
|
|
502
508
|
# endpoint is unreachable) or server errors (for example, when the
|
503
509
|
# service that powers the subscribed endpoint becomes unavailable) are
|
504
510
|
# held in the dead-letter queue for further analysis or reprocessing.
|
511
|
+
#
|
512
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
513
|
+
# delivery stream subscriptions:
|
514
|
+
#
|
515
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
516
|
+
# following:
|
517
|
+
#
|
518
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
519
|
+
#
|
520
|
+
# * Amazon SNS listed as a trusted entity
|
521
|
+
#
|
522
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
523
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
524
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
525
|
+
# *Amazon SNS Developer Guide*.
|
526
|
+
#
|
527
|
+
#
|
528
|
+
#
|
529
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
505
530
|
# @option options [Boolean] :return_subscription_arn
|
506
531
|
# Sets whether the response from the `Subscribe` request includes the
|
507
532
|
# subscription ARN, even if the subscription is not yet confirmed.
|
data/lib/aws-sdk-sns/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -734,9 +734,25 @@ module Aws::SNS
|
|
734
734
|
# * `TopicArn` – The topic ARN that the subscription is associated
|
735
735
|
# with.
|
736
736
|
#
|
737
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
738
|
+
# delivery stream subscriptions:
|
739
|
+
#
|
740
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
741
|
+
# following:
|
742
|
+
#
|
743
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
744
|
+
#
|
745
|
+
# * Amazon SNS listed as a trusted entity
|
746
|
+
#
|
747
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
748
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
749
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][2] in the
|
750
|
+
# *Amazon SNS Developer Guide*.
|
751
|
+
#
|
737
752
|
#
|
738
753
|
#
|
739
754
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html
|
755
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
740
756
|
# @return [Hash<String,String>]
|
741
757
|
#
|
742
758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesResponse AWS API Documentation
|
@@ -1381,7 +1397,7 @@ module Aws::SNS
|
|
1381
1397
|
# }
|
1382
1398
|
#
|
1383
1399
|
# @!attribute [rw] phone_number
|
1384
|
-
# The phone number to opt in.
|
1400
|
+
# The phone number to opt in. Use E.164 format.
|
1385
1401
|
# @return [String]
|
1386
1402
|
#
|
1387
1403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberInput AWS API Documentation
|
@@ -1916,8 +1932,7 @@ module Aws::SNS
|
|
1916
1932
|
# A map of attributes with their corresponding values.
|
1917
1933
|
#
|
1918
1934
|
# The following lists the names, descriptions, and values of the
|
1919
|
-
# special request parameters that
|
1920
|
-
# uses:
|
1935
|
+
# special request parameters that this action uses:
|
1921
1936
|
#
|
1922
1937
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
1923
1938
|
# failed deliveries to HTTP/S endpoints.
|
@@ -1938,6 +1953,25 @@ module Aws::SNS
|
|
1938
1953
|
# when the service that powers the subscribed endpoint becomes
|
1939
1954
|
# unavailable) are held in the dead-letter queue for further
|
1940
1955
|
# analysis or reprocessing.
|
1956
|
+
#
|
1957
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
1958
|
+
# delivery stream subscriptions:
|
1959
|
+
#
|
1960
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
1961
|
+
# following:
|
1962
|
+
#
|
1963
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
1964
|
+
#
|
1965
|
+
# * Amazon SNS listed as a trusted entity
|
1966
|
+
#
|
1967
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
1968
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
1969
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
1970
|
+
# *Amazon SNS Developer Guide*.
|
1971
|
+
#
|
1972
|
+
#
|
1973
|
+
#
|
1974
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
1941
1975
|
# @return [String]
|
1942
1976
|
#
|
1943
1977
|
# @!attribute [rw] attribute_value
|
@@ -2072,7 +2106,7 @@ module Aws::SNS
|
|
2072
2106
|
# @return [String]
|
2073
2107
|
#
|
2074
2108
|
# @!attribute [rw] protocol
|
2075
|
-
# The protocol you want to use. Supported protocols include:
|
2109
|
+
# The protocol that you want to use. Supported protocols include:
|
2076
2110
|
#
|
2077
2111
|
# * `http` – delivery of JSON-encoded message via HTTP POST
|
2078
2112
|
#
|
@@ -2087,10 +2121,13 @@ module Aws::SNS
|
|
2087
2121
|
# * `sqs` – delivery of JSON-encoded message to an Amazon SQS queue
|
2088
2122
|
#
|
2089
2123
|
# * `application` – delivery of JSON-encoded message to an EndpointArn
|
2090
|
-
# for a mobile app and device
|
2124
|
+
# for a mobile app and device
|
2125
|
+
#
|
2126
|
+
# * `lambda` – delivery of JSON-encoded message to an AWS Lambda
|
2127
|
+
# function
|
2091
2128
|
#
|
2092
|
-
# * `
|
2093
|
-
#
|
2129
|
+
# * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
|
2130
|
+
# Data Firehose delivery stream.
|
2094
2131
|
# @return [String]
|
2095
2132
|
#
|
2096
2133
|
# @!attribute [rw] endpoint
|
@@ -2098,26 +2135,29 @@ module Aws::SNS
|
|
2098
2135
|
# by protocol:
|
2099
2136
|
#
|
2100
2137
|
# * For the `http` protocol, the (public) endpoint is a URL beginning
|
2101
|
-
# with `http
|
2138
|
+
# with `http://`.
|
2102
2139
|
#
|
2103
2140
|
# * For the `https` protocol, the (public) endpoint is a URL beginning
|
2104
|
-
# with `https
|
2141
|
+
# with `https://`.
|
2105
2142
|
#
|
2106
|
-
# * For the `email` protocol, the endpoint is an email address
|
2143
|
+
# * For the `email` protocol, the endpoint is an email address.
|
2107
2144
|
#
|
2108
|
-
# * For the `email-json` protocol, the endpoint is an email address
|
2145
|
+
# * For the `email-json` protocol, the endpoint is an email address.
|
2109
2146
|
#
|
2110
2147
|
# * For the `sms` protocol, the endpoint is a phone number of an
|
2111
|
-
# SMS-enabled device
|
2148
|
+
# SMS-enabled device.
|
2112
2149
|
#
|
2113
2150
|
# * For the `sqs` protocol, the endpoint is the ARN of an Amazon SQS
|
2114
|
-
# queue
|
2151
|
+
# queue.
|
2115
2152
|
#
|
2116
2153
|
# * For the `application` protocol, the endpoint is the EndpointArn of
|
2117
2154
|
# a mobile app and device.
|
2118
2155
|
#
|
2119
|
-
# * For the `lambda` protocol, the endpoint is the ARN of an
|
2156
|
+
# * For the `lambda` protocol, the endpoint is the ARN of an AWS
|
2120
2157
|
# Lambda function.
|
2158
|
+
#
|
2159
|
+
# * For the `firehose` protocol, the endpoint is the ARN of an Amazon
|
2160
|
+
# Kinesis Data Firehose delivery stream.
|
2121
2161
|
# @return [String]
|
2122
2162
|
#
|
2123
2163
|
# @!attribute [rw] attributes
|
@@ -2146,6 +2186,25 @@ module Aws::SNS
|
|
2146
2186
|
# when the service that powers the subscribed endpoint becomes
|
2147
2187
|
# unavailable) are held in the dead-letter queue for further
|
2148
2188
|
# analysis or reprocessing.
|
2189
|
+
#
|
2190
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
2191
|
+
# delivery stream subscriptions:
|
2192
|
+
#
|
2193
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
2194
|
+
# following:
|
2195
|
+
#
|
2196
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
2197
|
+
#
|
2198
|
+
# * Amazon SNS listed as a trusted entity
|
2199
|
+
#
|
2200
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
2201
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
2202
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
2203
|
+
# *Amazon SNS Developer Guide*.
|
2204
|
+
#
|
2205
|
+
#
|
2206
|
+
#
|
2207
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
|
2149
2208
|
# @return [Hash<String,String>]
|
2150
2209
|
#
|
2151
2210
|
# @!attribute [rw] return_subscription_arn
|
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.40.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: 2021-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for Amazon Simple Notification Service (Amazon
|
48
48
|
SNS). This gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-sns.rb
|
56
59
|
- lib/aws-sdk-sns/client.rb
|
57
60
|
- lib/aws-sdk-sns/client_api.rb
|
@@ -68,8 +71,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
68
71
|
licenses:
|
69
72
|
- Apache-2.0
|
70
73
|
metadata:
|
71
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
72
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
74
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sns
|
75
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sns/CHANGELOG.md
|
73
76
|
post_install_message:
|
74
77
|
rdoc_options: []
|
75
78
|
require_paths:
|
@@ -86,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
89
|
version: '0'
|
87
90
|
requirements: []
|
88
91
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.7.6.
|
92
|
+
rubygems_version: 2.7.6.3
|
90
93
|
signing_key:
|
91
94
|
specification_version: 4
|
92
95
|
summary: AWS SDK for Ruby - Amazon SNS
|