aws-sdk-sns 1.74.0 → 1.76.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: 660c52bad727ce62e9531ff8b4e1cdc60e59c64b8aec26519acd6557dfa7b8c4
4
- data.tar.gz: 6debded5bae568b55456a65f6af6c206e155f8845c8e673ee3759925ae048391
3
+ metadata.gz: 478c8d50e2dc433c6c307ee6265f5772fedc836920ae3bf5fb785d304a8c9498
4
+ data.tar.gz: 56836d2de37a59de528c4e63fc1769e05689a4fb245acba3632aa84831e2de69
5
5
  SHA512:
6
- metadata.gz: 00e24bca438124ee2ae665995b9363587b9386f25193bfb06ed679a30c180acd50b32081fb85df94d2ec4fd2f5c83a4dd9d9268494836018eed27bffe27f42f6
7
- data.tar.gz: f8d299ecfcebe49230654c1089b17594b57d60396d0e2725a9dc033ff0e0c2ae694677b61c61d891f74864e1fb8b8ff127f3e28b64780aae9b028ffdd0a9954f
6
+ metadata.gz: 1181115c9fee31c003a0756ba8e57652a8717a74b11a2afaeed855d729a7d06c22f3f11eb6daf7bc95319bf3b354369702b91ef1ac987ab169da749eb31e041e
7
+ data.tar.gz: f100764de9dce9f2226b026a99ad76708ad60cc6b1e1d3f933b397e8256ed0e2a6d13227a4d00c4c0f66b2d89022dc3a4e1cea32ccb8fcaaf2c4c3b2d58d1c18
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2024-06-05)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.75.0 (2024-05-13)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.74.0 (2024-04-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.76.0
@@ -301,8 +301,9 @@ module Aws::SNS
301
301
  #
302
302
  # @option options [String] :sdk_ua_app_id
303
303
  # A unique and opaque application ID that is appended to the
304
- # User-Agent header as app/<sdk_ua_app_id>. It should have a
305
- # maximum length of 50.
304
+ # User-Agent header as app/sdk_ua_app_id. It should have a
305
+ # maximum length of 50. This variable is sourced from environment
306
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
306
307
  #
307
308
  # @option options [String] :secret_access_key
308
309
  #
@@ -2958,7 +2959,7 @@ module Aws::SNS
2958
2959
  params: params,
2959
2960
  config: config)
2960
2961
  context[:gem_name] = 'aws-sdk-sns'
2961
- context[:gem_version] = '1.74.0'
2962
+ context[:gem_version] = '1.76.0'
2962
2963
  Seahorse::Client::Request.new(handlers, context)
2963
2964
  end
2964
2965
 
@@ -84,7 +84,7 @@ module Aws::SNS
84
84
  #
85
85
  # @return [self]
86
86
  def load
87
- resp = Aws::Plugins::UserAgent.feature('resource') do
87
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
88
88
  @client.get_platform_application_attributes(platform_application_arn: @arn)
89
89
  end
90
90
  @data = resp.data
@@ -138,7 +138,7 @@ module Aws::SNS
138
138
  # @return [PlatformEndpoint]
139
139
  def create_platform_endpoint(options = {})
140
140
  options = options.merge(platform_application_arn: @arn)
141
- resp = Aws::Plugins::UserAgent.feature('resource') do
141
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
142
142
  @client.create_platform_endpoint(options)
143
143
  end
144
144
  PlatformEndpoint.new(
@@ -154,7 +154,7 @@ module Aws::SNS
154
154
  # @return [EmptyStructure]
155
155
  def delete(options = {})
156
156
  options = options.merge(platform_application_arn: @arn)
157
- resp = Aws::Plugins::UserAgent.feature('resource') do
157
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
158
158
  @client.delete_platform_application(options)
159
159
  end
160
160
  resp.data
@@ -243,7 +243,7 @@ module Aws::SNS
243
243
  # @return [EmptyStructure]
244
244
  def set_attributes(options = {})
245
245
  options = options.merge(platform_application_arn: @arn)
246
- resp = Aws::Plugins::UserAgent.feature('resource') do
246
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
247
247
  @client.set_platform_application_attributes(options)
248
248
  end
249
249
  resp.data
@@ -259,7 +259,7 @@ module Aws::SNS
259
259
  def endpoints(options = {})
260
260
  batches = Enumerator.new do |y|
261
261
  options = options.merge(platform_application_arn: @arn)
262
- resp = Aws::Plugins::UserAgent.feature('resource') do
262
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
263
263
  @client.list_endpoints_by_platform_application(options)
264
264
  end
265
265
  resp.each_page do |page|
@@ -72,7 +72,7 @@ module Aws::SNS
72
72
  #
73
73
  # @return [self]
74
74
  def load
75
- resp = Aws::Plugins::UserAgent.feature('resource') do
75
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
76
76
  @client.get_endpoint_attributes(endpoint_arn: @arn)
77
77
  end
78
78
  @data = resp.data
@@ -104,7 +104,7 @@ module Aws::SNS
104
104
  # @return [EmptyStructure]
105
105
  def delete(options = {})
106
106
  options = options.merge(endpoint_arn: @arn)
107
- resp = Aws::Plugins::UserAgent.feature('resource') do
107
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
108
108
  @client.delete_endpoint(options)
109
109
  end
110
110
  resp.data
@@ -249,7 +249,7 @@ module Aws::SNS
249
249
  # @return [Types::PublishResponse]
250
250
  def publish(options = {})
251
251
  options = options.merge(target_arn: @arn)
252
- resp = Aws::Plugins::UserAgent.feature('resource') do
252
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
253
253
  @client.publish(options)
254
254
  end
255
255
  resp.data
@@ -283,7 +283,7 @@ module Aws::SNS
283
283
  # @return [EmptyStructure]
284
284
  def set_attributes(options = {})
285
285
  options = options.merge(endpoint_arn: @arn)
286
- resp = Aws::Plugins::UserAgent.feature('resource') do
286
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
287
287
  @client.set_endpoint_attributes(options)
288
288
  end
289
289
  resp.data
@@ -62,7 +62,7 @@ module Aws::SNS
62
62
  # [1]: https://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html
63
63
  # @return [PlatformApplication]
64
64
  def create_platform_application(options = {})
65
- resp = Aws::Plugins::UserAgent.feature('resource') do
65
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
66
66
  @client.create_platform_application(options)
67
67
  end
68
68
  PlatformApplication.new(
@@ -185,7 +185,7 @@ module Aws::SNS
185
185
  # Length Constraints: Maximum length of 30,720.
186
186
  # @return [Topic]
187
187
  def create_topic(options = {})
188
- resp = Aws::Plugins::UserAgent.feature('resource') do
188
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
189
189
  @client.create_topic(options)
190
190
  end
191
191
  Topic.new(
@@ -212,7 +212,7 @@ module Aws::SNS
212
212
  # @return [PlatformApplication::Collection]
213
213
  def platform_applications(options = {})
214
214
  batches = Enumerator.new do |y|
215
- resp = Aws::Plugins::UserAgent.feature('resource') do
215
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
216
216
  @client.list_platform_applications(options)
217
217
  end
218
218
  resp.each_page do |page|
@@ -254,7 +254,7 @@ module Aws::SNS
254
254
  # @return [Subscription::Collection]
255
255
  def subscriptions(options = {})
256
256
  batches = Enumerator.new do |y|
257
- resp = Aws::Plugins::UserAgent.feature('resource') do
257
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
258
258
  @client.list_subscriptions(options)
259
259
  end
260
260
  resp.each_page do |page|
@@ -287,7 +287,7 @@ module Aws::SNS
287
287
  # @return [Topic::Collection]
288
288
  def topics(options = {})
289
289
  batches = Enumerator.new do |y|
290
- resp = Aws::Plugins::UserAgent.feature('resource') do
290
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
291
291
  @client.list_topics(options)
292
292
  end
293
293
  resp.each_page do |page|
@@ -119,7 +119,7 @@ module Aws::SNS
119
119
  #
120
120
  # @return [self]
121
121
  def load
122
- resp = Aws::Plugins::UserAgent.feature('resource') do
122
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
123
123
  @client.get_subscription_attributes(subscription_arn: @arn)
124
124
  end
125
125
  @data = resp.data
@@ -151,7 +151,7 @@ module Aws::SNS
151
151
  # @return [EmptyStructure]
152
152
  def delete(options = {})
153
153
  options = options.merge(subscription_arn: @arn)
154
- resp = Aws::Plugins::UserAgent.feature('resource') do
154
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
155
155
  @client.unsubscribe(options)
156
156
  end
157
157
  resp.data
@@ -220,7 +220,7 @@ module Aws::SNS
220
220
  # @return [EmptyStructure]
221
221
  def set_attributes(options = {})
222
222
  options = options.merge(subscription_arn: @arn)
223
- resp = Aws::Plugins::UserAgent.feature('resource') do
223
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
224
224
  @client.set_subscription_attributes(options)
225
225
  end
226
226
  resp.data
@@ -141,7 +141,7 @@ module Aws::SNS
141
141
  #
142
142
  # @return [self]
143
143
  def load
144
- resp = Aws::Plugins::UserAgent.feature('resource') do
144
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
145
145
  @client.get_topic_attributes(topic_arn: @arn)
146
146
  end
147
147
  @data = resp.data
@@ -188,7 +188,7 @@ module Aws::SNS
188
188
  # @return [EmptyStructure]
189
189
  def add_permission(options = {})
190
190
  options = options.merge(topic_arn: @arn)
191
- resp = Aws::Plugins::UserAgent.feature('resource') do
191
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
192
192
  @client.add_permission(options)
193
193
  end
194
194
  resp.data
@@ -212,7 +212,7 @@ module Aws::SNS
212
212
  # @return [Subscription]
213
213
  def confirm_subscription(options = {})
214
214
  options = options.merge(topic_arn: @arn)
215
- resp = Aws::Plugins::UserAgent.feature('resource') do
215
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
216
216
  @client.confirm_subscription(options)
217
217
  end
218
218
  Subscription.new(
@@ -228,7 +228,7 @@ module Aws::SNS
228
228
  # @return [EmptyStructure]
229
229
  def delete(options = {})
230
230
  options = options.merge(topic_arn: @arn)
231
- resp = Aws::Plugins::UserAgent.feature('resource') do
231
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
232
232
  @client.delete_topic(options)
233
233
  end
234
234
  resp.data
@@ -371,7 +371,7 @@ module Aws::SNS
371
371
  # @return [Types::PublishResponse]
372
372
  def publish(options = {})
373
373
  options = options.merge(topic_arn: @arn)
374
- resp = Aws::Plugins::UserAgent.feature('resource') do
374
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
375
375
  @client.publish(options)
376
376
  end
377
377
  resp.data
@@ -388,7 +388,7 @@ module Aws::SNS
388
388
  # @return [EmptyStructure]
389
389
  def remove_permission(options = {})
390
390
  options = options.merge(topic_arn: @arn)
391
- resp = Aws::Plugins::UserAgent.feature('resource') do
391
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
392
392
  @client.remove_permission(options)
393
393
  end
394
394
  resp.data
@@ -563,7 +563,7 @@ module Aws::SNS
563
563
  # @return [EmptyStructure]
564
564
  def set_attributes(options = {})
565
565
  options = options.merge(topic_arn: @arn)
566
- resp = Aws::Plugins::UserAgent.feature('resource') do
566
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
567
567
  @client.set_topic_attributes(options)
568
568
  end
569
569
  resp.data
@@ -720,7 +720,7 @@ module Aws::SNS
720
720
  # @return [Subscription]
721
721
  def subscribe(options = {})
722
722
  options = options.merge(topic_arn: @arn)
723
- resp = Aws::Plugins::UserAgent.feature('resource') do
723
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
724
724
  @client.subscribe(options)
725
725
  end
726
726
  Subscription.new(
@@ -739,7 +739,7 @@ module Aws::SNS
739
739
  def subscriptions(options = {})
740
740
  batches = Enumerator.new do |y|
741
741
  options = options.merge(topic_arn: @arn)
742
- resp = Aws::Plugins::UserAgent.feature('resource') do
742
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
743
743
  @client.list_subscriptions_by_topic(options)
744
744
  end
745
745
  resp.each_page do |page|
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.74.0'
59
+ GEM_VERSION = '1.76.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.74.0
4
+ version: 1.76.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: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-06-05 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.193.0
22
+ version: 3.197.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.193.0
32
+ version: 3.197.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement