aws-sdk-sns 1.15.0 → 1.16.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
  SHA1:
3
- metadata.gz: 163c9730e5b05e00956a664035dd7c6bdde06a45
4
- data.tar.gz: b7e0d2a3b431b58f5ca024683ab58d78643ecfd7
3
+ metadata.gz: a913935713b4327273a3811e61a5a3fe182be2d4
4
+ data.tar.gz: b2dc51b2854c80ccf1a6ca8068bda18a787ff7a0
5
5
  SHA512:
6
- metadata.gz: d13051372dacbdbfb828245c2d6dc583620daf4cbaade8075a530bdb110b93904a9c5d76a0d383749e511c3a82517db565901c5aee9b0ac0724361217e997050
7
- data.tar.gz: 1c5407fd51d558d3b958ff95ef06d1ea1e9a3a2b4108a379b07eabe40caae2f0cce0324f5f282f422aab206c1428d26115e1dd6c6bf028d5fb52d94c2dc4c091
6
+ metadata.gz: dbb80fbd92e05db73ecc8cb6475d20a1d67677c1fc4d9484974b49cd6ee238876c43ac89830663dce1a910ca6e624698ff30a5e82357f11d0ca66fa9fdf16ed1
7
+ data.tar.gz: 9332cdae64f6344e57eb4b4501bd936da42f741d099546a79e7db705168ae1396203a01b0090e200f330aa4b8553a0bfaae5bc2176b5421126ac5418e4ba2596
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-sns/customizations'
46
46
  # @service
47
47
  module Aws::SNS
48
48
 
49
- GEM_VERSION = '1.15.0'
49
+ GEM_VERSION = '1.16.0'
50
50
 
51
51
  end
@@ -1976,7 +1976,7 @@ module Aws::SNS
1976
1976
  params: params,
1977
1977
  config: config)
1978
1978
  context[:gem_name] = 'aws-sdk-sns'
1979
- context[:gem_version] = '1.15.0'
1979
+ context[:gem_version] = '1.16.0'
1980
1980
  Seahorse::Client::Request.new(handlers, context)
1981
1981
  end
1982
1982
 
@@ -145,12 +145,18 @@ module Aws::SNS
145
145
  AddPermissionInput.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionsList, required: true, location_name: "ActionName"))
146
146
  AddPermissionInput.struct_class = Types::AddPermissionInput
147
147
 
148
+ AuthorizationErrorException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
149
+ AuthorizationErrorException.struct_class = Types::AuthorizationErrorException
150
+
148
151
  CheckIfPhoneNumberIsOptedOutInput.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "phoneNumber"))
149
152
  CheckIfPhoneNumberIsOptedOutInput.struct_class = Types::CheckIfPhoneNumberIsOptedOutInput
150
153
 
151
154
  CheckIfPhoneNumberIsOptedOutResponse.add_member(:is_opted_out, Shapes::ShapeRef.new(shape: boolean, location_name: "isOptedOut"))
152
155
  CheckIfPhoneNumberIsOptedOutResponse.struct_class = Types::CheckIfPhoneNumberIsOptedOutResponse
153
156
 
157
+ ConcurrentAccessException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
158
+ ConcurrentAccessException.struct_class = Types::ConcurrentAccessException
159
+
154
160
  ConfirmSubscriptionInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
155
161
  ConfirmSubscriptionInput.add_member(:token, Shapes::ShapeRef.new(shape: token, required: true, location_name: "Token"))
156
162
  ConfirmSubscriptionInput.add_member(:authenticate_on_unsubscribe, Shapes::ShapeRef.new(shape: authenticateOnUnsubscribe, location_name: "AuthenticateOnUnsubscribe"))
@@ -199,6 +205,12 @@ module Aws::SNS
199
205
  Endpoint.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, location_name: "Attributes"))
200
206
  Endpoint.struct_class = Types::Endpoint
201
207
 
208
+ EndpointDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
209
+ EndpointDisabledException.struct_class = Types::EndpointDisabledException
210
+
211
+ FilterPolicyLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
212
+ FilterPolicyLimitExceededException.struct_class = Types::FilterPolicyLimitExceededException
213
+
202
214
  GetEndpointAttributesInput.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
203
215
  GetEndpointAttributesInput.struct_class = Types::GetEndpointAttributesInput
204
216
 
@@ -229,6 +241,36 @@ module Aws::SNS
229
241
  GetTopicAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: TopicAttributesMap, location_name: "Attributes"))
230
242
  GetTopicAttributesResponse.struct_class = Types::GetTopicAttributesResponse
231
243
 
244
+ InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
245
+ InternalErrorException.struct_class = Types::InternalErrorException
246
+
247
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
248
+ InvalidParameterException.struct_class = Types::InvalidParameterException
249
+
250
+ InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
251
+ InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
252
+
253
+ InvalidSecurityException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
254
+ InvalidSecurityException.struct_class = Types::InvalidSecurityException
255
+
256
+ KMSAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
257
+ KMSAccessDeniedException.struct_class = Types::KMSAccessDeniedException
258
+
259
+ KMSDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
260
+ KMSDisabledException.struct_class = Types::KMSDisabledException
261
+
262
+ KMSInvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
263
+ KMSInvalidStateException.struct_class = Types::KMSInvalidStateException
264
+
265
+ KMSNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
266
+ KMSNotFoundException.struct_class = Types::KMSNotFoundException
267
+
268
+ KMSOptInRequired.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
269
+ KMSOptInRequired.struct_class = Types::KMSOptInRequired
270
+
271
+ KMSThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
272
+ KMSThrottlingException.struct_class = Types::KMSThrottlingException
273
+
232
274
  ListEndpointsByPlatformApplicationInput.add_member(:platform_application_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PlatformApplicationArn"))
233
275
  ListEndpointsByPlatformApplicationInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
234
276
  ListEndpointsByPlatformApplicationInput.struct_class = Types::ListEndpointsByPlatformApplicationInput
@@ -296,6 +338,9 @@ module Aws::SNS
296
338
  MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
297
339
  MessageAttributeValue.struct_class = Types::MessageAttributeValue
298
340
 
341
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
342
+ NotFoundException.struct_class = Types::NotFoundException
343
+
299
344
  OptInPhoneNumberInput.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "phoneNumber"))
300
345
  OptInPhoneNumberInput.struct_class = Types::OptInPhoneNumberInput
301
346
 
@@ -307,6 +352,9 @@ module Aws::SNS
307
352
  PlatformApplication.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, location_name: "Attributes"))
308
353
  PlatformApplication.struct_class = Types::PlatformApplication
309
354
 
355
+ PlatformApplicationDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
356
+ PlatformApplicationDisabledException.struct_class = Types::PlatformApplicationDisabledException
357
+
310
358
  PublishInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, location_name: "TopicArn"))
311
359
  PublishInput.add_member(:target_arn, Shapes::ShapeRef.new(shape: String, location_name: "TargetArn"))
312
360
  PublishInput.add_member(:phone_number, Shapes::ShapeRef.new(shape: String, location_name: "PhoneNumber"))
@@ -323,6 +371,9 @@ module Aws::SNS
323
371
  RemovePermissionInput.add_member(:label, Shapes::ShapeRef.new(shape: label, required: true, location_name: "Label"))
324
372
  RemovePermissionInput.struct_class = Types::RemovePermissionInput
325
373
 
374
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
375
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
376
+
326
377
  SetEndpointAttributesInput.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
327
378
  SetEndpointAttributesInput.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, required: true, location_name: "Attributes"))
328
379
  SetEndpointAttributesInput.struct_class = Types::SetEndpointAttributesInput
@@ -346,6 +397,9 @@ module Aws::SNS
346
397
  SetTopicAttributesInput.add_member(:attribute_value, Shapes::ShapeRef.new(shape: attributeValue, location_name: "AttributeValue"))
347
398
  SetTopicAttributesInput.struct_class = Types::SetTopicAttributesInput
348
399
 
400
+ StaleTagException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
401
+ StaleTagException.struct_class = Types::StaleTagException
402
+
349
403
  SubscribeInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
350
404
  SubscribeInput.add_member(:protocol, Shapes::ShapeRef.new(shape: protocol, required: true, location_name: "Protocol"))
351
405
  SubscribeInput.add_member(:endpoint, Shapes::ShapeRef.new(shape: endpoint, location_name: "Endpoint"))
@@ -366,6 +420,9 @@ module Aws::SNS
366
420
  SubscriptionAttributesMap.key = Shapes::ShapeRef.new(shape: attributeName)
367
421
  SubscriptionAttributesMap.value = Shapes::ShapeRef.new(shape: attributeValue)
368
422
 
423
+ SubscriptionLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
424
+ SubscriptionLimitExceededException.struct_class = Types::SubscriptionLimitExceededException
425
+
369
426
  SubscriptionsList.member = Shapes::ShapeRef.new(shape: Subscription)
370
427
 
371
428
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -374,20 +431,32 @@ module Aws::SNS
374
431
 
375
432
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
376
433
 
434
+ TagLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
435
+ TagLimitExceededException.struct_class = Types::TagLimitExceededException
436
+
377
437
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
378
438
 
439
+ TagPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
440
+ TagPolicyException.struct_class = Types::TagPolicyException
441
+
379
442
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
380
443
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
381
444
  TagResourceRequest.struct_class = Types::TagResourceRequest
382
445
 
383
446
  TagResourceResponse.struct_class = Types::TagResourceResponse
384
447
 
448
+ ThrottledException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
449
+ ThrottledException.struct_class = Types::ThrottledException
450
+
385
451
  Topic.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, location_name: "TopicArn"))
386
452
  Topic.struct_class = Types::Topic
387
453
 
388
454
  TopicAttributesMap.key = Shapes::ShapeRef.new(shape: attributeName)
389
455
  TopicAttributesMap.value = Shapes::ShapeRef.new(shape: attributeValue)
390
456
 
457
+ TopicLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
458
+ TopicLimitExceededException.struct_class = Types::TopicLimitExceededException
459
+
391
460
  TopicsList.member = Shapes::ShapeRef.new(shape: Topic)
392
461
 
393
462
  UnsubscribeInput.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, required: true, location_name: "SubscriptionArn"))
@@ -10,5 +10,373 @@ module Aws::SNS
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AuthorizationErrorException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::SNS::Types::AuthorizationErrorException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class ConcurrentAccessException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::SNS::Types::ConcurrentAccessException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class EndpointDisabledException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::SNS::Types::EndpointDisabledException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class FilterPolicyLimitExceededException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::SNS::Types::FilterPolicyLimitExceededException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class InternalErrorException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::SNS::Types::InternalErrorException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class InvalidParameterException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::SNS::Types::InvalidParameterException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class InvalidParameterValueException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::SNS::Types::InvalidParameterValueException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class InvalidSecurityException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::SNS::Types::InvalidSecurityException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class KMSAccessDeniedException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::SNS::Types::KMSAccessDeniedException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
157
+ class KMSDisabledException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::SNS::Types::KMSDisabledException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
173
+ class KMSInvalidStateException < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::SNS::Types::KMSInvalidStateException] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def message
184
+ @message || @data[:message]
185
+ end
186
+
187
+ end
188
+
189
+ class KMSNotFoundException < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::SNS::Types::KMSNotFoundException] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+
198
+ # @return [String]
199
+ def message
200
+ @message || @data[:message]
201
+ end
202
+
203
+ end
204
+
205
+ class KMSOptInRequired < ServiceError
206
+
207
+ # @param [Seahorse::Client::RequestContext] context
208
+ # @param [String] message
209
+ # @param [Aws::SNS::Types::KMSOptInRequired] data
210
+ def initialize(context, message, data = Aws::EmptyStructure.new)
211
+ super(context, message, data)
212
+ end
213
+
214
+ # @return [String]
215
+ def message
216
+ @message || @data[:message]
217
+ end
218
+
219
+ end
220
+
221
+ class KMSThrottlingException < ServiceError
222
+
223
+ # @param [Seahorse::Client::RequestContext] context
224
+ # @param [String] message
225
+ # @param [Aws::SNS::Types::KMSThrottlingException] data
226
+ def initialize(context, message, data = Aws::EmptyStructure.new)
227
+ super(context, message, data)
228
+ end
229
+
230
+ # @return [String]
231
+ def message
232
+ @message || @data[:message]
233
+ end
234
+
235
+ end
236
+
237
+ class NotFoundException < ServiceError
238
+
239
+ # @param [Seahorse::Client::RequestContext] context
240
+ # @param [String] message
241
+ # @param [Aws::SNS::Types::NotFoundException] data
242
+ def initialize(context, message, data = Aws::EmptyStructure.new)
243
+ super(context, message, data)
244
+ end
245
+
246
+ # @return [String]
247
+ def message
248
+ @message || @data[:message]
249
+ end
250
+
251
+ end
252
+
253
+ class PlatformApplicationDisabledException < ServiceError
254
+
255
+ # @param [Seahorse::Client::RequestContext] context
256
+ # @param [String] message
257
+ # @param [Aws::SNS::Types::PlatformApplicationDisabledException] data
258
+ def initialize(context, message, data = Aws::EmptyStructure.new)
259
+ super(context, message, data)
260
+ end
261
+
262
+ # @return [String]
263
+ def message
264
+ @message || @data[:message]
265
+ end
266
+
267
+ end
268
+
269
+ class ResourceNotFoundException < ServiceError
270
+
271
+ # @param [Seahorse::Client::RequestContext] context
272
+ # @param [String] message
273
+ # @param [Aws::SNS::Types::ResourceNotFoundException] data
274
+ def initialize(context, message, data = Aws::EmptyStructure.new)
275
+ super(context, message, data)
276
+ end
277
+
278
+ # @return [String]
279
+ def message
280
+ @message || @data[:message]
281
+ end
282
+
283
+ end
284
+
285
+ class StaleTagException < ServiceError
286
+
287
+ # @param [Seahorse::Client::RequestContext] context
288
+ # @param [String] message
289
+ # @param [Aws::SNS::Types::StaleTagException] data
290
+ def initialize(context, message, data = Aws::EmptyStructure.new)
291
+ super(context, message, data)
292
+ end
293
+
294
+ # @return [String]
295
+ def message
296
+ @message || @data[:message]
297
+ end
298
+
299
+ end
300
+
301
+ class SubscriptionLimitExceededException < ServiceError
302
+
303
+ # @param [Seahorse::Client::RequestContext] context
304
+ # @param [String] message
305
+ # @param [Aws::SNS::Types::SubscriptionLimitExceededException] data
306
+ def initialize(context, message, data = Aws::EmptyStructure.new)
307
+ super(context, message, data)
308
+ end
309
+
310
+ # @return [String]
311
+ def message
312
+ @message || @data[:message]
313
+ end
314
+
315
+ end
316
+
317
+ class TagLimitExceededException < ServiceError
318
+
319
+ # @param [Seahorse::Client::RequestContext] context
320
+ # @param [String] message
321
+ # @param [Aws::SNS::Types::TagLimitExceededException] data
322
+ def initialize(context, message, data = Aws::EmptyStructure.new)
323
+ super(context, message, data)
324
+ end
325
+
326
+ # @return [String]
327
+ def message
328
+ @message || @data[:message]
329
+ end
330
+
331
+ end
332
+
333
+ class TagPolicyException < ServiceError
334
+
335
+ # @param [Seahorse::Client::RequestContext] context
336
+ # @param [String] message
337
+ # @param [Aws::SNS::Types::TagPolicyException] data
338
+ def initialize(context, message, data = Aws::EmptyStructure.new)
339
+ super(context, message, data)
340
+ end
341
+
342
+ # @return [String]
343
+ def message
344
+ @message || @data[:message]
345
+ end
346
+
347
+ end
348
+
349
+ class ThrottledException < ServiceError
350
+
351
+ # @param [Seahorse::Client::RequestContext] context
352
+ # @param [String] message
353
+ # @param [Aws::SNS::Types::ThrottledException] data
354
+ def initialize(context, message, data = Aws::EmptyStructure.new)
355
+ super(context, message, data)
356
+ end
357
+
358
+ # @return [String]
359
+ def message
360
+ @message || @data[:message]
361
+ end
362
+
363
+ end
364
+
365
+ class TopicLimitExceededException < ServiceError
366
+
367
+ # @param [Seahorse::Client::RequestContext] context
368
+ # @param [String] message
369
+ # @param [Aws::SNS::Types::TopicLimitExceededException] data
370
+ def initialize(context, message, data = Aws::EmptyStructure.new)
371
+ super(context, message, data)
372
+ end
373
+
374
+ # @return [String]
375
+ def message
376
+ @message || @data[:message]
377
+ end
378
+
379
+ end
380
+
13
381
  end
14
382
  end
@@ -48,6 +48,19 @@ module Aws::SNS
48
48
  include Aws::Structure
49
49
  end
50
50
 
51
+ # Indicates that the user has been denied access to the requested
52
+ # resource.
53
+ #
54
+ # @!attribute [rw] message
55
+ # @return [String]
56
+ #
57
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AuthorizationErrorException AWS API Documentation
58
+ #
59
+ class AuthorizationErrorException < Struct.new(
60
+ :message)
61
+ include Aws::Structure
62
+ end
63
+
51
64
  # The input for the `CheckIfPhoneNumberIsOptedOut` action.
52
65
  #
53
66
  # @note When making an API call, you may pass CheckIfPhoneNumberIsOptedOutInput
@@ -87,6 +100,19 @@ module Aws::SNS
87
100
  include Aws::Structure
88
101
  end
89
102
 
103
+ # Can't perform multiple operations on a tag simultaneously. Perform
104
+ # the operations sequentially.
105
+ #
106
+ # @!attribute [rw] message
107
+ # @return [String]
108
+ #
109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConcurrentAccessException AWS API Documentation
110
+ #
111
+ class ConcurrentAccessException < Struct.new(
112
+ :message)
113
+ include Aws::Structure
114
+ end
115
+
90
116
  # Input for ConfirmSubscription action.
91
117
  #
92
118
  # @note When making an API call, you may pass ConfirmSubscriptionInput
@@ -417,6 +443,33 @@ module Aws::SNS
417
443
  include Aws::Structure
418
444
  end
419
445
 
446
+ # Exception error indicating endpoint disabled.
447
+ #
448
+ # @!attribute [rw] message
449
+ # Message for endpoint disabled.
450
+ # @return [String]
451
+ #
452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/EndpointDisabledException AWS API Documentation
453
+ #
454
+ class EndpointDisabledException < Struct.new(
455
+ :message)
456
+ include Aws::Structure
457
+ end
458
+
459
+ # Indicates that the number of filter polices in your AWS account
460
+ # exceeds the limit. To add more filter polices, submit an SNS Limit
461
+ # Increase case in the AWS Support Center.
462
+ #
463
+ # @!attribute [rw] message
464
+ # @return [String]
465
+ #
466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/FilterPolicyLimitExceededException AWS API Documentation
467
+ #
468
+ class FilterPolicyLimitExceededException < Struct.new(
469
+ :message)
470
+ include Aws::Structure
471
+ end
472
+
420
473
  # Input for GetEndpointAttributes action.
421
474
  #
422
475
  # @note When making an API call, you may pass GetEndpointAttributesInput
@@ -674,6 +727,146 @@ module Aws::SNS
674
727
  include Aws::Structure
675
728
  end
676
729
 
730
+ # Indicates an internal service error.
731
+ #
732
+ # @!attribute [rw] message
733
+ # @return [String]
734
+ #
735
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/InternalErrorException AWS API Documentation
736
+ #
737
+ class InternalErrorException < Struct.new(
738
+ :message)
739
+ include Aws::Structure
740
+ end
741
+
742
+ # Indicates that a request parameter does not comply with the associated
743
+ # constraints.
744
+ #
745
+ # @!attribute [rw] message
746
+ # @return [String]
747
+ #
748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/InvalidParameterException AWS API Documentation
749
+ #
750
+ class InvalidParameterException < Struct.new(
751
+ :message)
752
+ include Aws::Structure
753
+ end
754
+
755
+ # Indicates that a request parameter does not comply with the associated
756
+ # constraints.
757
+ #
758
+ # @!attribute [rw] message
759
+ # The parameter value is invalid.
760
+ # @return [String]
761
+ #
762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/InvalidParameterValueException AWS API Documentation
763
+ #
764
+ class InvalidParameterValueException < Struct.new(
765
+ :message)
766
+ include Aws::Structure
767
+ end
768
+
769
+ # The credential signature isn't valid. You must use an HTTPS endpoint
770
+ # and sign your request using Signature Version 4.
771
+ #
772
+ # @!attribute [rw] message
773
+ # @return [String]
774
+ #
775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/InvalidSecurityException AWS API Documentation
776
+ #
777
+ class InvalidSecurityException < Struct.new(
778
+ :message)
779
+ include Aws::Structure
780
+ end
781
+
782
+ # The ciphertext references a key that doesn't exist or that you don't
783
+ # have access to.
784
+ #
785
+ # @!attribute [rw] message
786
+ # @return [String]
787
+ #
788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/KMSAccessDeniedException AWS API Documentation
789
+ #
790
+ class KMSAccessDeniedException < Struct.new(
791
+ :message)
792
+ include Aws::Structure
793
+ end
794
+
795
+ # The request was rejected because the specified customer master key
796
+ # (CMK) isn't enabled.
797
+ #
798
+ # @!attribute [rw] message
799
+ # @return [String]
800
+ #
801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/KMSDisabledException AWS API Documentation
802
+ #
803
+ class KMSDisabledException < Struct.new(
804
+ :message)
805
+ include Aws::Structure
806
+ end
807
+
808
+ # The request was rejected because the state of the specified resource
809
+ # isn't valid for this request. For more information, see [How Key
810
+ # State Affects Use of a Customer Master Key][1] in the *AWS Key
811
+ # Management Service Developer Guide*.
812
+ #
813
+ #
814
+ #
815
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
816
+ #
817
+ # @!attribute [rw] message
818
+ # @return [String]
819
+ #
820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/KMSInvalidStateException AWS API Documentation
821
+ #
822
+ class KMSInvalidStateException < Struct.new(
823
+ :message)
824
+ include Aws::Structure
825
+ end
826
+
827
+ # The request was rejected because the specified entity or resource
828
+ # can't be found.
829
+ #
830
+ # @!attribute [rw] message
831
+ # @return [String]
832
+ #
833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/KMSNotFoundException AWS API Documentation
834
+ #
835
+ class KMSNotFoundException < Struct.new(
836
+ :message)
837
+ include Aws::Structure
838
+ end
839
+
840
+ # The AWS access key ID needs a subscription for the service.
841
+ #
842
+ # @!attribute [rw] message
843
+ # @return [String]
844
+ #
845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/KMSOptInRequired AWS API Documentation
846
+ #
847
+ class KMSOptInRequired < Struct.new(
848
+ :message)
849
+ include Aws::Structure
850
+ end
851
+
852
+ # The request was denied due to request throttling. For more information
853
+ # about throttling, see [Limits][1] in the *AWS Key Management Service
854
+ # Developer Guide.*
855
+ #
856
+ #
857
+ #
858
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second
859
+ #
860
+ # @!attribute [rw] message
861
+ # @return [String]
862
+ #
863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/KMSThrottlingException AWS API Documentation
864
+ #
865
+ class KMSThrottlingException < Struct.new(
866
+ :message)
867
+ include Aws::Structure
868
+ end
869
+
677
870
  # Input for ListEndpointsByPlatformApplication action.
678
871
  #
679
872
  # @note When making an API call, you may pass ListEndpointsByPlatformApplicationInput
@@ -1018,6 +1211,18 @@ module Aws::SNS
1018
1211
  include Aws::Structure
1019
1212
  end
1020
1213
 
1214
+ # Indicates that the requested resource does not exist.
1215
+ #
1216
+ # @!attribute [rw] message
1217
+ # @return [String]
1218
+ #
1219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/NotFoundException AWS API Documentation
1220
+ #
1221
+ class NotFoundException < Struct.new(
1222
+ :message)
1223
+ include Aws::Structure
1224
+ end
1225
+
1021
1226
  # Input for the OptInPhoneNumber action.
1022
1227
  #
1023
1228
  # @note When making an API call, you may pass OptInPhoneNumberInput
@@ -1062,6 +1267,19 @@ module Aws::SNS
1062
1267
  include Aws::Structure
1063
1268
  end
1064
1269
 
1270
+ # Exception error indicating platform application disabled.
1271
+ #
1272
+ # @!attribute [rw] message
1273
+ # Message for platform application disabled.
1274
+ # @return [String]
1275
+ #
1276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PlatformApplicationDisabledException AWS API Documentation
1277
+ #
1278
+ class PlatformApplicationDisabledException < Struct.new(
1279
+ :message)
1280
+ include Aws::Structure
1281
+ end
1282
+
1065
1283
  # Input for Publish action.
1066
1284
  #
1067
1285
  # @note When making an API call, you may pass PublishInput
@@ -1262,6 +1480,18 @@ module Aws::SNS
1262
1480
  include Aws::Structure
1263
1481
  end
1264
1482
 
1483
+ # Can't tag resource. Verify that the topic exists.
1484
+ #
1485
+ # @!attribute [rw] message
1486
+ # @return [String]
1487
+ #
1488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ResourceNotFoundException AWS API Documentation
1489
+ #
1490
+ class ResourceNotFoundException < Struct.new(
1491
+ :message)
1492
+ include Aws::Structure
1493
+ end
1494
+
1265
1495
  # Input for SetEndpointAttributes action.
1266
1496
  #
1267
1497
  # @note When making an API call, you may pass SetEndpointAttributesInput
@@ -1585,6 +1815,19 @@ module Aws::SNS
1585
1815
  include Aws::Structure
1586
1816
  end
1587
1817
 
1818
+ # A tag has been added to a resource with the same ARN as a deleted
1819
+ # resource. Wait a short while and then retry the operation.
1820
+ #
1821
+ # @!attribute [rw] message
1822
+ # @return [String]
1823
+ #
1824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/StaleTagException AWS API Documentation
1825
+ #
1826
+ class StaleTagException < Struct.new(
1827
+ :message)
1828
+ include Aws::Structure
1829
+ end
1830
+
1588
1831
  # Input for Subscribe action.
1589
1832
  #
1590
1833
  # @note When making an API call, you may pass SubscribeInput
@@ -1750,6 +1993,19 @@ module Aws::SNS
1750
1993
  include Aws::Structure
1751
1994
  end
1752
1995
 
1996
+ # Indicates that the customer already owns the maximum allowed number of
1997
+ # subscriptions.
1998
+ #
1999
+ # @!attribute [rw] message
2000
+ # @return [String]
2001
+ #
2002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SubscriptionLimitExceededException AWS API Documentation
2003
+ #
2004
+ class SubscriptionLimitExceededException < Struct.new(
2005
+ :message)
2006
+ include Aws::Structure
2007
+ end
2008
+
1753
2009
  # The list of tags to be added to the specified topic.
1754
2010
  #
1755
2011
  # @note When making an API call, you may pass Tag
@@ -1776,6 +2032,31 @@ module Aws::SNS
1776
2032
  include Aws::Structure
1777
2033
  end
1778
2034
 
2035
+ # Can't add more than 50 tags to a topic.
2036
+ #
2037
+ # @!attribute [rw] message
2038
+ # @return [String]
2039
+ #
2040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/TagLimitExceededException AWS API Documentation
2041
+ #
2042
+ class TagLimitExceededException < Struct.new(
2043
+ :message)
2044
+ include Aws::Structure
2045
+ end
2046
+
2047
+ # The request doesn't comply with the IAM tag policy. Correct your
2048
+ # request and then retry it.
2049
+ #
2050
+ # @!attribute [rw] message
2051
+ # @return [String]
2052
+ #
2053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/TagPolicyException AWS API Documentation
2054
+ #
2055
+ class TagPolicyException < Struct.new(
2056
+ :message)
2057
+ include Aws::Structure
2058
+ end
2059
+
1779
2060
  # @note When making an API call, you may pass TagResourceRequest
1780
2061
  # data as a hash:
1781
2062
  #
@@ -1810,6 +2091,20 @@ module Aws::SNS
1810
2091
  #
1811
2092
  class TagResourceResponse < Aws::EmptyStructure; end
1812
2093
 
2094
+ # Indicates that the rate at which requests have been submitted for this
2095
+ # action exceeds the limit for your account.
2096
+ #
2097
+ # @!attribute [rw] message
2098
+ # Throttled request.
2099
+ # @return [String]
2100
+ #
2101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ThrottledException AWS API Documentation
2102
+ #
2103
+ class ThrottledException < Struct.new(
2104
+ :message)
2105
+ include Aws::Structure
2106
+ end
2107
+
1813
2108
  # A wrapper type for the topic's Amazon Resource Name (ARN). To
1814
2109
  # retrieve a topic's attributes, use `GetTopicAttributes`.
1815
2110
  #
@@ -1824,6 +2119,19 @@ module Aws::SNS
1824
2119
  include Aws::Structure
1825
2120
  end
1826
2121
 
2122
+ # Indicates that the customer already owns the maximum allowed number of
2123
+ # topics.
2124
+ #
2125
+ # @!attribute [rw] message
2126
+ # @return [String]
2127
+ #
2128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/TopicLimitExceededException AWS API Documentation
2129
+ #
2130
+ class TopicLimitExceededException < Struct.new(
2131
+ :message)
2132
+ include Aws::Structure
2133
+ end
2134
+
1827
2135
  # Input for Unsubscribe action.
1828
2136
  #
1829
2137
  # @note When making an API call, you may pass UnsubscribeInput
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.15.0
4
+ version: 1.16.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement