aws-sdk-chime 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,19 +16,48 @@ module Aws::Chime
16
16
  AccountName = Shapes::StringShape.new(name: 'AccountName')
17
17
  AccountSettings = Shapes::StructureShape.new(name: 'AccountSettings')
18
18
  AccountType = Shapes::StringShape.new(name: 'AccountType')
19
+ AssociatePhoneNumberWithUserRequest = Shapes::StructureShape.new(name: 'AssociatePhoneNumberWithUserRequest')
20
+ AssociatePhoneNumberWithUserResponse = Shapes::StructureShape.new(name: 'AssociatePhoneNumberWithUserResponse')
21
+ AssociatePhoneNumbersWithVoiceConnectorRequest = Shapes::StructureShape.new(name: 'AssociatePhoneNumbersWithVoiceConnectorRequest')
22
+ AssociatePhoneNumbersWithVoiceConnectorResponse = Shapes::StructureShape.new(name: 'AssociatePhoneNumbersWithVoiceConnectorResponse')
19
23
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
24
+ BatchDeletePhoneNumberRequest = Shapes::StructureShape.new(name: 'BatchDeletePhoneNumberRequest')
25
+ BatchDeletePhoneNumberResponse = Shapes::StructureShape.new(name: 'BatchDeletePhoneNumberResponse')
20
26
  BatchSuspendUserRequest = Shapes::StructureShape.new(name: 'BatchSuspendUserRequest')
21
27
  BatchSuspendUserResponse = Shapes::StructureShape.new(name: 'BatchSuspendUserResponse')
22
28
  BatchUnsuspendUserRequest = Shapes::StructureShape.new(name: 'BatchUnsuspendUserRequest')
23
29
  BatchUnsuspendUserResponse = Shapes::StructureShape.new(name: 'BatchUnsuspendUserResponse')
30
+ BatchUpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'BatchUpdatePhoneNumberRequest')
31
+ BatchUpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'BatchUpdatePhoneNumberResponse')
24
32
  BatchUpdateUserRequest = Shapes::StructureShape.new(name: 'BatchUpdateUserRequest')
25
33
  BatchUpdateUserResponse = Shapes::StructureShape.new(name: 'BatchUpdateUserResponse')
26
34
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
35
+ BusinessCallingSettings = Shapes::StructureShape.new(name: 'BusinessCallingSettings')
36
+ CallingRegion = Shapes::StringShape.new(name: 'CallingRegion')
37
+ CallingRegionList = Shapes::ListShape.new(name: 'CallingRegionList')
27
38
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
39
+ CpsLimit = Shapes::IntegerShape.new(name: 'CpsLimit')
28
40
  CreateAccountRequest = Shapes::StructureShape.new(name: 'CreateAccountRequest')
29
41
  CreateAccountResponse = Shapes::StructureShape.new(name: 'CreateAccountResponse')
42
+ CreatePhoneNumberOrderRequest = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderRequest')
43
+ CreatePhoneNumberOrderResponse = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderResponse')
44
+ CreateVoiceConnectorRequest = Shapes::StructureShape.new(name: 'CreateVoiceConnectorRequest')
45
+ CreateVoiceConnectorResponse = Shapes::StructureShape.new(name: 'CreateVoiceConnectorResponse')
46
+ Credential = Shapes::StructureShape.new(name: 'Credential')
47
+ CredentialList = Shapes::ListShape.new(name: 'CredentialList')
30
48
  DeleteAccountRequest = Shapes::StructureShape.new(name: 'DeleteAccountRequest')
31
49
  DeleteAccountResponse = Shapes::StructureShape.new(name: 'DeleteAccountResponse')
50
+ DeletePhoneNumberRequest = Shapes::StructureShape.new(name: 'DeletePhoneNumberRequest')
51
+ DeleteVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorOriginationRequest')
52
+ DeleteVoiceConnectorRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorRequest')
53
+ DeleteVoiceConnectorTerminationCredentialsRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorTerminationCredentialsRequest')
54
+ DeleteVoiceConnectorTerminationRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorTerminationRequest')
55
+ DisassociatePhoneNumberFromUserRequest = Shapes::StructureShape.new(name: 'DisassociatePhoneNumberFromUserRequest')
56
+ DisassociatePhoneNumberFromUserResponse = Shapes::StructureShape.new(name: 'DisassociatePhoneNumberFromUserResponse')
57
+ DisassociatePhoneNumbersFromVoiceConnectorRequest = Shapes::StructureShape.new(name: 'DisassociatePhoneNumbersFromVoiceConnectorRequest')
58
+ DisassociatePhoneNumbersFromVoiceConnectorResponse = Shapes::StructureShape.new(name: 'DisassociatePhoneNumbersFromVoiceConnectorResponse')
59
+ E164PhoneNumber = Shapes::StringShape.new(name: 'E164PhoneNumber')
60
+ E164PhoneNumberList = Shapes::ListShape.new(name: 'E164PhoneNumberList')
32
61
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
33
62
  EmailStatus = Shapes::StringShape.new(name: 'EmailStatus')
34
63
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
@@ -37,8 +66,24 @@ module Aws::Chime
37
66
  GetAccountResponse = Shapes::StructureShape.new(name: 'GetAccountResponse')
38
67
  GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
39
68
  GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
69
+ GetGlobalSettingsResponse = Shapes::StructureShape.new(name: 'GetGlobalSettingsResponse')
70
+ GetPhoneNumberOrderRequest = Shapes::StructureShape.new(name: 'GetPhoneNumberOrderRequest')
71
+ GetPhoneNumberOrderResponse = Shapes::StructureShape.new(name: 'GetPhoneNumberOrderResponse')
72
+ GetPhoneNumberRequest = Shapes::StructureShape.new(name: 'GetPhoneNumberRequest')
73
+ GetPhoneNumberResponse = Shapes::StructureShape.new(name: 'GetPhoneNumberResponse')
40
74
  GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
41
75
  GetUserResponse = Shapes::StructureShape.new(name: 'GetUserResponse')
76
+ GetUserSettingsRequest = Shapes::StructureShape.new(name: 'GetUserSettingsRequest')
77
+ GetUserSettingsResponse = Shapes::StructureShape.new(name: 'GetUserSettingsResponse')
78
+ GetVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'GetVoiceConnectorOriginationRequest')
79
+ GetVoiceConnectorOriginationResponse = Shapes::StructureShape.new(name: 'GetVoiceConnectorOriginationResponse')
80
+ GetVoiceConnectorRequest = Shapes::StructureShape.new(name: 'GetVoiceConnectorRequest')
81
+ GetVoiceConnectorResponse = Shapes::StructureShape.new(name: 'GetVoiceConnectorResponse')
82
+ GetVoiceConnectorTerminationHealthRequest = Shapes::StructureShape.new(name: 'GetVoiceConnectorTerminationHealthRequest')
83
+ GetVoiceConnectorTerminationHealthResponse = Shapes::StructureShape.new(name: 'GetVoiceConnectorTerminationHealthResponse')
84
+ GetVoiceConnectorTerminationRequest = Shapes::StructureShape.new(name: 'GetVoiceConnectorTerminationRequest')
85
+ GetVoiceConnectorTerminationResponse = Shapes::StructureShape.new(name: 'GetVoiceConnectorTerminationResponse')
86
+ GuidString = Shapes::StringShape.new(name: 'GuidString')
42
87
  Invite = Shapes::StructureShape.new(name: 'Invite')
43
88
  InviteList = Shapes::ListShape.new(name: 'InviteList')
44
89
  InviteStatus = Shapes::StringShape.new(name: 'InviteStatus')
@@ -49,20 +94,69 @@ module Aws::Chime
49
94
  LicenseList = Shapes::ListShape.new(name: 'LicenseList')
50
95
  ListAccountsRequest = Shapes::StructureShape.new(name: 'ListAccountsRequest')
51
96
  ListAccountsResponse = Shapes::StructureShape.new(name: 'ListAccountsResponse')
97
+ ListPhoneNumberOrdersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumberOrdersRequest')
98
+ ListPhoneNumberOrdersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumberOrdersResponse')
99
+ ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
100
+ ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
52
101
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
53
102
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
103
+ ListVoiceConnectorTerminationCredentialsRequest = Shapes::StructureShape.new(name: 'ListVoiceConnectorTerminationCredentialsRequest')
104
+ ListVoiceConnectorTerminationCredentialsResponse = Shapes::StructureShape.new(name: 'ListVoiceConnectorTerminationCredentialsResponse')
105
+ ListVoiceConnectorsRequest = Shapes::StructureShape.new(name: 'ListVoiceConnectorsRequest')
106
+ ListVoiceConnectorsResponse = Shapes::StructureShape.new(name: 'ListVoiceConnectorsResponse')
54
107
  LogoutUserRequest = Shapes::StructureShape.new(name: 'LogoutUserRequest')
55
108
  LogoutUserResponse = Shapes::StructureShape.new(name: 'LogoutUserResponse')
