aws-sdk-sns 1.21.0 → 1.26.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.rb +9 -4
- data/lib/aws-sdk-sns/client.rb +82 -14
- data/lib/aws-sdk-sns/client_api.rb +2 -0
- data/lib/aws-sdk-sns/customizations.rb +2 -0
- data/lib/aws-sdk-sns/errors.rb +47 -23
- data/lib/aws-sdk-sns/message_verifier.rb +2 -0
- data/lib/aws-sdk-sns/platform_application.rb +4 -0
- data/lib/aws-sdk-sns/platform_endpoint.rb +4 -0
- data/lib/aws-sdk-sns/resource.rb +14 -0
- data/lib/aws-sdk-sns/subscription.rb +4 -0
- data/lib/aws-sdk-sns/topic.rb +4 -0
- data/lib/aws-sdk-sns/types.rb +83 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3ceca4a5700f8cba5073c5e6a71deaee978128962a9d49ee0be77315d0327183
|
4
|
+
data.tar.gz: 8ed6caa6c5fa7d92ae250c4b6c59584d9b10520bb330e545c5de6a1329305a1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4ed47805855e16df8dd9ed32841d7ce2123815f7679b40f04691c042efce370940bae1f27ed1dbbd646836af0e76659681d2fe8a8bcd2114fc8fec4bfaece0b
|
7
|
+
data.tar.gz: 582ed77780e19e709e7cb596ad333dbd7de2aeaf5f706f0612e96feb8a6cf236c3745fab943e597cfbfbbd440b697557378f69db300f099ac8c25c7a1a64ebb3
|
data/lib/aws-sdk-sns.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -28,17 +30,20 @@ require_relative 'aws-sdk-sns/customizations'
|
|
28
30
|
# methods each accept a hash of request parameters and return a response
|
29
31
|
# structure.
|
30
32
|
#
|
33
|
+
# sns = Aws::SNS::Client.new
|
34
|
+
# resp = sns.add_permission(params)
|
35
|
+
#
|
31
36
|
# See {Client} for more information.
|
32
37
|
#
|
33
38
|
# # Errors
|
34
39
|
#
|
35
|
-
# Errors returned from Amazon Simple Notification Service
|
36
|
-
# extend {Errors::ServiceError}.
|
40
|
+
# Errors returned from Amazon Simple Notification Service are defined in the
|
41
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
37
42
|
#
|
38
43
|
# begin
|
39
44
|
# # do stuff
|
40
45
|
# rescue Aws::SNS::Errors::ServiceError
|
41
|
-
# # rescues all
|
46
|
+
# # rescues all Amazon Simple Notification Service API errors
|
42
47
|
# end
|
43
48
|
#
|
44
49
|
# See {Errors} for more information.
|
@@ -46,6 +51,6 @@ require_relative 'aws-sdk-sns/customizations'
|
|
46
51
|
# @service
|
47
52
|
module Aws::SNS
|
48
53
|
|
49
|
-
GEM_VERSION = '1.
|
54
|
+
GEM_VERSION = '1.26.0'
|
50
55
|
|
51
56
|
end
|
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:sns)
|
31
34
|
|
32
35
|
module Aws::SNS
|
36
|
+
# An API client for SNS. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::SNS::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::SNS
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::Query)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::SNS
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::SNS
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::SNS
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::SNS
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::SNS
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::SNS
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::SNS
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -209,16 +268,15 @@ module Aws::SNS
|
|
209
268
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
269
|
#
|
211
270
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
271
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
272
|
# `Timeout::Error`.
|
214
273
|
#
|
215
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
275
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
219
277
|
#
|
220
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
279
|
+
# seconds a connection is allowed to sit idle before it is
|
222
280
|
# considered stale. Stale connections are closed and removed
|
223
281
|
# from the pool before making a request.
|
224
282
|
#
|
@@ -227,7 +285,7 @@ module Aws::SNS
|
|
227
285
|
# request body. This option has no effect unless the request has
|
228
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
287
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
288
|
+
# request on the session.
|
231
289
|
#
|
232
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -880,6 +938,8 @@ module Aws::SNS
|
|
880
938
|
# * {Types::ListEndpointsByPlatformApplicationResponse#endpoints #endpoints} => Array<Types::Endpoint>
|
881
939
|
# * {Types::ListEndpointsByPlatformApplicationResponse#next_token #next_token} => String
|
882
940
|
#
|
941
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
942
|
+
#
|
883
943
|
# @example Request syntax with placeholder values
|
884
944
|
#
|
885
945
|
# resp = client.list_endpoints_by_platform_application({
|
@@ -972,6 +1032,8 @@ module Aws::SNS
|
|
972
1032
|
# * {Types::ListPlatformApplicationsResponse#platform_applications #platform_applications} => Array<Types::PlatformApplication>
|
973
1033
|
# * {Types::ListPlatformApplicationsResponse#next_token #next_token} => String
|
974
1034
|
#
|
1035
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1036
|
+
#
|
975
1037
|
# @example Request syntax with placeholder values
|
976
1038
|
#
|
977
1039
|
# resp = client.list_platform_applications({
|
@@ -1010,6 +1072,8 @@ module Aws::SNS
|
|
1010
1072
|
# * {Types::ListSubscriptionsResponse#subscriptions #subscriptions} => Array<Types::Subscription>
|
1011
1073
|
# * {Types::ListSubscriptionsResponse#next_token #next_token} => String
|
1012
1074
|
#
|
1075
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1076
|
+
#
|
1013
1077
|
# @example Request syntax with placeholder values
|
1014
1078
|
#
|
1015
1079
|
# resp = client.list_subscriptions({
|
@@ -1054,6 +1118,8 @@ module Aws::SNS
|
|
1054
1118
|
# * {Types::ListSubscriptionsByTopicResponse#subscriptions #subscriptions} => Array<Types::Subscription>
|
1055
1119
|
# * {Types::ListSubscriptionsByTopicResponse#next_token #next_token} => String
|
1056
1120
|
#
|
1121
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1122
|
+
#
|
1057
1123
|
# @example Request syntax with placeholder values
|
1058
1124
|
#
|
1059
1125
|
# resp = client.list_subscriptions_by_topic({
|
@@ -1131,6 +1197,8 @@ module Aws::SNS
|
|
1131
1197
|
# * {Types::ListTopicsResponse#topics #topics} => Array<Types::Topic>
|
1132
1198
|
# * {Types::ListTopicsResponse#next_token #next_token} => String
|
1133
1199
|
#
|
1200
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1201
|
+
#
|
1134
1202
|
# @example Request syntax with placeholder values
|
1135
1203
|
#
|
1136
1204
|
# resp = client.list_topics({
|
@@ -1966,7 +2034,7 @@ module Aws::SNS
|
|
1966
2034
|
params: params,
|
1967
2035
|
config: config)
|
1968
2036
|
context[:gem_name] = 'aws-sdk-sns'
|
1969
|
-
context[:gem_version] = '1.
|
2037
|
+
context[:gem_version] = '1.26.0'
|
1970
2038
|
Seahorse::Client::Request.new(handlers, context)
|
1971
2039
|
end
|
1972
2040
|
|
data/lib/aws-sdk-sns/errors.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,51 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SNS
|
11
|
+
|
12
|
+
# When SNS returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::SNS::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all SNS errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::SNS::Errors::ServiceError
|
20
|
+
# # rescues all SNS API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {AuthorizationErrorException}
|
31
|
+
# * {ConcurrentAccessException}
|
32
|
+
# * {EndpointDisabledException}
|
33
|
+
# * {FilterPolicyLimitExceededException}
|
34
|
+
# * {InternalErrorException}
|
35
|
+
# * {InvalidParameterException}
|
36
|
+
# * {InvalidParameterValueException}
|
37
|
+
# * {InvalidSecurityException}
|
38
|
+
# * {KMSAccessDeniedException}
|
39
|
+
# * {KMSDisabledException}
|
40
|
+
# * {KMSInvalidStateException}
|
41
|
+
# * {KMSNotFoundException}
|
42
|
+
# * {KMSOptInRequired}
|
43
|
+
# * {KMSThrottlingException}
|
44
|
+
# * {NotFoundException}
|
45
|
+
# * {PlatformApplicationDisabledException}
|
46
|
+
# * {ResourceNotFoundException}
|
47
|
+
# * {StaleTagException}
|
48
|
+
# * {SubscriptionLimitExceededException}
|
49
|
+
# * {TagLimitExceededException}
|
50
|
+
# * {TagPolicyException}
|
51
|
+
# * {ThrottledException}
|
52
|
+
# * {TopicLimitExceededException}
|
53
|
+
#
|
54
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
55
|
+
# if they are not defined above.
|
9
56
|
module Errors
|
10
57
|
|
11
58
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +70,6 @@ module Aws::SNS
|
|
23
70
|
def message
|
24
71
|
@message || @data[:message]
|
25
72
|
end
|
26
|
-
|
27
73
|
end
|
28
74
|
|
29
75
|
class ConcurrentAccessException < ServiceError
|
@@ -39,7 +85,6 @@ module Aws::SNS
|
|
39
85
|
def message
|
40
86
|
@message || @data[:message]
|
41
87
|
end
|
42
|
-
|
43
88
|
end
|
44
89
|
|
45
90
|
class EndpointDisabledException < ServiceError
|
@@ -55,7 +100,6 @@ module Aws::SNS
|
|
55
100
|
def message
|
56
101
|
@message || @data[:message]
|
57
102
|
end
|
58
|
-
|
59
103
|
end
|
60
104
|
|
61
105
|
class FilterPolicyLimitExceededException < ServiceError
|
@@ -71,7 +115,6 @@ module Aws::SNS
|
|
71
115
|
def message
|
72
116
|
@message || @data[:message]
|
73
117
|
end
|
74
|
-
|
75
118
|
end
|
76
119
|
|
77
120
|
class InternalErrorException < ServiceError
|
@@ -87,7 +130,6 @@ module Aws::SNS
|
|
87
130
|
def message
|
88
131
|
@message || @data[:message]
|
89
132
|
end
|
90
|
-
|
91
133
|
end
|
92
134
|
|
93
135
|
class InvalidParameterException < ServiceError
|
@@ -103,7 +145,6 @@ module Aws::SNS
|
|
103
145
|
def message
|
104
146
|
@message || @data[:message]
|
105
147
|
end
|
106
|
-
|
107
148
|
end
|
108
149
|
|
109
150
|
class InvalidParameterValueException < ServiceError
|
@@ -119,7 +160,6 @@ module Aws::SNS
|
|
119
160
|
def message
|
120
161
|
@message || @data[:message]
|
121
162
|
end
|
122
|
-
|
123
163
|
end
|
124
164
|
|
125
165
|
class InvalidSecurityException < ServiceError
|
@@ -135,7 +175,6 @@ module Aws::SNS
|
|
135
175
|
def message
|
136
176
|
@message || @data[:message]
|
137
177
|
end
|
138
|
-
|
139
178
|
end
|
140
179
|
|
141
180
|
class KMSAccessDeniedException < ServiceError
|
@@ -151,7 +190,6 @@ module Aws::SNS
|
|
151
190
|
def message
|
152
191
|
@message || @data[:message]
|
153
192
|
end
|
154
|
-
|
155
193
|
end
|
156
194
|
|
157
195
|
class KMSDisabledException < ServiceError
|
@@ -167,7 +205,6 @@ module Aws::SNS
|
|
167
205
|
def message
|
168
206
|
@message || @data[:message]
|
169
207
|
end
|
170
|
-
|
171
208
|
end
|
172
209
|
|
173
210
|
class KMSInvalidStateException < ServiceError
|
@@ -183,7 +220,6 @@ module Aws::SNS
|
|
183
220
|
def message
|
184
221
|
@message || @data[:message]
|
185
222
|
end
|
186
|
-
|
187
223
|
end
|
188
224
|
|
189
225
|
class KMSNotFoundException < ServiceError
|
@@ -199,7 +235,6 @@ module Aws::SNS
|
|
199
235
|
def message
|
200
236
|
@message || @data[:message]
|
201
237
|
end
|
202
|
-
|
203
238
|
end
|
204
239
|
|
205
240
|
class KMSOptInRequired < ServiceError
|
@@ -215,7 +250,6 @@ module Aws::SNS
|
|
215
250
|
def message
|
216
251
|
@message || @data[:message]
|
217
252
|
end
|
218
|
-
|
219
253
|
end
|
220
254
|
|
221
255
|
class KMSThrottlingException < ServiceError
|
@@ -231,7 +265,6 @@ module Aws::SNS
|
|
231
265
|
def message
|
232
266
|
@message || @data[:message]
|
233
267
|
end
|
234
|
-
|
235
268
|
end
|
236
269
|
|
237
270
|
class NotFoundException < ServiceError
|
@@ -247,7 +280,6 @@ module Aws::SNS
|
|
247
280
|
def message
|
248
281
|
@message || @data[:message]
|
249
282
|
end
|
250
|
-
|
251
283
|
end
|
252
284
|
|
253
285
|
class PlatformApplicationDisabledException < ServiceError
|
@@ -263,7 +295,6 @@ module Aws::SNS
|
|
263
295
|
def message
|
264
296
|
@message || @data[:message]
|
265
297
|
end
|
266
|
-
|
267
298
|
end
|
268
299
|
|
269
300
|
class ResourceNotFoundException < ServiceError
|
@@ -279,7 +310,6 @@ module Aws::SNS
|
|
279
310
|
def message
|
280
311
|
@message || @data[:message]
|
281
312
|
end
|
282
|
-
|
283
313
|
end
|
284
314
|
|
285
315
|
class StaleTagException < ServiceError
|
@@ -295,7 +325,6 @@ module Aws::SNS
|
|
295
325
|
def message
|
296
326
|
@message || @data[:message]
|
297
327
|
end
|
298
|
-
|
299
328
|
end
|
300
329
|
|
301
330
|
class SubscriptionLimitExceededException < ServiceError
|
@@ -311,7 +340,6 @@ module Aws::SNS
|
|
311
340
|
def message
|
312
341
|
@message || @data[:message]
|
313
342
|
end
|
314
|
-
|
315
343
|
end
|
316
344
|
|
317
345
|
class TagLimitExceededException < ServiceError
|
@@ -327,7 +355,6 @@ module Aws::SNS
|
|
327
355
|
def message
|
328
356
|
@message || @data[:message]
|
329
357
|
end
|
330
|
-
|
331
358
|
end
|
332
359
|
|
333
360
|
class TagPolicyException < ServiceError
|
@@ -343,7 +370,6 @@ module Aws::SNS
|
|
343
370
|
def message
|
344
371
|
@message || @data[:message]
|
345
372
|
end
|
346
|
-
|
347
373
|
end
|
348
374
|
|
349
375
|
class ThrottledException < ServiceError
|
@@ -359,7 +385,6 @@ module Aws::SNS
|
|
359
385
|
def message
|
360
386
|
@message || @data[:message]
|
361
387
|
end
|
362
|
-
|
363
388
|
end
|
364
389
|
|
365
390
|
class TopicLimitExceededException < ServiceError
|
@@ -375,7 +400,6 @@ module Aws::SNS
|
|
375
400
|
def message
|
376
401
|
@message || @data[:message]
|
377
402
|
end
|
378
|
-
|
379
403
|
end
|
380
404
|
|
381
405
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SNS
|
11
|
+
|
9
12
|
class PlatformApplication
|
10
13
|
|
11
14
|
extend Aws::Deprecations
|
@@ -21,6 +24,7 @@ module Aws::SNS
|
|
21
24
|
@arn = extract_arn(args, options)
|
22
25
|
@data = options.delete(:data)
|
23
26
|
@client = options.delete(:client) || Client.new(options)
|
27
|
+
@waiter_block_warned = false
|
24
28
|
end
|
25
29
|
|
26
30
|
# @!group Read-Only Attributes
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SNS
|
11
|
+
|
9
12
|
class PlatformEndpoint
|
10
13
|
|
11
14
|
extend Aws::Deprecations
|
@@ -21,6 +24,7 @@ module Aws::SNS
|
|
21
24
|
@arn = extract_arn(args, options)
|
22
25
|
@data = options.delete(:data)
|
23
26
|
@client = options.delete(:client) || Client.new(options)
|
27
|
+
@waiter_block_warned = false
|
24
28
|
end
|
25
29
|
|
26
30
|
# @!group Read-Only Attributes
|
data/lib/aws-sdk-sns/resource.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,18 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SNS
|
11
|
+
|
12
|
+
# This class provides a resource oriented interface for SNS.
|
13
|
+
# To create a resource object:
|
14
|
+
#
|
15
|
+
# resource = Aws::SNS::Resource.new(region: 'us-west-2')
|
16
|
+
#
|
17
|
+
# You can supply a client object with custom configuration that will be used for all resource operations.
|
18
|
+
# If you do not pass `:client`, a default client will be constructed.
|
19
|
+
#
|
20
|
+
# client = Aws::SNS::Client.new(region: 'us-west-2')
|
21
|
+
# resource = Aws::SNS::Resource.new(client: client)
|
22
|
+
#
|
9
23
|
class Resource
|
10
24
|
|
11
25
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SNS
|
11
|
+
|
9
12
|
class Subscription
|
10
13
|
|
11
14
|
extend Aws::Deprecations
|
@@ -21,6 +24,7 @@ module Aws::SNS
|
|
21
24
|
@arn = extract_arn(args, options)
|
22
25
|
@data = options.delete(:data)
|
23
26
|
@client = options.delete(:client) || Client.new(options)
|
27
|
+
@waiter_block_warned = false
|
24
28
|
end
|
25
29
|
|
26
30
|
# @!group Read-Only Attributes
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SNS
|
11
|
+
|
9
12
|
class Topic
|
10
13
|
|
11
14
|
extend Aws::Deprecations
|
@@ -21,6 +24,7 @@ module Aws::SNS
|
|
21
24
|
@arn = extract_arn(args, options)
|
22
25
|
@data = options.delete(:data)
|
23
26
|
@client = options.delete(:client) || Client.new(options)
|
27
|
+
@waiter_block_warned = false
|
24
28
|
end
|
25
29
|
|
26
30
|
# @!group Read-Only Attributes
|
data/lib/aws-sdk-sns/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,7 @@ module Aws::SNS
|
|
45
47
|
:label,
|
46
48
|
:aws_account_id,
|
47
49
|
:action_name)
|
50
|
+
SENSITIVE = []
|
48
51
|
include Aws::Structure
|
49
52
|
end
|
50
53
|
|
@@ -58,6 +61,7 @@ module Aws::SNS
|
|
58
61
|
#
|
59
62
|
class AuthorizationErrorException < Struct.new(
|
60
63
|
:message)
|
64
|
+
SENSITIVE = []
|
61
65
|
include Aws::Structure
|
62
66
|
end
|
63
67
|
|
@@ -78,6 +82,7 @@ module Aws::SNS
|
|
78
82
|
#
|
79
83
|
class CheckIfPhoneNumberIsOptedOutInput < Struct.new(
|
80
84
|
:phone_number)
|
85
|
+
SENSITIVE = []
|
81
86
|
include Aws::Structure
|
82
87
|
end
|
83
88
|
|
@@ -97,6 +102,7 @@ module Aws::SNS
|
|
97
102
|
#
|
98
103
|
class CheckIfPhoneNumberIsOptedOutResponse < Struct.new(
|
99
104
|
:is_opted_out)
|
105
|
+
SENSITIVE = []
|
100
106
|
include Aws::Structure
|
101
107
|
end
|
102
108
|
|
@@ -110,6 +116,7 @@ module Aws::SNS
|
|
110
116
|
#
|
111
117
|
class ConcurrentAccessException < Struct.new(
|
112
118
|
:message)
|
119
|
+
SENSITIVE = []
|
113
120
|
include Aws::Structure
|
114
121
|
end
|
115
122
|
|
@@ -146,6 +153,7 @@ module Aws::SNS
|
|
146
153
|
:topic_arn,
|
147
154
|
:token,
|
148
155
|
:authenticate_on_unsubscribe)
|
156
|
+
SENSITIVE = []
|
149
157
|
include Aws::Structure
|
150
158
|
end
|
151
159
|
|
@@ -159,6 +167,7 @@ module Aws::SNS
|
|
159
167
|
#
|
160
168
|
class ConfirmSubscriptionResponse < Struct.new(
|
161
169
|
:subscription_arn)
|
170
|
+
SENSITIVE = []
|
162
171
|
include Aws::Structure
|
163
172
|
end
|
164
173
|
|
@@ -172,6 +181,7 @@ module Aws::SNS
|
|
172
181
|
#
|
173
182
|
class CreateEndpointResponse < Struct.new(
|
174
183
|
:endpoint_arn)
|
184
|
+
SENSITIVE = []
|
175
185
|
include Aws::Structure
|
176
186
|
end
|
177
187
|
|
@@ -214,6 +224,7 @@ module Aws::SNS
|
|
214
224
|
:name,
|
215
225
|
:platform,
|
216
226
|
:attributes)
|
227
|
+
SENSITIVE = []
|
217
228
|
include Aws::Structure
|
218
229
|
end
|
219
230
|
|
@@ -227,6 +238,7 @@ module Aws::SNS
|
|
227
238
|
#
|
228
239
|
class CreatePlatformApplicationResponse < Struct.new(
|
229
240
|
:platform_application_arn)
|
241
|
+
SENSITIVE = []
|
230
242
|
include Aws::Structure
|
231
243
|
end
|
232
244
|
|
@@ -279,6 +291,7 @@ module Aws::SNS
|
|
279
291
|
:token,
|
280
292
|
:custom_user_data,
|
281
293
|
:attributes)
|
294
|
+
SENSITIVE = []
|
282
295
|
include Aws::Structure
|
283
296
|
end
|
284
297
|
|
@@ -356,6 +369,7 @@ module Aws::SNS
|
|
356
369
|
:name,
|
357
370
|
:attributes,
|
358
371
|
:tags)
|
372
|
+
SENSITIVE = []
|
359
373
|
include Aws::Structure
|
360
374
|
end
|
361
375
|
|
@@ -369,6 +383,7 @@ module Aws::SNS
|
|
369
383
|
#
|
370
384
|
class CreateTopicResponse < Struct.new(
|
371
385
|
:topic_arn)
|
386
|
+
SENSITIVE = []
|
372
387
|
include Aws::Structure
|
373
388
|
end
|
374
389
|
|
@@ -389,6 +404,7 @@ module Aws::SNS
|
|
389
404
|
#
|
390
405
|
class DeleteEndpointInput < Struct.new(
|
391
406
|
:endpoint_arn)
|
407
|
+
SENSITIVE = []
|
392
408
|
include Aws::Structure
|
393
409
|
end
|
394
410
|
|
@@ -409,6 +425,7 @@ module Aws::SNS
|
|
409
425
|
#
|
410
426
|
class DeletePlatformApplicationInput < Struct.new(
|
411
427
|
:platform_application_arn)
|
428
|
+
SENSITIVE = []
|
412
429
|
include Aws::Structure
|
413
430
|
end
|
414
431
|
|
@@ -427,6 +444,7 @@ module Aws::SNS
|
|
427
444
|
#
|
428
445
|
class DeleteTopicInput < Struct.new(
|
429
446
|
:topic_arn)
|
447
|
+
SENSITIVE = []
|
430
448
|
include Aws::Structure
|
431
449
|
end
|
432
450
|
|
@@ -445,6 +463,7 @@ module Aws::SNS
|
|
445
463
|
class Endpoint < Struct.new(
|
446
464
|
:endpoint_arn,
|
447
465
|
:attributes)
|
466
|
+
SENSITIVE = []
|
448
467
|
include Aws::Structure
|
449
468
|
end
|
450
469
|
|
@@ -458,6 +477,7 @@ module Aws::SNS
|
|
458
477
|
#
|
459
478
|
class EndpointDisabledException < Struct.new(
|
460
479
|
:message)
|
480
|
+
SENSITIVE = []
|
461
481
|
include Aws::Structure
|
462
482
|
end
|
463
483
|
|
@@ -472,6 +492,7 @@ module Aws::SNS
|
|
472
492
|
#
|
473
493
|
class FilterPolicyLimitExceededException < Struct.new(
|
474
494
|
:message)
|
495
|
+
SENSITIVE = []
|
475
496
|
include Aws::Structure
|
476
497
|
end
|
477
498
|
|
@@ -492,6 +513,7 @@ module Aws::SNS
|
|
492
513
|
#
|
493
514
|
class GetEndpointAttributesInput < Struct.new(
|
494
515
|
:endpoint_arn)
|
516
|
+
SENSITIVE = []
|
495
517
|
include Aws::Structure
|
496
518
|
end
|
497
519
|
|
@@ -523,6 +545,7 @@ module Aws::SNS
|
|
523
545
|
#
|
524
546
|
class GetEndpointAttributesResponse < Struct.new(
|
525
547
|
:attributes)
|
548
|
+
SENSITIVE = []
|
526
549
|
include Aws::Structure
|
527
550
|
end
|
528
551
|
|
@@ -543,6 +566,7 @@ module Aws::SNS
|
|
543
566
|
#
|
544
567
|
class GetPlatformApplicationAttributesInput < Struct.new(
|
545
568
|
:platform_application_arn)
|
569
|
+
SENSITIVE = []
|
546
570
|
include Aws::Structure
|
547
571
|
end
|
548
572
|
|
@@ -569,6 +593,7 @@ module Aws::SNS
|
|
569
593
|
#
|
570
594
|
class GetPlatformApplicationAttributesResponse < Struct.new(
|
571
595
|
:attributes)
|
596
|
+
SENSITIVE = []
|
572
597
|
include Aws::Structure
|
573
598
|
end
|
574
599
|
|
@@ -599,6 +624,7 @@ module Aws::SNS
|
|
599
624
|
#
|
600
625
|
class GetSMSAttributesInput < Struct.new(
|
601
626
|
:attributes)
|
627
|
+
SENSITIVE = []
|
602
628
|
include Aws::Structure
|
603
629
|
end
|
604
630
|
|
@@ -612,6 +638,7 @@ module Aws::SNS
|
|
612
638
|
#
|
613
639
|
class GetSMSAttributesResponse < Struct.new(
|
614
640
|
:attributes)
|
641
|
+
SENSITIVE = []
|
615
642
|
include Aws::Structure
|
616
643
|
end
|
617
644
|
|
@@ -632,6 +659,7 @@ module Aws::SNS
|
|
632
659
|
#
|
633
660
|
class GetSubscriptionAttributesInput < Struct.new(
|
634
661
|
:subscription_arn)
|
662
|
+
SENSITIVE = []
|
635
663
|
include Aws::Structure
|
636
664
|
end
|
637
665
|
|
@@ -682,6 +710,7 @@ module Aws::SNS
|
|
682
710
|
#
|
683
711
|
class GetSubscriptionAttributesResponse < Struct.new(
|
684
712
|
:attributes)
|
713
|
+
SENSITIVE = []
|
685
714
|
include Aws::Structure
|
686
715
|
end
|
687
716
|
|
@@ -702,6 +731,7 @@ module Aws::SNS
|
|
702
731
|
#
|
703
732
|
class GetTopicAttributesInput < Struct.new(
|
704
733
|
:topic_arn)
|
734
|
+
SENSITIVE = []
|
705
735
|
include Aws::Structure
|
706
736
|
end
|
707
737
|
|
@@ -757,6 +787,7 @@ module Aws::SNS
|
|
757
787
|
#
|
758
788
|
class GetTopicAttributesResponse < Struct.new(
|
759
789
|
:attributes)
|
790
|
+
SENSITIVE = []
|
760
791
|
include Aws::Structure
|
761
792
|
end
|
762
793
|
|
@@ -769,6 +800,7 @@ module Aws::SNS
|
|
769
800
|
#
|
770
801
|
class InternalErrorException < Struct.new(
|
771
802
|
:message)
|
803
|
+
SENSITIVE = []
|
772
804
|
include Aws::Structure
|
773
805
|
end
|
774
806
|
|
@@ -782,6 +814,7 @@ module Aws::SNS
|
|
782
814
|
#
|
783
815
|
class InvalidParameterException < Struct.new(
|
784
816
|
:message)
|
817
|
+
SENSITIVE = []
|
785
818
|
include Aws::Structure
|
786
819
|
end
|
787
820
|
|
@@ -796,6 +829,7 @@ module Aws::SNS
|
|
796
829
|
#
|
797
830
|
class InvalidParameterValueException < Struct.new(
|
798
831
|
:message)
|
832
|
+
SENSITIVE = []
|
799
833
|
include Aws::Structure
|
800
834
|
end
|
801
835
|
|
@@ -809,6 +843,7 @@ module Aws::SNS
|
|
809
843
|
#
|
810
844
|
class InvalidSecurityException < Struct.new(
|
811
845
|
:message)
|
846
|
+
SENSITIVE = []
|
812
847
|
include Aws::Structure
|
813
848
|
end
|
814
849
|
|
@@ -822,6 +857,7 @@ module Aws::SNS
|
|
822
857
|
#
|
823
858
|
class KMSAccessDeniedException < Struct.new(
|
824
859
|
:message)
|
860
|
+
SENSITIVE = []
|
825
861
|
include Aws::Structure
|
826
862
|
end
|
827
863
|
|
@@ -835,6 +871,7 @@ module Aws::SNS
|
|
835
871
|
#
|
836
872
|
class KMSDisabledException < Struct.new(
|
837
873
|
:message)
|
874
|
+
SENSITIVE = []
|
838
875
|
include Aws::Structure
|
839
876
|
end
|
840
877
|
|
@@ -854,6 +891,7 @@ module Aws::SNS
|
|
854
891
|
#
|
855
892
|
class KMSInvalidStateException < Struct.new(
|
856
893
|
:message)
|
894
|
+
SENSITIVE = []
|
857
895
|
include Aws::Structure
|
858
896
|
end
|
859
897
|
|
@@ -867,6 +905,7 @@ module Aws::SNS
|
|
867
905
|
#
|
868
906
|
class KMSNotFoundException < Struct.new(
|
869
907
|
:message)
|
908
|
+
SENSITIVE = []
|
870
909
|
include Aws::Structure
|
871
910
|
end
|
872
911
|
|
@@ -879,6 +918,7 @@ module Aws::SNS
|
|
879
918
|
#
|
880
919
|
class KMSOptInRequired < Struct.new(
|
881
920
|
:message)
|
921
|
+
SENSITIVE = []
|
882
922
|
include Aws::Structure
|
883
923
|
end
|
884
924
|
|
@@ -897,6 +937,7 @@ module Aws::SNS
|
|
897
937
|
#
|
898
938
|
class KMSThrottlingException < Struct.new(
|
899
939
|
:message)
|
940
|
+
SENSITIVE = []
|
900
941
|
include Aws::Structure
|
901
942
|
end
|
902
943
|
|
@@ -926,6 +967,7 @@ module Aws::SNS
|
|
926
967
|
class ListEndpointsByPlatformApplicationInput < Struct.new(
|
927
968
|
:platform_application_arn,
|
928
969
|
:next_token)
|
970
|
+
SENSITIVE = []
|
929
971
|
include Aws::Structure
|
930
972
|
end
|
931
973
|
|
@@ -946,6 +988,7 @@ module Aws::SNS
|
|
946
988
|
class ListEndpointsByPlatformApplicationResponse < Struct.new(
|
947
989
|
:endpoints,
|
948
990
|
:next_token)
|
991
|
+
SENSITIVE = []
|
949
992
|
include Aws::Structure
|
950
993
|
end
|
951
994
|
|
@@ -968,6 +1011,7 @@ module Aws::SNS
|
|
968
1011
|
#
|
969
1012
|
class ListPhoneNumbersOptedOutInput < Struct.new(
|
970
1013
|
:next_token)
|
1014
|
+
SENSITIVE = []
|
971
1015
|
include Aws::Structure
|
972
1016
|
end
|
973
1017
|
|
@@ -990,6 +1034,7 @@ module Aws::SNS
|
|
990
1034
|
class ListPhoneNumbersOptedOutResponse < Struct.new(
|
991
1035
|
:phone_numbers,
|
992
1036
|
:next_token)
|
1037
|
+
SENSITIVE = []
|
993
1038
|
include Aws::Structure
|
994
1039
|
end
|
995
1040
|
|
@@ -1012,6 +1057,7 @@ module Aws::SNS
|
|
1012
1057
|
#
|
1013
1058
|
class ListPlatformApplicationsInput < Struct.new(
|
1014
1059
|
:next_token)
|
1060
|
+
SENSITIVE = []
|
1015
1061
|
include Aws::Structure
|
1016
1062
|
end
|
1017
1063
|
|
@@ -1033,6 +1079,7 @@ module Aws::SNS
|
|
1033
1079
|
class ListPlatformApplicationsResponse < Struct.new(
|
1034
1080
|
:platform_applications,
|
1035
1081
|
:next_token)
|
1082
|
+
SENSITIVE = []
|
1036
1083
|
include Aws::Structure
|
1037
1084
|
end
|
1038
1085
|
|
@@ -1059,6 +1106,7 @@ module Aws::SNS
|
|
1059
1106
|
class ListSubscriptionsByTopicInput < Struct.new(
|
1060
1107
|
:topic_arn,
|
1061
1108
|
:next_token)
|
1109
|
+
SENSITIVE = []
|
1062
1110
|
include Aws::Structure
|
1063
1111
|
end
|
1064
1112
|
|
@@ -1079,6 +1127,7 @@ module Aws::SNS
|
|
1079
1127
|
class ListSubscriptionsByTopicResponse < Struct.new(
|
1080
1128
|
:subscriptions,
|
1081
1129
|
:next_token)
|
1130
|
+
SENSITIVE = []
|
1082
1131
|
include Aws::Structure
|
1083
1132
|
end
|
1084
1133
|
|
@@ -1099,6 +1148,7 @@ module Aws::SNS
|
|
1099
1148
|
#
|
1100
1149
|
class ListSubscriptionsInput < Struct.new(
|
1101
1150
|
:next_token)
|
1151
|
+
SENSITIVE = []
|
1102
1152
|
include Aws::Structure
|
1103
1153
|
end
|
1104
1154
|
|
@@ -1118,6 +1168,7 @@ module Aws::SNS
|
|
1118
1168
|
class ListSubscriptionsResponse < Struct.new(
|
1119
1169
|
:subscriptions,
|
1120
1170
|
:next_token)
|
1171
|
+
SENSITIVE = []
|
1121
1172
|
include Aws::Structure
|
1122
1173
|
end
|
1123
1174
|
|
@@ -1136,6 +1187,7 @@ module Aws::SNS
|
|
1136
1187
|
#
|
1137
1188
|
class ListTagsForResourceRequest < Struct.new(
|
1138
1189
|
:resource_arn)
|
1190
|
+
SENSITIVE = []
|
1139
1191
|
include Aws::Structure
|
1140
1192
|
end
|
1141
1193
|
|
@@ -1147,6 +1199,7 @@ module Aws::SNS
|
|
1147
1199
|
#
|
1148
1200
|
class ListTagsForResourceResponse < Struct.new(
|
1149
1201
|
:tags)
|
1202
|
+
SENSITIVE = []
|
1150
1203
|
include Aws::Structure
|
1151
1204
|
end
|
1152
1205
|
|
@@ -1165,6 +1218,7 @@ module Aws::SNS
|
|
1165
1218
|
#
|
1166
1219
|
class ListTopicsInput < Struct.new(
|
1167
1220
|
:next_token)
|
1221
|
+
SENSITIVE = []
|
1168
1222
|
include Aws::Structure
|
1169
1223
|
end
|
1170
1224
|
|
@@ -1184,6 +1238,7 @@ module Aws::SNS
|
|
1184
1238
|
class ListTopicsResponse < Struct.new(
|
1185
1239
|
:topics,
|
1186
1240
|
:next_token)
|
1241
|
+
SENSITIVE = []
|
1187
1242
|
include Aws::Structure
|
1188
1243
|
end
|
1189
1244
|
|
@@ -1241,6 +1296,7 @@ module Aws::SNS
|
|
1241
1296
|
:data_type,
|
1242
1297
|
:string_value,
|
1243
1298
|
:binary_value)
|
1299
|
+
SENSITIVE = []
|
1244
1300
|
include Aws::Structure
|
1245
1301
|
end
|
1246
1302
|
|
@@ -1253,6 +1309,7 @@ module Aws::SNS
|
|
1253
1309
|
#
|
1254
1310
|
class NotFoundException < Struct.new(
|
1255
1311
|
:message)
|
1312
|
+
SENSITIVE = []
|
1256
1313
|
include Aws::Structure
|
1257
1314
|
end
|
1258
1315
|
|
@@ -1273,6 +1330,7 @@ module Aws::SNS
|
|
1273
1330
|
#
|
1274
1331
|
class OptInPhoneNumberInput < Struct.new(
|
1275
1332
|
:phone_number)
|
1333
|
+
SENSITIVE = []
|
1276
1334
|
include Aws::Structure
|
1277
1335
|
end
|
1278
1336
|
|
@@ -1297,6 +1355,7 @@ module Aws::SNS
|
|
1297
1355
|
class PlatformApplication < Struct.new(
|
1298
1356
|
:platform_application_arn,
|
1299
1357
|
:attributes)
|
1358
|
+
SENSITIVE = []
|
1300
1359
|
include Aws::Structure
|
1301
1360
|
end
|
1302
1361
|
|
@@ -1310,6 +1369,7 @@ module Aws::SNS
|
|
1310
1369
|
#
|
1311
1370
|
class PlatformApplicationDisabledException < Struct.new(
|
1312
1371
|
:message)
|
1372
|
+
SENSITIVE = []
|
1313
1373
|
include Aws::Structure
|
1314
1374
|
end
|
1315
1375
|
|
@@ -1456,6 +1516,7 @@ module Aws::SNS
|
|
1456
1516
|
:subject,
|
1457
1517
|
:message_structure,
|
1458
1518
|
:message_attributes)
|
1519
|
+
SENSITIVE = []
|
1459
1520
|
include Aws::Structure
|
1460
1521
|
end
|
1461
1522
|
|
@@ -1471,6 +1532,7 @@ module Aws::SNS
|
|
1471
1532
|
#
|
1472
1533
|
class PublishResponse < Struct.new(
|
1473
1534
|
:message_id)
|
1535
|
+
SENSITIVE = []
|
1474
1536
|
include Aws::Structure
|
1475
1537
|
end
|
1476
1538
|
|
@@ -1497,6 +1559,7 @@ module Aws::SNS
|
|
1497
1559
|
class RemovePermissionInput < Struct.new(
|
1498
1560
|
:topic_arn,
|
1499
1561
|
:label)
|
1562
|
+
SENSITIVE = []
|
1500
1563
|
include Aws::Structure
|
1501
1564
|
end
|
1502
1565
|
|
@@ -1509,6 +1572,7 @@ module Aws::SNS
|
|
1509
1572
|
#
|
1510
1573
|
class ResourceNotFoundException < Struct.new(
|
1511
1574
|
:message)
|
1575
|
+
SENSITIVE = []
|
1512
1576
|
include Aws::Structure
|
1513
1577
|
end
|
1514
1578
|
|
@@ -1552,6 +1616,7 @@ module Aws::SNS
|
|
1552
1616
|
class SetEndpointAttributesInput < Struct.new(
|
1553
1617
|
:endpoint_arn,
|
1554
1618
|
:attributes)
|
1619
|
+
SENSITIVE = []
|
1555
1620
|
include Aws::Structure
|
1556
1621
|
end
|
1557
1622
|
|
@@ -1613,6 +1678,7 @@ module Aws::SNS
|
|
1613
1678
|
class SetPlatformApplicationAttributesInput < Struct.new(
|
1614
1679
|
:platform_application_arn,
|
1615
1680
|
:attributes)
|
1681
|
+
SENSITIVE = []
|
1616
1682
|
include Aws::Structure
|
1617
1683
|
end
|
1618
1684
|
|
@@ -1716,6 +1782,7 @@ module Aws::SNS
|
|
1716
1782
|
#
|
1717
1783
|
class SetSMSAttributesInput < Struct.new(
|
1718
1784
|
:attributes)
|
1785
|
+
SENSITIVE = []
|
1719
1786
|
include Aws::Structure
|
1720
1787
|
end
|
1721
1788
|
|
@@ -1778,6 +1845,7 @@ module Aws::SNS
|
|
1778
1845
|
:subscription_arn,
|
1779
1846
|
:attribute_name,
|
1780
1847
|
:attribute_value)
|
1848
|
+
SENSITIVE = []
|
1781
1849
|
include Aws::Structure
|
1782
1850
|
end
|
1783
1851
|
|
@@ -1840,6 +1908,7 @@ module Aws::SNS
|
|
1840
1908
|
:topic_arn,
|
1841
1909
|
:attribute_name,
|
1842
1910
|
:attribute_value)
|
1911
|
+
SENSITIVE = []
|
1843
1912
|
include Aws::Structure
|
1844
1913
|
end
|
1845
1914
|
|
@@ -1853,6 +1922,7 @@ module Aws::SNS
|
|
1853
1922
|
#
|
1854
1923
|
class StaleTagException < Struct.new(
|
1855
1924
|
:message)
|
1925
|
+
SENSITIVE = []
|
1856
1926
|
include Aws::Structure
|
1857
1927
|
end
|
1858
1928
|
|
@@ -1980,6 +2050,7 @@ module Aws::SNS
|
|
1980
2050
|
:endpoint,
|
1981
2051
|
:attributes,
|
1982
2052
|
:return_subscription_arn)
|
2053
|
+
SENSITIVE = []
|
1983
2054
|
include Aws::Structure
|
1984
2055
|
end
|
1985
2056
|
|
@@ -1997,6 +2068,7 @@ module Aws::SNS
|
|
1997
2068
|
#
|
1998
2069
|
class SubscribeResponse < Struct.new(
|
1999
2070
|
:subscription_arn)
|
2071
|
+
SENSITIVE = []
|
2000
2072
|
include Aws::Structure
|
2001
2073
|
end
|
2002
2074
|
|
@@ -2030,6 +2102,7 @@ module Aws::SNS
|
|
2030
2102
|
:protocol,
|
2031
2103
|
:endpoint,
|
2032
2104
|
:topic_arn)
|
2105
|
+
SENSITIVE = []
|
2033
2106
|
include Aws::Structure
|
2034
2107
|
end
|
2035
2108
|
|
@@ -2043,6 +2116,7 @@ module Aws::SNS
|
|
2043
2116
|
#
|
2044
2117
|
class SubscriptionLimitExceededException < Struct.new(
|
2045
2118
|
:message)
|
2119
|
+
SENSITIVE = []
|
2046
2120
|
include Aws::Structure
|
2047
2121
|
end
|
2048
2122
|
|
@@ -2069,6 +2143,7 @@ module Aws::SNS
|
|
2069
2143
|
class Tag < Struct.new(
|
2070
2144
|
:key,
|
2071
2145
|
:value)
|
2146
|
+
SENSITIVE = []
|
2072
2147
|
include Aws::Structure
|
2073
2148
|
end
|
2074
2149
|
|
@@ -2081,6 +2156,7 @@ module Aws::SNS
|
|
2081
2156
|
#
|
2082
2157
|
class TagLimitExceededException < Struct.new(
|
2083
2158
|
:message)
|
2159
|
+
SENSITIVE = []
|
2084
2160
|
include Aws::Structure
|
2085
2161
|
end
|
2086
2162
|
|
@@ -2094,6 +2170,7 @@ module Aws::SNS
|
|
2094
2170
|
#
|
2095
2171
|
class TagPolicyException < Struct.new(
|
2096
2172
|
:message)
|
2173
|
+
SENSITIVE = []
|
2097
2174
|
include Aws::Structure
|
2098
2175
|
end
|
2099
2176
|
|
@@ -2124,6 +2201,7 @@ module Aws::SNS
|
|
2124
2201
|
class TagResourceRequest < Struct.new(
|
2125
2202
|
:resource_arn,
|
2126
2203
|
:tags)
|
2204
|
+
SENSITIVE = []
|
2127
2205
|
include Aws::Structure
|
2128
2206
|
end
|
2129
2207
|
|
@@ -2142,6 +2220,7 @@ module Aws::SNS
|
|
2142
2220
|
#
|
2143
2221
|
class ThrottledException < Struct.new(
|
2144
2222
|
:message)
|
2223
|
+
SENSITIVE = []
|
2145
2224
|
include Aws::Structure
|
2146
2225
|
end
|
2147
2226
|
|
@@ -2156,6 +2235,7 @@ module Aws::SNS
|
|
2156
2235
|
#
|
2157
2236
|
class Topic < Struct.new(
|
2158
2237
|
:topic_arn)
|
2238
|
+
SENSITIVE = []
|
2159
2239
|
include Aws::Structure
|
2160
2240
|
end
|
2161
2241
|
|
@@ -2169,6 +2249,7 @@ module Aws::SNS
|
|
2169
2249
|
#
|
2170
2250
|
class TopicLimitExceededException < Struct.new(
|
2171
2251
|
:message)
|
2252
|
+
SENSITIVE = []
|
2172
2253
|
include Aws::Structure
|
2173
2254
|
end
|
2174
2255
|
|
@@ -2189,6 +2270,7 @@ module Aws::SNS
|
|
2189
2270
|
#
|
2190
2271
|
class UnsubscribeInput < Struct.new(
|
2191
2272
|
:subscription_arn)
|
2273
|
+
SENSITIVE = []
|
2192
2274
|
include Aws::Structure
|
2193
2275
|
end
|
2194
2276
|
|
@@ -2213,6 +2295,7 @@ module Aws::SNS
|
|
2213
2295
|
class UntagResourceRequest < Struct.new(
|
2214
2296
|
:resource_arn,
|
2215
2297
|
:tag_keys)
|
2298
|
+
SENSITIVE = []
|
2216
2299
|
include Aws::Structure
|
2217
2300
|
end
|
2218
2301
|
|
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.26.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: 2020-06-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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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
|