aws-sdk-chime 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/aws-sdk-chime.rb +47 -0
- data/lib/aws-sdk-chime/client.rb +886 -0
- data/lib/aws-sdk-chime/client_api.rb +523 -0
- data/lib/aws-sdk-chime/customizations.rb +0 -0
- data/lib/aws-sdk-chime/errors.rb +14 -0
- data/lib/aws-sdk-chime/resource.rb +23 -0
- data/lib/aws-sdk-chime/types.rb +809 -0
- metadata +88 -0
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::Chime
|
|
9
|
+
# @api private
|
|
10
|
+
module ClientApi
|
|
11
|
+
|
|
12
|
+
include Seahorse::Model
|
|
13
|
+
|
|
14
|
+
Account = Shapes::StructureShape.new(name: 'Account')
|
|
15
|
+
AccountList = Shapes::ListShape.new(name: 'AccountList')
|
|
16
|
+
AccountName = Shapes::StringShape.new(name: 'AccountName')
|
|
17
|
+
AccountSettings = Shapes::StructureShape.new(name: 'AccountSettings')
|
|
18
|
+
AccountType = Shapes::StringShape.new(name: 'AccountType')
|
|
19
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
|
20
|
+
BatchSuspendUserRequest = Shapes::StructureShape.new(name: 'BatchSuspendUserRequest')
|
|
21
|
+
BatchSuspendUserResponse = Shapes::StructureShape.new(name: 'BatchSuspendUserResponse')
|
|
22
|
+
BatchUnsuspendUserRequest = Shapes::StructureShape.new(name: 'BatchUnsuspendUserRequest')
|
|
23
|
+
BatchUnsuspendUserResponse = Shapes::StructureShape.new(name: 'BatchUnsuspendUserResponse')
|
|
24
|
+
BatchUpdateUserRequest = Shapes::StructureShape.new(name: 'BatchUpdateUserRequest')
|
|
25
|
+
BatchUpdateUserResponse = Shapes::StructureShape.new(name: 'BatchUpdateUserResponse')
|
|
26
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
27
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
28
|
+
CreateAccountRequest = Shapes::StructureShape.new(name: 'CreateAccountRequest')
|
|
29
|
+
CreateAccountResponse = Shapes::StructureShape.new(name: 'CreateAccountResponse')
|
|
30
|
+
DeleteAccountRequest = Shapes::StructureShape.new(name: 'DeleteAccountRequest')
|
|
31
|
+
DeleteAccountResponse = Shapes::StructureShape.new(name: 'DeleteAccountResponse')
|
|
32
|
+
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
|
33
|
+
EmailStatus = Shapes::StringShape.new(name: 'EmailStatus')
|
|
34
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
|
35
|
+
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
|
36
|
+
GetAccountRequest = Shapes::StructureShape.new(name: 'GetAccountRequest')
|
|
37
|
+
GetAccountResponse = Shapes::StructureShape.new(name: 'GetAccountResponse')
|
|
38
|
+
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
|
39
|
+
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
|
40
|
+
GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
|
|
41
|
+
GetUserResponse = Shapes::StructureShape.new(name: 'GetUserResponse')
|
|
42
|
+
Invite = Shapes::StructureShape.new(name: 'Invite')
|
|
43
|
+
InviteList = Shapes::ListShape.new(name: 'InviteList')
|
|
44
|
+
InviteStatus = Shapes::StringShape.new(name: 'InviteStatus')
|
|
45
|
+
InviteUsersRequest = Shapes::StructureShape.new(name: 'InviteUsersRequest')
|
|
46
|
+
InviteUsersResponse = Shapes::StructureShape.new(name: 'InviteUsersResponse')
|
|
47
|
+
Iso8601Timestamp = Shapes::TimestampShape.new(name: 'Iso8601Timestamp', timestampFormat: "iso8601")
|
|
48
|
+
License = Shapes::StringShape.new(name: 'License')
|
|
49
|
+
LicenseList = Shapes::ListShape.new(name: 'LicenseList')
|
|
50
|
+
ListAccountsRequest = Shapes::StructureShape.new(name: 'ListAccountsRequest')
|
|
51
|
+
ListAccountsResponse = Shapes::StructureShape.new(name: 'ListAccountsResponse')
|
|
52
|
+
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
|
53
|
+
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
|
54
|
+
LogoutUserRequest = Shapes::StructureShape.new(name: 'LogoutUserRequest')
|
|
55
|
+
LogoutUserResponse = Shapes::StructureShape.new(name: 'LogoutUserResponse')
|
|
56
|
+
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
|
57
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
|
58
|
+
ProfileServiceMaxResults = Shapes::IntegerShape.new(name: 'ProfileServiceMaxResults')
|
|
59
|
+
RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
|
|
60
|
+
ResetPersonalPINRequest = Shapes::StructureShape.new(name: 'ResetPersonalPINRequest')
|
|
61
|
+
ResetPersonalPINResponse = Shapes::StructureShape.new(name: 'ResetPersonalPINResponse')
|
|
62
|
+
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
|
63
|
+
ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException')
|
|
64
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
|
65
|
+
String = Shapes::StringShape.new(name: 'String')
|
|
66
|
+
ThrottledClientException = Shapes::StructureShape.new(name: 'ThrottledClientException')
|
|
67
|
+
UnauthorizedClientException = Shapes::StructureShape.new(name: 'UnauthorizedClientException')
|
|
68
|
+
UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
|
|
69
|
+
UpdateAccountRequest = Shapes::StructureShape.new(name: 'UpdateAccountRequest')
|
|
70
|
+
UpdateAccountResponse = Shapes::StructureShape.new(name: 'UpdateAccountResponse')
|
|
71
|
+
UpdateAccountSettingsRequest = Shapes::StructureShape.new(name: 'UpdateAccountSettingsRequest')
|
|
72
|
+
UpdateAccountSettingsResponse = Shapes::StructureShape.new(name: 'UpdateAccountSettingsResponse')
|
|
73
|
+
UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
|
|
74
|
+
UpdateUserRequestItem = Shapes::StructureShape.new(name: 'UpdateUserRequestItem')
|
|
75
|
+
UpdateUserRequestItemList = Shapes::ListShape.new(name: 'UpdateUserRequestItemList')
|
|
76
|
+
UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse')
|
|
77
|
+
User = Shapes::StructureShape.new(name: 'User')
|
|
78
|
+
UserEmailList = Shapes::ListShape.new(name: 'UserEmailList')
|
|
79
|
+
UserError = Shapes::StructureShape.new(name: 'UserError')
|
|
80
|
+
UserErrorList = Shapes::ListShape.new(name: 'UserErrorList')
|
|
81
|
+
UserIdList = Shapes::ListShape.new(name: 'UserIdList')
|
|
82
|
+
UserList = Shapes::ListShape.new(name: 'UserList')
|
|
83
|
+
|
|
84
|
+
Account.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AwsAccountId"))
|
|
85
|
+
Account.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountId"))
|
|
86
|
+
Account.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
|
87
|
+
Account.add_member(:account_type, Shapes::ShapeRef.new(shape: AccountType, location_name: "AccountType"))
|
|
88
|
+
Account.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "CreatedTimestamp"))
|
|
89
|
+
Account.add_member(:default_license, Shapes::ShapeRef.new(shape: License, location_name: "DefaultLicense"))
|
|
90
|
+
Account.add_member(:supported_licenses, Shapes::ShapeRef.new(shape: LicenseList, location_name: "SupportedLicenses"))
|
|
91
|
+
Account.struct_class = Types::Account
|
|
92
|
+
|
|
93
|
+
AccountList.member = Shapes::ShapeRef.new(shape: Account)
|
|
94
|
+
|
|
95
|
+
AccountSettings.add_member(:disable_remote_control, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableRemoteControl"))
|
|
96
|
+
AccountSettings.add_member(:enable_dial_out, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableDialOut"))
|
|
97
|
+
AccountSettings.struct_class = Types::AccountSettings
|
|
98
|
+
|
|
99
|
+
BatchSuspendUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
100
|
+
BatchSuspendUserRequest.add_member(:user_id_list, Shapes::ShapeRef.new(shape: UserIdList, required: true, location_name: "UserIdList"))
|
|
101
|
+
BatchSuspendUserRequest.struct_class = Types::BatchSuspendUserRequest
|
|
102
|
+
|
|
103
|
+
BatchSuspendUserResponse.add_member(:user_errors, Shapes::ShapeRef.new(shape: UserErrorList, location_name: "UserErrors"))
|
|
104
|
+
BatchSuspendUserResponse.struct_class = Types::BatchSuspendUserResponse
|
|
105
|
+
|
|
106
|
+
BatchUnsuspendUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
107
|
+
BatchUnsuspendUserRequest.add_member(:user_id_list, Shapes::ShapeRef.new(shape: UserIdList, required: true, location_name: "UserIdList"))
|
|
108
|
+
BatchUnsuspendUserRequest.struct_class = Types::BatchUnsuspendUserRequest
|
|
109
|
+
|
|
110
|
+
BatchUnsuspendUserResponse.add_member(:user_errors, Shapes::ShapeRef.new(shape: UserErrorList, location_name: "UserErrors"))
|
|
111
|
+
BatchUnsuspendUserResponse.struct_class = Types::BatchUnsuspendUserResponse
|
|
112
|
+
|
|
113
|
+
BatchUpdateUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
114
|
+
BatchUpdateUserRequest.add_member(:update_user_request_items, Shapes::ShapeRef.new(shape: UpdateUserRequestItemList, required: true, location_name: "UpdateUserRequestItems"))
|
|
115
|
+
BatchUpdateUserRequest.struct_class = Types::BatchUpdateUserRequest
|
|
116
|
+
|
|
117
|
+
BatchUpdateUserResponse.add_member(:user_errors, Shapes::ShapeRef.new(shape: UserErrorList, location_name: "UserErrors"))
|
|
118
|
+
BatchUpdateUserResponse.struct_class = Types::BatchUpdateUserResponse
|
|
119
|
+
|
|
120
|
+
CreateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, required: true, location_name: "Name"))
|
|
121
|
+
CreateAccountRequest.struct_class = Types::CreateAccountRequest
|
|
122
|
+
|
|
123
|
+
CreateAccountResponse.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account"))
|
|
124
|
+
CreateAccountResponse.struct_class = Types::CreateAccountResponse
|
|
125
|
+
|
|
126
|
+
DeleteAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
127
|
+
DeleteAccountRequest.struct_class = Types::DeleteAccountRequest
|
|
128
|
+
|
|
129
|
+
DeleteAccountResponse.struct_class = Types::DeleteAccountResponse
|
|
130
|
+
|
|
131
|
+
GetAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
132
|
+
GetAccountRequest.struct_class = Types::GetAccountRequest
|
|
133
|
+
|
|
134
|
+
GetAccountResponse.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account"))
|
|
135
|
+
GetAccountResponse.struct_class = Types::GetAccountResponse
|
|
136
|
+
|
|
137
|
+
GetAccountSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
138
|
+
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
|
139
|
+
|
|
140
|
+
GetAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "AccountSettings"))
|
|
141
|
+
GetAccountSettingsResponse.struct_class = Types::GetAccountSettingsResponse
|
|
142
|
+
|
|
143
|
+
GetUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
144
|
+
GetUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
|
|
145
|
+
GetUserRequest.struct_class = Types::GetUserRequest
|
|
146
|
+
|
|
147
|
+
GetUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
|
148
|
+
GetUserResponse.struct_class = Types::GetUserResponse
|
|
149
|
+
|
|
150
|
+
Invite.add_member(:invite_id, Shapes::ShapeRef.new(shape: String, location_name: "InviteId"))
|
|
151
|
+
Invite.add_member(:status, Shapes::ShapeRef.new(shape: InviteStatus, location_name: "Status"))
|
|
152
|
+
Invite.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
|
|
153
|
+
Invite.add_member(:email_status, Shapes::ShapeRef.new(shape: EmailStatus, location_name: "EmailStatus"))
|
|
154
|
+
Invite.struct_class = Types::Invite
|
|
155
|
+
|
|
156
|
+
InviteList.member = Shapes::ShapeRef.new(shape: Invite)
|
|
157
|
+
|
|
158
|
+
InviteUsersRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
159
|
+
InviteUsersRequest.add_member(:user_email_list, Shapes::ShapeRef.new(shape: UserEmailList, required: true, location_name: "UserEmailList"))
|
|
160
|
+
InviteUsersRequest.struct_class = Types::InviteUsersRequest
|
|
161
|
+
|
|
162
|
+
InviteUsersResponse.add_member(:invites, Shapes::ShapeRef.new(shape: InviteList, location_name: "Invites"))
|
|
163
|
+
InviteUsersResponse.struct_class = Types::InviteUsersResponse
|
|
164
|
+
|
|
165
|
+
LicenseList.member = Shapes::ShapeRef.new(shape: License)
|
|
166
|
+
|
|
167
|
+
ListAccountsRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, location: "querystring", location_name: "name"))
|
|
168
|
+
ListAccountsRequest.add_member(:user_email, Shapes::ShapeRef.new(shape: EmailAddress, location: "querystring", location_name: "user-email"))
|
|
169
|
+
ListAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
|
|
170
|
+
ListAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ProfileServiceMaxResults, location: "querystring", location_name: "max-results"))
|
|
171
|
+
ListAccountsRequest.struct_class = Types::ListAccountsRequest
|
|
172
|
+
|
|
173
|
+
ListAccountsResponse.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountList, location_name: "Accounts"))
|
|
174
|
+
ListAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
175
|
+
ListAccountsResponse.struct_class = Types::ListAccountsResponse
|
|
176
|
+
|
|
177
|
+
ListUsersRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
178
|
+
ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ProfileServiceMaxResults, location: "querystring", location_name: "max-results"))
|
|
179
|
+
ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
|
|
180
|
+
ListUsersRequest.struct_class = Types::ListUsersRequest
|
|
181
|
+
|
|
182
|
+
ListUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: UserList, location_name: "Users"))
|
|
183
|
+
ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
184
|
+
ListUsersResponse.struct_class = Types::ListUsersResponse
|
|
185
|
+
|
|
186
|
+
LogoutUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
187
|
+
LogoutUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
|
|
188
|
+
LogoutUserRequest.struct_class = Types::LogoutUserRequest
|
|
189
|
+
|
|
190
|
+
LogoutUserResponse.struct_class = Types::LogoutUserResponse
|
|
191
|
+
|
|
192
|
+
ResetPersonalPINRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
193
|
+
ResetPersonalPINRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
|
|
194
|
+
ResetPersonalPINRequest.struct_class = Types::ResetPersonalPINRequest
|
|
195
|
+
|
|
196
|
+
ResetPersonalPINResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
|
197
|
+
ResetPersonalPINResponse.struct_class = Types::ResetPersonalPINResponse
|
|
198
|
+
|
|
199
|
+
UpdateAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
200
|
+
UpdateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, location_name: "Name"))
|
|
201
|
+
UpdateAccountRequest.struct_class = Types::UpdateAccountRequest
|
|
202
|
+
|
|
203
|
+
UpdateAccountResponse.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account"))
|
|
204
|
+
UpdateAccountResponse.struct_class = Types::UpdateAccountResponse
|
|
205
|
+
|
|
206
|
+
UpdateAccountSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
207
|
+
UpdateAccountSettingsRequest.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, required: true, location_name: "AccountSettings"))
|
|
208
|
+
UpdateAccountSettingsRequest.struct_class = Types::UpdateAccountSettingsRequest
|
|
209
|
+
|
|
210
|
+
UpdateAccountSettingsResponse.struct_class = Types::UpdateAccountSettingsResponse
|
|
211
|
+
|
|
212
|
+
UpdateUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
|
213
|
+
UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
|
|
214
|
+
UpdateUserRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: License, location_name: "LicenseType"))
|
|
215
|
+
UpdateUserRequest.struct_class = Types::UpdateUserRequest
|
|
216
|
+
|
|
217
|
+
UpdateUserRequestItem.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "UserId"))
|
|
218
|
+
UpdateUserRequestItem.add_member(:license_type, Shapes::ShapeRef.new(shape: License, location_name: "LicenseType"))
|
|
219
|
+
UpdateUserRequestItem.struct_class = Types::UpdateUserRequestItem
|
|
220
|
+
|
|
221
|
+
UpdateUserRequestItemList.member = Shapes::ShapeRef.new(shape: UpdateUserRequestItem)
|
|
222
|
+
|
|
223
|
+
UpdateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
|
224
|
+
UpdateUserResponse.struct_class = Types::UpdateUserResponse
|
|
225
|
+
|
|
226
|
+
User.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "UserId"))
|
|
227
|
+
User.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
|
|
228
|
+
User.add_member(:primary_email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "PrimaryEmail"))
|
|
229
|
+
User.add_member(:display_name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "DisplayName"))
|
|
230
|
+
User.add_member(:license_type, Shapes::ShapeRef.new(shape: License, location_name: "LicenseType"))
|
|
231
|
+
User.add_member(:user_registration_status, Shapes::ShapeRef.new(shape: RegistrationStatus, location_name: "UserRegistrationStatus"))
|
|
232
|
+
User.add_member(:user_invitation_status, Shapes::ShapeRef.new(shape: InviteStatus, location_name: "UserInvitationStatus"))
|
|
233
|
+
User.add_member(:registered_on, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "RegisteredOn"))
|
|
234
|
+
User.add_member(:invited_on, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "InvitedOn"))
|
|
235
|
+
User.add_member(:personal_pin, Shapes::ShapeRef.new(shape: String, location_name: "PersonalPIN"))
|
|
236
|
+
User.struct_class = Types::User
|
|
237
|
+
|
|
238
|
+
UserEmailList.member = Shapes::ShapeRef.new(shape: EmailAddress)
|
|
239
|
+
|
|
240
|
+
UserError.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "UserId"))
|
|
241
|
+
UserError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
|
242
|
+
UserError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
|
243
|
+
UserError.struct_class = Types::UserError
|
|
244
|
+
|
|
245
|
+
UserErrorList.member = Shapes::ShapeRef.new(shape: UserError)
|
|
246
|
+
|
|
247
|
+
UserIdList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
248
|
+
|
|
249
|
+
UserList.member = Shapes::ShapeRef.new(shape: User)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
# @api private
|
|
253
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
|
254
|
+
|
|
255
|
+
api.version = "2018-05-01"
|
|
256
|
+
|
|
257
|
+
api.metadata = {
|
|
258
|
+
"apiVersion" => "2018-05-01",
|
|
259
|
+
"endpointPrefix" => "chime",
|
|
260
|
+
"protocol" => "rest-json",
|
|
261
|
+
"serviceFullName" => "Amazon Chime",
|
|
262
|
+
"serviceId" => "Chime",
|
|
263
|
+
"signatureVersion" => "v4",
|
|
264
|
+
"uid" => "chime-2018-05-01",
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
api.add_operation(:batch_suspend_user, Seahorse::Model::Operation.new.tap do |o|
|
|
268
|
+
o.name = "BatchSuspendUser"
|
|
269
|
+
o.http_method = "POST"
|
|
270
|
+
o.http_request_uri = "/console/accounts/{accountId}/users?operation=suspend"
|
|
271
|
+
o.input = Shapes::ShapeRef.new(shape: BatchSuspendUserRequest)
|
|
272
|
+
o.output = Shapes::ShapeRef.new(shape: BatchSuspendUserResponse)
|
|
273
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
274
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
275
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
276
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
277
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
278
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
279
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
280
|
+
end)
|
|
281
|
+
|
|
282
|
+
api.add_operation(:batch_unsuspend_user, Seahorse::Model::Operation.new.tap do |o|
|
|
283
|
+
o.name = "BatchUnsuspendUser"
|
|
284
|
+
o.http_method = "POST"
|
|
285
|
+
o.http_request_uri = "/console/accounts/{accountId}/users?operation=unsuspend"
|
|
286
|
+
o.input = Shapes::ShapeRef.new(shape: BatchUnsuspendUserRequest)
|
|
287
|
+
o.output = Shapes::ShapeRef.new(shape: BatchUnsuspendUserResponse)
|
|
288
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
290
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
291
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
292
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
293
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
294
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
295
|
+
end)
|
|
296
|
+
|
|
297
|
+
api.add_operation(:batch_update_user, Seahorse::Model::Operation.new.tap do |o|
|
|
298
|
+
o.name = "BatchUpdateUser"
|
|
299
|
+
o.http_method = "POST"
|
|
300
|
+
o.http_request_uri = "/console/accounts/{accountId}/users"
|
|
301
|
+
o.input = Shapes::ShapeRef.new(shape: BatchUpdateUserRequest)
|
|
302
|
+
o.output = Shapes::ShapeRef.new(shape: BatchUpdateUserResponse)
|
|
303
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
304
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
305
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
306
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
307
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
308
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
309
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
310
|
+
end)
|
|
311
|
+
|
|
312
|
+
api.add_operation(:create_account, Seahorse::Model::Operation.new.tap do |o|
|
|
313
|
+
o.name = "CreateAccount"
|
|
314
|
+
o.http_method = "POST"
|
|
315
|
+
o.http_request_uri = "/console/accounts"
|
|
316
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAccountRequest)
|
|
317
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAccountResponse)
|
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
319
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
320
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
321
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
325
|
+
end)
|
|
326
|
+
|
|
327
|
+
api.add_operation(:delete_account, Seahorse::Model::Operation.new.tap do |o|
|
|
328
|
+
o.name = "DeleteAccount"
|
|
329
|
+
o.http_method = "DELETE"
|
|
330
|
+
o.http_request_uri = "/console/accounts/{accountId}"
|
|
331
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAccountRequest)
|
|
332
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAccountResponse)
|
|
333
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
|
|
339
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
341
|
+
end)
|
|
342
|
+
|
|
343
|
+
api.add_operation(:get_account, Seahorse::Model::Operation.new.tap do |o|
|
|
344
|
+
o.name = "GetAccount"
|
|
345
|
+
o.http_method = "GET"
|
|
346
|
+
o.http_request_uri = "/console/accounts/{accountId}"
|
|
347
|
+
o.input = Shapes::ShapeRef.new(shape: GetAccountRequest)
|
|
348
|
+
o.output = Shapes::ShapeRef.new(shape: GetAccountResponse)
|
|
349
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
350
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
351
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
352
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
353
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
354
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
356
|
+
end)
|
|
357
|
+
|
|
358
|
+
api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
|
359
|
+
o.name = "GetAccountSettings"
|
|
360
|
+
o.http_method = "GET"
|
|
361
|
+
o.http_request_uri = "/console/accounts/{accountId}/settings"
|
|
362
|
+
o.input = Shapes::ShapeRef.new(shape: GetAccountSettingsRequest)
|
|
363
|
+
o.output = Shapes::ShapeRef.new(shape: GetAccountSettingsResponse)
|
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
370
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
371
|
+
end)
|
|
372
|
+
|
|
373
|
+
api.add_operation(:get_user, Seahorse::Model::Operation.new.tap do |o|
|
|
374
|
+
o.name = "GetUser"
|
|
375
|
+
o.http_method = "GET"
|
|
376
|
+
o.http_request_uri = "/console/accounts/{accountId}/users/{userId}"
|
|
377
|
+
o.input = Shapes::ShapeRef.new(shape: GetUserRequest)
|
|
378
|
+
o.output = Shapes::ShapeRef.new(shape: GetUserResponse)
|
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
383
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
386
|
+
end)
|
|
387
|
+
|
|
388
|
+
api.add_operation(:invite_users, Seahorse::Model::Operation.new.tap do |o|
|
|
389
|
+
o.name = "InviteUsers"
|
|
390
|
+
o.http_method = "POST"
|
|
391
|
+
o.http_request_uri = "/console/accounts/{accountId}/users?operation=add"
|
|
392
|
+
o.input = Shapes::ShapeRef.new(shape: InviteUsersRequest)
|
|
393
|
+
o.output = Shapes::ShapeRef.new(shape: InviteUsersResponse)
|
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
401
|
+
end)
|
|
402
|
+
|
|
403
|
+
api.add_operation(:list_accounts, Seahorse::Model::Operation.new.tap do |o|
|
|
404
|
+
o.name = "ListAccounts"
|
|
405
|
+
o.http_method = "GET"
|
|
406
|
+
o.http_request_uri = "/console/accounts"
|
|
407
|
+
o.input = Shapes::ShapeRef.new(shape: ListAccountsRequest)
|
|
408
|
+
o.output = Shapes::ShapeRef.new(shape: ListAccountsResponse)
|
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
410
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
416
|
+
o[:pager] = Aws::Pager.new(
|
|
417
|
+
limit_key: "max_results",
|
|
418
|
+
tokens: {
|
|
419
|
+
"next_token" => "next_token"
|
|
420
|
+
}
|
|
421
|
+
)
|
|
422
|
+
end)
|
|
423
|
+
|
|
424
|
+
api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
|
|
425
|
+
o.name = "ListUsers"
|
|
426
|
+
o.http_method = "GET"
|
|
427
|
+
o.http_request_uri = "/console/accounts/{accountId}/users"
|
|
428
|
+
o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
|
|
429
|
+
o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
|
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
437
|
+
o[:pager] = Aws::Pager.new(
|
|
438
|
+
limit_key: "max_results",
|
|
439
|
+
tokens: {
|
|
440
|
+
"next_token" => "next_token"
|
|
441
|
+
}
|
|
442
|
+
)
|
|
443
|
+
end)
|
|
444
|
+
|
|
445
|
+
api.add_operation(:logout_user, Seahorse::Model::Operation.new.tap do |o|
|
|
446
|
+
o.name = "LogoutUser"
|
|
447
|
+
o.http_method = "POST"
|
|
448
|
+
o.http_request_uri = "/console/accounts/{accountId}/users/{userId}?operation=logout"
|
|
449
|
+
o.input = Shapes::ShapeRef.new(shape: LogoutUserRequest)
|
|
450
|
+
o.output = Shapes::ShapeRef.new(shape: LogoutUserResponse)
|
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
458
|
+
end)
|
|
459
|
+
|
|
460
|
+
api.add_operation(:reset_personal_pin, Seahorse::Model::Operation.new.tap do |o|
|
|
461
|
+
o.name = "ResetPersonalPIN"
|
|
462
|
+
o.http_method = "POST"
|
|
463
|
+
o.http_request_uri = "/console/accounts/{accountId}/users/{userId}?operation=reset-personal-pin"
|
|
464
|
+
o.input = Shapes::ShapeRef.new(shape: ResetPersonalPINRequest)
|
|
465
|
+
o.output = Shapes::ShapeRef.new(shape: ResetPersonalPINResponse)
|
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
473
|
+
end)
|
|
474
|
+
|
|
475
|
+
api.add_operation(:update_account, Seahorse::Model::Operation.new.tap do |o|
|
|
476
|
+
o.name = "UpdateAccount"
|
|
477
|
+
o.http_method = "POST"
|
|
478
|
+
o.http_request_uri = "/console/accounts/{accountId}"
|
|
479
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAccountRequest)
|
|
480
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAccountResponse)
|
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
488
|
+
end)
|
|
489
|
+
|
|
490
|
+
api.add_operation(:update_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
|
491
|
+
o.name = "UpdateAccountSettings"
|
|
492
|
+
o.http_method = "PUT"
|
|
493
|
+
o.http_request_uri = "/console/accounts/{accountId}/settings"
|
|
494
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAccountSettingsRequest)
|
|
495
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAccountSettingsResponse)
|
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
504
|
+
end)
|
|
505
|
+
|
|
506
|
+
api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
|
|
507
|
+
o.name = "UpdateUser"
|
|
508
|
+
o.http_method = "POST"
|
|
509
|
+
o.http_request_uri = "/console/accounts/{accountId}/users/{userId}"
|
|
510
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
|
|
511
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateUserResponse)
|
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
519
|
+
end)
|
|
520
|
+
end
|
|
521
|
+
|
|
522
|
+
end
|
|
523
|
+
end
|