@aws-sdk/client-chime 3.927.0 → 3.929.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.
- package/dist-cjs/index.js +2286 -2820
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ChimeClient.js +2 -0
- package/dist-es/commands/AssociatePhoneNumberWithUserCommand.js +3 -10
- package/dist-es/commands/AssociateSigninDelegateGroupsWithAccountCommand.js +3 -9
- package/dist-es/commands/BatchCreateRoomMembershipCommand.js +3 -9
- package/dist-es/commands/BatchDeletePhoneNumberCommand.js +3 -9
- package/dist-es/commands/BatchSuspendUserCommand.js +3 -9
- package/dist-es/commands/BatchUnsuspendUserCommand.js +3 -9
- package/dist-es/commands/BatchUpdatePhoneNumberCommand.js +3 -10
- package/dist-es/commands/BatchUpdateUserCommand.js +3 -10
- package/dist-es/commands/CreateAccountCommand.js +3 -9
- package/dist-es/commands/CreateBotCommand.js +3 -10
- package/dist-es/commands/CreateMeetingDialOutCommand.js +3 -10
- package/dist-es/commands/CreatePhoneNumberOrderCommand.js +3 -10
- package/dist-es/commands/CreateRoomCommand.js +3 -10
- package/dist-es/commands/CreateRoomMembershipCommand.js +3 -10
- package/dist-es/commands/CreateUserCommand.js +3 -10
- package/dist-es/commands/DeleteAccountCommand.js +3 -9
- package/dist-es/commands/DeleteEventsConfigurationCommand.js +3 -9
- package/dist-es/commands/DeletePhoneNumberCommand.js +3 -9
- package/dist-es/commands/DeleteRoomCommand.js +3 -9
- package/dist-es/commands/DeleteRoomMembershipCommand.js +3 -9
- package/dist-es/commands/DisassociatePhoneNumberFromUserCommand.js +3 -9
- package/dist-es/commands/DisassociateSigninDelegateGroupsFromAccountCommand.js +3 -9
- package/dist-es/commands/GetAccountCommand.js +3 -9
- package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
- package/dist-es/commands/GetBotCommand.js +3 -10
- package/dist-es/commands/GetEventsConfigurationCommand.js +3 -10
- package/dist-es/commands/GetGlobalSettingsCommand.js +3 -9
- package/dist-es/commands/GetPhoneNumberCommand.js +3 -10
- package/dist-es/commands/GetPhoneNumberOrderCommand.js +3 -10
- package/dist-es/commands/GetPhoneNumberSettingsCommand.js +3 -10
- package/dist-es/commands/GetRetentionSettingsCommand.js +3 -9
- package/dist-es/commands/GetRoomCommand.js +3 -10
- package/dist-es/commands/GetUserCommand.js +3 -10
- package/dist-es/commands/GetUserSettingsCommand.js +3 -9
- package/dist-es/commands/InviteUsersCommand.js +3 -10
- package/dist-es/commands/ListAccountsCommand.js +3 -10
- package/dist-es/commands/ListBotsCommand.js +3 -10
- package/dist-es/commands/ListPhoneNumberOrdersCommand.js +3 -10
- package/dist-es/commands/ListPhoneNumbersCommand.js +3 -10
- package/dist-es/commands/ListRoomMembershipsCommand.js +3 -10
- package/dist-es/commands/ListRoomsCommand.js +3 -10
- package/dist-es/commands/ListSupportedPhoneNumberCountriesCommand.js +3 -9
- package/dist-es/commands/ListUsersCommand.js +3 -10
- package/dist-es/commands/LogoutUserCommand.js +3 -9
- package/dist-es/commands/PutEventsConfigurationCommand.js +3 -10
- package/dist-es/commands/PutRetentionSettingsCommand.js +3 -9
- package/dist-es/commands/RedactConversationMessageCommand.js +3 -9
- package/dist-es/commands/RedactRoomMessageCommand.js +3 -9
- package/dist-es/commands/RegenerateSecurityTokenCommand.js +3 -10
- package/dist-es/commands/ResetPersonalPINCommand.js +3 -10
- package/dist-es/commands/RestorePhoneNumberCommand.js +3 -10
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +3 -10
- package/dist-es/commands/UpdateAccountCommand.js +3 -9
- package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateBotCommand.js +3 -10
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +3 -9
- package/dist-es/commands/UpdatePhoneNumberCommand.js +3 -10
- package/dist-es/commands/UpdatePhoneNumberSettingsCommand.js +3 -10
- package/dist-es/commands/UpdateRoomCommand.js +3 -10
- package/dist-es/commands/UpdateRoomMembershipCommand.js +3 -10
- package/dist-es/commands/UpdateUserCommand.js +3 -10
- package/dist-es/commands/UpdateUserSettingsCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -262
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2158 -0
- package/dist-types/ChimeClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -232
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +251 -0
- package/dist-types/ts3.4/ChimeClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -162
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +257 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -2062
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -560
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -749
|
@@ -1,2062 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
|
-
import { ChimeServiceException as __BaseException } from "../models/ChimeServiceException";
|
|
6
|
-
import { AccessDeniedException, BadRequestException, ConflictException, ForbiddenException, NotFoundException, ResourceLimitExceededException, ServiceFailureException, ServiceUnavailableException, ThrottledClientException, UnauthorizedClientException, UnprocessableEntityException, } from "../models/models_0";
|
|
7
|
-
export const se_AssociatePhoneNumberWithUserCommand = async (input, context) => {
|
|
8
|
-
const b = rb(input, context);
|
|
9
|
-
const headers = {
|
|
10
|
-
"content-type": "application/json",
|
|
11
|
-
};
|
|
12
|
-
b.bp("/accounts/{AccountId}/users/{UserId}");
|
|
13
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
14
|
-
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
15
|
-
const query = map({
|
|
16
|
-
[_o]: [, "associate-phone-number"],
|
|
17
|
-
});
|
|
18
|
-
let body;
|
|
19
|
-
body = JSON.stringify(take(input, {
|
|
20
|
-
E164PhoneNumber: [],
|
|
21
|
-
}));
|
|
22
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
23
|
-
return b.build();
|
|
24
|
-
};
|
|
25
|
-
export const se_AssociateSigninDelegateGroupsWithAccountCommand = async (input, context) => {
|
|
26
|
-
const b = rb(input, context);
|
|
27
|
-
const headers = {
|
|
28
|
-
"content-type": "application/json",
|
|
29
|
-
};
|
|
30
|
-
b.bp("/accounts/{AccountId}");
|
|
31
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
32
|
-
const query = map({
|
|
33
|
-
[_o]: [, "associate-signin-delegate-groups"],
|
|
34
|
-
});
|
|
35
|
-
let body;
|
|
36
|
-
body = JSON.stringify(take(input, {
|
|
37
|
-
SigninDelegateGroups: (_) => _json(_),
|
|
38
|
-
}));
|
|
39
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
40
|
-
return b.build();
|
|
41
|
-
};
|
|
42
|
-
export const se_BatchCreateRoomMembershipCommand = async (input, context) => {
|
|
43
|
-
const b = rb(input, context);
|
|
44
|
-
const headers = {
|
|
45
|
-
"content-type": "application/json",
|
|
46
|
-
};
|
|
47
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships");
|
|
48
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
49
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
50
|
-
const query = map({
|
|
51
|
-
[_o]: [, "batch-create"],
|
|
52
|
-
});
|
|
53
|
-
let body;
|
|
54
|
-
body = JSON.stringify(take(input, {
|
|
55
|
-
MembershipItemList: (_) => _json(_),
|
|
56
|
-
}));
|
|
57
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
58
|
-
return b.build();
|
|
59
|
-
};
|
|
60
|
-
export const se_BatchDeletePhoneNumberCommand = async (input, context) => {
|
|
61
|
-
const b = rb(input, context);
|
|
62
|
-
const headers = {
|
|
63
|
-
"content-type": "application/json",
|
|
64
|
-
};
|
|
65
|
-
b.bp("/phone-numbers");
|
|
66
|
-
const query = map({
|
|
67
|
-
[_o]: [, "batch-delete"],
|
|
68
|
-
});
|
|
69
|
-
let body;
|
|
70
|
-
body = JSON.stringify(take(input, {
|
|
71
|
-
PhoneNumberIds: (_) => _json(_),
|
|
72
|
-
}));
|
|
73
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
74
|
-
return b.build();
|
|
75
|
-
};
|
|
76
|
-
export const se_BatchSuspendUserCommand = async (input, context) => {
|
|
77
|
-
const b = rb(input, context);
|
|
78
|
-
const headers = {
|
|
79
|
-
"content-type": "application/json",
|
|
80
|
-
};
|
|
81
|
-
b.bp("/accounts/{AccountId}/users");
|
|
82
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
83
|
-
const query = map({
|
|
84
|
-
[_o]: [, "suspend"],
|
|
85
|
-
});
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(take(input, {
|
|
88
|
-
UserIdList: (_) => _json(_),
|
|
89
|
-
}));
|
|
90
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
91
|
-
return b.build();
|
|
92
|
-
};
|
|
93
|
-
export const se_BatchUnsuspendUserCommand = async (input, context) => {
|
|
94
|
-
const b = rb(input, context);
|
|
95
|
-
const headers = {
|
|
96
|
-
"content-type": "application/json",
|
|
97
|
-
};
|
|
98
|
-
b.bp("/accounts/{AccountId}/users");
|
|
99
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
100
|
-
const query = map({
|
|
101
|
-
[_o]: [, "unsuspend"],
|
|
102
|
-
});
|
|
103
|
-
let body;
|
|
104
|
-
body = JSON.stringify(take(input, {
|
|
105
|
-
UserIdList: (_) => _json(_),
|
|
106
|
-
}));
|
|
107
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
108
|
-
return b.build();
|
|
109
|
-
};
|
|
110
|
-
export const se_BatchUpdatePhoneNumberCommand = async (input, context) => {
|
|
111
|
-
const b = rb(input, context);
|
|
112
|
-
const headers = {
|
|
113
|
-
"content-type": "application/json",
|
|
114
|
-
};
|
|
115
|
-
b.bp("/phone-numbers");
|
|
116
|
-
const query = map({
|
|
117
|
-
[_o]: [, "batch-update"],
|
|
118
|
-
});
|
|
119
|
-
let body;
|
|
120
|
-
body = JSON.stringify(take(input, {
|
|
121
|
-
UpdatePhoneNumberRequestItems: (_) => _json(_),
|
|
122
|
-
}));
|
|
123
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
124
|
-
return b.build();
|
|
125
|
-
};
|
|
126
|
-
export const se_BatchUpdateUserCommand = async (input, context) => {
|
|
127
|
-
const b = rb(input, context);
|
|
128
|
-
const headers = {
|
|
129
|
-
"content-type": "application/json",
|
|
130
|
-
};
|
|
131
|
-
b.bp("/accounts/{AccountId}/users");
|
|
132
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
133
|
-
let body;
|
|
134
|
-
body = JSON.stringify(take(input, {
|
|
135
|
-
UpdateUserRequestItems: (_) => _json(_),
|
|
136
|
-
}));
|
|
137
|
-
b.m("POST").h(headers).b(body);
|
|
138
|
-
return b.build();
|
|
139
|
-
};
|
|
140
|
-
export const se_CreateAccountCommand = async (input, context) => {
|
|
141
|
-
const b = rb(input, context);
|
|
142
|
-
const headers = {
|
|
143
|
-
"content-type": "application/json",
|
|
144
|
-
};
|
|
145
|
-
b.bp("/accounts");
|
|
146
|
-
let body;
|
|
147
|
-
body = JSON.stringify(take(input, {
|
|
148
|
-
Name: [],
|
|
149
|
-
}));
|
|
150
|
-
b.m("POST").h(headers).b(body);
|
|
151
|
-
return b.build();
|
|
152
|
-
};
|
|
153
|
-
export const se_CreateBotCommand = async (input, context) => {
|
|
154
|
-
const b = rb(input, context);
|
|
155
|
-
const headers = {
|
|
156
|
-
"content-type": "application/json",
|
|
157
|
-
};
|
|
158
|
-
b.bp("/accounts/{AccountId}/bots");
|
|
159
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
160
|
-
let body;
|
|
161
|
-
body = JSON.stringify(take(input, {
|
|
162
|
-
DisplayName: [],
|
|
163
|
-
Domain: [],
|
|
164
|
-
}));
|
|
165
|
-
b.m("POST").h(headers).b(body);
|
|
166
|
-
return b.build();
|
|
167
|
-
};
|
|
168
|
-
export const se_CreateMeetingDialOutCommand = async (input, context) => {
|
|
169
|
-
const b = rb(input, context);
|
|
170
|
-
const headers = {
|
|
171
|
-
"content-type": "application/json",
|
|
172
|
-
};
|
|
173
|
-
b.bp("/meetings/{MeetingId}/dial-outs");
|
|
174
|
-
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
175
|
-
let body;
|
|
176
|
-
body = JSON.stringify(take(input, {
|
|
177
|
-
FromPhoneNumber: [],
|
|
178
|
-
JoinToken: [],
|
|
179
|
-
ToPhoneNumber: [],
|
|
180
|
-
}));
|
|
181
|
-
b.m("POST").h(headers).b(body);
|
|
182
|
-
return b.build();
|
|
183
|
-
};
|
|
184
|
-
export const se_CreatePhoneNumberOrderCommand = async (input, context) => {
|
|
185
|
-
const b = rb(input, context);
|
|
186
|
-
const headers = {
|
|
187
|
-
"content-type": "application/json",
|
|
188
|
-
};
|
|
189
|
-
b.bp("/phone-number-orders");
|
|
190
|
-
let body;
|
|
191
|
-
body = JSON.stringify(take(input, {
|
|
192
|
-
E164PhoneNumbers: (_) => _json(_),
|
|
193
|
-
ProductType: [],
|
|
194
|
-
}));
|
|
195
|
-
b.m("POST").h(headers).b(body);
|
|
196
|
-
return b.build();
|
|
197
|
-
};
|
|
198
|
-
export const se_CreateRoomCommand = async (input, context) => {
|
|
199
|
-
const b = rb(input, context);
|
|
200
|
-
const headers = {
|
|
201
|
-
"content-type": "application/json",
|
|
202
|
-
};
|
|
203
|
-
b.bp("/accounts/{AccountId}/rooms");
|
|
204
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
205
|
-
let body;
|
|
206
|
-
body = JSON.stringify(take(input, {
|
|
207
|
-
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
208
|
-
Name: [],
|
|
209
|
-
}));
|
|
210
|
-
b.m("POST").h(headers).b(body);
|
|
211
|
-
return b.build();
|
|
212
|
-
};
|
|
213
|
-
export const se_CreateRoomMembershipCommand = async (input, context) => {
|
|
214
|
-
const b = rb(input, context);
|
|
215
|
-
const headers = {
|
|
216
|
-
"content-type": "application/json",
|
|
217
|
-
};
|
|
218
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships");
|
|
219
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
220
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
221
|
-
let body;
|
|
222
|
-
body = JSON.stringify(take(input, {
|
|
223
|
-
MemberId: [],
|
|
224
|
-
Role: [],
|
|
225
|
-
}));
|
|
226
|
-
b.m("POST").h(headers).b(body);
|
|
227
|
-
return b.build();
|
|
228
|
-
};
|
|
229
|
-
export const se_CreateUserCommand = async (input, context) => {
|
|
230
|
-
const b = rb(input, context);
|
|
231
|
-
const headers = {
|
|
232
|
-
"content-type": "application/json",
|
|
233
|
-
};
|
|
234
|
-
b.bp("/accounts/{AccountId}/users");
|
|
235
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
236
|
-
const query = map({
|
|
237
|
-
[_o]: [, "create"],
|
|
238
|
-
});
|
|
239
|
-
let body;
|
|
240
|
-
body = JSON.stringify(take(input, {
|
|
241
|
-
Email: [],
|
|
242
|
-
UserType: [],
|
|
243
|
-
Username: [],
|
|
244
|
-
}));
|
|
245
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
246
|
-
return b.build();
|
|
247
|
-
};
|
|
248
|
-
export const se_DeleteAccountCommand = async (input, context) => {
|
|
249
|
-
const b = rb(input, context);
|
|
250
|
-
const headers = {};
|
|
251
|
-
b.bp("/accounts/{AccountId}");
|
|
252
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
253
|
-
let body;
|
|
254
|
-
b.m("DELETE").h(headers).b(body);
|
|
255
|
-
return b.build();
|
|
256
|
-
};
|
|
257
|
-
export const se_DeleteEventsConfigurationCommand = async (input, context) => {
|
|
258
|
-
const b = rb(input, context);
|
|
259
|
-
const headers = {};
|
|
260
|
-
b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration");
|
|
261
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
262
|
-
b.p("BotId", () => input.BotId, "{BotId}", false);
|
|
263
|
-
let body;
|
|
264
|
-
b.m("DELETE").h(headers).b(body);
|
|
265
|
-
return b.build();
|
|
266
|
-
};
|
|
267
|
-
export const se_DeletePhoneNumberCommand = async (input, context) => {
|
|
268
|
-
const b = rb(input, context);
|
|
269
|
-
const headers = {};
|
|
270
|
-
b.bp("/phone-numbers/{PhoneNumberId}");
|
|
271
|
-
b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);
|
|
272
|
-
let body;
|
|
273
|
-
b.m("DELETE").h(headers).b(body);
|
|
274
|
-
return b.build();
|
|
275
|
-
};
|
|
276
|
-
export const se_DeleteRoomCommand = async (input, context) => {
|
|
277
|
-
const b = rb(input, context);
|
|
278
|
-
const headers = {};
|
|
279
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}");
|
|
280
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
281
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
282
|
-
let body;
|
|
283
|
-
b.m("DELETE").h(headers).b(body);
|
|
284
|
-
return b.build();
|
|
285
|
-
};
|
|
286
|
-
export const se_DeleteRoomMembershipCommand = async (input, context) => {
|
|
287
|
-
const b = rb(input, context);
|
|
288
|
-
const headers = {};
|
|
289
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}");
|
|
290
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
291
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
292
|
-
b.p("MemberId", () => input.MemberId, "{MemberId}", false);
|
|
293
|
-
let body;
|
|
294
|
-
b.m("DELETE").h(headers).b(body);
|
|
295
|
-
return b.build();
|
|
296
|
-
};
|
|
297
|
-
export const se_DisassociatePhoneNumberFromUserCommand = async (input, context) => {
|
|
298
|
-
const b = rb(input, context);
|
|
299
|
-
const headers = {};
|
|
300
|
-
b.bp("/accounts/{AccountId}/users/{UserId}");
|
|
301
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
302
|
-
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
303
|
-
const query = map({
|
|
304
|
-
[_o]: [, "disassociate-phone-number"],
|
|
305
|
-
});
|
|
306
|
-
let body;
|
|
307
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
308
|
-
return b.build();
|
|
309
|
-
};
|
|
310
|
-
export const se_DisassociateSigninDelegateGroupsFromAccountCommand = async (input, context) => {
|
|
311
|
-
const b = rb(input, context);
|
|
312
|
-
const headers = {
|
|
313
|
-
"content-type": "application/json",
|
|
314
|
-
};
|
|
315
|
-
b.bp("/accounts/{AccountId}");
|
|
316
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
317
|
-
const query = map({
|
|
318
|
-
[_o]: [, "disassociate-signin-delegate-groups"],
|
|
319
|
-
});
|
|
320
|
-
let body;
|
|
321
|
-
body = JSON.stringify(take(input, {
|
|
322
|
-
GroupNames: (_) => _json(_),
|
|
323
|
-
}));
|
|
324
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
325
|
-
return b.build();
|
|
326
|
-
};
|
|
327
|
-
export const se_GetAccountCommand = async (input, context) => {
|
|
328
|
-
const b = rb(input, context);
|
|
329
|
-
const headers = {};
|
|
330
|
-
b.bp("/accounts/{AccountId}");
|
|
331
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
332
|
-
let body;
|
|
333
|
-
b.m("GET").h(headers).b(body);
|
|
334
|
-
return b.build();
|
|
335
|
-
};
|
|
336
|
-
export const se_GetAccountSettingsCommand = async (input, context) => {
|
|
337
|
-
const b = rb(input, context);
|
|
338
|
-
const headers = {};
|
|
339
|
-
b.bp("/accounts/{AccountId}/settings");
|
|
340
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
341
|
-
let body;
|
|
342
|
-
b.m("GET").h(headers).b(body);
|
|
343
|
-
return b.build();
|
|
344
|
-
};
|
|
345
|
-
export const se_GetBotCommand = async (input, context) => {
|
|
346
|
-
const b = rb(input, context);
|
|
347
|
-
const headers = {};
|
|
348
|
-
b.bp("/accounts/{AccountId}/bots/{BotId}");
|
|
349
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
350
|
-
b.p("BotId", () => input.BotId, "{BotId}", false);
|
|
351
|
-
let body;
|
|
352
|
-
b.m("GET").h(headers).b(body);
|
|
353
|
-
return b.build();
|
|
354
|
-
};
|
|
355
|
-
export const se_GetEventsConfigurationCommand = async (input, context) => {
|
|
356
|
-
const b = rb(input, context);
|
|
357
|
-
const headers = {};
|
|
358
|
-
b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration");
|
|
359
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
360
|
-
b.p("BotId", () => input.BotId, "{BotId}", false);
|
|
361
|
-
let body;
|
|
362
|
-
b.m("GET").h(headers).b(body);
|
|
363
|
-
return b.build();
|
|
364
|
-
};
|
|
365
|
-
export const se_GetGlobalSettingsCommand = async (input, context) => {
|
|
366
|
-
const b = rb(input, context);
|
|
367
|
-
const headers = {};
|
|
368
|
-
b.bp("/settings");
|
|
369
|
-
let body;
|
|
370
|
-
b.m("GET").h(headers).b(body);
|
|
371
|
-
return b.build();
|
|
372
|
-
};
|
|
373
|
-
export const se_GetPhoneNumberCommand = async (input, context) => {
|
|
374
|
-
const b = rb(input, context);
|
|
375
|
-
const headers = {};
|
|
376
|
-
b.bp("/phone-numbers/{PhoneNumberId}");
|
|
377
|
-
b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);
|
|
378
|
-
let body;
|
|
379
|
-
b.m("GET").h(headers).b(body);
|
|
380
|
-
return b.build();
|
|
381
|
-
};
|
|
382
|
-
export const se_GetPhoneNumberOrderCommand = async (input, context) => {
|
|
383
|
-
const b = rb(input, context);
|
|
384
|
-
const headers = {};
|
|
385
|
-
b.bp("/phone-number-orders/{PhoneNumberOrderId}");
|
|
386
|
-
b.p("PhoneNumberOrderId", () => input.PhoneNumberOrderId, "{PhoneNumberOrderId}", false);
|
|
387
|
-
let body;
|
|
388
|
-
b.m("GET").h(headers).b(body);
|
|
389
|
-
return b.build();
|
|
390
|
-
};
|
|
391
|
-
export const se_GetPhoneNumberSettingsCommand = async (input, context) => {
|
|
392
|
-
const b = rb(input, context);
|
|
393
|
-
const headers = {};
|
|
394
|
-
b.bp("/settings/phone-number");
|
|
395
|
-
let body;
|
|
396
|
-
b.m("GET").h(headers).b(body);
|
|
397
|
-
return b.build();
|
|
398
|
-
};
|
|
399
|
-
export const se_GetRetentionSettingsCommand = async (input, context) => {
|
|
400
|
-
const b = rb(input, context);
|
|
401
|
-
const headers = {};
|
|
402
|
-
b.bp("/accounts/{AccountId}/retention-settings");
|
|
403
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
404
|
-
let body;
|
|
405
|
-
b.m("GET").h(headers).b(body);
|
|
406
|
-
return b.build();
|
|
407
|
-
};
|
|
408
|
-
export const se_GetRoomCommand = async (input, context) => {
|
|
409
|
-
const b = rb(input, context);
|
|
410
|
-
const headers = {};
|
|
411
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}");
|
|
412
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
413
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
414
|
-
let body;
|
|
415
|
-
b.m("GET").h(headers).b(body);
|
|
416
|
-
return b.build();
|
|
417
|
-
};
|
|
418
|
-
export const se_GetUserCommand = async (input, context) => {
|
|
419
|
-
const b = rb(input, context);
|
|
420
|
-
const headers = {};
|
|
421
|
-
b.bp("/accounts/{AccountId}/users/{UserId}");
|
|
422
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
423
|
-
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
424
|
-
let body;
|
|
425
|
-
b.m("GET").h(headers).b(body);
|
|
426
|
-
return b.build();
|
|
427
|
-
};
|
|
428
|
-
export const se_GetUserSettingsCommand = async (input, context) => {
|
|
429
|
-
const b = rb(input, context);
|
|
430
|
-
const headers = {};
|
|
431
|
-
b.bp("/accounts/{AccountId}/users/{UserId}/settings");
|
|
432
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
433
|
-
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
434
|
-
let body;
|
|
435
|
-
b.m("GET").h(headers).b(body);
|
|
436
|
-
return b.build();
|
|
437
|
-
};
|
|
438
|
-
export const se_InviteUsersCommand = async (input, context) => {
|
|
439
|
-
const b = rb(input, context);
|
|
440
|
-
const headers = {
|
|
441
|
-
"content-type": "application/json",
|
|
442
|
-
};
|
|
443
|
-
b.bp("/accounts/{AccountId}/users");
|
|
444
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
445
|
-
const query = map({
|
|
446
|
-
[_o]: [, "add"],
|
|
447
|
-
});
|
|
448
|
-
let body;
|
|
449
|
-
body = JSON.stringify(take(input, {
|
|
450
|
-
UserEmailList: (_) => _json(_),
|
|
451
|
-
UserType: [],
|
|
452
|
-
}));
|
|
453
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
454
|
-
return b.build();
|
|
455
|
-
};
|
|
456
|
-
export const se_ListAccountsCommand = async (input, context) => {
|
|
457
|
-
const b = rb(input, context);
|
|
458
|
-
const headers = {};
|
|
459
|
-
b.bp("/accounts");
|
|
460
|
-
const query = map({
|
|
461
|
-
[_n]: [, input[_N]],
|
|
462
|
-
[_ue]: [, input[_UE]],
|
|
463
|
-
[_nt]: [, input[_NT]],
|
|
464
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
465
|
-
});
|
|
466
|
-
let body;
|
|
467
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
468
|
-
return b.build();
|
|
469
|
-
};
|
|
470
|
-
export const se_ListBotsCommand = async (input, context) => {
|
|
471
|
-
const b = rb(input, context);
|
|
472
|
-
const headers = {};
|
|
473
|
-
b.bp("/accounts/{AccountId}/bots");
|
|
474
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
475
|
-
const query = map({
|
|
476
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
477
|
-
[_nt]: [, input[_NT]],
|
|
478
|
-
});
|
|
479
|
-
let body;
|
|
480
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
481
|
-
return b.build();
|
|
482
|
-
};
|
|
483
|
-
export const se_ListPhoneNumberOrdersCommand = async (input, context) => {
|
|
484
|
-
const b = rb(input, context);
|
|
485
|
-
const headers = {};
|
|
486
|
-
b.bp("/phone-number-orders");
|
|
487
|
-
const query = map({
|
|
488
|
-
[_nt]: [, input[_NT]],
|
|
489
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
490
|
-
});
|
|
491
|
-
let body;
|
|
492
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
493
|
-
return b.build();
|
|
494
|
-
};
|
|
495
|
-
export const se_ListPhoneNumbersCommand = async (input, context) => {
|
|
496
|
-
const b = rb(input, context);
|
|
497
|
-
const headers = {};
|
|
498
|
-
b.bp("/phone-numbers");
|
|
499
|
-
const query = map({
|
|
500
|
-
[_s]: [, input[_S]],
|
|
501
|
-
[_pt]: [, input[_PT]],
|
|
502
|
-
[_fn]: [, input[_FN]],
|
|
503
|
-
[_fv]: [, input[_FV]],
|
|
504
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
505
|
-
[_nt]: [, input[_NT]],
|
|
506
|
-
});
|
|
507
|
-
let body;
|
|
508
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
509
|
-
return b.build();
|
|
510
|
-
};
|
|
511
|
-
export const se_ListRoomMembershipsCommand = async (input, context) => {
|
|
512
|
-
const b = rb(input, context);
|
|
513
|
-
const headers = {};
|
|
514
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships");
|
|
515
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
516
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
517
|
-
const query = map({
|
|
518
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
519
|
-
[_nt]: [, input[_NT]],
|
|
520
|
-
});
|
|
521
|
-
let body;
|
|
522
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
523
|
-
return b.build();
|
|
524
|
-
};
|
|
525
|
-
export const se_ListRoomsCommand = async (input, context) => {
|
|
526
|
-
const b = rb(input, context);
|
|
527
|
-
const headers = {};
|
|
528
|
-
b.bp("/accounts/{AccountId}/rooms");
|
|
529
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
530
|
-
const query = map({
|
|
531
|
-
[_mi]: [, input[_MI]],
|
|
532
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
533
|
-
[_nt]: [, input[_NT]],
|
|
534
|
-
});
|
|
535
|
-
let body;
|
|
536
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
537
|
-
return b.build();
|
|
538
|
-
};
|
|
539
|
-
export const se_ListSupportedPhoneNumberCountriesCommand = async (input, context) => {
|
|
540
|
-
const b = rb(input, context);
|
|
541
|
-
const headers = {};
|
|
542
|
-
b.bp("/phone-number-countries");
|
|
543
|
-
const query = map({
|
|
544
|
-
[_pt]: [, __expectNonNull(input[_PT], `ProductType`)],
|
|
545
|
-
});
|
|
546
|
-
let body;
|
|
547
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
548
|
-
return b.build();
|
|
549
|
-
};
|
|
550
|
-
export const se_ListUsersCommand = async (input, context) => {
|
|
551
|
-
const b = rb(input, context);
|
|
552
|
-
const headers = {};
|
|
553
|
-
b.bp("/accounts/{AccountId}/users");
|
|
554
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
555
|
-
const query = map({
|
|
556
|
-
[_ue]: [, input[_UE]],
|
|
557
|
-
[_ut]: [, input[_UT]],
|
|
558
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
559
|
-
[_nt]: [, input[_NT]],
|
|
560
|
-
});
|
|
561
|
-
let body;
|
|
562
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
563
|
-
return b.build();
|
|
564
|
-
};
|
|
565
|
-
export const se_LogoutUserCommand = async (input, context) => {
|
|
566
|
-
const b = rb(input, context);
|
|
567
|
-
const headers = {};
|
|
568
|
-
b.bp("/accounts/{AccountId}/users/{UserId}");
|
|
569
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
570
|
-
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
571
|
-
const query = map({
|
|
572
|
-
[_o]: [, "logout"],
|
|
573
|
-
});
|
|
574
|
-
let body;
|
|
575
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
576
|
-
return b.build();
|
|
577
|
-
};
|
|
578
|
-
export const se_PutEventsConfigurationCommand = async (input, context) => {
|
|
579
|
-
const b = rb(input, context);
|
|
580
|
-
const headers = {
|
|
581
|
-
"content-type": "application/json",
|
|
582
|
-
};
|
|
583
|
-
b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration");
|
|
584
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
585
|
-
b.p("BotId", () => input.BotId, "{BotId}", false);
|
|
586
|
-
let body;
|
|
587
|
-
body = JSON.stringify(take(input, {
|
|
588
|
-
LambdaFunctionArn: [],
|
|
589
|
-
OutboundEventsHTTPSEndpoint: [],
|
|
590
|
-
}));
|
|
591
|
-
b.m("PUT").h(headers).b(body);
|
|
592
|
-
return b.build();
|
|
593
|
-
};
|
|
594
|
-
export const se_PutRetentionSettingsCommand = async (input, context) => {
|
|
595
|
-
const b = rb(input, context);
|
|
596
|
-
const headers = {
|
|
597
|
-
"content-type": "application/json",
|
|
598
|
-
};
|
|
599
|
-
b.bp("/accounts/{AccountId}/retention-settings");
|
|
600
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
601
|
-
let body;
|
|
602
|
-
body = JSON.stringify(take(input, {
|
|
603
|
-
RetentionSettings: (_) => _json(_),
|
|
604
|
-
}));
|
|
605
|
-
b.m("PUT").h(headers).b(body);
|
|
606
|
-
return b.build();
|
|
607
|
-
};
|
|
608
|
-
export const se_RedactConversationMessageCommand = async (input, context) => {
|
|
609
|
-
const b = rb(input, context);
|
|
610
|
-
const headers = {};
|
|
611
|
-
b.bp("/accounts/{AccountId}/conversations/{ConversationId}/messages/{MessageId}");
|
|
612
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
613
|
-
b.p("ConversationId", () => input.ConversationId, "{ConversationId}", false);
|
|
614
|
-
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
615
|
-
const query = map({
|
|
616
|
-
[_o]: [, "redact"],
|
|
617
|
-
});
|
|
618
|
-
let body;
|
|
619
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
620
|
-
return b.build();
|
|
621
|
-
};
|
|
622
|
-
export const se_RedactRoomMessageCommand = async (input, context) => {
|
|
623
|
-
const b = rb(input, context);
|
|
624
|
-
const headers = {};
|
|
625
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}/messages/{MessageId}");
|
|
626
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
627
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
628
|
-
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
629
|
-
const query = map({
|
|
630
|
-
[_o]: [, "redact"],
|
|
631
|
-
});
|
|
632
|
-
let body;
|
|
633
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
634
|
-
return b.build();
|
|
635
|
-
};
|
|
636
|
-
export const se_RegenerateSecurityTokenCommand = async (input, context) => {
|
|
637
|
-
const b = rb(input, context);
|
|
638
|
-
const headers = {};
|
|
639
|
-
b.bp("/accounts/{AccountId}/bots/{BotId}");
|
|
640
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
641
|
-
b.p("BotId", () => input.BotId, "{BotId}", false);
|
|
642
|
-
const query = map({
|
|
643
|
-
[_o]: [, "regenerate-security-token"],
|
|
644
|
-
});
|
|
645
|
-
let body;
|
|
646
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
647
|
-
return b.build();
|
|
648
|
-
};
|
|
649
|
-
export const se_ResetPersonalPINCommand = async (input, context) => {
|
|
650
|
-
const b = rb(input, context);
|
|
651
|
-
const headers = {};
|
|
652
|
-
b.bp("/accounts/{AccountId}/users/{UserId}");
|
|
653
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
654
|
-
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
655
|
-
const query = map({
|
|
656
|
-
[_o]: [, "reset-personal-pin"],
|
|
657
|
-
});
|
|
658
|
-
let body;
|
|
659
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
660
|
-
return b.build();
|
|
661
|
-
};
|
|
662
|
-
export const se_RestorePhoneNumberCommand = async (input, context) => {
|
|
663
|
-
const b = rb(input, context);
|
|
664
|
-
const headers = {};
|
|
665
|
-
b.bp("/phone-numbers/{PhoneNumberId}");
|
|
666
|
-
b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);
|
|
667
|
-
const query = map({
|
|
668
|
-
[_o]: [, "restore"],
|
|
669
|
-
});
|
|
670
|
-
let body;
|
|
671
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
672
|
-
return b.build();
|
|
673
|
-
};
|
|
674
|
-
export const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
|
|
675
|
-
const b = rb(input, context);
|
|
676
|
-
const headers = {};
|
|
677
|
-
b.bp("/search");
|
|
678
|
-
const query = map({
|
|
679
|
-
[_t]: [, "phone-numbers"],
|
|
680
|
-
[_ac]: [, input[_AC]],
|
|
681
|
-
[_c]: [, input[_C]],
|
|
682
|
-
[_co]: [, input[_Co]],
|
|
683
|
-
[_st]: [, input[_St]],
|
|
684
|
-
[_tfp]: [, input[_TFP]],
|
|
685
|
-
[_pnt]: [, input[_PNT]],
|
|
686
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
687
|
-
[_nt]: [, input[_NT]],
|
|
688
|
-
});
|
|
689
|
-
let body;
|
|
690
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
691
|
-
return b.build();
|
|
692
|
-
};
|
|
693
|
-
export const se_UpdateAccountCommand = async (input, context) => {
|
|
694
|
-
const b = rb(input, context);
|
|
695
|
-
const headers = {
|
|
696
|
-
"content-type": "application/json",
|
|
697
|
-
};
|
|
698
|
-
b.bp("/accounts/{AccountId}");
|
|
699
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
700
|
-
let body;
|
|
701
|
-
body = JSON.stringify(take(input, {
|
|
702
|
-
DefaultLicense: [],
|
|
703
|
-
Name: [],
|
|
704
|
-
}));
|
|
705
|
-
b.m("POST").h(headers).b(body);
|
|
706
|
-
return b.build();
|
|
707
|
-
};
|
|
708
|
-
export const se_UpdateAccountSettingsCommand = async (input, context) => {
|
|
709
|
-
const b = rb(input, context);
|
|
710
|
-
const headers = {
|
|
711
|
-
"content-type": "application/json",
|
|
712
|
-
};
|
|
713
|
-
b.bp("/accounts/{AccountId}/settings");
|
|
714
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
715
|
-
let body;
|
|
716
|
-
body = JSON.stringify(take(input, {
|
|
717
|
-
AccountSettings: (_) => _json(_),
|
|
718
|
-
}));
|
|
719
|
-
b.m("PUT").h(headers).b(body);
|
|
720
|
-
return b.build();
|
|
721
|
-
};
|
|
722
|
-
export const se_UpdateBotCommand = async (input, context) => {
|
|
723
|
-
const b = rb(input, context);
|
|
724
|
-
const headers = {
|
|
725
|
-
"content-type": "application/json",
|
|
726
|
-
};
|
|
727
|
-
b.bp("/accounts/{AccountId}/bots/{BotId}");
|
|
728
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
729
|
-
b.p("BotId", () => input.BotId, "{BotId}", false);
|
|
730
|
-
let body;
|
|
731
|
-
body = JSON.stringify(take(input, {
|
|
732
|
-
Disabled: [],
|
|
733
|
-
}));
|
|
734
|
-
b.m("POST").h(headers).b(body);
|
|
735
|
-
return b.build();
|
|
736
|
-
};
|
|
737
|
-
export const se_UpdateGlobalSettingsCommand = async (input, context) => {
|
|
738
|
-
const b = rb(input, context);
|
|
739
|
-
const headers = {
|
|
740
|
-
"content-type": "application/json",
|
|
741
|
-
};
|
|
742
|
-
b.bp("/settings");
|
|
743
|
-
let body;
|
|
744
|
-
body = JSON.stringify(take(input, {
|
|
745
|
-
BusinessCalling: (_) => _json(_),
|
|
746
|
-
VoiceConnector: (_) => _json(_),
|
|
747
|
-
}));
|
|
748
|
-
b.m("PUT").h(headers).b(body);
|
|
749
|
-
return b.build();
|
|
750
|
-
};
|
|
751
|
-
export const se_UpdatePhoneNumberCommand = async (input, context) => {
|
|
752
|
-
const b = rb(input, context);
|
|
753
|
-
const headers = {
|
|
754
|
-
"content-type": "application/json",
|
|
755
|
-
};
|
|
756
|
-
b.bp("/phone-numbers/{PhoneNumberId}");
|
|
757
|
-
b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);
|
|
758
|
-
let body;
|
|
759
|
-
body = JSON.stringify(take(input, {
|
|
760
|
-
CallingName: [],
|
|
761
|
-
ProductType: [],
|
|
762
|
-
}));
|
|
763
|
-
b.m("POST").h(headers).b(body);
|
|
764
|
-
return b.build();
|
|
765
|
-
};
|
|
766
|
-
export const se_UpdatePhoneNumberSettingsCommand = async (input, context) => {
|
|
767
|
-
const b = rb(input, context);
|
|
768
|
-
const headers = {
|
|
769
|
-
"content-type": "application/json",
|
|
770
|
-
};
|
|
771
|
-
b.bp("/settings/phone-number");
|
|
772
|
-
let body;
|
|
773
|
-
body = JSON.stringify(take(input, {
|
|
774
|
-
CallingName: [],
|
|
775
|
-
}));
|
|
776
|
-
b.m("PUT").h(headers).b(body);
|
|
777
|
-
return b.build();
|
|
778
|
-
};
|
|
779
|
-
export const se_UpdateRoomCommand = async (input, context) => {
|
|
780
|
-
const b = rb(input, context);
|
|
781
|
-
const headers = {
|
|
782
|
-
"content-type": "application/json",
|
|
783
|
-
};
|
|
784
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}");
|
|
785
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
786
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
787
|
-
let body;
|
|
788
|
-
body = JSON.stringify(take(input, {
|
|
789
|
-
Name: [],
|
|
790
|
-
}));
|
|
791
|
-
b.m("POST").h(headers).b(body);
|
|
792
|
-
return b.build();
|
|
793
|
-
};
|
|
794
|
-
export const se_UpdateRoomMembershipCommand = async (input, context) => {
|
|
795
|
-
const b = rb(input, context);
|
|
796
|
-
const headers = {
|
|
797
|
-
"content-type": "application/json",
|
|
798
|
-
};
|
|
799
|
-
b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}");
|
|
800
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
801
|
-
b.p("RoomId", () => input.RoomId, "{RoomId}", false);
|
|
802
|
-
b.p("MemberId", () => input.MemberId, "{MemberId}", false);
|
|
803
|
-
let body;
|
|
804
|
-
body = JSON.stringify(take(input, {
|
|
805
|
-
Role: [],
|
|
806
|
-
}));
|
|
807
|
-
b.m("POST").h(headers).b(body);
|
|
808
|
-
return b.build();
|
|
809
|
-
};
|
|
810
|
-
export const se_UpdateUserCommand = async (input, context) => {
|
|
811
|
-
const b = rb(input, context);
|
|
812
|
-
const headers = {
|
|
813
|
-
"content-type": "application/json",
|
|
814
|
-
};
|
|
815
|
-
b.bp("/accounts/{AccountId}/users/{UserId}");
|
|
816
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
817
|
-
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
818
|
-
let body;
|
|
819
|
-
body = JSON.stringify(take(input, {
|
|
820
|
-
AlexaForBusinessMetadata: (_) => _json(_),
|
|
821
|
-
LicenseType: [],
|
|
822
|
-
UserType: [],
|
|
823
|
-
}));
|
|
824
|
-
b.m("POST").h(headers).b(body);
|
|
825
|
-
return b.build();
|
|
826
|
-
};
|
|
827
|
-
export const se_UpdateUserSettingsCommand = async (input, context) => {
|
|
828
|
-
const b = rb(input, context);
|
|
829
|
-
const headers = {
|
|
830
|
-
"content-type": "application/json",
|
|
831
|
-
};
|
|
832
|
-
b.bp("/accounts/{AccountId}/users/{UserId}/settings");
|
|
833
|
-
b.p("AccountId", () => input.AccountId, "{AccountId}", false);
|
|
834
|
-
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
835
|
-
let body;
|
|
836
|
-
body = JSON.stringify(take(input, {
|
|
837
|
-
UserSettings: (_) => _json(_),
|
|
838
|
-
}));
|
|
839
|
-
b.m("PUT").h(headers).b(body);
|
|
840
|
-
return b.build();
|
|
841
|
-
};
|
|
842
|
-
export const de_AssociatePhoneNumberWithUserCommand = async (output, context) => {
|
|
843
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
844
|
-
return de_CommandError(output, context);
|
|
845
|
-
}
|
|
846
|
-
const contents = map({
|
|
847
|
-
$metadata: deserializeMetadata(output),
|
|
848
|
-
});
|
|
849
|
-
await collectBody(output.body, context);
|
|
850
|
-
return contents;
|
|
851
|
-
};
|
|
852
|
-
export const de_AssociateSigninDelegateGroupsWithAccountCommand = async (output, context) => {
|
|
853
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
854
|
-
return de_CommandError(output, context);
|
|
855
|
-
}
|
|
856
|
-
const contents = map({
|
|
857
|
-
$metadata: deserializeMetadata(output),
|
|
858
|
-
});
|
|
859
|
-
await collectBody(output.body, context);
|
|
860
|
-
return contents;
|
|
861
|
-
};
|
|
862
|
-
export const de_BatchCreateRoomMembershipCommand = async (output, context) => {
|
|
863
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
864
|
-
return de_CommandError(output, context);
|
|
865
|
-
}
|
|
866
|
-
const contents = map({
|
|
867
|
-
$metadata: deserializeMetadata(output),
|
|
868
|
-
});
|
|
869
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
870
|
-
const doc = take(data, {
|
|
871
|
-
Errors: _json,
|
|
872
|
-
});
|
|
873
|
-
Object.assign(contents, doc);
|
|
874
|
-
return contents;
|
|
875
|
-
};
|
|
876
|
-
export const de_BatchDeletePhoneNumberCommand = async (output, context) => {
|
|
877
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
878
|
-
return de_CommandError(output, context);
|
|
879
|
-
}
|
|
880
|
-
const contents = map({
|
|
881
|
-
$metadata: deserializeMetadata(output),
|
|
882
|
-
});
|
|
883
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
884
|
-
const doc = take(data, {
|
|
885
|
-
PhoneNumberErrors: _json,
|
|
886
|
-
});
|
|
887
|
-
Object.assign(contents, doc);
|
|
888
|
-
return contents;
|
|
889
|
-
};
|
|
890
|
-
export const de_BatchSuspendUserCommand = async (output, context) => {
|
|
891
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
892
|
-
return de_CommandError(output, context);
|
|
893
|
-
}
|
|
894
|
-
const contents = map({
|
|
895
|
-
$metadata: deserializeMetadata(output),
|
|
896
|
-
});
|
|
897
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
898
|
-
const doc = take(data, {
|
|
899
|
-
UserErrors: _json,
|
|
900
|
-
});
|
|
901
|
-
Object.assign(contents, doc);
|
|
902
|
-
return contents;
|
|
903
|
-
};
|
|
904
|
-
export const de_BatchUnsuspendUserCommand = async (output, context) => {
|
|
905
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
906
|
-
return de_CommandError(output, context);
|
|
907
|
-
}
|
|
908
|
-
const contents = map({
|
|
909
|
-
$metadata: deserializeMetadata(output),
|
|
910
|
-
});
|
|
911
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
912
|
-
const doc = take(data, {
|
|
913
|
-
UserErrors: _json,
|
|
914
|
-
});
|
|
915
|
-
Object.assign(contents, doc);
|
|
916
|
-
return contents;
|
|
917
|
-
};
|
|
918
|
-
export const de_BatchUpdatePhoneNumberCommand = async (output, context) => {
|
|
919
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
920
|
-
return de_CommandError(output, context);
|
|
921
|
-
}
|
|
922
|
-
const contents = map({
|
|
923
|
-
$metadata: deserializeMetadata(output),
|
|
924
|
-
});
|
|
925
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
926
|
-
const doc = take(data, {
|
|
927
|
-
PhoneNumberErrors: _json,
|
|
928
|
-
});
|
|
929
|
-
Object.assign(contents, doc);
|
|
930
|
-
return contents;
|
|
931
|
-
};
|
|
932
|
-
export const de_BatchUpdateUserCommand = async (output, context) => {
|
|
933
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
934
|
-
return de_CommandError(output, context);
|
|
935
|
-
}
|
|
936
|
-
const contents = map({
|
|
937
|
-
$metadata: deserializeMetadata(output),
|
|
938
|
-
});
|
|
939
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
940
|
-
const doc = take(data, {
|
|
941
|
-
UserErrors: _json,
|
|
942
|
-
});
|
|
943
|
-
Object.assign(contents, doc);
|
|
944
|
-
return contents;
|
|
945
|
-
};
|
|
946
|
-
export const de_CreateAccountCommand = async (output, context) => {
|
|
947
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
948
|
-
return de_CommandError(output, context);
|
|
949
|
-
}
|
|
950
|
-
const contents = map({
|
|
951
|
-
$metadata: deserializeMetadata(output),
|
|
952
|
-
});
|
|
953
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
954
|
-
const doc = take(data, {
|
|
955
|
-
Account: (_) => de_Account(_, context),
|
|
956
|
-
});
|
|
957
|
-
Object.assign(contents, doc);
|
|
958
|
-
return contents;
|
|
959
|
-
};
|
|
960
|
-
export const de_CreateBotCommand = async (output, context) => {
|
|
961
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
962
|
-
return de_CommandError(output, context);
|
|
963
|
-
}
|
|
964
|
-
const contents = map({
|
|
965
|
-
$metadata: deserializeMetadata(output),
|
|
966
|
-
});
|
|
967
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
968
|
-
const doc = take(data, {
|
|
969
|
-
Bot: (_) => de_Bot(_, context),
|
|
970
|
-
});
|
|
971
|
-
Object.assign(contents, doc);
|
|
972
|
-
return contents;
|
|
973
|
-
};
|
|
974
|
-
export const de_CreateMeetingDialOutCommand = async (output, context) => {
|
|
975
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
976
|
-
return de_CommandError(output, context);
|
|
977
|
-
}
|
|
978
|
-
const contents = map({
|
|
979
|
-
$metadata: deserializeMetadata(output),
|
|
980
|
-
});
|
|
981
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
982
|
-
const doc = take(data, {
|
|
983
|
-
TransactionId: __expectString,
|
|
984
|
-
});
|
|
985
|
-
Object.assign(contents, doc);
|
|
986
|
-
return contents;
|
|
987
|
-
};
|
|
988
|
-
export const de_CreatePhoneNumberOrderCommand = async (output, context) => {
|
|
989
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
990
|
-
return de_CommandError(output, context);
|
|
991
|
-
}
|
|
992
|
-
const contents = map({
|
|
993
|
-
$metadata: deserializeMetadata(output),
|
|
994
|
-
});
|
|
995
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
996
|
-
const doc = take(data, {
|
|
997
|
-
PhoneNumberOrder: (_) => de_PhoneNumberOrder(_, context),
|
|
998
|
-
});
|
|
999
|
-
Object.assign(contents, doc);
|
|
1000
|
-
return contents;
|
|
1001
|
-
};
|
|
1002
|
-
export const de_CreateRoomCommand = async (output, context) => {
|
|
1003
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1004
|
-
return de_CommandError(output, context);
|
|
1005
|
-
}
|
|
1006
|
-
const contents = map({
|
|
1007
|
-
$metadata: deserializeMetadata(output),
|
|
1008
|
-
});
|
|
1009
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1010
|
-
const doc = take(data, {
|
|
1011
|
-
Room: (_) => de_Room(_, context),
|
|
1012
|
-
});
|
|
1013
|
-
Object.assign(contents, doc);
|
|
1014
|
-
return contents;
|
|
1015
|
-
};
|
|
1016
|
-
export const de_CreateRoomMembershipCommand = async (output, context) => {
|
|
1017
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1018
|
-
return de_CommandError(output, context);
|
|
1019
|
-
}
|
|
1020
|
-
const contents = map({
|
|
1021
|
-
$metadata: deserializeMetadata(output),
|
|
1022
|
-
});
|
|
1023
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1024
|
-
const doc = take(data, {
|
|
1025
|
-
RoomMembership: (_) => de_RoomMembership(_, context),
|
|
1026
|
-
});
|
|
1027
|
-
Object.assign(contents, doc);
|
|
1028
|
-
return contents;
|
|
1029
|
-
};
|
|
1030
|
-
export const de_CreateUserCommand = async (output, context) => {
|
|
1031
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1032
|
-
return de_CommandError(output, context);
|
|
1033
|
-
}
|
|
1034
|
-
const contents = map({
|
|
1035
|
-
$metadata: deserializeMetadata(output),
|
|
1036
|
-
});
|
|
1037
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1038
|
-
const doc = take(data, {
|
|
1039
|
-
User: (_) => de_User(_, context),
|
|
1040
|
-
});
|
|
1041
|
-
Object.assign(contents, doc);
|
|
1042
|
-
return contents;
|
|
1043
|
-
};
|
|
1044
|
-
export const de_DeleteAccountCommand = async (output, context) => {
|
|
1045
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1046
|
-
return de_CommandError(output, context);
|
|
1047
|
-
}
|
|
1048
|
-
const contents = map({
|
|
1049
|
-
$metadata: deserializeMetadata(output),
|
|
1050
|
-
});
|
|
1051
|
-
await collectBody(output.body, context);
|
|
1052
|
-
return contents;
|
|
1053
|
-
};
|
|
1054
|
-
export const de_DeleteEventsConfigurationCommand = async (output, context) => {
|
|
1055
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1056
|
-
return de_CommandError(output, context);
|
|
1057
|
-
}
|
|
1058
|
-
const contents = map({
|
|
1059
|
-
$metadata: deserializeMetadata(output),
|
|
1060
|
-
});
|
|
1061
|
-
await collectBody(output.body, context);
|
|
1062
|
-
return contents;
|
|
1063
|
-
};
|
|
1064
|
-
export const de_DeletePhoneNumberCommand = async (output, context) => {
|
|
1065
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1066
|
-
return de_CommandError(output, context);
|
|
1067
|
-
}
|
|
1068
|
-
const contents = map({
|
|
1069
|
-
$metadata: deserializeMetadata(output),
|
|
1070
|
-
});
|
|
1071
|
-
await collectBody(output.body, context);
|
|
1072
|
-
return contents;
|
|
1073
|
-
};
|
|
1074
|
-
export const de_DeleteRoomCommand = async (output, context) => {
|
|
1075
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1076
|
-
return de_CommandError(output, context);
|
|
1077
|
-
}
|
|
1078
|
-
const contents = map({
|
|
1079
|
-
$metadata: deserializeMetadata(output),
|
|
1080
|
-
});
|
|
1081
|
-
await collectBody(output.body, context);
|
|
1082
|
-
return contents;
|
|
1083
|
-
};
|
|
1084
|
-
export const de_DeleteRoomMembershipCommand = async (output, context) => {
|
|
1085
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1086
|
-
return de_CommandError(output, context);
|
|
1087
|
-
}
|
|
1088
|
-
const contents = map({
|
|
1089
|
-
$metadata: deserializeMetadata(output),
|
|
1090
|
-
});
|
|
1091
|
-
await collectBody(output.body, context);
|
|
1092
|
-
return contents;
|
|
1093
|
-
};
|
|
1094
|
-
export const de_DisassociatePhoneNumberFromUserCommand = async (output, context) => {
|
|
1095
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1096
|
-
return de_CommandError(output, context);
|
|
1097
|
-
}
|
|
1098
|
-
const contents = map({
|
|
1099
|
-
$metadata: deserializeMetadata(output),
|
|
1100
|
-
});
|
|
1101
|
-
await collectBody(output.body, context);
|
|
1102
|
-
return contents;
|
|
1103
|
-
};
|
|
1104
|
-
export const de_DisassociateSigninDelegateGroupsFromAccountCommand = async (output, context) => {
|
|
1105
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1106
|
-
return de_CommandError(output, context);
|
|
1107
|
-
}
|
|
1108
|
-
const contents = map({
|
|
1109
|
-
$metadata: deserializeMetadata(output),
|
|
1110
|
-
});
|
|
1111
|
-
await collectBody(output.body, context);
|
|
1112
|
-
return contents;
|
|
1113
|
-
};
|
|
1114
|
-
export const de_GetAccountCommand = async (output, context) => {
|
|
1115
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1116
|
-
return de_CommandError(output, context);
|
|
1117
|
-
}
|
|
1118
|
-
const contents = map({
|
|
1119
|
-
$metadata: deserializeMetadata(output),
|
|
1120
|
-
});
|
|
1121
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1122
|
-
const doc = take(data, {
|
|
1123
|
-
Account: (_) => de_Account(_, context),
|
|
1124
|
-
});
|
|
1125
|
-
Object.assign(contents, doc);
|
|
1126
|
-
return contents;
|
|
1127
|
-
};
|
|
1128
|
-
export const de_GetAccountSettingsCommand = async (output, context) => {
|
|
1129
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1130
|
-
return de_CommandError(output, context);
|
|
1131
|
-
}
|
|
1132
|
-
const contents = map({
|
|
1133
|
-
$metadata: deserializeMetadata(output),
|
|
1134
|
-
});
|
|
1135
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1136
|
-
const doc = take(data, {
|
|
1137
|
-
AccountSettings: _json,
|
|
1138
|
-
});
|
|
1139
|
-
Object.assign(contents, doc);
|
|
1140
|
-
return contents;
|
|
1141
|
-
};
|
|
1142
|
-
export const de_GetBotCommand = async (output, context) => {
|
|
1143
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1144
|
-
return de_CommandError(output, context);
|
|
1145
|
-
}
|
|
1146
|
-
const contents = map({
|
|
1147
|
-
$metadata: deserializeMetadata(output),
|
|
1148
|
-
});
|
|
1149
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1150
|
-
const doc = take(data, {
|
|
1151
|
-
Bot: (_) => de_Bot(_, context),
|
|
1152
|
-
});
|
|
1153
|
-
Object.assign(contents, doc);
|
|
1154
|
-
return contents;
|
|
1155
|
-
};
|
|
1156
|
-
export const de_GetEventsConfigurationCommand = async (output, context) => {
|
|
1157
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1158
|
-
return de_CommandError(output, context);
|
|
1159
|
-
}
|
|
1160
|
-
const contents = map({
|
|
1161
|
-
$metadata: deserializeMetadata(output),
|
|
1162
|
-
});
|
|
1163
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1164
|
-
const doc = take(data, {
|
|
1165
|
-
EventsConfiguration: _json,
|
|
1166
|
-
});
|
|
1167
|
-
Object.assign(contents, doc);
|
|
1168
|
-
return contents;
|
|
1169
|
-
};
|
|
1170
|
-
export const de_GetGlobalSettingsCommand = async (output, context) => {
|
|
1171
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1172
|
-
return de_CommandError(output, context);
|
|
1173
|
-
}
|
|
1174
|
-
const contents = map({
|
|
1175
|
-
$metadata: deserializeMetadata(output),
|
|
1176
|
-
});
|
|
1177
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1178
|
-
const doc = take(data, {
|
|
1179
|
-
BusinessCalling: _json,
|
|
1180
|
-
VoiceConnector: _json,
|
|
1181
|
-
});
|
|
1182
|
-
Object.assign(contents, doc);
|
|
1183
|
-
return contents;
|
|
1184
|
-
};
|
|
1185
|
-
export const de_GetPhoneNumberCommand = async (output, context) => {
|
|
1186
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1187
|
-
return de_CommandError(output, context);
|
|
1188
|
-
}
|
|
1189
|
-
const contents = map({
|
|
1190
|
-
$metadata: deserializeMetadata(output),
|
|
1191
|
-
});
|
|
1192
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1193
|
-
const doc = take(data, {
|
|
1194
|
-
PhoneNumber: (_) => de_PhoneNumber(_, context),
|
|
1195
|
-
});
|
|
1196
|
-
Object.assign(contents, doc);
|
|
1197
|
-
return contents;
|
|
1198
|
-
};
|
|
1199
|
-
export const de_GetPhoneNumberOrderCommand = async (output, context) => {
|
|
1200
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1201
|
-
return de_CommandError(output, context);
|
|
1202
|
-
}
|
|
1203
|
-
const contents = map({
|
|
1204
|
-
$metadata: deserializeMetadata(output),
|
|
1205
|
-
});
|
|
1206
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1207
|
-
const doc = take(data, {
|
|
1208
|
-
PhoneNumberOrder: (_) => de_PhoneNumberOrder(_, context),
|
|
1209
|
-
});
|
|
1210
|
-
Object.assign(contents, doc);
|
|
1211
|
-
return contents;
|
|
1212
|
-
};
|
|
1213
|
-
export const de_GetPhoneNumberSettingsCommand = async (output, context) => {
|
|
1214
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1215
|
-
return de_CommandError(output, context);
|
|
1216
|
-
}
|
|
1217
|
-
const contents = map({
|
|
1218
|
-
$metadata: deserializeMetadata(output),
|
|
1219
|
-
});
|
|
1220
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1221
|
-
const doc = take(data, {
|
|
1222
|
-
CallingName: __expectString,
|
|
1223
|
-
CallingNameUpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1224
|
-
});
|
|
1225
|
-
Object.assign(contents, doc);
|
|
1226
|
-
return contents;
|
|
1227
|
-
};
|
|
1228
|
-
export const de_GetRetentionSettingsCommand = async (output, context) => {
|
|
1229
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1230
|
-
return de_CommandError(output, context);
|
|
1231
|
-
}
|
|
1232
|
-
const contents = map({
|
|
1233
|
-
$metadata: deserializeMetadata(output),
|
|
1234
|
-
});
|
|
1235
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1236
|
-
const doc = take(data, {
|
|
1237
|
-
InitiateDeletionTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1238
|
-
RetentionSettings: _json,
|
|
1239
|
-
});
|
|
1240
|
-
Object.assign(contents, doc);
|
|
1241
|
-
return contents;
|
|
1242
|
-
};
|
|
1243
|
-
export const de_GetRoomCommand = async (output, context) => {
|
|
1244
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1245
|
-
return de_CommandError(output, context);
|
|
1246
|
-
}
|
|
1247
|
-
const contents = map({
|
|
1248
|
-
$metadata: deserializeMetadata(output),
|
|
1249
|
-
});
|
|
1250
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1251
|
-
const doc = take(data, {
|
|
1252
|
-
Room: (_) => de_Room(_, context),
|
|
1253
|
-
});
|
|
1254
|
-
Object.assign(contents, doc);
|
|
1255
|
-
return contents;
|
|
1256
|
-
};
|
|
1257
|
-
export const de_GetUserCommand = async (output, context) => {
|
|
1258
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1259
|
-
return de_CommandError(output, context);
|
|
1260
|
-
}
|
|
1261
|
-
const contents = map({
|
|
1262
|
-
$metadata: deserializeMetadata(output),
|
|
1263
|
-
});
|
|
1264
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1265
|
-
const doc = take(data, {
|
|
1266
|
-
User: (_) => de_User(_, context),
|
|
1267
|
-
});
|
|
1268
|
-
Object.assign(contents, doc);
|
|
1269
|
-
return contents;
|
|
1270
|
-
};
|
|
1271
|
-
export const de_GetUserSettingsCommand = async (output, context) => {
|
|
1272
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1273
|
-
return de_CommandError(output, context);
|
|
1274
|
-
}
|
|
1275
|
-
const contents = map({
|
|
1276
|
-
$metadata: deserializeMetadata(output),
|
|
1277
|
-
});
|
|
1278
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1279
|
-
const doc = take(data, {
|
|
1280
|
-
UserSettings: _json,
|
|
1281
|
-
});
|
|
1282
|
-
Object.assign(contents, doc);
|
|
1283
|
-
return contents;
|
|
1284
|
-
};
|
|
1285
|
-
export const de_InviteUsersCommand = async (output, context) => {
|
|
1286
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1287
|
-
return de_CommandError(output, context);
|
|
1288
|
-
}
|
|
1289
|
-
const contents = map({
|
|
1290
|
-
$metadata: deserializeMetadata(output),
|
|
1291
|
-
});
|
|
1292
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1293
|
-
const doc = take(data, {
|
|
1294
|
-
Invites: _json,
|
|
1295
|
-
});
|
|
1296
|
-
Object.assign(contents, doc);
|
|
1297
|
-
return contents;
|
|
1298
|
-
};
|
|
1299
|
-
export const de_ListAccountsCommand = async (output, context) => {
|
|
1300
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1301
|
-
return de_CommandError(output, context);
|
|
1302
|
-
}
|
|
1303
|
-
const contents = map({
|
|
1304
|
-
$metadata: deserializeMetadata(output),
|
|
1305
|
-
});
|
|
1306
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1307
|
-
const doc = take(data, {
|
|
1308
|
-
Accounts: (_) => de_AccountList(_, context),
|
|
1309
|
-
NextToken: __expectString,
|
|
1310
|
-
});
|
|
1311
|
-
Object.assign(contents, doc);
|
|
1312
|
-
return contents;
|
|
1313
|
-
};
|
|
1314
|
-
export const de_ListBotsCommand = async (output, context) => {
|
|
1315
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1316
|
-
return de_CommandError(output, context);
|
|
1317
|
-
}
|
|
1318
|
-
const contents = map({
|
|
1319
|
-
$metadata: deserializeMetadata(output),
|
|
1320
|
-
});
|
|
1321
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1322
|
-
const doc = take(data, {
|
|
1323
|
-
Bots: (_) => de_BotList(_, context),
|
|
1324
|
-
NextToken: __expectString,
|
|
1325
|
-
});
|
|
1326
|
-
Object.assign(contents, doc);
|
|
1327
|
-
return contents;
|
|
1328
|
-
};
|
|
1329
|
-
export const de_ListPhoneNumberOrdersCommand = async (output, context) => {
|
|
1330
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1331
|
-
return de_CommandError(output, context);
|
|
1332
|
-
}
|
|
1333
|
-
const contents = map({
|
|
1334
|
-
$metadata: deserializeMetadata(output),
|
|
1335
|
-
});
|
|
1336
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1337
|
-
const doc = take(data, {
|
|
1338
|
-
NextToken: __expectString,
|
|
1339
|
-
PhoneNumberOrders: (_) => de_PhoneNumberOrderList(_, context),
|
|
1340
|
-
});
|
|
1341
|
-
Object.assign(contents, doc);
|
|
1342
|
-
return contents;
|
|
1343
|
-
};
|
|
1344
|
-
export const de_ListPhoneNumbersCommand = async (output, context) => {
|
|
1345
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1346
|
-
return de_CommandError(output, context);
|
|
1347
|
-
}
|
|
1348
|
-
const contents = map({
|
|
1349
|
-
$metadata: deserializeMetadata(output),
|
|
1350
|
-
});
|
|
1351
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1352
|
-
const doc = take(data, {
|
|
1353
|
-
NextToken: __expectString,
|
|
1354
|
-
PhoneNumbers: (_) => de_PhoneNumberList(_, context),
|
|
1355
|
-
});
|
|
1356
|
-
Object.assign(contents, doc);
|
|
1357
|
-
return contents;
|
|
1358
|
-
};
|
|
1359
|
-
export const de_ListRoomMembershipsCommand = async (output, context) => {
|
|
1360
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1361
|
-
return de_CommandError(output, context);
|
|
1362
|
-
}
|
|
1363
|
-
const contents = map({
|
|
1364
|
-
$metadata: deserializeMetadata(output),
|
|
1365
|
-
});
|
|
1366
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1367
|
-
const doc = take(data, {
|
|
1368
|
-
NextToken: __expectString,
|
|
1369
|
-
RoomMemberships: (_) => de_RoomMembershipList(_, context),
|
|
1370
|
-
});
|
|
1371
|
-
Object.assign(contents, doc);
|
|
1372
|
-
return contents;
|
|
1373
|
-
};
|
|
1374
|
-
export const de_ListRoomsCommand = async (output, context) => {
|
|
1375
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1376
|
-
return de_CommandError(output, context);
|
|
1377
|
-
}
|
|
1378
|
-
const contents = map({
|
|
1379
|
-
$metadata: deserializeMetadata(output),
|
|
1380
|
-
});
|
|
1381
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1382
|
-
const doc = take(data, {
|
|
1383
|
-
NextToken: __expectString,
|
|
1384
|
-
Rooms: (_) => de_RoomList(_, context),
|
|
1385
|
-
});
|
|
1386
|
-
Object.assign(contents, doc);
|
|
1387
|
-
return contents;
|
|
1388
|
-
};
|
|
1389
|
-
export const de_ListSupportedPhoneNumberCountriesCommand = async (output, context) => {
|
|
1390
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1391
|
-
return de_CommandError(output, context);
|
|
1392
|
-
}
|
|
1393
|
-
const contents = map({
|
|
1394
|
-
$metadata: deserializeMetadata(output),
|
|
1395
|
-
});
|
|
1396
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1397
|
-
const doc = take(data, {
|
|
1398
|
-
PhoneNumberCountries: _json,
|
|
1399
|
-
});
|
|
1400
|
-
Object.assign(contents, doc);
|
|
1401
|
-
return contents;
|
|
1402
|
-
};
|
|
1403
|
-
export const de_ListUsersCommand = async (output, context) => {
|
|
1404
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1405
|
-
return de_CommandError(output, context);
|
|
1406
|
-
}
|
|
1407
|
-
const contents = map({
|
|
1408
|
-
$metadata: deserializeMetadata(output),
|
|
1409
|
-
});
|
|
1410
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1411
|
-
const doc = take(data, {
|
|
1412
|
-
NextToken: __expectString,
|
|
1413
|
-
Users: (_) => de_UserList(_, context),
|
|
1414
|
-
});
|
|
1415
|
-
Object.assign(contents, doc);
|
|
1416
|
-
return contents;
|
|
1417
|
-
};
|
|
1418
|
-
export const de_LogoutUserCommand = async (output, context) => {
|
|
1419
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1420
|
-
return de_CommandError(output, context);
|
|
1421
|
-
}
|
|
1422
|
-
const contents = map({
|
|
1423
|
-
$metadata: deserializeMetadata(output),
|
|
1424
|
-
});
|
|
1425
|
-
await collectBody(output.body, context);
|
|
1426
|
-
return contents;
|
|
1427
|
-
};
|
|
1428
|
-
export const de_PutEventsConfigurationCommand = async (output, context) => {
|
|
1429
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1430
|
-
return de_CommandError(output, context);
|
|
1431
|
-
}
|
|
1432
|
-
const contents = map({
|
|
1433
|
-
$metadata: deserializeMetadata(output),
|
|
1434
|
-
});
|
|
1435
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1436
|
-
const doc = take(data, {
|
|
1437
|
-
EventsConfiguration: _json,
|
|
1438
|
-
});
|
|
1439
|
-
Object.assign(contents, doc);
|
|
1440
|
-
return contents;
|
|
1441
|
-
};
|
|
1442
|
-
export const de_PutRetentionSettingsCommand = async (output, context) => {
|
|
1443
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1444
|
-
return de_CommandError(output, context);
|
|
1445
|
-
}
|
|
1446
|
-
const contents = map({
|
|
1447
|
-
$metadata: deserializeMetadata(output),
|
|
1448
|
-
});
|
|
1449
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1450
|
-
const doc = take(data, {
|
|
1451
|
-
InitiateDeletionTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1452
|
-
RetentionSettings: _json,
|
|
1453
|
-
});
|
|
1454
|
-
Object.assign(contents, doc);
|
|
1455
|
-
return contents;
|
|
1456
|
-
};
|
|
1457
|
-
export const de_RedactConversationMessageCommand = async (output, context) => {
|
|
1458
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1459
|
-
return de_CommandError(output, context);
|
|
1460
|
-
}
|
|
1461
|
-
const contents = map({
|
|
1462
|
-
$metadata: deserializeMetadata(output),
|
|
1463
|
-
});
|
|
1464
|
-
await collectBody(output.body, context);
|
|
1465
|
-
return contents;
|
|
1466
|
-
};
|
|
1467
|
-
export const de_RedactRoomMessageCommand = async (output, context) => {
|
|
1468
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1469
|
-
return de_CommandError(output, context);
|
|
1470
|
-
}
|
|
1471
|
-
const contents = map({
|
|
1472
|
-
$metadata: deserializeMetadata(output),
|
|
1473
|
-
});
|
|
1474
|
-
await collectBody(output.body, context);
|
|
1475
|
-
return contents;
|
|
1476
|
-
};
|
|
1477
|
-
export const de_RegenerateSecurityTokenCommand = async (output, context) => {
|
|
1478
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1479
|
-
return de_CommandError(output, context);
|
|
1480
|
-
}
|
|
1481
|
-
const contents = map({
|
|
1482
|
-
$metadata: deserializeMetadata(output),
|
|
1483
|
-
});
|
|
1484
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1485
|
-
const doc = take(data, {
|
|
1486
|
-
Bot: (_) => de_Bot(_, context),
|
|
1487
|
-
});
|
|
1488
|
-
Object.assign(contents, doc);
|
|
1489
|
-
return contents;
|
|
1490
|
-
};
|
|
1491
|
-
export const de_ResetPersonalPINCommand = async (output, context) => {
|
|
1492
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1493
|
-
return de_CommandError(output, context);
|
|
1494
|
-
}
|
|
1495
|
-
const contents = map({
|
|
1496
|
-
$metadata: deserializeMetadata(output),
|
|
1497
|
-
});
|
|
1498
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1499
|
-
const doc = take(data, {
|
|
1500
|
-
User: (_) => de_User(_, context),
|
|
1501
|
-
});
|
|
1502
|
-
Object.assign(contents, doc);
|
|
1503
|
-
return contents;
|
|
1504
|
-
};
|
|
1505
|
-
export const de_RestorePhoneNumberCommand = async (output, context) => {
|
|
1506
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1507
|
-
return de_CommandError(output, context);
|
|
1508
|
-
}
|
|
1509
|
-
const contents = map({
|
|
1510
|
-
$metadata: deserializeMetadata(output),
|
|
1511
|
-
});
|
|
1512
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1513
|
-
const doc = take(data, {
|
|
1514
|
-
PhoneNumber: (_) => de_PhoneNumber(_, context),
|
|
1515
|
-
});
|
|
1516
|
-
Object.assign(contents, doc);
|
|
1517
|
-
return contents;
|
|
1518
|
-
};
|
|
1519
|
-
export const de_SearchAvailablePhoneNumbersCommand = async (output, context) => {
|
|
1520
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1521
|
-
return de_CommandError(output, context);
|
|
1522
|
-
}
|
|
1523
|
-
const contents = map({
|
|
1524
|
-
$metadata: deserializeMetadata(output),
|
|
1525
|
-
});
|
|
1526
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1527
|
-
const doc = take(data, {
|
|
1528
|
-
E164PhoneNumbers: _json,
|
|
1529
|
-
NextToken: __expectString,
|
|
1530
|
-
});
|
|
1531
|
-
Object.assign(contents, doc);
|
|
1532
|
-
return contents;
|
|
1533
|
-
};
|
|
1534
|
-
export const de_UpdateAccountCommand = async (output, context) => {
|
|
1535
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1536
|
-
return de_CommandError(output, context);
|
|
1537
|
-
}
|
|
1538
|
-
const contents = map({
|
|
1539
|
-
$metadata: deserializeMetadata(output),
|
|
1540
|
-
});
|
|
1541
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1542
|
-
const doc = take(data, {
|
|
1543
|
-
Account: (_) => de_Account(_, context),
|
|
1544
|
-
});
|
|
1545
|
-
Object.assign(contents, doc);
|
|
1546
|
-
return contents;
|
|
1547
|
-
};
|
|
1548
|
-
export const de_UpdateAccountSettingsCommand = async (output, context) => {
|
|
1549
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1550
|
-
return de_CommandError(output, context);
|
|
1551
|
-
}
|
|
1552
|
-
const contents = map({
|
|
1553
|
-
$metadata: deserializeMetadata(output),
|
|
1554
|
-
});
|
|
1555
|
-
await collectBody(output.body, context);
|
|
1556
|
-
return contents;
|
|
1557
|
-
};
|
|
1558
|
-
export const de_UpdateBotCommand = async (output, context) => {
|
|
1559
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1560
|
-
return de_CommandError(output, context);
|
|
1561
|
-
}
|
|
1562
|
-
const contents = map({
|
|
1563
|
-
$metadata: deserializeMetadata(output),
|
|
1564
|
-
});
|
|
1565
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1566
|
-
const doc = take(data, {
|
|
1567
|
-
Bot: (_) => de_Bot(_, context),
|
|
1568
|
-
});
|
|
1569
|
-
Object.assign(contents, doc);
|
|
1570
|
-
return contents;
|
|
1571
|
-
};
|
|
1572
|
-
export const de_UpdateGlobalSettingsCommand = async (output, context) => {
|
|
1573
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1574
|
-
return de_CommandError(output, context);
|
|
1575
|
-
}
|
|
1576
|
-
const contents = map({
|
|
1577
|
-
$metadata: deserializeMetadata(output),
|
|
1578
|
-
});
|
|
1579
|
-
await collectBody(output.body, context);
|
|
1580
|
-
return contents;
|
|
1581
|
-
};
|
|
1582
|
-
export const de_UpdatePhoneNumberCommand = async (output, context) => {
|
|
1583
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1584
|
-
return de_CommandError(output, context);
|
|
1585
|
-
}
|
|
1586
|
-
const contents = map({
|
|
1587
|
-
$metadata: deserializeMetadata(output),
|
|
1588
|
-
});
|
|
1589
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1590
|
-
const doc = take(data, {
|
|
1591
|
-
PhoneNumber: (_) => de_PhoneNumber(_, context),
|
|
1592
|
-
});
|
|
1593
|
-
Object.assign(contents, doc);
|
|
1594
|
-
return contents;
|
|
1595
|
-
};
|
|
1596
|
-
export const de_UpdatePhoneNumberSettingsCommand = async (output, context) => {
|
|
1597
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1598
|
-
return de_CommandError(output, context);
|
|
1599
|
-
}
|
|
1600
|
-
const contents = map({
|
|
1601
|
-
$metadata: deserializeMetadata(output),
|
|
1602
|
-
});
|
|
1603
|
-
await collectBody(output.body, context);
|
|
1604
|
-
return contents;
|
|
1605
|
-
};
|
|
1606
|
-
export const de_UpdateRoomCommand = async (output, context) => {
|
|
1607
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1608
|
-
return de_CommandError(output, context);
|
|
1609
|
-
}
|
|
1610
|
-
const contents = map({
|
|
1611
|
-
$metadata: deserializeMetadata(output),
|
|
1612
|
-
});
|
|
1613
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1614
|
-
const doc = take(data, {
|
|
1615
|
-
Room: (_) => de_Room(_, context),
|
|
1616
|
-
});
|
|
1617
|
-
Object.assign(contents, doc);
|
|
1618
|
-
return contents;
|
|
1619
|
-
};
|
|
1620
|
-
export const de_UpdateRoomMembershipCommand = async (output, context) => {
|
|
1621
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1622
|
-
return de_CommandError(output, context);
|
|
1623
|
-
}
|
|
1624
|
-
const contents = map({
|
|
1625
|
-
$metadata: deserializeMetadata(output),
|
|
1626
|
-
});
|
|
1627
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1628
|
-
const doc = take(data, {
|
|
1629
|
-
RoomMembership: (_) => de_RoomMembership(_, context),
|
|
1630
|
-
});
|
|
1631
|
-
Object.assign(contents, doc);
|
|
1632
|
-
return contents;
|
|
1633
|
-
};
|
|
1634
|
-
export const de_UpdateUserCommand = async (output, context) => {
|
|
1635
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1636
|
-
return de_CommandError(output, context);
|
|
1637
|
-
}
|
|
1638
|
-
const contents = map({
|
|
1639
|
-
$metadata: deserializeMetadata(output),
|
|
1640
|
-
});
|
|
1641
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1642
|
-
const doc = take(data, {
|
|
1643
|
-
User: (_) => de_User(_, context),
|
|
1644
|
-
});
|
|
1645
|
-
Object.assign(contents, doc);
|
|
1646
|
-
return contents;
|
|
1647
|
-
};
|
|
1648
|
-
export const de_UpdateUserSettingsCommand = async (output, context) => {
|
|
1649
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1650
|
-
return de_CommandError(output, context);
|
|
1651
|
-
}
|
|
1652
|
-
const contents = map({
|
|
1653
|
-
$metadata: deserializeMetadata(output),
|
|
1654
|
-
});
|
|
1655
|
-
await collectBody(output.body, context);
|
|
1656
|
-
return contents;
|
|
1657
|
-
};
|
|
1658
|
-
const de_CommandError = async (output, context) => {
|
|
1659
|
-
const parsedOutput = {
|
|
1660
|
-
...output,
|
|
1661
|
-
body: await parseErrorBody(output.body, context),
|
|
1662
|
-
};
|
|
1663
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1664
|
-
switch (errorCode) {
|
|
1665
|
-
case "AccessDeniedException":
|
|
1666
|
-
case "com.amazonaws.chime#AccessDeniedException":
|
|
1667
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1668
|
-
case "BadRequestException":
|
|
1669
|
-
case "com.amazonaws.chime#BadRequestException":
|
|
1670
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1671
|
-
case "ForbiddenException":
|
|
1672
|
-
case "com.amazonaws.chime#ForbiddenException":
|
|
1673
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1674
|
-
case "NotFoundException":
|
|
1675
|
-
case "com.amazonaws.chime#NotFoundException":
|
|
1676
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1677
|
-
case "ServiceFailureException":
|
|
1678
|
-
case "com.amazonaws.chime#ServiceFailureException":
|
|
1679
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1680
|
-
case "ServiceUnavailableException":
|
|
1681
|
-
case "com.amazonaws.chime#ServiceUnavailableException":
|
|
1682
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1683
|
-
case "ThrottledClientException":
|
|
1684
|
-
case "com.amazonaws.chime#ThrottledClientException":
|
|
1685
|
-
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1686
|
-
case "UnauthorizedClientException":
|
|
1687
|
-
case "com.amazonaws.chime#UnauthorizedClientException":
|
|
1688
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1689
|
-
case "ResourceLimitExceededException":
|
|
1690
|
-
case "com.amazonaws.chime#ResourceLimitExceededException":
|
|
1691
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1692
|
-
case "ConflictException":
|
|
1693
|
-
case "com.amazonaws.chime#ConflictException":
|
|
1694
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1695
|
-
case "UnprocessableEntityException":
|
|
1696
|
-
case "com.amazonaws.chime#UnprocessableEntityException":
|
|
1697
|
-
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1698
|
-
default:
|
|
1699
|
-
const parsedBody = parsedOutput.body;
|
|
1700
|
-
return throwDefaultError({
|
|
1701
|
-
output,
|
|
1702
|
-
parsedBody,
|
|
1703
|
-
errorCode,
|
|
1704
|
-
});
|
|
1705
|
-
}
|
|
1706
|
-
};
|
|
1707
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1708
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1709
|
-
const contents = map({});
|
|
1710
|
-
const data = parsedOutput.body;
|
|
1711
|
-
const doc = take(data, {
|
|
1712
|
-
Code: __expectString,
|
|
1713
|
-
Message: __expectString,
|
|
1714
|
-
});
|
|
1715
|
-
Object.assign(contents, doc);
|
|
1716
|
-
const exception = new AccessDeniedException({
|
|
1717
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1718
|
-
...contents,
|
|
1719
|
-
});
|
|
1720
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1721
|
-
};
|
|
1722
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1723
|
-
const contents = map({});
|
|
1724
|
-
const data = parsedOutput.body;
|
|
1725
|
-
const doc = take(data, {
|
|
1726
|
-
Code: __expectString,
|
|
1727
|
-
Message: __expectString,
|
|
1728
|
-
});
|
|
1729
|
-
Object.assign(contents, doc);
|
|
1730
|
-
const exception = new BadRequestException({
|
|
1731
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1732
|
-
...contents,
|
|
1733
|
-
});
|
|
1734
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1735
|
-
};
|
|
1736
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1737
|
-
const contents = map({});
|
|
1738
|
-
const data = parsedOutput.body;
|
|
1739
|
-
const doc = take(data, {
|
|
1740
|
-
Code: __expectString,
|
|
1741
|
-
Message: __expectString,
|
|
1742
|
-
});
|
|
1743
|
-
Object.assign(contents, doc);
|
|
1744
|
-
const exception = new ConflictException({
|
|
1745
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1746
|
-
...contents,
|
|
1747
|
-
});
|
|
1748
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1749
|
-
};
|
|
1750
|
-
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1751
|
-
const contents = map({});
|
|
1752
|
-
const data = parsedOutput.body;
|
|
1753
|
-
const doc = take(data, {
|
|
1754
|
-
Code: __expectString,
|
|
1755
|
-
Message: __expectString,
|
|
1756
|
-
});
|
|
1757
|
-
Object.assign(contents, doc);
|
|
1758
|
-
const exception = new ForbiddenException({
|
|
1759
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1760
|
-
...contents,
|
|
1761
|
-
});
|
|
1762
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1763
|
-
};
|
|
1764
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1765
|
-
const contents = map({});
|
|
1766
|
-
const data = parsedOutput.body;
|
|
1767
|
-
const doc = take(data, {
|
|
1768
|
-
Code: __expectString,
|
|
1769
|
-
Message: __expectString,
|
|
1770
|
-
});
|
|
1771
|
-
Object.assign(contents, doc);
|
|
1772
|
-
const exception = new NotFoundException({
|
|
1773
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1774
|
-
...contents,
|
|
1775
|
-
});
|
|
1776
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1777
|
-
};
|
|
1778
|
-
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1779
|
-
const contents = map({});
|
|
1780
|
-
const data = parsedOutput.body;
|
|
1781
|
-
const doc = take(data, {
|
|
1782
|
-
Code: __expectString,
|
|
1783
|
-
Message: __expectString,
|
|
1784
|
-
});
|
|
1785
|
-
Object.assign(contents, doc);
|
|
1786
|
-
const exception = new ResourceLimitExceededException({
|
|
1787
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1788
|
-
...contents,
|
|
1789
|
-
});
|
|
1790
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1791
|
-
};
|
|
1792
|
-
const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
|
|
1793
|
-
const contents = map({});
|
|
1794
|
-
const data = parsedOutput.body;
|
|
1795
|
-
const doc = take(data, {
|
|
1796
|
-
Code: __expectString,
|
|
1797
|
-
Message: __expectString,
|
|
1798
|
-
});
|
|
1799
|
-
Object.assign(contents, doc);
|
|
1800
|
-
const exception = new ServiceFailureException({
|
|
1801
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1802
|
-
...contents,
|
|
1803
|
-
});
|
|
1804
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1805
|
-
};
|
|
1806
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1807
|
-
const contents = map({});
|
|
1808
|
-
const data = parsedOutput.body;
|
|
1809
|
-
const doc = take(data, {
|
|
1810
|
-
Code: __expectString,
|
|
1811
|
-
Message: __expectString,
|
|
1812
|
-
});
|
|
1813
|
-
Object.assign(contents, doc);
|
|
1814
|
-
const exception = new ServiceUnavailableException({
|
|
1815
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1816
|
-
...contents,
|
|
1817
|
-
});
|
|
1818
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1819
|
-
};
|
|
1820
|
-
const de_ThrottledClientExceptionRes = async (parsedOutput, context) => {
|
|
1821
|
-
const contents = map({});
|
|
1822
|
-
const data = parsedOutput.body;
|
|
1823
|
-
const doc = take(data, {
|
|
1824
|
-
Code: __expectString,
|
|
1825
|
-
Message: __expectString,
|
|
1826
|
-
});
|
|
1827
|
-
Object.assign(contents, doc);
|
|
1828
|
-
const exception = new ThrottledClientException({
|
|
1829
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1830
|
-
...contents,
|
|
1831
|
-
});
|
|
1832
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1833
|
-
};
|
|
1834
|
-
const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
1835
|
-
const contents = map({});
|
|
1836
|
-
const data = parsedOutput.body;
|
|
1837
|
-
const doc = take(data, {
|
|
1838
|
-
Code: __expectString,
|
|
1839
|
-
Message: __expectString,
|
|
1840
|
-
});
|
|
1841
|
-
Object.assign(contents, doc);
|
|
1842
|
-
const exception = new UnauthorizedClientException({
|
|
1843
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1844
|
-
...contents,
|
|
1845
|
-
});
|
|
1846
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1847
|
-
};
|
|
1848
|
-
const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
|
|
1849
|
-
const contents = map({});
|
|
1850
|
-
const data = parsedOutput.body;
|
|
1851
|
-
const doc = take(data, {
|
|
1852
|
-
Code: __expectString,
|
|
1853
|
-
Message: __expectString,
|
|
1854
|
-
});
|
|
1855
|
-
Object.assign(contents, doc);
|
|
1856
|
-
const exception = new UnprocessableEntityException({
|
|
1857
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1858
|
-
...contents,
|
|
1859
|
-
});
|
|
1860
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1861
|
-
};
|
|
1862
|
-
const de_Account = (output, context) => {
|
|
1863
|
-
return take(output, {
|
|
1864
|
-
AccountId: __expectString,
|
|
1865
|
-
AccountStatus: __expectString,
|
|
1866
|
-
AccountType: __expectString,
|
|
1867
|
-
AwsAccountId: __expectString,
|
|
1868
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1869
|
-
DefaultLicense: __expectString,
|
|
1870
|
-
Name: __expectString,
|
|
1871
|
-
SigninDelegateGroups: _json,
|
|
1872
|
-
SupportedLicenses: _json,
|
|
1873
|
-
});
|
|
1874
|
-
};
|
|
1875
|
-
const de_AccountList = (output, context) => {
|
|
1876
|
-
const retVal = (output || [])
|
|
1877
|
-
.filter((e) => e != null)
|
|
1878
|
-
.map((entry) => {
|
|
1879
|
-
return de_Account(entry, context);
|
|
1880
|
-
});
|
|
1881
|
-
return retVal;
|
|
1882
|
-
};
|
|
1883
|
-
const de_Bot = (output, context) => {
|
|
1884
|
-
return take(output, {
|
|
1885
|
-
BotEmail: __expectString,
|
|
1886
|
-
BotId: __expectString,
|
|
1887
|
-
BotType: __expectString,
|
|
1888
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1889
|
-
Disabled: __expectBoolean,
|
|
1890
|
-
DisplayName: __expectString,
|
|
1891
|
-
SecurityToken: __expectString,
|
|
1892
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1893
|
-
UserId: __expectString,
|
|
1894
|
-
});
|
|
1895
|
-
};
|
|
1896
|
-
const de_BotList = (output, context) => {
|
|
1897
|
-
const retVal = (output || [])
|
|
1898
|
-
.filter((e) => e != null)
|
|
1899
|
-
.map((entry) => {
|
|
1900
|
-
return de_Bot(entry, context);
|
|
1901
|
-
});
|
|
1902
|
-
return retVal;
|
|
1903
|
-
};
|
|
1904
|
-
const de_PhoneNumber = (output, context) => {
|
|
1905
|
-
return take(output, {
|
|
1906
|
-
Associations: (_) => de_PhoneNumberAssociationList(_, context),
|
|
1907
|
-
CallingName: __expectString,
|
|
1908
|
-
CallingNameStatus: __expectString,
|
|
1909
|
-
Capabilities: _json,
|
|
1910
|
-
Country: __expectString,
|
|
1911
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1912
|
-
DeletionTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1913
|
-
E164PhoneNumber: __expectString,
|
|
1914
|
-
PhoneNumberId: __expectString,
|
|
1915
|
-
ProductType: __expectString,
|
|
1916
|
-
Status: __expectString,
|
|
1917
|
-
Type: __expectString,
|
|
1918
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1919
|
-
});
|
|
1920
|
-
};
|
|
1921
|
-
const de_PhoneNumberAssociation = (output, context) => {
|
|
1922
|
-
return take(output, {
|
|
1923
|
-
AssociatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1924
|
-
Name: __expectString,
|
|
1925
|
-
Value: __expectString,
|
|
1926
|
-
});
|
|
1927
|
-
};
|
|
1928
|
-
const de_PhoneNumberAssociationList = (output, context) => {
|
|
1929
|
-
const retVal = (output || [])
|
|
1930
|
-
.filter((e) => e != null)
|
|
1931
|
-
.map((entry) => {
|
|
1932
|
-
return de_PhoneNumberAssociation(entry, context);
|
|
1933
|
-
});
|
|
1934
|
-
return retVal;
|
|
1935
|
-
};
|
|
1936
|
-
const de_PhoneNumberList = (output, context) => {
|
|
1937
|
-
const retVal = (output || [])
|
|
1938
|
-
.filter((e) => e != null)
|
|
1939
|
-
.map((entry) => {
|
|
1940
|
-
return de_PhoneNumber(entry, context);
|
|
1941
|
-
});
|
|
1942
|
-
return retVal;
|
|
1943
|
-
};
|
|
1944
|
-
const de_PhoneNumberOrder = (output, context) => {
|
|
1945
|
-
return take(output, {
|
|
1946
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1947
|
-
OrderedPhoneNumbers: _json,
|
|
1948
|
-
PhoneNumberOrderId: __expectString,
|
|
1949
|
-
ProductType: __expectString,
|
|
1950
|
-
Status: __expectString,
|
|
1951
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1952
|
-
});
|
|
1953
|
-
};
|
|
1954
|
-
const de_PhoneNumberOrderList = (output, context) => {
|
|
1955
|
-
const retVal = (output || [])
|
|
1956
|
-
.filter((e) => e != null)
|
|
1957
|
-
.map((entry) => {
|
|
1958
|
-
return de_PhoneNumberOrder(entry, context);
|
|
1959
|
-
});
|
|
1960
|
-
return retVal;
|
|
1961
|
-
};
|
|
1962
|
-
const de_Room = (output, context) => {
|
|
1963
|
-
return take(output, {
|
|
1964
|
-
AccountId: __expectString,
|
|
1965
|
-
CreatedBy: __expectString,
|
|
1966
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1967
|
-
Name: __expectString,
|
|
1968
|
-
RoomId: __expectString,
|
|
1969
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1970
|
-
});
|
|
1971
|
-
};
|
|
1972
|
-
const de_RoomList = (output, context) => {
|
|
1973
|
-
const retVal = (output || [])
|
|
1974
|
-
.filter((e) => e != null)
|
|
1975
|
-
.map((entry) => {
|
|
1976
|
-
return de_Room(entry, context);
|
|
1977
|
-
});
|
|
1978
|
-
return retVal;
|
|
1979
|
-
};
|
|
1980
|
-
const de_RoomMembership = (output, context) => {
|
|
1981
|
-
return take(output, {
|
|
1982
|
-
InvitedBy: __expectString,
|
|
1983
|
-
Member: _json,
|
|
1984
|
-
Role: __expectString,
|
|
1985
|
-
RoomId: __expectString,
|
|
1986
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1987
|
-
});
|
|
1988
|
-
};
|
|
1989
|
-
const de_RoomMembershipList = (output, context) => {
|
|
1990
|
-
const retVal = (output || [])
|
|
1991
|
-
.filter((e) => e != null)
|
|
1992
|
-
.map((entry) => {
|
|
1993
|
-
return de_RoomMembership(entry, context);
|
|
1994
|
-
});
|
|
1995
|
-
return retVal;
|
|
1996
|
-
};
|
|
1997
|
-
const de_User = (output, context) => {
|
|
1998
|
-
return take(output, {
|
|
1999
|
-
AccountId: __expectString,
|
|
2000
|
-
AlexaForBusinessMetadata: _json,
|
|
2001
|
-
DisplayName: __expectString,
|
|
2002
|
-
InvitedOn: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2003
|
-
LicenseType: __expectString,
|
|
2004
|
-
PersonalPIN: __expectString,
|
|
2005
|
-
PrimaryEmail: __expectString,
|
|
2006
|
-
PrimaryProvisionedNumber: __expectString,
|
|
2007
|
-
RegisteredOn: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2008
|
-
UserId: __expectString,
|
|
2009
|
-
UserInvitationStatus: __expectString,
|
|
2010
|
-
UserRegistrationStatus: __expectString,
|
|
2011
|
-
UserType: __expectString,
|
|
2012
|
-
});
|
|
2013
|
-
};
|
|
2014
|
-
const de_UserList = (output, context) => {
|
|
2015
|
-
const retVal = (output || [])
|
|
2016
|
-
.filter((e) => e != null)
|
|
2017
|
-
.map((entry) => {
|
|
2018
|
-
return de_User(entry, context);
|
|
2019
|
-
});
|
|
2020
|
-
return retVal;
|
|
2021
|
-
};
|
|
2022
|
-
const deserializeMetadata = (output) => ({
|
|
2023
|
-
httpStatusCode: output.statusCode,
|
|
2024
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2025
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2026
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2027
|
-
});
|
|
2028
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2029
|
-
const _AC = "AreaCode";
|
|
2030
|
-
const _C = "City";
|
|
2031
|
-
const _Co = "Country";
|
|
2032
|
-
const _FN = "FilterName";
|
|
2033
|
-
const _FV = "FilterValue";
|
|
2034
|
-
const _MI = "MemberId";
|
|
2035
|
-
const _MR = "MaxResults";
|
|
2036
|
-
const _N = "Name";
|
|
2037
|
-
const _NT = "NextToken";
|
|
2038
|
-
const _PNT = "PhoneNumberType";
|
|
2039
|
-
const _PT = "ProductType";
|
|
2040
|
-
const _S = "Status";
|
|
2041
|
-
const _St = "State";
|
|
2042
|
-
const _TFP = "TollFreePrefix";
|
|
2043
|
-
const _UE = "UserEmail";
|
|
2044
|
-
const _UT = "UserType";
|
|
2045
|
-
const _ac = "area-code";
|
|
2046
|
-
const _c = "city";
|
|
2047
|
-
const _co = "country";
|
|
2048
|
-
const _fn = "filter-name";
|
|
2049
|
-
const _fv = "filter-value";
|
|
2050
|
-
const _mi = "member-id";
|
|
2051
|
-
const _mr = "max-results";
|
|
2052
|
-
const _n = "name";
|
|
2053
|
-
const _nt = "next-token";
|
|
2054
|
-
const _o = "operation";
|
|
2055
|
-
const _pnt = "phone-number-type";
|
|
2056
|
-
const _pt = "product-type";
|
|
2057
|
-
const _s = "status";
|
|
2058
|
-
const _st = "state";
|
|
2059
|
-
const _t = "type";
|
|
2060
|
-
const _tfp = "toll-free-prefix";
|
|
2061
|
-
const _ue = "user-email";
|
|
2062
|
-
const _ut = "user-type";
|