aws-sdk-chime 1.8.0 → 1.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4818a72877e4c4055710b4db14aba0fe6bcdbb97
4
- data.tar.gz: e181fda5fa263ae257d483613aab948205e9936d
3
+ metadata.gz: 849d981fff8cd29db3626f019173917cd1565b74
4
+ data.tar.gz: d10b1eff225b999a41d244a44ad8221df55241f2
5
5
  SHA512:
6
- metadata.gz: 02a0286bc413463ae628a7c6df28076f42d2b8610ca769c0eb9f338f68c667deebd8dcaae31f1b9ca45f2291c0551ab14ca053a2791f0b6d83d10ca23ea458ca
7
- data.tar.gz: c80a1bdca4b3013c09a56866105a0ce5da25e91b6819e5751a19d9d0c802e8d4be12453e9819ca982ea5c5b3019920c61ad7cf33d3e7a411709e82971ff72be6
6
+ metadata.gz: 8b8cfb84f809b4db5742dbdfce9cd31afd7432f967c41b22928c3ca426c685ff7961602c42b1cbce9dddac7f250c065f2459201282a12e04ec55842b27759f79
7
+ data.tar.gz: '0066925d099c348f9cb81e7e01aa1b1bfce578ab377976d892fd033d5a6e8264527d552bd3b69e80a904725bb6694ce1ca24bd3336053a508d25f277e6a88ab4'
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-chime/customizations'
42
42
  # @service
43
43
  module Aws::Chime
44
44
 
45
- GEM_VERSION = '1.8.0'
45
+ GEM_VERSION = '1.9.0'
46
46
 
47
47
  end
@@ -2520,7 +2520,7 @@ module Aws::Chime
2520
2520
  params: params,
2521
2521
  config: config)
2522
2522
  context[:gem_name] = 'aws-sdk-chime'
2523
- context[:gem_version] = '1.8.0'
2523
+ context[:gem_version] = '1.9.0'
2524
2524
  Seahorse::Client::Request.new(handlers, context)
2525
2525
  end
2526
2526
 
@@ -237,6 +237,10 @@ module Aws::Chime
237
237
  AssociatePhoneNumbersWithVoiceConnectorResponse.add_member(:phone_number_errors, Shapes::ShapeRef.new(shape: PhoneNumberErrorList, location_name: "PhoneNumberErrors"))
238
238
  AssociatePhoneNumbersWithVoiceConnectorResponse.struct_class = Types::AssociatePhoneNumbersWithVoiceConnectorResponse
239
239
 
240
+ BadRequestException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
241
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
242
+ BadRequestException.struct_class = Types::BadRequestException
243
+
240
244
  BatchDeletePhoneNumberRequest.add_member(:phone_number_ids, Shapes::ShapeRef.new(shape: NonEmptyStringList, required: true, location_name: "PhoneNumberIds"))
241
245
  BatchDeletePhoneNumberRequest.struct_class = Types::BatchDeletePhoneNumberRequest
242
246
 
@@ -288,6 +292,10 @@ module Aws::Chime
288
292
 
289
293
  CallingRegionList.member = Shapes::ShapeRef.new(shape: CallingRegion)
290
294
 
295
+ ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
296
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
297
+ ConflictException.struct_class = Types::ConflictException
298
+
291
299
  CreateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, required: true, location_name: "Name"))
292
300
  CreateAccountRequest.struct_class = Types::CreateAccountRequest
293
301
 
@@ -367,6 +375,10 @@ module Aws::Chime
367
375
  EventsConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "LambdaFunctionArn"))
368
376
  EventsConfiguration.struct_class = Types::EventsConfiguration
369
377
 
378
+ ForbiddenException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
379
+ ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
380
+ ForbiddenException.struct_class = Types::ForbiddenException
381
+
370
382
  GetAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
371
383
  GetAccountRequest.struct_class = Types::GetAccountRequest
372
384
 
@@ -535,6 +547,10 @@ module Aws::Chime
535
547
 
536
548
  NonEmptyStringList.member = Shapes::ShapeRef.new(shape: String)
537
549
 
550
+ NotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
551
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
552
+ NotFoundException.struct_class = Types::NotFoundException
553
+
538
554
  OrderedPhoneNumber.add_member(:e164_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, location_name: "E164PhoneNumber"))
539
555
  OrderedPhoneNumber.add_member(:status, Shapes::ShapeRef.new(shape: OrderedPhoneNumberStatus, location_name: "Status"))
540
556
  OrderedPhoneNumber.struct_class = Types::OrderedPhoneNumber
@@ -640,6 +656,10 @@ module Aws::Chime
640
656
  ResetPersonalPINResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
641
657
  ResetPersonalPINResponse.struct_class = Types::ResetPersonalPINResponse
642
658
 
659
+ ResourceLimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
660
+ ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
661
+ ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
662
+
643
663
  RestorePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "phoneNumberId"))
644
664
  RestorePhoneNumberRequest.struct_class = Types::RestorePhoneNumberRequest
645
665
 
@@ -659,6 +679,14 @@ module Aws::Chime
659
679
 
660
680
  SensitiveStringList.member = Shapes::ShapeRef.new(shape: SensitiveString)
661
681
 
682
+ ServiceFailureException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
683
+ ServiceFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
684
+ ServiceFailureException.struct_class = Types::ServiceFailureException
685
+
686
+ ServiceUnavailableException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
687
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
688
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
689
+
662
690
  StringList.member = Shapes::ShapeRef.new(shape: String)
663
691
 
664
692
  TelephonySettings.add_member(:inbound_calling, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "InboundCalling"))
@@ -677,6 +705,18 @@ module Aws::Chime
677
705
  TerminationHealth.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "Source"))
678
706
  TerminationHealth.struct_class = Types::TerminationHealth
679
707
 
708
+ ThrottledClientException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
709
+ ThrottledClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
710
+ ThrottledClientException.struct_class = Types::ThrottledClientException
711
+
712
+ UnauthorizedClientException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
713
+ UnauthorizedClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
714
+ UnauthorizedClientException.struct_class = Types::UnauthorizedClientException
715
+
716
+ UnprocessableEntityException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
717
+ UnprocessableEntityException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
718
+ UnprocessableEntityException.struct_class = Types::UnprocessableEntityException
719
+
680
720
  UpdateAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
681
721
  UpdateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, location_name: "Name"))
682
722
  UpdateAccountRequest.struct_class = Types::UpdateAccountRequest
@@ -10,5 +10,215 @@ module Aws::Chime
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BadRequestException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Chime::Types::BadRequestException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def code
24
+ @code || @data[:code]
25
+ end
26
+
27
+ # @return [String]
28
+ def message
29
+ @message || @data[:message]
30
+ end
31
+
32
+ end
33
+
34
+ class ConflictException < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::Chime::Types::ConflictException] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def code
45
+ @code || @data[:code]
46
+ end
47
+
48
+ # @return [String]
49
+ def message
50
+ @message || @data[:message]
51
+ end
52
+
53
+ end
54
+
55
+ class ForbiddenException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::Chime::Types::ForbiddenException] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def code
66
+ @code || @data[:code]
67
+ end
68
+
69
+ # @return [String]
70
+ def message
71
+ @message || @data[:message]
72
+ end
73
+
74
+ end
75
+
76
+ class NotFoundException < ServiceError
77
+
78
+ # @param [Seahorse::Client::RequestContext] context
79
+ # @param [String] message
80
+ # @param [Aws::Chime::Types::NotFoundException] data
81
+ def initialize(context, message, data = Aws::EmptyStructure.new)
82
+ super(context, message, data)
83
+ end
84
+
85
+ # @return [String]
86
+ def code
87
+ @code || @data[:code]
88
+ end
89
+
90
+ # @return [String]
91
+ def message
92
+ @message || @data[:message]
93
+ end
94
+
95
+ end
96
+
97
+ class ResourceLimitExceededException < ServiceError
98
+
99
+ # @param [Seahorse::Client::RequestContext] context
100
+ # @param [String] message
101
+ # @param [Aws::Chime::Types::ResourceLimitExceededException] data
102
+ def initialize(context, message, data = Aws::EmptyStructure.new)
103
+ super(context, message, data)
104
+ end
105
+
106
+ # @return [String]
107
+ def code
108
+ @code || @data[:code]
109
+ end
110
+
111
+ # @return [String]
112
+ def message
113
+ @message || @data[:message]
114
+ end
115
+
116
+ end
117
+
118
+ class ServiceFailureException < ServiceError
119
+
120
+ # @param [Seahorse::Client::RequestContext] context
121
+ # @param [String] message
122
+ # @param [Aws::Chime::Types::ServiceFailureException] data
123
+ def initialize(context, message, data = Aws::EmptyStructure.new)
124
+ super(context, message, data)
125
+ end
126
+
127
+ # @return [String]
128
+ def code
129
+ @code || @data[:code]
130
+ end
131
+
132
+ # @return [String]
133
+ def message
134
+ @message || @data[:message]
135
+ end
136
+
137
+ end
138
+
139
+ class ServiceUnavailableException < ServiceError
140
+
141
+ # @param [Seahorse::Client::RequestContext] context
142
+ # @param [String] message
143
+ # @param [Aws::Chime::Types::ServiceUnavailableException] data
144
+ def initialize(context, message, data = Aws::EmptyStructure.new)
145
+ super(context, message, data)
146
+ end
147
+
148
+ # @return [String]
149
+ def code
150
+ @code || @data[:code]
151
+ end
152
+
153
+ # @return [String]
154
+ def message
155
+ @message || @data[:message]
156
+ end
157
+
158
+ end
159
+
160
+ class ThrottledClientException < ServiceError
161
+
162
+ # @param [Seahorse::Client::RequestContext] context
163
+ # @param [String] message
164
+ # @param [Aws::Chime::Types::ThrottledClientException] data
165
+ def initialize(context, message, data = Aws::EmptyStructure.new)
166
+ super(context, message, data)
167
+ end
168
+
169
+ # @return [String]
170
+ def code
171
+ @code || @data[:code]
172
+ end
173
+
174
+ # @return [String]
175
+ def message
176
+ @message || @data[:message]
177
+ end
178
+
179
+ end
180
+
181
+ class UnauthorizedClientException < ServiceError
182
+
183
+ # @param [Seahorse::Client::RequestContext] context
184
+ # @param [String] message
185
+ # @param [Aws::Chime::Types::UnauthorizedClientException] data
186
+ def initialize(context, message, data = Aws::EmptyStructure.new)
187
+ super(context, message, data)
188
+ end
189
+
190
+ # @return [String]
191
+ def code
192
+ @code || @data[:code]
193
+ end
194
+
195
+ # @return [String]
196
+ def message
197
+ @message || @data[:message]
198
+ end
199
+
200
+ end
201
+
202
+ class UnprocessableEntityException < ServiceError
203
+
204
+ # @param [Seahorse::Client::RequestContext] context
205
+ # @param [String] message
206
+ # @param [Aws::Chime::Types::UnprocessableEntityException] data
207
+ def initialize(context, message, data = Aws::EmptyStructure.new)
208
+ super(context, message, data)
209
+ end
210
+
211
+ # @return [String]
212
+ def code
213
+ @code || @data[:code]
214
+ end
215
+
216
+ # @return [String]
217
+ def message
218
+ @message || @data[:message]
219
+ end
220
+
221
+ end
222
+
13
223
  end
14
224
  end
@@ -170,6 +170,22 @@ module Aws::Chime
170
170
  include Aws::Structure
171
171
  end
172
172
 
173
+ # The input parameters don't match the service's restrictions.
174
+ #
175
+ # @!attribute [rw] code
176
+ # @return [String]
177
+ #
178
+ # @!attribute [rw] message
179
+ # @return [String]
180
+ #
181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BadRequestException AWS API Documentation
182
+ #
183
+ class BadRequestException < Struct.new(
184
+ :code,
185
+ :message)
186
+ include Aws::Structure
187
+ end
188
+
173
189
  # @note When making an API call, you may pass BatchDeletePhoneNumberRequest
174
190
  # data as a hash:
175
191
  #
@@ -431,6 +447,23 @@ module Aws::Chime
431
447
  include Aws::Structure
432
448
  end
433
449
 
450
+ # The request could not be processed because of conflict in the current
451
+ # state of the resource.
452
+ #
453
+ # @!attribute [rw] code
454
+ # @return [String]
455
+ #
456
+ # @!attribute [rw] message
457
+ # @return [String]
458
+ #
459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ConflictException AWS API Documentation
460
+ #
461
+ class ConflictException < Struct.new(
462
+ :code,
463
+ :message)
464
+ include Aws::Structure
465
+ end
466
+
434
467
  # @note When making an API call, you may pass CreateAccountRequest
435
468
  # data as a hash:
436
469
  #
@@ -833,6 +866,24 @@ module Aws::Chime
833
866
  include Aws::Structure
834
867
  end
835
868
 
869
+ # The client is permanently forbidden from making the request. For
870
+ # example, when a user tries to create an account from an unsupported
871
+ # Region.
872
+ #
873
+ # @!attribute [rw] code
874
+ # @return [String]
875
+ #
876
+ # @!attribute [rw] message
877
+ # @return [String]
878
+ #
879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ForbiddenException AWS API Documentation
880
+ #
881
+ class ForbiddenException < Struct.new(
882
+ :code,
883
+ :message)
884
+ include Aws::Structure
885
+ end
886
+
836
887
  # @note When making an API call, you may pass GetAccountRequest
837
888
  # data as a hash:
838
889
  #
@@ -1639,6 +1690,23 @@ module Aws::Chime
1639
1690
  #
1640
1691
  class LogoutUserResponse < Aws::EmptyStructure; end
1641
1692
 
1693
+ # One or more of the resources in the request does not exist in the
1694
+ # system.
1695
+ #
1696
+ # @!attribute [rw] code
1697
+ # @return [String]
1698
+ #
1699
+ # @!attribute [rw] message
1700
+ # @return [String]
1701
+ #
1702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/NotFoundException AWS API Documentation
1703
+ #
1704
+ class NotFoundException < Struct.new(
1705
+ :code,
1706
+ :message)
1707
+ include Aws::Structure
1708
+ end
1709
+
1642
1710
  # A phone number for which an order has been placed.
1643
1711
  #
1644
1712
  # @!attribute [rw] e164_phone_number
@@ -2165,6 +2233,22 @@ module Aws::Chime
2165
2233
  include Aws::Structure
2166
2234
  end
2167
2235
 
2236
+ # The request exceeds the resource limit.
2237
+ #
2238
+ # @!attribute [rw] code
2239
+ # @return [String]
2240
+ #
2241
+ # @!attribute [rw] message
2242
+ # @return [String]
2243
+ #
2244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResourceLimitExceededException AWS API Documentation
2245
+ #
2246
+ class ResourceLimitExceededException < Struct.new(
2247
+ :code,
2248
+ :message)
2249
+ include Aws::Structure
2250
+ end
2251
+
2168
2252
  # @note When making an API call, you may pass RestorePhoneNumberRequest
2169
2253
  # data as a hash:
2170
2254
  #
@@ -2253,6 +2337,38 @@ module Aws::Chime
2253
2337
  include Aws::Structure
2254
2338
  end
2255
2339
 
2340
+ # The service encountered an unexpected error.
2341
+ #
2342
+ # @!attribute [rw] code
2343
+ # @return [String]
2344
+ #
2345
+ # @!attribute [rw] message
2346
+ # @return [String]
2347
+ #
2348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ServiceFailureException AWS API Documentation
2349
+ #
2350
+ class ServiceFailureException < Struct.new(
2351
+ :code,
2352
+ :message)
2353
+ include Aws::Structure
2354
+ end
2355
+
2356
+ # The service is currently unavailable.
2357
+ #
2358
+ # @!attribute [rw] code
2359
+ # @return [String]
2360
+ #
2361
+ # @!attribute [rw] message
2362
+ # @return [String]
2363
+ #
2364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ServiceUnavailableException AWS API Documentation
2365
+ #
2366
+ class ServiceUnavailableException < Struct.new(
2367
+ :code,
2368
+ :message)
2369
+ include Aws::Structure
2370
+ end
2371
+
2256
2372
  # Settings that allow management of telephony permissions for an Amazon
2257
2373
  # Chime user, such as inbound and outbound calling and text messaging.
2258
2374
  #
@@ -2353,6 +2469,55 @@ module Aws::Chime
2353
2469
  include Aws::Structure
2354
2470
  end
2355
2471
 
2472
+ # The client exceeded its request rate limit.
2473
+ #
2474
+ # @!attribute [rw] code
2475
+ # @return [String]
2476
+ #
2477
+ # @!attribute [rw] message
2478
+ # @return [String]
2479
+ #
2480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ThrottledClientException AWS API Documentation
2481
+ #
2482
+ class ThrottledClientException < Struct.new(
2483
+ :code,
2484
+ :message)
2485
+ include Aws::Structure
2486
+ end
2487
+
2488
+ # The client is not currently authorized to make the request.
2489
+ #
2490
+ # @!attribute [rw] code
2491
+ # @return [String]
2492
+ #
2493
+ # @!attribute [rw] message
2494
+ # @return [String]
2495
+ #
2496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UnauthorizedClientException AWS API Documentation
2497
+ #
2498
+ class UnauthorizedClientException < Struct.new(
2499
+ :code,
2500
+ :message)
2501
+ include Aws::Structure
2502
+ end
2503
+
2504
+ # The request was well-formed but was unable to be followed due to
2505
+ # semantic errors.
2506
+ #
2507
+ # @!attribute [rw] code
2508
+ # @return [String]
2509
+ #
2510
+ # @!attribute [rw] message
2511
+ # @return [String]
2512
+ #
2513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UnprocessableEntityException AWS API Documentation
2514
+ #
2515
+ class UnprocessableEntityException < Struct.new(
2516
+ :code,
2517
+ :message)
2518
+ include Aws::Structure
2519
+ end
2520
+
2356
2521
  # @note When making an API call, you may pass UpdateAccountRequest
2357
2522
  # data as a hash:
2358
2523
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-chime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.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