aws-sdk-sns 1.75.0 → 1.76.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +1 -1
- data/lib/aws-sdk-sns/platform_application.rb +5 -5
- data/lib/aws-sdk-sns/platform_endpoint.rb +4 -4
- data/lib/aws-sdk-sns/resource.rb +5 -5
- data/lib/aws-sdk-sns/subscription.rb +3 -3
- data/lib/aws-sdk-sns/topic.rb +9 -9
- data/lib/aws-sdk-sns.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 478c8d50e2dc433c6c307ee6265f5772fedc836920ae3bf5fb785d304a8c9498
|
4
|
+
data.tar.gz: 56836d2de37a59de528c4e63fc1769e05689a4fb245acba3632aa84831e2de69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1181115c9fee31c003a0756ba8e57652a8717a74b11a2afaeed855d729a7d06c22f3f11eb6daf7bc95319bf3b354369702b91ef1ac987ab169da749eb31e041e
|
7
|
+
data.tar.gz: f100764de9dce9f2226b026a99ad76708ad60cc6b1e1d3f933b397e8256ed0e2a6d13227a4d00c4c0f66b2d89022dc3a4e1cea32ccb8fcaaf2c4c3b2d58d1c18
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -84,7 +84,7 @@ module Aws::SNS
|
|
84
84
|
#
|
85
85
|
# @return [self]
|
86
86
|
def load
|
87
|
-
resp = Aws::Plugins::UserAgent.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
286
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
287
287
|
@client.set_endpoint_attributes(options)
|
288
288
|
end
|
289
289
|
resp.data
|
data/lib/aws-sdk-sns/resource.rb
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
223
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
224
224
|
@client.set_subscription_attributes(options)
|
225
225
|
end
|
226
226
|
resp.data
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
@@ -141,7 +141,7 @@ module Aws::SNS
|
|
141
141
|
#
|
142
142
|
# @return [self]
|
143
143
|
def load
|
144
|
-
resp = Aws::Plugins::UserAgent.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
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.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-05
|
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.
|
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.
|
32
|
+
version: 3.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|