56
109
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
110
+ NonEmptyStringList = Shapes::ListShape.new(name: 'NonEmptyStringList')
57
111
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
112
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
113
+ OrderedPhoneNumber = Shapes::StructureShape.new(name: 'OrderedPhoneNumber')
114
+ OrderedPhoneNumberList = Shapes::ListShape.new(name: 'OrderedPhoneNumberList')
115
+ OrderedPhoneNumberStatus = Shapes::StringShape.new(name: 'OrderedPhoneNumberStatus')
116
+ Origination = Shapes::StructureShape.new(name: 'Origination')
117
+ OriginationRoute = Shapes::StructureShape.new(name: 'OriginationRoute')
118
+ OriginationRouteList = Shapes::ListShape.new(name: 'OriginationRouteList')
119
+ OriginationRoutePriority = Shapes::IntegerShape.new(name: 'OriginationRoutePriority')
120
+ OriginationRouteProtocol = Shapes::StringShape.new(name: 'OriginationRouteProtocol')
121
+ OriginationRouteWeight = Shapes::IntegerShape.new(name: 'OriginationRouteWeight')
122
+ PhoneNumber = Shapes::StructureShape.new(name: 'PhoneNumber')
123
+ PhoneNumberAssociation = Shapes::StructureShape.new(name: 'PhoneNumberAssociation')
124
+ PhoneNumberAssociationList = Shapes::ListShape.new(name: 'PhoneNumberAssociationList')
125
+ PhoneNumberAssociationName = Shapes::StringShape.new(name: 'PhoneNumberAssociationName')
126
+ PhoneNumberCapabilities = Shapes::StructureShape.new(name: 'PhoneNumberCapabilities')
127
+ PhoneNumberError = Shapes::StructureShape.new(name: 'PhoneNumberError')
128
+ PhoneNumberErrorList = Shapes::ListShape.new(name: 'PhoneNumberErrorList')
129
+ PhoneNumberList = Shapes::ListShape.new(name: 'PhoneNumberList')
130
+ PhoneNumberMaxResults = Shapes::IntegerShape.new(name: 'PhoneNumberMaxResults')
131
+ PhoneNumberOrder = Shapes::StructureShape.new(name: 'PhoneNumberOrder')
132
+ PhoneNumberOrderList = Shapes::ListShape.new(name: 'PhoneNumberOrderList')
133
+ PhoneNumberOrderStatus = Shapes::StringShape.new(name: 'PhoneNumberOrderStatus')
134
+ PhoneNumberProductType = Shapes::StringShape.new(name: 'PhoneNumberProductType')
135
+ PhoneNumberStatus = Shapes::StringShape.new(name: 'PhoneNumberStatus')
136
+ Port = Shapes::IntegerShape.new(name: 'Port')
58
137
  ProfileServiceMaxResults = Shapes::IntegerShape.new(name: 'ProfileServiceMaxResults')
138
+ PutVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationRequest')
139
+ PutVoiceConnectorOriginationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationResponse')
140
+ PutVoiceConnectorTerminationCredentialsRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationCredentialsRequest')
141
+ PutVoiceConnectorTerminationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationRequest')
142
+ PutVoiceConnectorTerminationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationResponse')
59
143
  RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
60
144
  ResetPersonalPINRequest = Shapes::StructureShape.new(name: 'ResetPersonalPINRequest')
61
145
  ResetPersonalPINResponse = Shapes::StructureShape.new(name: 'ResetPersonalPINResponse')
146
+ RestorePhoneNumberRequest = Shapes::StructureShape.new(name: 'RestorePhoneNumberRequest')
147
+ RestorePhoneNumberResponse = Shapes::StructureShape.new(name: 'RestorePhoneNumberResponse')
148
+ ResultMax = Shapes::IntegerShape.new(name: 'ResultMax')
149
+ SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
150
+ SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
62
151
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
152
+ SensitiveStringList = Shapes::ListShape.new(name: 'SensitiveStringList')
63
153
  ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException')
64
154
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
65
155
  String = Shapes::StringShape.new(name: 'String')
156
+ StringList = Shapes::ListShape.new(name: 'StringList')
157
+ TelephonySettings = Shapes::StructureShape.new(name: 'TelephonySettings')
158
+ Termination = Shapes::StructureShape.new(name: 'Termination')
159
+ TerminationHealth = Shapes::StructureShape.new(name: 'TerminationHealth')
66
160
  ThrottledClientException = Shapes::StructureShape.new(name: 'ThrottledClientException')
67
161
  UnauthorizedClientException = Shapes::StructureShape.new(name: 'UnauthorizedClientException')
68
162
  UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
@@ -70,16 +164,29 @@ module Aws::Chime
70
164
  UpdateAccountResponse = Shapes::StructureShape.new(name: 'UpdateAccountResponse')
71
165
  UpdateAccountSettingsRequest = Shapes::StructureShape.new(name: 'UpdateAccountSettingsRequest')
72
166
  UpdateAccountSettingsResponse = Shapes::StructureShape.new(name: 'UpdateAccountSettingsResponse')
167
+ UpdateGlobalSettingsRequest = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsRequest')
168
+ UpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequest')
169
+ UpdatePhoneNumberRequestItem = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequestItem')
170
+ UpdatePhoneNumberRequestItemList = Shapes::ListShape.new(name: 'UpdatePhoneNumberRequestItemList')
171
+ UpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResponse')
73
172
  UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
74
173
  UpdateUserRequestItem = Shapes::StructureShape.new(name: 'UpdateUserRequestItem')
75
174
  UpdateUserRequestItemList = Shapes::ListShape.new(name: 'UpdateUserRequestItemList')
76
175
  UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse')
176
+ UpdateUserSettingsRequest = Shapes::StructureShape.new(name: 'UpdateUserSettingsRequest')
177
+ UpdateVoiceConnectorRequest = Shapes::StructureShape.new(name: 'UpdateVoiceConnectorRequest')
178
+ UpdateVoiceConnectorResponse = Shapes::StructureShape.new(name: 'UpdateVoiceConnectorResponse')
77
179
  User = Shapes::StructureShape.new(name: 'User')
78
180
  UserEmailList = Shapes::ListShape.new(name: 'UserEmailList')
79
181
  UserError = Shapes::StructureShape.new(name: 'UserError')
80
182
  UserErrorList = Shapes::ListShape.new(name: 'UserErrorList')
81
183
  UserIdList = Shapes::ListShape.new(name: 'UserIdList')
82
184
  UserList = Shapes::ListShape.new(name: 'UserList')
185
+ UserSettings = Shapes::StructureShape.new(name: 'UserSettings')
186
+ VoiceConnector = Shapes::StructureShape.new(name: 'VoiceConnector')
187
+ VoiceConnectorList = Shapes::ListShape.new(name: 'VoiceConnectorList')
188
+ VoiceConnectorName = Shapes::StringShape.new(name: 'VoiceConnectorName')
189
+ VoiceConnectorSettings = Shapes::StructureShape.new(name: 'VoiceConnectorSettings')
83
190
 
84
191
  Account.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AwsAccountId"))
85
192
  Account.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountId"))
@@ -96,6 +203,26 @@ module Aws::Chime
96
203
  AccountSettings.add_member(:enable_dial_out, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableDialOut"))
97
204
  AccountSettings.struct_class = Types::AccountSettings
98
205
 
206
+ AssociatePhoneNumberWithUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "accountId"))
207
+ AssociatePhoneNumberWithUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "userId"))
208
+ AssociatePhoneNumberWithUserRequest.add_member(:e164_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, required: true, location_name: "E164PhoneNumber"))
209
+ AssociatePhoneNumberWithUserRequest.struct_class = Types::AssociatePhoneNumberWithUserRequest
210
+
211
+ AssociatePhoneNumberWithUserResponse.struct_class = Types::AssociatePhoneNumberWithUserResponse
212
+
213
+ AssociatePhoneNumbersWithVoiceConnectorRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
214
+ AssociatePhoneNumbersWithVoiceConnectorRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, location_name: "E164PhoneNumbers"))
215
+ AssociatePhoneNumbersWithVoiceConnectorRequest.struct_class = Types::AssociatePhoneNumbersWithVoiceConnectorRequest
216
+
217
+ AssociatePhoneNumbersWithVoiceConnectorResponse.add_member(:phone_number_errors, Shapes::ShapeRef.new(shape: PhoneNumberErrorList, location_name: "PhoneNumberErrors"))
218
+ AssociatePhoneNumbersWithVoiceConnectorResponse.struct_class = Types::AssociatePhoneNumbersWithVoiceConnectorResponse
219
+
220
+ BatchDeletePhoneNumberRequest.add_member(:phone_number_ids, Shapes::ShapeRef.new(shape: NonEmptyStringList, required: true, location_name: "PhoneNumberIds"))
221
+ BatchDeletePhoneNumberRequest.struct_class = Types::BatchDeletePhoneNumberRequest
222
+
223
+ BatchDeletePhoneNumberResponse.add_member(:phone_number_errors, Shapes::ShapeRef.new(shape: PhoneNumberErrorList, location_name: "PhoneNumberErrors"))
224
+ BatchDeletePhoneNumberResponse.struct_class = Types::BatchDeletePhoneNumberResponse
225
+
99
226
  BatchSuspendUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
100
227
  BatchSuspendUserRequest.add_member(:user_id_list, Shapes::ShapeRef.new(shape: UserIdList, required: true, location_name: "UserIdList"))
101
228
  BatchSuspendUserRequest.struct_class = Types::BatchSuspendUserRequest
@@ -110,6 +237,12 @@ module Aws::Chime
110
237
  BatchUnsuspendUserResponse.add_member(:user_errors, Shapes::ShapeRef.new(shape: UserErrorList, location_name: "UserErrors"))
111
238
  BatchUnsuspendUserResponse.struct_class = Types::BatchUnsuspendUserResponse
112
239
 
240
+ BatchUpdatePhoneNumberRequest.add_member(:update_phone_number_request_items, Shapes::ShapeRef.new(shape: UpdatePhoneNumberRequestItemList, required: true, location_name: "UpdatePhoneNumberRequestItems"))
241
+ BatchUpdatePhoneNumberRequest.struct_class = Types::BatchUpdatePhoneNumberRequest
242
+
243
+ BatchUpdatePhoneNumberResponse.add_member(:phone_number_errors, Shapes::ShapeRef.new(shape: PhoneNumberErrorList, location_name: "PhoneNumberErrors"))
244
+ BatchUpdatePhoneNumberResponse.struct_class = Types::BatchUpdatePhoneNumberResponse
245
+
113
246
  BatchUpdateUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
114
247
  BatchUpdateUserRequest.add_member(:update_user_request_items, Shapes::ShapeRef.new(shape: UpdateUserRequestItemList, required: true, location_name: "UpdateUserRequestItems"))
115
248
  BatchUpdateUserRequest.struct_class = Types::BatchUpdateUserRequest
@@ -117,17 +250,73 @@ module Aws::Chime
117
250
  BatchUpdateUserResponse.add_member(:user_errors, Shapes::ShapeRef.new(shape: UserErrorList, location_name: "UserErrors"))
118
251
  BatchUpdateUserResponse.struct_class = Types::BatchUpdateUserResponse
119
252
 
253
+ BusinessCallingSettings.add_member(:cdr_bucket, Shapes::ShapeRef.new(shape: String, location_name: "CdrBucket", metadata: {"box"=>true}))
254
+ BusinessCallingSettings.struct_class = Types::BusinessCallingSettings
255
+
256
+ CallingRegionList.member = Shapes::ShapeRef.new(shape: CallingRegion)
257
+
120
258
  CreateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, required: true, location_name: "Name"))
121
259
  CreateAccountRequest.struct_class = Types::CreateAccountRequest
122
260
 
123
261
  CreateAccountResponse.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account"))
124
262
  CreateAccountResponse.struct_class = Types::CreateAccountResponse
125
263
 
264
+ CreatePhoneNumberOrderRequest.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, required: true, location_name: "ProductType"))
265
+ CreatePhoneNumberOrderRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, required: true, location_name: "E164PhoneNumbers"))
266
+ CreatePhoneNumberOrderRequest.struct_class = Types::CreatePhoneNumberOrderRequest
267
+
268
+ CreatePhoneNumberOrderResponse.add_member(:phone_number_order, Shapes::ShapeRef.new(shape: PhoneNumberOrder, location_name: "PhoneNumberOrder"))
269
+ CreatePhoneNumberOrderResponse.struct_class = Types::CreatePhoneNumberOrderResponse
270
+
271
+ CreateVoiceConnectorRequest.add_member(:name, Shapes::ShapeRef.new(shape: VoiceConnectorName, required: true, location_name: "Name"))
272
+ CreateVoiceConnectorRequest.add_member(:require_encryption, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "RequireEncryption"))
273
+ CreateVoiceConnectorRequest.struct_class = Types::CreateVoiceConnectorRequest
274
+
275
+ CreateVoiceConnectorResponse.add_member(:voice_connector, Shapes::ShapeRef.new(shape: VoiceConnector, location_name: "VoiceConnector"))
276
+ CreateVoiceConnectorResponse.struct_class = Types::CreateVoiceConnectorResponse
277
+
278
+ Credential.add_member(:username, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Username"))
279
+ Credential.add_member(:password, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Password"))
280
+ Credential.struct_class = Types::Credential
281
+
282
+ CredentialList.member = Shapes::ShapeRef.new(shape: Credential)
283
+
126
284
  DeleteAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
127
285
  DeleteAccountRequest.struct_class = Types::DeleteAccountRequest
128
286
 
129
287
  DeleteAccountResponse.struct_class = Types::DeleteAccountResponse
130
288
 
289
+ DeletePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "phoneNumberId"))
290
+ DeletePhoneNumberRequest.struct_class = Types::DeletePhoneNumberRequest
291
+
292
+ DeleteVoiceConnectorOriginationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
293
+ DeleteVoiceConnectorOriginationRequest.struct_class = Types::DeleteVoiceConnectorOriginationRequest
294
+
295
+ DeleteVoiceConnectorRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
296
+ DeleteVoiceConnectorRequest.struct_class = Types::DeleteVoiceConnectorRequest
297
+
298
+ DeleteVoiceConnectorTerminationCredentialsRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
299
+ DeleteVoiceConnectorTerminationCredentialsRequest.add_member(:usernames, Shapes::ShapeRef.new(shape: SensitiveStringList, location_name: "Usernames"))
300
+ DeleteVoiceConnectorTerminationCredentialsRequest.struct_class = Types::DeleteVoiceConnectorTerminationCredentialsRequest
301
+
302
+ DeleteVoiceConnectorTerminationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
303
+ DeleteVoiceConnectorTerminationRequest.struct_class = Types::DeleteVoiceConnectorTerminationRequest
304
+
305
+ DisassociatePhoneNumberFromUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "accountId"))
306
+ DisassociatePhoneNumberFromUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "userId"))
307
+ DisassociatePhoneNumberFromUserRequest.struct_class = Types::DisassociatePhoneNumberFromUserRequest
308
+
309
+ DisassociatePhoneNumberFromUserResponse.struct_class = Types::DisassociatePhoneNumberFromUserResponse
310
+
311
+ DisassociatePhoneNumbersFromVoiceConnectorRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
312
+ DisassociatePhoneNumbersFromVoiceConnectorRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, location_name: "E164PhoneNumbers"))
313
+ DisassociatePhoneNumbersFromVoiceConnectorRequest.struct_class = Types::DisassociatePhoneNumbersFromVoiceConnectorRequest
314
+
315
+ DisassociatePhoneNumbersFromVoiceConnectorResponse.add_member(:phone_number_errors, Shapes::ShapeRef.new(shape: PhoneNumberErrorList, location_name: "PhoneNumberErrors"))
316
+ DisassociatePhoneNumbersFromVoiceConnectorResponse.struct_class = Types::DisassociatePhoneNumbersFromVoiceConnectorResponse
317
+
318
+ E164PhoneNumberList.member = Shapes::ShapeRef.new(shape: E164PhoneNumber)
319
+
131
320
  GetAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
132
321
  GetAccountRequest.struct_class = Types::GetAccountRequest
133
322
 
@@ -140,6 +329,22 @@ module Aws::Chime
140
329
  GetAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "AccountSettings"))
141
330
  GetAccountSettingsResponse.struct_class = Types::GetAccountSettingsResponse
142
331
 
332
+ GetGlobalSettingsResponse.add_member(:business_calling, Shapes::ShapeRef.new(shape: BusinessCallingSettings, location_name: "BusinessCalling"))
333
+ GetGlobalSettingsResponse.add_member(:voice_connector, Shapes::ShapeRef.new(shape: VoiceConnectorSettings, location_name: "VoiceConnector"))
334
+ GetGlobalSettingsResponse.struct_class = Types::GetGlobalSettingsResponse
335
+
336
+ GetPhoneNumberOrderRequest.add_member(:phone_number_order_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "phoneNumberOrderId"))
337
+ GetPhoneNumberOrderRequest.struct_class = Types::GetPhoneNumberOrderRequest
338
+
339
+ GetPhoneNumberOrderResponse.add_member(:phone_number_order, Shapes::ShapeRef.new(shape: PhoneNumberOrder, location_name: "PhoneNumberOrder"))
340
+ GetPhoneNumberOrderResponse.struct_class = Types::GetPhoneNumberOrderResponse
341
+
342
+ GetPhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "phoneNumberId"))
343
+ GetPhoneNumberRequest.struct_class = Types::GetPhoneNumberRequest
344
+
345
+ GetPhoneNumberResponse.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
346
+ GetPhoneNumberResponse.struct_class = Types::GetPhoneNumberResponse
347
+
143
348
  GetUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
144
349
  GetUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
145
350
  GetUserRequest.struct_class = Types::GetUserRequest
@@ -147,6 +352,37 @@ module Aws::Chime
147
352
  GetUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
148
353
  GetUserResponse.struct_class = Types::GetUserResponse
149
354
 
355
+ GetUserSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "accountId"))
356
+ GetUserSettingsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "userId"))
357
+ GetUserSettingsRequest.struct_class = Types::GetUserSettingsRequest
358
+
359
+ GetUserSettingsResponse.add_member(:user_settings, Shapes::ShapeRef.new(shape: UserSettings, location_name: "UserSettings"))
360
+ GetUserSettingsResponse.struct_class = Types::GetUserSettingsResponse
361
+
362
+ GetVoiceConnectorOriginationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
363
+ GetVoiceConnectorOriginationRequest.struct_class = Types::GetVoiceConnectorOriginationRequest
364
+
365
+ GetVoiceConnectorOriginationResponse.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "Origination"))
366
+ GetVoiceConnectorOriginationResponse.struct_class = Types::GetVoiceConnectorOriginationResponse
367
+
368
+ GetVoiceConnectorRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
369
+ GetVoiceConnectorRequest.struct_class = Types::GetVoiceConnectorRequest
370
+
371
+ GetVoiceConnectorResponse.add_member(:voice_connector, Shapes::ShapeRef.new(shape: VoiceConnector, location_name: "VoiceConnector"))
372
+ GetVoiceConnectorResponse.struct_class = Types::GetVoiceConnectorResponse
373
+
374
+ GetVoiceConnectorTerminationHealthRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
375
+ GetVoiceConnectorTerminationHealthRequest.struct_class = Types::GetVoiceConnectorTerminationHealthRequest
376
+
377
+ GetVoiceConnectorTerminationHealthResponse.add_member(:termination_health, Shapes::ShapeRef.new(shape: TerminationHealth, location_name: "TerminationHealth"))
378
+ GetVoiceConnectorTerminationHealthResponse.struct_class = Types::GetVoiceConnectorTerminationHealthResponse
379
+
380
+ GetVoiceConnectorTerminationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
381
+ GetVoiceConnectorTerminationRequest.struct_class = Types::GetVoiceConnectorTerminationRequest
382
+
383
+ GetVoiceConnectorTerminationResponse.add_member(:termination, Shapes::ShapeRef.new(shape: Termination, location_name: "Termination"))
384
+ GetVoiceConnectorTerminationResponse.struct_class = Types::GetVoiceConnectorTerminationResponse
385
+
150
386
  Invite.add_member(:invite_id, Shapes::ShapeRef.new(shape: String, location_name: "InviteId"))
151
387
  Invite.add_member(:status, Shapes::ShapeRef.new(shape: InviteStatus, location_name: "Status"))
152
388
  Invite.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
@@ -174,6 +410,26 @@ module Aws::Chime
174
410
  ListAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
175
411
  ListAccountsResponse.struct_class = Types::ListAccountsResponse
176
412
 
413
+ ListPhoneNumberOrdersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
414
+ ListPhoneNumberOrdersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultMax, location: "querystring", location_name: "max-results"))
415
+ ListPhoneNumberOrdersRequest.struct_class = Types::ListPhoneNumberOrdersRequest
416
+
417
+ ListPhoneNumberOrdersResponse.add_member(:phone_number_orders, Shapes::ShapeRef.new(shape: PhoneNumberOrderList, location_name: "PhoneNumberOrders"))
418
+ ListPhoneNumberOrdersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
419
+ ListPhoneNumberOrdersResponse.struct_class = Types::ListPhoneNumberOrdersResponse
420
+
421
+ ListPhoneNumbersRequest.add_member(:status, Shapes::ShapeRef.new(shape: PhoneNumberStatus, location: "querystring", location_name: "status"))
422
+ ListPhoneNumbersRequest.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, location: "querystring", location_name: "product-type"))
423
+ ListPhoneNumbersRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: PhoneNumberAssociationName, location: "querystring", location_name: "filter-name"))
424
+ ListPhoneNumbersRequest.add_member(:filter_value, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "filter-value"))
425
+ ListPhoneNumbersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultMax, location: "querystring", location_name: "max-results"))
426
+ ListPhoneNumbersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
427
+ ListPhoneNumbersRequest.struct_class = Types::ListPhoneNumbersRequest
428
+
429
+ ListPhoneNumbersResponse.add_member(:phone_numbers, Shapes::ShapeRef.new(shape: PhoneNumberList, location_name: "PhoneNumbers"))
430
+ ListPhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
431
+ ListPhoneNumbersResponse.struct_class = Types::ListPhoneNumbersResponse
432
+
177
433
  ListUsersRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
178
434
  ListUsersRequest.add_member(:user_email, Shapes::ShapeRef.new(shape: EmailAddress, location: "querystring", location_name: "user-email"))
179
435
  ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ProfileServiceMaxResults, location: "querystring", location_name: "max-results"))
@@ -184,12 +440,110 @@ module Aws::Chime
184
440
  ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
185
441
  ListUsersResponse.struct_class = Types::ListUsersResponse
186
442
 
443
+ ListVoiceConnectorTerminationCredentialsRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
444
+ ListVoiceConnectorTerminationCredentialsRequest.struct_class = Types::ListVoiceConnectorTerminationCredentialsRequest
445
+
446
+ ListVoiceConnectorTerminationCredentialsResponse.add_member(:usernames, Shapes::ShapeRef.new(shape: SensitiveStringList, location_name: "Usernames"))
447
+ ListVoiceConnectorTerminationCredentialsResponse.struct_class = Types::ListVoiceConnectorTerminationCredentialsResponse
448
+
449
+ ListVoiceConnectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
450
+ ListVoiceConnectorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultMax, location: "querystring", location_name: "max-results"))
451
+ ListVoiceConnectorsRequest.struct_class = Types::ListVoiceConnectorsRequest
452
+
453
+ ListVoiceConnectorsResponse.add_member(:voice_connectors, Shapes::ShapeRef.new(shape: VoiceConnectorList, location_name: "VoiceConnectors"))
454
+ ListVoiceConnectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
455
+ ListVoiceConnectorsResponse.struct_class = Types::ListVoiceConnectorsResponse
456
+
187
457
  LogoutUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
188
458
  LogoutUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
189
459
  LogoutUserRequest.struct_class = Types::LogoutUserRequest
190
460
 
191
461
  LogoutUserResponse.struct_class = Types::LogoutUserResponse
192
462
 
463
+ NonEmptyStringList.member = Shapes::ShapeRef.new(shape: String)
464
+
465
+ OrderedPhoneNumber.add_member(:e164_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, location_name: "E164PhoneNumber"))
466
+ OrderedPhoneNumber.add_member(:status, Shapes::ShapeRef.new(shape: OrderedPhoneNumberStatus, location_name: "Status"))
467
+ OrderedPhoneNumber.struct_class = Types::OrderedPhoneNumber
468
+
469
+ OrderedPhoneNumberList.member = Shapes::ShapeRef.new(shape: OrderedPhoneNumber)
470
+
471
+ Origination.add_member(:routes, Shapes::ShapeRef.new(shape: OriginationRouteList, location_name: "Routes"))
472
+ Origination.add_member(:disabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Disabled"))
473
+ Origination.struct_class = Types::Origination
474
+
475
+ OriginationRoute.add_member(:host, Shapes::ShapeRef.new(shape: String, location_name: "Host"))
476
+ OriginationRoute.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "Port"))
477
+ OriginationRoute.add_member(:protocol, Shapes::ShapeRef.new(shape: OriginationRouteProtocol, location_name: "Protocol"))
478
+ OriginationRoute.add_member(:priority, Shapes::ShapeRef.new(shape: OriginationRoutePriority, location_name: "Priority"))
479
+ OriginationRoute.add_member(:weight, Shapes::ShapeRef.new(shape: OriginationRouteWeight, location_name: "Weight"))
480
+ OriginationRoute.struct_class = Types::OriginationRoute
481
+
482
+ OriginationRouteList.member = Shapes::ShapeRef.new(shape: OriginationRoute)
483
+
484
+ PhoneNumber.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: String, location_name: "PhoneNumberId"))
485
+ PhoneNumber.add_member(:e164_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, location_name: "E164PhoneNumber"))
486
+ PhoneNumber.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, location_name: "ProductType"))
487
+ PhoneNumber.add_member(:status, Shapes::ShapeRef.new(shape: PhoneNumberStatus, location_name: "Status"))
488
+ PhoneNumber.add_member(:capabilities, Shapes::ShapeRef.new(shape: PhoneNumberCapabilities, location_name: "Capabilities"))
489
+ PhoneNumber.add_member(:associations, Shapes::ShapeRef.new(shape: PhoneNumberAssociationList, location_name: "Associations"))
490
+ PhoneNumber.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "CreatedTimestamp"))
491
+ PhoneNumber.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "UpdatedTimestamp"))
492
+ PhoneNumber.add_member(:deletion_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "DeletionTimestamp"))
493
+ PhoneNumber.struct_class = Types::PhoneNumber
494
+
495
+ PhoneNumberAssociation.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
496
+ PhoneNumberAssociation.add_member(:name, Shapes::ShapeRef.new(shape: PhoneNumberAssociationName, location_name: "Name"))
497
+ PhoneNumberAssociation.add_member(:associated_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "AssociatedTimestamp"))
498
+ PhoneNumberAssociation.struct_class = Types::PhoneNumberAssociation
499
+
500
+ PhoneNumberAssociationList.member = Shapes::ShapeRef.new(shape: PhoneNumberAssociation)
501
+
502
+ PhoneNumberCapabilities.add_member(:inbound_call, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InboundCall"))
503
+ PhoneNumberCapabilities.add_member(:outbound_call, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "OutboundCall"))
504
+ PhoneNumberCapabilities.add_member(:inbound_sms, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InboundSMS"))
505
+ PhoneNumberCapabilities.add_member(:outbound_sms, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "OutboundSMS"))
506
+ PhoneNumberCapabilities.add_member(:inbound_mms, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InboundMMS"))
507
+ PhoneNumberCapabilities.add_member(:outbound_mms, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "OutboundMMS"))
508
+ PhoneNumberCapabilities.struct_class = Types::PhoneNumberCapabilities
509
+
510
+ PhoneNumberError.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "PhoneNumberId"))
511
+ PhoneNumberError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
512
+ PhoneNumberError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
513
+ PhoneNumberError.struct_class = Types::PhoneNumberError
514
+
515
+ PhoneNumberErrorList.member = Shapes::ShapeRef.new(shape: PhoneNumberError)
516
+
517
+ PhoneNumberList.member = Shapes::ShapeRef.new(shape: PhoneNumber)
518
+
519
+ PhoneNumberOrder.add_member(:phone_number_order_id, Shapes::ShapeRef.new(shape: GuidString, location_name: "PhoneNumberOrderId"))
520
+ PhoneNumberOrder.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, location_name: "ProductType"))
521
+ PhoneNumberOrder.add_member(:status, Shapes::ShapeRef.new(shape: PhoneNumberOrderStatus, location_name: "Status"))
522
+ PhoneNumberOrder.add_member(:ordered_phone_numbers, Shapes::ShapeRef.new(shape: OrderedPhoneNumberList, location_name: "OrderedPhoneNumbers"))
523
+ PhoneNumberOrder.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "CreatedTimestamp"))
524
+ PhoneNumberOrder.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "UpdatedTimestamp"))
525
+ PhoneNumberOrder.struct_class = Types::PhoneNumberOrder
526
+
527
+ PhoneNumberOrderList.member = Shapes::ShapeRef.new(shape: PhoneNumberOrder)
528
+
529
+ PutVoiceConnectorOriginationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
530
+ PutVoiceConnectorOriginationRequest.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, required: true, location_name: "Origination"))
531
+ PutVoiceConnectorOriginationRequest.struct_class = Types::PutVoiceConnectorOriginationRequest
532
+
533
+ PutVoiceConnectorOriginationResponse.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "Origination"))
534
+ PutVoiceConnectorOriginationResponse.struct_class = Types::PutVoiceConnectorOriginationResponse
535
+
536
+ PutVoiceConnectorTerminationCredentialsRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
537
+ PutVoiceConnectorTerminationCredentialsRequest.add_member(:credentials, Shapes::ShapeRef.new(shape: CredentialList, location_name: "Credentials"))
538
+ PutVoiceConnectorTerminationCredentialsRequest.struct_class = Types::PutVoiceConnectorTerminationCredentialsRequest
539
+
540
+ PutVoiceConnectorTerminationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
541
+ PutVoiceConnectorTerminationRequest.add_member(:termination, Shapes::ShapeRef.new(shape: Termination, required: true, location_name: "Termination"))
542
+ PutVoiceConnectorTerminationRequest.struct_class = Types::PutVoiceConnectorTerminationRequest
543
+
544
+ PutVoiceConnectorTerminationResponse.add_member(:termination, Shapes::ShapeRef.new(shape: Termination, location_name: "Termination"))
545
+ PutVoiceConnectorTerminationResponse.struct_class = Types::PutVoiceConnectorTerminationResponse
546
+
193
547
  ResetPersonalPINRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
194
548
  ResetPersonalPINRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
195
549
  ResetPersonalPINRequest.struct_class = Types::ResetPersonalPINRequest
@@ -197,6 +551,43 @@ module Aws::Chime
197
551
  ResetPersonalPINResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
198
552
  ResetPersonalPINResponse.struct_class = Types::ResetPersonalPINResponse
199
553
 
554
+ RestorePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "phoneNumberId"))
555
+ RestorePhoneNumberRequest.struct_class = Types::RestorePhoneNumberRequest
556
+
557
+ RestorePhoneNumberResponse.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
558
+ RestorePhoneNumberResponse.struct_class = Types::RestorePhoneNumberResponse
559
+
560
+ SearchAvailablePhoneNumbersRequest.add_member(:area_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "area-code"))
561
+ SearchAvailablePhoneNumbersRequest.add_member(:city, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "city"))
562
+ SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "country"))
563
+ SearchAvailablePhoneNumbersRequest.add_member(:state, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "state"))
564
+ SearchAvailablePhoneNumbersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PhoneNumberMaxResults, location: "querystring", location_name: "max-results"))
565
+ SearchAvailablePhoneNumbersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
566
+ SearchAvailablePhoneNumbersRequest.struct_class = Types::SearchAvailablePhoneNumbersRequest
567
+
568
+ SearchAvailablePhoneNumbersResponse.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, location_name: "E164PhoneNumbers"))
569
+ SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse
570
+
571
+ SensitiveStringList.member = Shapes::ShapeRef.new(shape: SensitiveString)
572
+
573
+ StringList.member = Shapes::ShapeRef.new(shape: String)
574
+
575
+ TelephonySettings.add_member(:inbound_calling, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "InboundCalling"))
576
+ TelephonySettings.add_member(:outbound_calling, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "OutboundCalling"))
577
+ TelephonySettings.add_member(:sms, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "SMS"))
578
+ TelephonySettings.struct_class = Types::TelephonySettings
579
+
580
+ Termination.add_member(:cps_limit, Shapes::ShapeRef.new(shape: CpsLimit, location_name: "CpsLimit"))
581
+ Termination.add_member(:default_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, location_name: "DefaultPhoneNumber"))
582
+ Termination.add_member(:calling_regions, Shapes::ShapeRef.new(shape: CallingRegionList, location_name: "CallingRegions"))
583
+ Termination.add_member(:cidr_allowed_list, Shapes::ShapeRef.new(shape: StringList, location_name: "CidrAllowedList"))
584
+ Termination.add_member(:disabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Disabled"))
585
+ Termination.struct_class = Types::Termination
586
+
587
+ TerminationHealth.add_member(:timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "Timestamp"))
588
+ TerminationHealth.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "Source"))
589
+ TerminationHealth.struct_class = Types::TerminationHealth
590
+
200
591
  UpdateAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
201
592
  UpdateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, location_name: "Name"))
202
593
  UpdateAccountRequest.struct_class = Types::UpdateAccountRequest
@@ -210,6 +601,23 @@ module Aws::Chime
210
601
 
211
602
  UpdateAccountSettingsResponse.struct_class = Types::UpdateAccountSettingsResponse
212
603
 
604
+ UpdateGlobalSettingsRequest.add_member(:business_calling, Shapes::ShapeRef.new(shape: BusinessCallingSettings, required: true, location_name: "BusinessCalling"))
605
+ UpdateGlobalSettingsRequest.add_member(:voice_connector, Shapes::ShapeRef.new(shape: VoiceConnectorSettings, required: true, location_name: "VoiceConnector"))
606
+ UpdateGlobalSettingsRequest.struct_class = Types::UpdateGlobalSettingsRequest
607
+
608
+ UpdatePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "phoneNumberId"))
609
+ UpdatePhoneNumberRequest.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, location_name: "ProductType"))
610
+ UpdatePhoneNumberRequest.struct_class = Types::UpdatePhoneNumberRequest
611
+
612
+ UpdatePhoneNumberRequestItem.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "PhoneNumberId"))
613
+ UpdatePhoneNumberRequestItem.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, location_name: "ProductType"))
614
+ UpdatePhoneNumberRequestItem.struct_class = Types::UpdatePhoneNumberRequestItem
615
+
616
+ UpdatePhoneNumberRequestItemList.member = Shapes::ShapeRef.new(shape: UpdatePhoneNumberRequestItem)
617
+
618
+ UpdatePhoneNumberResponse.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
619
+ UpdatePhoneNumberResponse.struct_class = Types::UpdatePhoneNumberResponse
620
+
213
621
  UpdateUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
214
622
  UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
215
623
  UpdateUserRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: License, location_name: "LicenseType"))
@@ -224,9 +632,23 @@ module Aws::Chime
224
632
  UpdateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
225
633
  UpdateUserResponse.struct_class = Types::UpdateUserResponse
226
634
 
635
+ UpdateUserSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "accountId"))
636
+ UpdateUserSettingsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "userId"))
637
+ UpdateUserSettingsRequest.add_member(:user_settings, Shapes::ShapeRef.new(shape: UserSettings, required: true, location_name: "UserSettings"))
638
+ UpdateUserSettingsRequest.struct_class = Types::UpdateUserSettingsRequest
639
+
640
+ UpdateVoiceConnectorRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
641
+ UpdateVoiceConnectorRequest.add_member(:name, Shapes::ShapeRef.new(shape: VoiceConnectorName, required: true, location_name: "Name"))
642
+ UpdateVoiceConnectorRequest.add_member(:require_encryption, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "RequireEncryption"))
643
+ UpdateVoiceConnectorRequest.struct_class = Types::UpdateVoiceConnectorRequest
644
+
645
+ UpdateVoiceConnectorResponse.add_member(:voice_connector, Shapes::ShapeRef.new(shape: VoiceConnector, location_name: "VoiceConnector"))
646
+ UpdateVoiceConnectorResponse.struct_class = Types::UpdateVoiceConnectorResponse
647
+
227
648
  User.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "UserId"))
228
649
  User.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
229
650
  User.add_member(:primary_email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "PrimaryEmail"))
651
+ User.add_member(:primary_provisioned_number, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "PrimaryProvisionedNumber"))
230
652
  User.add_member(:display_name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "DisplayName"))
231
653
  User.add_member(:license_type, Shapes::ShapeRef.new(shape: License, location_name: "LicenseType"))
232
654
  User.add_member(:user_registration_status, Shapes::ShapeRef.new(shape: RegistrationStatus, location_name: "UserRegistrationStatus"))
@@ -249,6 +671,22 @@ module Aws::Chime
249
671
 
250
672
  UserList.member = Shapes::ShapeRef.new(shape: User)
251
673
 
674
+ UserSettings.add_member(:telephony, Shapes::ShapeRef.new(shape: TelephonySettings, required: true, location_name: "Telephony"))
675
+ UserSettings.struct_class = Types::UserSettings
676
+
677
+ VoiceConnector.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "VoiceConnectorId"))
678
+ VoiceConnector.add_member(:name, Shapes::ShapeRef.new(shape: VoiceConnectorName, location_name: "Name"))
679
+ VoiceConnector.add_member(:outbound_host_name, Shapes::ShapeRef.new(shape: String, location_name: "OutboundHostName"))
680
+ VoiceConnector.add_member(:require_encryption, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequireEncryption"))
681
+ VoiceConnector.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "CreatedTimestamp"))
682
+ VoiceConnector.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "UpdatedTimestamp"))
683
+ VoiceConnector.struct_class = Types::VoiceConnector
684
+
685
+ VoiceConnectorList.member = Shapes::ShapeRef.new(shape: VoiceConnector)
686
+
687
+ VoiceConnectorSettings.add_member(:cdr_bucket, Shapes::ShapeRef.new(shape: String, location_name: "CdrBucket", metadata: {"box"=>true}))
688
+ VoiceConnectorSettings.struct_class = Types::VoiceConnectorSettings
689
+
252
690
 
253
691
  # @api private
254
692
  API = Seahorse::Model::Api.new.tap do |api|
@@ -265,10 +703,55 @@ module Aws::Chime
265
703
  "uid" => "chime-2018-05-01",
266
704
  }
267
705
 
706
+ api.add_operation(:associate_phone_number_with_user, Seahorse::Model::Operation.new.tap do |o|
707
+ o.name = "AssociatePhoneNumberWithUser"
708
+ o.http_method = "POST"
709
+ o.http_request_uri = "/accounts/{accountId}/users/{userId}?operation=associate-phone-number"
710
+ o.input = Shapes::ShapeRef.new(shape: AssociatePhoneNumberWithUserRequest)
711
+ o.output = Shapes::ShapeRef.new(shape: AssociatePhoneNumberWithUserResponse)
712
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
713
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
715
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
716
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
719
+ end)
720
+
721
+ api.add_operation(:associate_phone_numbers_with_voice_connector, Seahorse::Model::Operation.new.tap do |o|
722
+ o.name = "AssociatePhoneNumbersWithVoiceConnector"
723
+ o.http_method = "POST"
724
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}?operation=associate-phone-numbers"
725
+ o.input = Shapes::ShapeRef.new(shape: AssociatePhoneNumbersWithVoiceConnectorRequest)
726
+ o.output = Shapes::ShapeRef.new(shape: AssociatePhoneNumbersWithVoiceConnectorResponse)
727
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
728
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
729
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
730
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
732
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
734
+ end)
735
+
736
+ api.add_operation(:batch_delete_phone_number, Seahorse::Model::Operation.new.tap do |o|
737
+ o.name = "BatchDeletePhoneNumber"
738
+ o.http_method = "POST"
739
+ o.http_request_uri = "/phone-numbers?operation=batch-delete"
740
+ o.input = Shapes::ShapeRef.new(shape: BatchDeletePhoneNumberRequest)
741
+ o.output = Shapes::ShapeRef.new(shape: BatchDeletePhoneNumberResponse)
742
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
743
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
744
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
745
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
746
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
747
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
748
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
749
+ end)
750
+
268
751
  api.add_operation(:batch_suspend_user, Seahorse::Model::Operation.new.tap do |o|
269
752
  o.name = "BatchSuspendUser"
270
753
  o.http_method = "POST"
271
- o.http_request_uri = "/console/accounts/{accountId}/users?operation=suspend"
754
+ o.http_request_uri = "/accounts/{accountId}/users?operation=suspend"
272
755
  o.input = Shapes::ShapeRef.new(shape: BatchSuspendUserRequest)
273
756
  o.output = Shapes::ShapeRef.new(shape: BatchSuspendUserResponse)
274
757
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -283,7 +766,7 @@ module Aws::Chime
283
766
  api.add_operation(:batch_unsuspend_user, Seahorse::Model::Operation.new.tap do |o|
284
767
  o.name = "BatchUnsuspendUser"
285
768
  o.http_method = "POST"
286
- o.http_request_uri = "/console/accounts/{accountId}/users?operation=unsuspend"
769
+ o.http_request_uri = "/accounts/{accountId}/users?operation=unsuspend"
287
770
  o.input = Shapes::ShapeRef.new(shape: BatchUnsuspendUserRequest)
288
771
  o.output = Shapes::ShapeRef.new(shape: BatchUnsuspendUserResponse)
289
772
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -295,10 +778,25 @@ module Aws::Chime
295
778
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
296
779
  end)
297
780
 
781
+ api.add_operation(:batch_update_phone_number, Seahorse::Model::Operation.new.tap do |o|
782
+ o.name = "BatchUpdatePhoneNumber"
783
+ o.http_method = "POST"
784
+ o.http_request_uri = "/phone-numbers?operation=batch-update"
785
+ o.input = Shapes::ShapeRef.new(shape: BatchUpdatePhoneNumberRequest)
786
+ o.output = Shapes::ShapeRef.new(shape: BatchUpdatePhoneNumberResponse)
787
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
788
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
789
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
790
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
792
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
793
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
794
+ end)
795
+
298
796
  api.add_operation(:batch_update_user, Seahorse::Model::Operation.new.tap do |o|
299
797
  o.name = "BatchUpdateUser"
300
798
  o.http_method = "POST"
301
- o.http_request_uri = "/console/accounts/{accountId}/users"
799
+ o.http_request_uri = "/accounts/{accountId}/users"
302
800
  o.input = Shapes::ShapeRef.new(shape: BatchUpdateUserRequest)
303
801
  o.output = Shapes::ShapeRef.new(shape: BatchUpdateUserResponse)
304
802
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -313,7 +811,7 @@ module Aws::Chime
313
811
  api.add_operation(:create_account, Seahorse::Model::Operation.new.tap do |o|
314
812
  o.name = "CreateAccount"
315
813
  o.http_method = "POST"
316
- o.http_request_uri = "/console/accounts"
814
+ o.http_request_uri = "/accounts"
317
815
  o.input = Shapes::ShapeRef.new(shape: CreateAccountRequest)
318
816
  o.output = Shapes::ShapeRef.new(shape: CreateAccountResponse)
319
817
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -325,10 +823,38 @@ module Aws::Chime
325
823
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
326
824
  end)
327
825
 
826
+ api.add_operation(:create_phone_number_order, Seahorse::Model::Operation.new.tap do |o|
827
+ o.name = "CreatePhoneNumberOrder"
828
+ o.http_method = "POST"
829
+ o.http_request_uri = "/phone-number-orders"
830
+ o.input = Shapes::ShapeRef.new(shape: CreatePhoneNumberOrderRequest)
831
+ o.output = Shapes::ShapeRef.new(shape: CreatePhoneNumberOrderResponse)
832
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
833
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
834
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
835
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
836
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
837
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
838
+ end)
839
+
840
+ api.add_operation(:create_voice_connector, Seahorse::Model::Operation.new.tap do |o|
841
+ o.name = "CreateVoiceConnector"
842
+ o.http_method = "POST"
843
+ o.http_request_uri = "/voice-connectors"
844
+ o.input = Shapes::ShapeRef.new(shape: CreateVoiceConnectorRequest)
845
+ o.output = Shapes::ShapeRef.new(shape: CreateVoiceConnectorResponse)
846
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
848
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
849
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
851
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
852
+ end)
853
+
328
854
  api.add_operation(:delete_account, Seahorse::Model::Operation.new.tap do |o|
329
855
  o.name = "DeleteAccount"
330
856
  o.http_method = "DELETE"
331
- o.http_request_uri = "/console/accounts/{accountId}"
857
+ o.http_request_uri = "/accounts/{accountId}"
332
858
  o.input = Shapes::ShapeRef.new(shape: DeleteAccountRequest)
333
859
  o.output = Shapes::ShapeRef.new(shape: DeleteAccountResponse)
334
860
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -341,10 +867,115 @@ module Aws::Chime
341
867
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
342
868
  end)
343
869
 
870
+ api.add_operation(:delete_phone_number, Seahorse::Model::Operation.new.tap do |o|
871
+ o.name = "DeletePhoneNumber"
872
+ o.http_method = "DELETE"
873
+ o.http_request_uri = "/phone-numbers/{phoneNumberId}"
874
+ o.input = Shapes::ShapeRef.new(shape: DeletePhoneNumberRequest)
875
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
876
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
877
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
878
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
879
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
880
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
881
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
882
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
883
+ end)
884
+
885
+ api.add_operation(:delete_voice_connector, Seahorse::Model::Operation.new.tap do |o|
886
+ o.name = "DeleteVoiceConnector"
887
+ o.http_method = "DELETE"
888
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}"
889
+ o.input = Shapes::ShapeRef.new(shape: DeleteVoiceConnectorRequest)
890
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
891
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
892
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
893
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
894
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
895
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
896
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
897
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
898
+ end)
899
+
900
+ api.add_operation(:delete_voice_connector_origination, Seahorse::Model::Operation.new.tap do |o|
901
+ o.name = "DeleteVoiceConnectorOrigination"
902
+ o.http_method = "DELETE"
903
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/origination"
904
+ o.input = Shapes::ShapeRef.new(shape: DeleteVoiceConnectorOriginationRequest)
905
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
906
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
907
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
908
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
909
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
910
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
913
+ end)
914
+
915
+ api.add_operation(:delete_voice_connector_termination, Seahorse::Model::Operation.new.tap do |o|
916
+ o.name = "DeleteVoiceConnectorTermination"
917
+ o.http_method = "DELETE"
918
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/termination"
919
+ o.input = Shapes::ShapeRef.new(shape: DeleteVoiceConnectorTerminationRequest)
920
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
921
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
922
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
923
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
924
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
926
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
927
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
928
+ end)
929
+
930
+ api.add_operation(:delete_voice_connector_termination_credentials, Seahorse::Model::Operation.new.tap do |o|
931
+ o.name = "DeleteVoiceConnectorTerminationCredentials"
932
+ o.http_method = "POST"
933
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/termination/credentials?operation=delete"
934
+ o.input = Shapes::ShapeRef.new(shape: DeleteVoiceConnectorTerminationCredentialsRequest)
935
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
936
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
937
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
938
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
939
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
940
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
941
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
942
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
943
+ end)
944
+
945
+ api.add_operation(:disassociate_phone_number_from_user, Seahorse::Model::Operation.new.tap do |o|
946
+ o.name = "DisassociatePhoneNumberFromUser"
947
+ o.http_method = "POST"
948
+ o.http_request_uri = "/accounts/{accountId}/users/{userId}?operation=disassociate-phone-number"
949
+ o.input = Shapes::ShapeRef.new(shape: DisassociatePhoneNumberFromUserRequest)
950
+ o.output = Shapes::ShapeRef.new(shape: DisassociatePhoneNumberFromUserResponse)
951
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
952
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
954
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
955
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
956
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
957
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
958
+ end)
959
+
960
+ api.add_operation(:disassociate_phone_numbers_from_voice_connector, Seahorse::Model::Operation.new.tap do |o|
961
+ o.name = "DisassociatePhoneNumbersFromVoiceConnector"
962
+ o.http_method = "POST"
963
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}?operation=disassociate-phone-numbers"
964
+ o.input = Shapes::ShapeRef.new(shape: DisassociatePhoneNumbersFromVoiceConnectorRequest)
965
+ o.output = Shapes::ShapeRef.new(shape: DisassociatePhoneNumbersFromVoiceConnectorResponse)
966
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
967
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
968
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
969
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
970
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
971
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
972
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
973
+ end)
974
+
344
975
  api.add_operation(:get_account, Seahorse::Model::Operation.new.tap do |o|
345
976
  o.name = "GetAccount"
346
977
  o.http_method = "GET"
347
- o.http_request_uri = "/console/accounts/{accountId}"
978
+ o.http_request_uri = "/accounts/{accountId}"
348
979
  o.input = Shapes::ShapeRef.new(shape: GetAccountRequest)
349
980
  o.output = Shapes::ShapeRef.new(shape: GetAccountResponse)
350
981
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -359,7 +990,7 @@ module Aws::Chime
359
990
  api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
360
991
  o.name = "GetAccountSettings"
361
992
  o.http_method = "GET"
362
- o.http_request_uri = "/console/accounts/{accountId}/settings"
993
+ o.http_request_uri = "/accounts/{accountId}/settings"
363
994
  o.input = Shapes::ShapeRef.new(shape: GetAccountSettingsRequest)
364
995
  o.output = Shapes::ShapeRef.new(shape: GetAccountSettingsResponse)
365
996
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -371,10 +1002,54 @@ module Aws::Chime
371
1002
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
372
1003
  end)
373
1004
 
1005
+ api.add_operation(:get_global_settings, Seahorse::Model::Operation.new.tap do |o|
1006
+ o.name = "GetGlobalSettings"
1007
+ o.http_method = "GET"
1008
+ o.http_request_uri = "/settings"
1009
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1010
+ o.output = Shapes::ShapeRef.new(shape: GetGlobalSettingsResponse)
1011
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1012
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1014
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1016
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1017
+ end)
1018
+
1019
+ api.add_operation(:get_phone_number, Seahorse::Model::Operation.new.tap do |o|
1020
+ o.name = "GetPhoneNumber"
1021
+ o.http_method = "GET"
1022
+ o.http_request_uri = "/phone-numbers/{phoneNumberId}"
1023
+ o.input = Shapes::ShapeRef.new(shape: GetPhoneNumberRequest)
1024
+ o.output = Shapes::ShapeRef.new(shape: GetPhoneNumberResponse)
1025
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1027
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1030
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1032
+ end)
1033
+
1034
+ api.add_operation(:get_phone_number_order, Seahorse::Model::Operation.new.tap do |o|
1035
+ o.name = "GetPhoneNumberOrder"
1036
+ o.http_method = "GET"
1037
+ o.http_request_uri = "/phone-number-orders/{phoneNumberOrderId}"
1038
+ o.input = Shapes::ShapeRef.new(shape: GetPhoneNumberOrderRequest)
1039
+ o.output = Shapes::ShapeRef.new(shape: GetPhoneNumberOrderResponse)
1040
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1042
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1043
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1044
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1045
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1047
+ end)
1048
+
374
1049
  api.add_operation(:get_user, Seahorse::Model::Operation.new.tap do |o|
375
1050
  o.name = "GetUser"
376
1051
  o.http_method = "GET"
377
- o.http_request_uri = "/console/accounts/{accountId}/users/{userId}"
1052
+ o.http_request_uri = "/accounts/{accountId}/users/{userId}"
378
1053
  o.input = Shapes::ShapeRef.new(shape: GetUserRequest)
379
1054
  o.output = Shapes::ShapeRef.new(shape: GetUserResponse)
380
1055
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -386,10 +1061,85 @@ module Aws::Chime
386
1061
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
387
1062
  end)
388
1063
 
1064
+ api.add_operation(:get_user_settings, Seahorse::Model::Operation.new.tap do |o|
1065
+ o.name = "GetUserSettings"
1066
+ o.http_method = "GET"
1067
+ o.http_request_uri = "/accounts/{accountId}/users/{userId}/settings"
1068
+ o.input = Shapes::ShapeRef.new(shape: GetUserSettingsRequest)
1069
+ o.output = Shapes::ShapeRef.new(shape: GetUserSettingsResponse)
1070
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1071
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1073
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1074
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1075
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1077
+ end)
1078
+
1079
+ api.add_operation(:get_voice_connector, Seahorse::Model::Operation.new.tap do |o|
1080
+ o.name = "GetVoiceConnector"
1081
+ o.http_method = "GET"
1082
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}"
1083
+ o.input = Shapes::ShapeRef.new(shape: GetVoiceConnectorRequest)
1084
+ o.output = Shapes::ShapeRef.new(shape: GetVoiceConnectorResponse)
1085
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1086
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1087
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1089
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1090
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1091
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1092
+ end)
1093
+
1094
+ api.add_operation(:get_voice_connector_origination, Seahorse::Model::Operation.new.tap do |o|
1095
+ o.name = "GetVoiceConnectorOrigination"
1096
+ o.http_method = "GET"
1097
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/origination"
1098
+ o.input = Shapes::ShapeRef.new(shape: GetVoiceConnectorOriginationRequest)
1099
+ o.output = Shapes::ShapeRef.new(shape: GetVoiceConnectorOriginationResponse)
1100
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1101
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1102
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1103
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1104
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1105
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1106
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1107
+ end)
1108
+
1109
+ api.add_operation(:get_voice_connector_termination, Seahorse::Model::Operation.new.tap do |o|
1110
+ o.name = "GetVoiceConnectorTermination"
1111
+ o.http_method = "GET"
1112
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/termination"
1113
+ o.input = Shapes::ShapeRef.new(shape: GetVoiceConnectorTerminationRequest)
1114
+ o.output = Shapes::ShapeRef.new(shape: GetVoiceConnectorTerminationResponse)
1115
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1118
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1119
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1120
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1121
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1122
+ end)
1123
+
1124
+ api.add_operation(:get_voice_connector_termination_health, Seahorse::Model::Operation.new.tap do |o|
1125
+ o.name = "GetVoiceConnectorTerminationHealth"
1126
+ o.http_method = "GET"
1127
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/termination/health"
1128
+ o.input = Shapes::ShapeRef.new(shape: GetVoiceConnectorTerminationHealthRequest)
1129
+ o.output = Shapes::ShapeRef.new(shape: GetVoiceConnectorTerminationHealthResponse)
1130
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1133
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1135
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1136
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1137
+ end)
1138
+
389
1139
  api.add_operation(:invite_users, Seahorse::Model::Operation.new.tap do |o|
390
1140
  o.name = "InviteUsers"
391
1141
  o.http_method = "POST"
392
- o.http_request_uri = "/console/accounts/{accountId}/users?operation=add"
1142
+ o.http_request_uri = "/accounts/{accountId}/users?operation=add"
393
1143
  o.input = Shapes::ShapeRef.new(shape: InviteUsersRequest)
394
1144
  o.output = Shapes::ShapeRef.new(shape: InviteUsersResponse)
395
1145
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -404,7 +1154,7 @@ module Aws::Chime
404
1154
  api.add_operation(:list_accounts, Seahorse::Model::Operation.new.tap do |o|
405
1155
  o.name = "ListAccounts"
406
1156
  o.http_method = "GET"
407
- o.http_request_uri = "/console/accounts"
1157
+ o.http_request_uri = "/accounts"
408
1158
  o.input = Shapes::ShapeRef.new(shape: ListAccountsRequest)
409
1159
  o.output = Shapes::ShapeRef.new(shape: ListAccountsResponse)
410
1160
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -422,10 +1172,50 @@ module Aws::Chime
422
1172
  )
423
1173
  end)
424
1174
 
1175
+ api.add_operation(:list_phone_number_orders, Seahorse::Model::Operation.new.tap do |o|
1176
+ o.name = "ListPhoneNumberOrders"
1177
+ o.http_method = "GET"
1178
+ o.http_request_uri = "/phone-number-orders"
1179
+ o.input = Shapes::ShapeRef.new(shape: ListPhoneNumberOrdersRequest)
1180
+ o.output = Shapes::ShapeRef.new(shape: ListPhoneNumberOrdersResponse)
1181
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1182
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1183
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1184
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1185
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1186
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1187
+ o[:pager] = Aws::Pager.new(
1188
+ limit_key: "max_results",
1189
+ tokens: {
1190
+ "next_token" => "next_token"
1191
+ }
1192
+ )
1193
+ end)
1194
+
1195
+ api.add_operation(:list_phone_numbers, Seahorse::Model::Operation.new.tap do |o|
1196
+ o.name = "ListPhoneNumbers"
1197
+ o.http_method = "GET"
1198
+ o.http_request_uri = "/phone-numbers"
1199
+ o.input = Shapes::ShapeRef.new(shape: ListPhoneNumbersRequest)
1200
+ o.output = Shapes::ShapeRef.new(shape: ListPhoneNumbersResponse)
1201
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1203
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1204
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1206
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1207
+ o[:pager] = Aws::Pager.new(
1208
+ limit_key: "max_results",
1209
+ tokens: {
1210
+ "next_token" => "next_token"
1211
+ }
1212
+ )
1213
+ end)
1214
+
425
1215
  api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
426
1216
  o.name = "ListUsers"
427
1217
  o.http_method = "GET"
428
- o.http_request_uri = "/console/accounts/{accountId}/users"
1218
+ o.http_request_uri = "/accounts/{accountId}/users"
429
1219
  o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
430
1220
  o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
431
1221
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -443,10 +1233,45 @@ module Aws::Chime
443
1233
  )
444
1234
  end)
445
1235
 
1236
+ api.add_operation(:list_voice_connector_termination_credentials, Seahorse::Model::Operation.new.tap do |o|
1237
+ o.name = "ListVoiceConnectorTerminationCredentials"
1238
+ o.http_method = "GET"
1239
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/termination/credentials"
1240
+ o.input = Shapes::ShapeRef.new(shape: ListVoiceConnectorTerminationCredentialsRequest)
1241
+ o.output = Shapes::ShapeRef.new(shape: ListVoiceConnectorTerminationCredentialsResponse)
1242
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1243
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1244
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1245
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1246
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1247
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1248
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1249
+ end)
1250
+
1251
+ api.add_operation(:list_voice_connectors, Seahorse::Model::Operation.new.tap do |o|
1252
+ o.name = "ListVoiceConnectors"
1253
+ o.http_method = "GET"
1254
+ o.http_request_uri = "/voice-connectors"
1255
+ o.input = Shapes::ShapeRef.new(shape: ListVoiceConnectorsRequest)
1256
+ o.output = Shapes::ShapeRef.new(shape: ListVoiceConnectorsResponse)
1257
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1258
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1262
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1263
+ o[:pager] = Aws::Pager.new(
1264
+ limit_key: "max_results",
1265
+ tokens: {
1266
+ "next_token" => "next_token"
1267
+ }
1268
+ )
1269
+ end)
1270
+
446
1271
  api.add_operation(:logout_user, Seahorse::Model::Operation.new.tap do |o|
447
1272
  o.name = "LogoutUser"
448
1273
  o.http_method = "POST"
449
- o.http_request_uri = "/console/accounts/{accountId}/users/{userId}?operation=logout"
1274
+ o.http_request_uri = "/accounts/{accountId}/users/{userId}?operation=logout"
450
1275
  o.input = Shapes::ShapeRef.new(shape: LogoutUserRequest)
451
1276
  o.output = Shapes::ShapeRef.new(shape: LogoutUserResponse)
452
1277
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -458,10 +1283,55 @@ module Aws::Chime
458
1283
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
459
1284
  end)
460
1285
 
1286
+ api.add_operation(:put_voice_connector_origination, Seahorse::Model::Operation.new.tap do |o|
1287
+ o.name = "PutVoiceConnectorOrigination"
1288
+ o.http_method = "PUT"
1289
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/origination"
1290
+ o.input = Shapes::ShapeRef.new(shape: PutVoiceConnectorOriginationRequest)
1291
+ o.output = Shapes::ShapeRef.new(shape: PutVoiceConnectorOriginationResponse)
1292
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1293
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1294
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1295
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1296
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1297
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1298
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1299
+ end)
1300
+
1301
+ api.add_operation(:put_voice_connector_termination, Seahorse::Model::Operation.new.tap do |o|
1302
+ o.name = "PutVoiceConnectorTermination"
1303
+ o.http_method = "PUT"
1304
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/termination"
1305
+ o.input = Shapes::ShapeRef.new(shape: PutVoiceConnectorTerminationRequest)
1306
+ o.output = Shapes::ShapeRef.new(shape: PutVoiceConnectorTerminationResponse)
1307
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1308
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1309
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1310
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1311
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1313
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1314
+ end)
1315
+
1316
+ api.add_operation(:put_voice_connector_termination_credentials, Seahorse::Model::Operation.new.tap do |o|
1317
+ o.name = "PutVoiceConnectorTerminationCredentials"
1318
+ o.http_method = "POST"
1319
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/termination/credentials?operation=put"
1320
+ o.input = Shapes::ShapeRef.new(shape: PutVoiceConnectorTerminationCredentialsRequest)
1321
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1322
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1323
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1324
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1325
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1326
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1327
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1329
+ end)
1330
+
461
1331
  api.add_operation(:reset_personal_pin, Seahorse::Model::Operation.new.tap do |o|
462
1332
  o.name = "ResetPersonalPIN"
463
1333
  o.http_method = "POST"
464
- o.http_request_uri = "/console/accounts/{accountId}/users/{userId}?operation=reset-personal-pin"
1334
+ o.http_request_uri = "/accounts/{accountId}/users/{userId}?operation=reset-personal-pin"
465
1335
  o.input = Shapes::ShapeRef.new(shape: ResetPersonalPINRequest)
466
1336
  o.output = Shapes::ShapeRef.new(shape: ResetPersonalPINResponse)
467
1337
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -473,10 +1343,39 @@ module Aws::Chime
473
1343
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
474
1344
  end)
475
1345
 
1346
+ api.add_operation(:restore_phone_number, Seahorse::Model::Operation.new.tap do |o|
1347
+ o.name = "RestorePhoneNumber"
1348
+ o.http_method = "POST"
1349
+ o.http_request_uri = "/phone-numbers/{phoneNumberId}?operation=restore"
1350
+ o.input = Shapes::ShapeRef.new(shape: RestorePhoneNumberRequest)
1351
+ o.output = Shapes::ShapeRef.new(shape: RestorePhoneNumberResponse)
1352
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1353
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1354
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1359
+ end)
1360
+
1361
+ api.add_operation(:search_available_phone_numbers, Seahorse::Model::Operation.new.tap do |o|
1362
+ o.name = "SearchAvailablePhoneNumbers"
1363
+ o.http_method = "GET"
1364
+ o.http_request_uri = "/search?type=phone-numbers"
1365
+ o.input = Shapes::ShapeRef.new(shape: SearchAvailablePhoneNumbersRequest)
1366
+ o.output = Shapes::ShapeRef.new(shape: SearchAvailablePhoneNumbersResponse)
1367
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1368
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1369
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1370
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1371
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1372
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1373
+ end)
1374
+
476
1375
  api.add_operation(:update_account, Seahorse::Model::Operation.new.tap do |o|
477
1376
  o.name = "UpdateAccount"
478
1377
  o.http_method = "POST"
479
- o.http_request_uri = "/console/accounts/{accountId}"
1378
+ o.http_request_uri = "/accounts/{accountId}"
480
1379
  o.input = Shapes::ShapeRef.new(shape: UpdateAccountRequest)
481
1380
  o.output = Shapes::ShapeRef.new(shape: UpdateAccountResponse)
482
1381
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -491,7 +1390,7 @@ module Aws::Chime
491
1390
  api.add_operation(:update_account_settings, Seahorse::Model::Operation.new.tap do |o|
492
1391
  o.name = "UpdateAccountSettings"
493
1392
  o.http_method = "PUT"
494
- o.http_request_uri = "/console/accounts/{accountId}/settings"
1393
+ o.http_request_uri = "/accounts/{accountId}/settings"
495
1394
  o.input = Shapes::ShapeRef.new(shape: UpdateAccountSettingsRequest)
496
1395
  o.output = Shapes::ShapeRef.new(shape: UpdateAccountSettingsResponse)
497
1396
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -504,10 +1403,39 @@ module Aws::Chime
504
1403
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
505
1404
  end)
506
1405
 
1406
+ api.add_operation(:update_global_settings, Seahorse::Model::Operation.new.tap do |o|
1407
+ o.name = "UpdateGlobalSettings"
1408
+ o.http_method = "PUT"
1409
+ o.http_request_uri = "/settings"
1410
+ o.input = Shapes::ShapeRef.new(shape: UpdateGlobalSettingsRequest)
1411
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1412
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1413
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1414
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1415
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1416
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1417
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1418
+ end)
1419
+
1420
+ api.add_operation(:update_phone_number, Seahorse::Model::Operation.new.tap do |o|
1421
+ o.name = "UpdatePhoneNumber"
1422
+ o.http_method = "POST"
1423
+ o.http_request_uri = "/phone-numbers/{phoneNumberId}"
1424
+ o.input = Shapes::ShapeRef.new(shape: UpdatePhoneNumberRequest)
1425
+ o.output = Shapes::ShapeRef.new(shape: UpdatePhoneNumberResponse)
1426
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1427
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1428
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1429
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1430
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1431
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1432
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1433
+ end)
1434
+
507
1435
  api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
508
1436
  o.name = "UpdateUser"
509
1437
  o.http_method = "POST"
510
- o.http_request_uri = "/console/accounts/{accountId}/users/{userId}"
1438
+ o.http_request_uri = "/accounts/{accountId}/users/{userId}"
511
1439
  o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
512
1440
  o.output = Shapes::ShapeRef.new(shape: UpdateUserResponse)
513
1441
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
@@ -518,6 +1446,36 @@ module Aws::Chime
518
1446
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
519
1447
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
520
1448
  end)
1449
+
1450
+ api.add_operation(:update_user_settings, Seahorse::Model::Operation.new.tap do |o|
1451
+ o.name = "UpdateUserSettings"
1452
+ o.http_method = "PUT"
1453
+ o.http_request_uri = "/accounts/{accountId}/users/{userId}/settings"
1454
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserSettingsRequest)
1455
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1456
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1457
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1459
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1463
+ end)
1464
+
1465
+ api.add_operation(:update_voice_connector, Seahorse::Model::Operation.new.tap do |o|
1466
+ o.name = "UpdateVoiceConnector"
1467
+ o.http_method = "PUT"
1468
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}"
1469
+ o.input = Shapes::ShapeRef.new(shape: UpdateVoiceConnectorRequest)
1470
+ o.output = Shapes::ShapeRef.new(shape: UpdateVoiceConnectorResponse)
1471
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1474
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1477
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1478
+ end)
521
1479
  end
522
1480
 
523
1481
  end