aws-sdk-sns 1.60.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34622e6ec3f2ddc83c0acd26af55107e8064fe244d5782c9ee3185d9beefd8da
4
- data.tar.gz: d7079d68ac0a9af6505ec04e8d1a081ec58538236f9e08f5f734a26837db7c19
3
+ metadata.gz: 0042c124ed656a7b6308c019a8dcc5cc66866e8c6c57b246b052eede1a91209b
4
+ data.tar.gz: 645cb2b4435d6883b7eab56d534a60f3e8d7ba49a2eff4539abc8ad77f3d5adf
5
5
  SHA512:
6
- metadata.gz: a0b14856b47ac52e3be0b9f0eac5e0e6fb7e0a9b41ea0c98ecc0db63607e55c8a85cb7d29636b0ca32bc30ae9379041a5554c3497cb6d0faae71e94fed9fbc0e
7
- data.tar.gz: d07976b97868bef8bdce7d52b7b7bf10bc7200e2a9db8137beedb494345d6091c1d940ec85d93809ab57caea2ee3080f4a5b4e522515b3ce854373fb732d9f76
6
+ metadata.gz: c33916ba36cf7baed5b9f14319a89686ace2bd8c81a74cde681fb10c067284fb0c110c0ed4750a9c06189aaaf0e34edd277013dde50c56472a3785bba734f5de
7
+ data.tar.gz: 5ff3ead4dcb1086333dbef80148a6c3764cf2ce853d7b0e0be762519b814f3199778691f5d47eedf9bab4edb8c1800842ad07564c95f8c1165b3c8a76f6fc71a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.61.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.60.0 (2023-02-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.60.0
1
+ 1.61.0
@@ -275,6 +275,11 @@ module Aws::SNS
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -739,7 +744,7 @@ module Aws::SNS
739
744
  # segment data to topic owner account if the sampled flag in the
740
745
  # tracing header is true. This is only supported on standard topics.
741
746
  #
742
- # The following attribute applies only to [server-side encryption][1]\:
747
+ # The following attribute applies only to [server-side encryption][1]:
743
748
  #
744
749
  # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
745
750
  # master key (CMK) for Amazon SNS or a custom CMK. For more
@@ -748,7 +753,7 @@ module Aws::SNS
748
753
  #
749
754
  # ^
750
755
  #
751
- # The following attributes apply only to [FIFO topics][4]\:
756
+ # The following attributes apply only to [FIFO topics][4]:
752
757
  #
753
758
  # * `FifoTopic` – When this is set to `true`, a FIFO topic is created.
754
759
  #
@@ -2470,7 +2475,7 @@ module Aws::SNS
2470
2475
  #
2471
2476
  # </note>
2472
2477
  #
2473
- # The following attribute applies only to [server-side-encryption][2]\:
2478
+ # The following attribute applies only to [server-side-encryption][2]:
2474
2479
  #
2475
2480
  # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
2476
2481
  # master key (CMK) for Amazon SNS or a custom CMK. For more
@@ -2483,7 +2488,7 @@ module Aws::SNS
2483
2488
  # confirmation messages sent by Amazon SNS. By default,
2484
2489
  # `SignatureVersion` is set to `1`.
2485
2490
  #
2486
- # The following attribute applies only to [FIFO topics][5]\:
2491
+ # The following attribute applies only to [FIFO topics][5]:
2487
2492
  #
2488
2493
  # * `ContentBasedDeduplication` – Enables content-based deduplication
2489
2494
  # for FIFO topics.
@@ -2869,7 +2874,7 @@ module Aws::SNS
2869
2874
  params: params,
2870
2875
  config: config)
2871
2876
  context[:gem_name] = 'aws-sdk-sns'
2872
- context[:gem_version] = '1.60.0'
2877
+ context[:gem_version] = '1.61.0'
2873
2878
  Seahorse::Client::Request.new(handlers, context)
2874
2879
  end
2875
2880
 
@@ -76,7 +76,9 @@ module Aws::SNS
76
76
  #
77
77
  # @return [self]
78
78
  def load
79
- resp = @client.get_platform_application_attributes(platform_application_arn: @arn)
79
+ resp = Aws::Plugins::UserAgent.feature('resource') do
80
+ @client.get_platform_application_attributes(platform_application_arn: @arn)
81
+ end
80
82
  @data = resp.data
81
83
  self
82
84
  end
@@ -128,7 +130,9 @@ module Aws::SNS
128
130
  # @return [PlatformEndpoint]
129
131
  def create_platform_endpoint(options = {})
130
132
  options = options.merge(platform_application_arn: @arn)
131
- resp = @client.create_platform_endpoint(options)
133
+ resp = Aws::Plugins::UserAgent.feature('resource') do
134
+ @client.create_platform_endpoint(options)
135
+ end
132
136
  PlatformEndpoint.new(
133
137
  arn: resp.data.endpoint_arn,
134
138
  client: @client
@@ -142,7 +146,9 @@ module Aws::SNS
142
146
  # @return [EmptyStructure]
143
147
  def delete(options = {})
144
148
  options = options.merge(platform_application_arn: @arn)
145
- resp = @client.delete_platform_application(options)
149
+ resp = Aws::Plugins::UserAgent.feature('resource') do
150
+ @client.delete_platform_application(options)
151
+ end
146
152
  resp.data
147
153
  end
148
154
 
@@ -221,7 +227,9 @@ module Aws::SNS
221
227
  # @return [EmptyStructure]
222
228
  def set_attributes(options = {})
223
229
  options = options.merge(platform_application_arn: @arn)
224
- resp = @client.set_platform_application_attributes(options)
230
+ resp = Aws::Plugins::UserAgent.feature('resource') do
231
+ @client.set_platform_application_attributes(options)
232
+ end
225
233
  resp.data
226
234
  end
227
235
 
@@ -235,7 +243,9 @@ module Aws::SNS
235
243
  def endpoints(options = {})
236
244
  batches = Enumerator.new do |y|
237
245
  options = options.merge(platform_application_arn: @arn)
238
- resp = @client.list_endpoints_by_platform_application(options)
246
+ resp = Aws::Plugins::UserAgent.feature('resource') do
247
+ @client.list_endpoints_by_platform_application(options)
248
+ end
239
249
  resp.each_page do |page|
240
250
  batch = []
241
251
  page.data.endpoints.each do |e|
@@ -72,7 +72,9 @@ module Aws::SNS
72
72
  #
73
73
  # @return [self]
74
74
  def load
75
- resp = @client.get_endpoint_attributes(endpoint_arn: @arn)
75
+ resp = Aws::Plugins::UserAgent.feature('resource') do
76
+ @client.get_endpoint_attributes(endpoint_arn: @arn)
77
+ end
76
78
  @data = resp.data
77
79
  self
78
80
  end
@@ -102,7 +104,9 @@ module Aws::SNS
102
104
  # @return [EmptyStructure]
103
105
  def delete(options = {})
104
106
  options = options.merge(endpoint_arn: @arn)
105
- resp = @client.delete_endpoint(options)
107
+ resp = Aws::Plugins::UserAgent.feature('resource') do
108
+ @client.delete_endpoint(options)
109
+ end
106
110
  resp.data
107
111
  end
108
112
 
@@ -245,7 +249,9 @@ module Aws::SNS
245
249
  # @return [Types::PublishResponse]
246
250
  def publish(options = {})
247
251
  options = options.merge(target_arn: @arn)
248
- resp = @client.publish(options)
252
+ resp = Aws::Plugins::UserAgent.feature('resource') do
253
+ @client.publish(options)
254
+ end
249
255
  resp.data
250
256
  end
251
257
 
@@ -277,7 +283,9 @@ module Aws::SNS
277
283
  # @return [EmptyStructure]
278
284
  def set_attributes(options = {})
279
285
  options = options.merge(endpoint_arn: @arn)
280
- resp = @client.set_endpoint_attributes(options)
286
+ resp = Aws::Plugins::UserAgent.feature('resource') do
287
+ @client.set_endpoint_attributes(options)
288
+ end
281
289
  resp.data
282
290
  end
283
291
 
@@ -61,7 +61,9 @@ module Aws::SNS
61
61
  # [1]: https://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html
62
62
  # @return [PlatformApplication]
63
63
  def create_platform_application(options = {})
64
- resp = @client.create_platform_application(options)
64
+ resp = Aws::Plugins::UserAgent.feature('resource') do
65
+ @client.create_platform_application(options)
66
+ end
65
67
  PlatformApplication.new(
66
68
  arn: resp.data.platform_application_arn,
67
69
  client: @client
@@ -123,7 +125,7 @@ module Aws::SNS
123
125
  # segment data to topic owner account if the sampled flag in the
124
126
  # tracing header is true. This is only supported on standard topics.
125
127
  #
126
- # The following attribute applies only to [server-side encryption][1]\:
128
+ # The following attribute applies only to [server-side encryption][1]:
127
129
  #
128
130
  # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
129
131
  # master key (CMK) for Amazon SNS or a custom CMK. For more
@@ -132,7 +134,7 @@ module Aws::SNS
132
134
  #
133
135
  # ^
134
136
  #
135
- # The following attributes apply only to [FIFO topics][4]\:
137
+ # The following attributes apply only to [FIFO topics][4]:
136
138
  #
137
139
  # * `FifoTopic` – When this is set to `true`, a FIFO topic is created.
138
140
  #
@@ -176,7 +178,9 @@ module Aws::SNS
176
178
  # Length Constraints: Maximum length of 30,720.
177
179
  # @return [Topic]
178
180
  def create_topic(options = {})
179
- resp = @client.create_topic(options)
181
+ resp = Aws::Plugins::UserAgent.feature('resource') do
182
+ @client.create_topic(options)
183
+ end
180
184
  Topic.new(
181
185
  arn: resp.data.topic_arn,
182
186
  client: @client
@@ -201,7 +205,9 @@ module Aws::SNS
201
205
  # @return [PlatformApplication::Collection]
202
206
  def platform_applications(options = {})
203
207
  batches = Enumerator.new do |y|
204
- resp = @client.list_platform_applications(options)
208
+ resp = Aws::Plugins::UserAgent.feature('resource') do
209
+ @client.list_platform_applications(options)
210
+ end
205
211
  resp.each_page do |page|
206
212
  batch = []
207
213
  page.data.platform_applications.each do |p|
@@ -241,7 +247,9 @@ module Aws::SNS
241
247
  # @return [Subscription::Collection]
242
248
  def subscriptions(options = {})
243
249
  batches = Enumerator.new do |y|
244
- resp = @client.list_subscriptions(options)
250
+ resp = Aws::Plugins::UserAgent.feature('resource') do
251
+ @client.list_subscriptions(options)
252
+ end
245
253
  resp.each_page do |page|
246
254
  batch = []
247
255
  page.data.subscriptions.each do |s|
@@ -272,7 +280,9 @@ module Aws::SNS
272
280
  # @return [Topic::Collection]
273
281
  def topics(options = {})
274
282
  batches = Enumerator.new do |y|
275
- resp = @client.list_topics(options)
283
+ resp = Aws::Plugins::UserAgent.feature('resource') do
284
+ @client.list_topics(options)
285
+ end
276
286
  resp.each_page do |page|
277
287
  batch = []
278
288
  page.data.topics.each do |t|
@@ -119,7 +119,9 @@ module Aws::SNS
119
119
  #
120
120
  # @return [self]
121
121
  def load
122
- resp = @client.get_subscription_attributes(subscription_arn: @arn)
122
+ resp = Aws::Plugins::UserAgent.feature('resource') do
123
+ @client.get_subscription_attributes(subscription_arn: @arn)
124
+ end
123
125
  @data = resp.data
124
126
  self
125
127
  end
@@ -149,7 +151,9 @@ module Aws::SNS
149
151
  # @return [EmptyStructure]
150
152
  def delete(options = {})
151
153
  options = options.merge(subscription_arn: @arn)
152
- resp = @client.unsubscribe(options)
154
+ resp = Aws::Plugins::UserAgent.feature('resource') do
155
+ @client.unsubscribe(options)
156
+ end
153
157
  resp.data
154
158
  end
155
159
 
@@ -216,7 +220,9 @@ module Aws::SNS
216
220
  # @return [EmptyStructure]
217
221
  def set_attributes(options = {})
218
222
  options = options.merge(subscription_arn: @arn)
219
- resp = @client.set_subscription_attributes(options)
223
+ resp = Aws::Plugins::UserAgent.feature('resource') do
224
+ @client.set_subscription_attributes(options)
225
+ end
220
226
  resp.data
221
227
  end
222
228
 
@@ -86,7 +86,7 @@ module Aws::SNS
86
86
  # segment data to topic owner account if the sampled flag in the
87
87
  # tracing header is true. This is only supported on standard topics.
88
88
  #
89
- # The following attribute applies only to [server-side-encryption][1]\:
89
+ # The following attribute applies only to [server-side-encryption][1]:
90
90
  #
91
91
  # * `KmsMasterKeyId` - The ID of an Amazon Web Services managed customer
92
92
  # master key (CMK) for Amazon SNS or a custom CMK. For more
@@ -95,7 +95,7 @@ module Aws::SNS
95
95
  #
96
96
  # ^
97
97
  #
98
- # The following attributes apply only to [FIFO topics][4]\:
98
+ # The following attributes apply only to [FIFO topics][4]:
99
99
  #
100
100
  # * `FifoTopic` – When this is set to `true`, a FIFO topic is created.
101
101
  #
@@ -141,7 +141,9 @@ module Aws::SNS
141
141
  #
142
142
  # @return [self]
143
143
  def load
144
- resp = @client.get_topic_attributes(topic_arn: @arn)
144
+ resp = Aws::Plugins::UserAgent.feature('resource') do
145
+ @client.get_topic_attributes(topic_arn: @arn)
146
+ end
145
147
  @data = resp.data
146
148
  self
147
149
  end
@@ -186,7 +188,9 @@ module Aws::SNS
186
188
  # @return [EmptyStructure]
187
189
  def add_permission(options = {})
188
190
  options = options.merge(topic_arn: @arn)
189
- resp = @client.add_permission(options)
191
+ resp = Aws::Plugins::UserAgent.feature('resource') do
192
+ @client.add_permission(options)
193
+ end
190
194
  resp.data
191
195
  end
192
196
 
@@ -208,7 +212,9 @@ module Aws::SNS
208
212
  # @return [Subscription]
209
213
  def confirm_subscription(options = {})
210
214
  options = options.merge(topic_arn: @arn)
211
- resp = @client.confirm_subscription(options)
215
+ resp = Aws::Plugins::UserAgent.feature('resource') do
216
+ @client.confirm_subscription(options)
217
+ end
212
218
  Subscription.new(
213
219
  arn: resp.data.subscription_arn,
214
220
  client: @client
@@ -222,7 +228,9 @@ module Aws::SNS
222
228
  # @return [EmptyStructure]
223
229
  def delete(options = {})
224
230
  options = options.merge(topic_arn: @arn)
225
- resp = @client.delete_topic(options)
231
+ resp = Aws::Plugins::UserAgent.feature('resource') do
232
+ @client.delete_topic(options)
233
+ end
226
234
  resp.data
227
235
  end
228
236
 
@@ -363,7 +371,9 @@ module Aws::SNS
363
371
  # @return [Types::PublishResponse]
364
372
  def publish(options = {})
365
373
  options = options.merge(topic_arn: @arn)
366
- resp = @client.publish(options)
374
+ resp = Aws::Plugins::UserAgent.feature('resource') do
375
+ @client.publish(options)
376
+ end
367
377
  resp.data
368
378
  end
369
379
 
@@ -378,7 +388,9 @@ module Aws::SNS
378
388
  # @return [EmptyStructure]
379
389
  def remove_permission(options = {})
380
390
  options = options.merge(topic_arn: @arn)
381
- resp = @client.remove_permission(options)
391
+ resp = Aws::Plugins::UserAgent.feature('resource') do
392
+ @client.remove_permission(options)
393
+ end
382
394
  resp.data
383
395
  end
384
396
 
@@ -507,7 +519,7 @@ module Aws::SNS
507
519
  #
508
520
  # </note>
509
521
  #
510
- # The following attribute applies only to [server-side-encryption][2]\:
522
+ # The following attribute applies only to [server-side-encryption][2]:
511
523
  #
512
524
  # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
513
525
  # master key (CMK) for Amazon SNS or a custom CMK. For more
@@ -520,7 +532,7 @@ module Aws::SNS
520
532
  # confirmation messages sent by Amazon SNS. By default,
521
533
  # `SignatureVersion` is set to `1`.
522
534
  #
523
- # The following attribute applies only to [FIFO topics][5]\:
535
+ # The following attribute applies only to [FIFO topics][5]:
524
536
  #
525
537
  # * `ContentBasedDeduplication` – Enables content-based deduplication
526
538
  # for FIFO topics.
@@ -551,7 +563,9 @@ module Aws::SNS
551
563
  # @return [EmptyStructure]
552
564
  def set_attributes(options = {})
553
565
  options = options.merge(topic_arn: @arn)
554
- resp = @client.set_topic_attributes(options)
566
+ resp = Aws::Plugins::UserAgent.feature('resource') do
567
+ @client.set_topic_attributes(options)
568
+ end
555
569
  resp.data
556
570
  end
557
571
 
@@ -684,7 +698,9 @@ module Aws::SNS
684
698
  # @return [Subscription]
685
699
  def subscribe(options = {})
686
700
  options = options.merge(topic_arn: @arn)
687
- resp = @client.subscribe(options)
701
+ resp = Aws::Plugins::UserAgent.feature('resource') do
702
+ @client.subscribe(options)
703
+ end
688
704
  Subscription.new(
689
705
  arn: resp.data.subscription_arn,
690
706
  client: @client
@@ -701,7 +717,9 @@ module Aws::SNS
701
717
  def subscriptions(options = {})
702
718
  batches = Enumerator.new do |y|
703
719
  options = options.merge(topic_arn: @arn)
704
- resp = @client.list_subscriptions_by_topic(options)
720
+ resp = Aws::Plugins::UserAgent.feature('resource') do
721
+ @client.list_subscriptions_by_topic(options)
722
+ end
705
723
  resp.each_page do |page|
706
724
  batch = []
707
725
  page.data.subscriptions.each do |s|
@@ -373,8 +373,7 @@ module Aws::SNS
373
373
  # flag in the tracing header is true. This is only supported on
374
374
  # standard topics.
375
375
  #
376
- # The following attribute applies only to [server-side
377
- # encryption][1]\:
376
+ # The following attribute applies only to [server-side encryption][1]:
378
377
  #
379
378
  # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
380
379
  # customer master key (CMK) for Amazon SNS or a custom CMK. For more
@@ -383,7 +382,7 @@ module Aws::SNS
383
382
  #
384
383
  # ^
385
384
  #
386
- # The following attributes apply only to [FIFO topics][4]\:
385
+ # The following attributes apply only to [FIFO topics][4]:
387
386
  #
388
387
  # * `FifoTopic` – When this is set to `true`, a FIFO topic is created.
389
388
  #
@@ -925,8 +924,7 @@ module Aws::SNS
925
924
  # flag in the tracing header is true. This is only supported on
926
925
  # standard topics.
927
926
  #
928
- # The following attribute applies only to
929
- # [server-side-encryption][1]\:
927
+ # The following attribute applies only to [server-side-encryption][1]:
930
928
  #
931
929
  # * `KmsMasterKeyId` - The ID of an Amazon Web Services managed
932
930
  # customer master key (CMK) for Amazon SNS or a custom CMK. For more
@@ -935,7 +933,7 @@ module Aws::SNS
935
933
  #
936
934
  # ^
937
935
  #
938
- # The following attributes apply only to [FIFO topics][4]\:
936
+ # The following attributes apply only to [FIFO topics][4]:
939
937
  #
940
938
  # * `FifoTopic` – When this is set to `true`, a FIFO topic is created.
941
939
  #
@@ -2546,8 +2544,7 @@ module Aws::SNS
2546
2544
  #
2547
2545
  # </note>
2548
2546
  #
2549
- # The following attribute applies only to
2550
- # [server-side-encryption][2]\:
2547
+ # The following attribute applies only to [server-side-encryption][2]:
2551
2548
  #
2552
2549
  # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
2553
2550
  # customer master key (CMK) for Amazon SNS or a custom CMK. For more
@@ -2560,7 +2557,7 @@ module Aws::SNS
2560
2557
  # confirmation messages sent by Amazon SNS. By default,
2561
2558
  # `SignatureVersion` is set to `1`.
2562
2559
  #
2563
- # The following attribute applies only to [FIFO topics][5]\:
2560
+ # The following attribute applies only to [FIFO topics][5]:
2564
2561
  #
2565
2562
  # * `ContentBasedDeduplication` – Enables content-based deduplication
2566
2563
  # for FIFO topics.
data/lib/aws-sdk-sns.rb CHANGED
@@ -56,6 +56,6 @@ require_relative 'aws-sdk-sns/customizations'
56
56
  # @!group service
57
57
  module Aws::SNS
58
58
 
59
- GEM_VERSION = '1.60.0'
59
+ GEM_VERSION = '1.61.0'
60
60
 
61
61
  end
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.60.0
4
+ version: 1.61.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-10 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement