aws-sdk-sns 1.22.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-sns/client.rb +33 -20
- data/lib/aws-sdk-sns/resource.rb +6 -1
- data/lib/aws-sdk-sns.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3894b5b22dc0342f12d95671c956e0882159fb2933d55312efc3bf686c8d354e
|
4
|
+
data.tar.gz: c14cd8e726026183608f9d5ecffa861be9532ce6c4c045e4625a52be7a354c49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bca415a7bab5f9d6d41b72d43806c88cf276c9c465faa908bdb93c32417c844eaf1d2b8e1501dc274a9f423fd578e72859f6fd74e052b2b16746f386ba79005
|
7
|
+
data.tar.gz: a88a9fc4d1d6b56df49c9703bc45417e4631838c32e13c8f5e772f7db39e8ad9de05a750d02adc8beadb61acf7d76e1fe621f98ddf1194c9ff1f39379a6c1d82
|
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:sns)
|
|
32
32
|
module Aws::SNS
|
33
33
|
# An API client for SNS. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::SNS::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::SNS
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::SNS
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -229,15 +229,19 @@ module Aws::SNS
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -265,8 +269,7 @@ module Aws::SNS
|
|
265
269
|
#
|
266
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
271
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
270
273
|
#
|
271
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +281,7 @@ module Aws::SNS
|
|
278
281
|
# request body. This option has no effect unless the request has
|
279
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
283
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
284
|
+
# request on the session.
|
282
285
|
#
|
283
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -931,6 +934,8 @@ module Aws::SNS
|
|
931
934
|
# * {Types::ListEndpointsByPlatformApplicationResponse#endpoints #endpoints} => Array<Types::Endpoint>
|
932
935
|
# * {Types::ListEndpointsByPlatformApplicationResponse#next_token #next_token} => String
|
933
936
|
#
|
937
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
938
|
+
#
|
934
939
|
# @example Request syntax with placeholder values
|
935
940
|
#
|
936
941
|
# resp = client.list_endpoints_by_platform_application({
|
@@ -1023,6 +1028,8 @@ module Aws::SNS
|
|
1023
1028
|
# * {Types::ListPlatformApplicationsResponse#platform_applications #platform_applications} => Array<Types::PlatformApplication>
|
1024
1029
|
# * {Types::ListPlatformApplicationsResponse#next_token #next_token} => String
|
1025
1030
|
#
|
1031
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1032
|
+
#
|
1026
1033
|
# @example Request syntax with placeholder values
|
1027
1034
|
#
|
1028
1035
|
# resp = client.list_platform_applications({
|
@@ -1061,6 +1068,8 @@ module Aws::SNS
|
|
1061
1068
|
# * {Types::ListSubscriptionsResponse#subscriptions #subscriptions} => Array<Types::Subscription>
|
1062
1069
|
# * {Types::ListSubscriptionsResponse#next_token #next_token} => String
|
1063
1070
|
#
|
1071
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1072
|
+
#
|
1064
1073
|
# @example Request syntax with placeholder values
|
1065
1074
|
#
|
1066
1075
|
# resp = client.list_subscriptions({
|
@@ -1105,6 +1114,8 @@ module Aws::SNS
|
|
1105
1114
|
# * {Types::ListSubscriptionsByTopicResponse#subscriptions #subscriptions} => Array<Types::Subscription>
|
1106
1115
|
# * {Types::ListSubscriptionsByTopicResponse#next_token #next_token} => String
|
1107
1116
|
#
|
1117
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1118
|
+
#
|
1108
1119
|
# @example Request syntax with placeholder values
|
1109
1120
|
#
|
1110
1121
|
# resp = client.list_subscriptions_by_topic({
|
@@ -1182,6 +1193,8 @@ module Aws::SNS
|
|
1182
1193
|
# * {Types::ListTopicsResponse#topics #topics} => Array<Types::Topic>
|
1183
1194
|
# * {Types::ListTopicsResponse#next_token #next_token} => String
|
1184
1195
|
#
|
1196
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1197
|
+
#
|
1185
1198
|
# @example Request syntax with placeholder values
|
1186
1199
|
#
|
1187
1200
|
# resp = client.list_topics({
|
@@ -2017,7 +2030,7 @@ module Aws::SNS
|
|
2017
2030
|
params: params,
|
2018
2031
|
config: config)
|
2019
2032
|
context[:gem_name] = 'aws-sdk-sns'
|
2020
|
-
context[:gem_version] = '1.
|
2033
|
+
context[:gem_version] = '1.23.0'
|
2021
2034
|
Seahorse::Client::Request.new(handlers, context)
|
2022
2035
|
end
|
2023
2036
|
|
data/lib/aws-sdk-sns/resource.rb
CHANGED
@@ -6,13 +6,18 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::SNS
|
9
|
+
|
9
10
|
# This class provides a resource oriented interface for SNS.
|
10
11
|
# To create a resource object:
|
12
|
+
#
|
11
13
|
# resource = Aws::SNS::Resource.new(region: 'us-west-2')
|
14
|
+
#
|
12
15
|
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass
|
16
|
+
# If you do not pass `:client`, a default client will be constructed.
|
17
|
+
#
|
14
18
|
# client = Aws::SNS::Client.new(region: 'us-west-2')
|
15
19
|
# resource = Aws::SNS::Resource.new(client: client)
|
20
|
+
#
|
16
21
|
class Resource
|
17
22
|
|
18
23
|
# @param options ({})
|
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.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.
|
89
|
+
rubygems_version: 2.7.6.2
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: AWS SDK for Ruby - Amazon SNS
|