@aws-sdk/client-connect 3.315.0 → 3.316.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/Connect.js +174 -2380
- package/dist-cjs/protocols/Aws_restJson1.js +14 -14
- package/dist-es/Connect.js +174 -2380
- package/dist-es/protocols/Aws_restJson1.js +14 -14
- package/dist-types/Connect.d.ts +187 -808
- package/dist-types/ts3.4/Connect.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/Connect.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Connect = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AssociateApprovedOriginCommand_1 = require("./commands/AssociateApprovedOriginCommand");
|
|
5
6
|
const AssociateBotCommand_1 = require("./commands/AssociateBotCommand");
|
|
6
7
|
const AssociateDefaultVocabularyCommand_1 = require("./commands/AssociateDefaultVocabularyCommand");
|
|
@@ -172,2386 +173,179 @@ const UpdateUserPhoneConfigCommand_1 = require("./commands/UpdateUserPhoneConfig
|
|
|
172
173
|
const UpdateUserRoutingProfileCommand_1 = require("./commands/UpdateUserRoutingProfileCommand");
|
|
173
174
|
const UpdateUserSecurityProfilesCommand_1 = require("./commands/UpdateUserSecurityProfilesCommand");
|
|
174
175
|
const ConnectClient_1 = require("./ConnectClient");
|
|
176
|
+
const commands = {
|
|
177
|
+
AssociateApprovedOriginCommand: AssociateApprovedOriginCommand_1.AssociateApprovedOriginCommand,
|
|
178
|
+
AssociateBotCommand: AssociateBotCommand_1.AssociateBotCommand,
|
|
179
|
+
AssociateDefaultVocabularyCommand: AssociateDefaultVocabularyCommand_1.AssociateDefaultVocabularyCommand,
|
|
180
|
+
AssociateInstanceStorageConfigCommand: AssociateInstanceStorageConfigCommand_1.AssociateInstanceStorageConfigCommand,
|
|
181
|
+
AssociateLambdaFunctionCommand: AssociateLambdaFunctionCommand_1.AssociateLambdaFunctionCommand,
|
|
182
|
+
AssociateLexBotCommand: AssociateLexBotCommand_1.AssociateLexBotCommand,
|
|
183
|
+
AssociatePhoneNumberContactFlowCommand: AssociatePhoneNumberContactFlowCommand_1.AssociatePhoneNumberContactFlowCommand,
|
|
184
|
+
AssociateQueueQuickConnectsCommand: AssociateQueueQuickConnectsCommand_1.AssociateQueueQuickConnectsCommand,
|
|
185
|
+
AssociateRoutingProfileQueuesCommand: AssociateRoutingProfileQueuesCommand_1.AssociateRoutingProfileQueuesCommand,
|
|
186
|
+
AssociateSecurityKeyCommand: AssociateSecurityKeyCommand_1.AssociateSecurityKeyCommand,
|
|
187
|
+
ClaimPhoneNumberCommand: ClaimPhoneNumberCommand_1.ClaimPhoneNumberCommand,
|
|
188
|
+
CreateAgentStatusCommand: CreateAgentStatusCommand_1.CreateAgentStatusCommand,
|
|
189
|
+
CreateContactFlowCommand: CreateContactFlowCommand_1.CreateContactFlowCommand,
|
|
190
|
+
CreateContactFlowModuleCommand: CreateContactFlowModuleCommand_1.CreateContactFlowModuleCommand,
|
|
191
|
+
CreateHoursOfOperationCommand: CreateHoursOfOperationCommand_1.CreateHoursOfOperationCommand,
|
|
192
|
+
CreateInstanceCommand: CreateInstanceCommand_1.CreateInstanceCommand,
|
|
193
|
+
CreateIntegrationAssociationCommand: CreateIntegrationAssociationCommand_1.CreateIntegrationAssociationCommand,
|
|
194
|
+
CreateQueueCommand: CreateQueueCommand_1.CreateQueueCommand,
|
|
195
|
+
CreateQuickConnectCommand: CreateQuickConnectCommand_1.CreateQuickConnectCommand,
|
|
196
|
+
CreateRoutingProfileCommand: CreateRoutingProfileCommand_1.CreateRoutingProfileCommand,
|
|
197
|
+
CreateRuleCommand: CreateRuleCommand_1.CreateRuleCommand,
|
|
198
|
+
CreateSecurityProfileCommand: CreateSecurityProfileCommand_1.CreateSecurityProfileCommand,
|
|
199
|
+
CreateTaskTemplateCommand: CreateTaskTemplateCommand_1.CreateTaskTemplateCommand,
|
|
200
|
+
CreateTrafficDistributionGroupCommand: CreateTrafficDistributionGroupCommand_1.CreateTrafficDistributionGroupCommand,
|
|
201
|
+
CreateUseCaseCommand: CreateUseCaseCommand_1.CreateUseCaseCommand,
|
|
202
|
+
CreateUserCommand: CreateUserCommand_1.CreateUserCommand,
|
|
203
|
+
CreateUserHierarchyGroupCommand: CreateUserHierarchyGroupCommand_1.CreateUserHierarchyGroupCommand,
|
|
204
|
+
CreateVocabularyCommand: CreateVocabularyCommand_1.CreateVocabularyCommand,
|
|
205
|
+
DeleteContactFlowCommand: DeleteContactFlowCommand_1.DeleteContactFlowCommand,
|
|
206
|
+
DeleteContactFlowModuleCommand: DeleteContactFlowModuleCommand_1.DeleteContactFlowModuleCommand,
|
|
207
|
+
DeleteHoursOfOperationCommand: DeleteHoursOfOperationCommand_1.DeleteHoursOfOperationCommand,
|
|
208
|
+
DeleteInstanceCommand: DeleteInstanceCommand_1.DeleteInstanceCommand,
|
|
209
|
+
DeleteIntegrationAssociationCommand: DeleteIntegrationAssociationCommand_1.DeleteIntegrationAssociationCommand,
|
|
210
|
+
DeleteQuickConnectCommand: DeleteQuickConnectCommand_1.DeleteQuickConnectCommand,
|
|
211
|
+
DeleteRuleCommand: DeleteRuleCommand_1.DeleteRuleCommand,
|
|
212
|
+
DeleteSecurityProfileCommand: DeleteSecurityProfileCommand_1.DeleteSecurityProfileCommand,
|
|
213
|
+
DeleteTaskTemplateCommand: DeleteTaskTemplateCommand_1.DeleteTaskTemplateCommand,
|
|
214
|
+
DeleteTrafficDistributionGroupCommand: DeleteTrafficDistributionGroupCommand_1.DeleteTrafficDistributionGroupCommand,
|
|
215
|
+
DeleteUseCaseCommand: DeleteUseCaseCommand_1.DeleteUseCaseCommand,
|
|
216
|
+
DeleteUserCommand: DeleteUserCommand_1.DeleteUserCommand,
|
|
217
|
+
DeleteUserHierarchyGroupCommand: DeleteUserHierarchyGroupCommand_1.DeleteUserHierarchyGroupCommand,
|
|
218
|
+
DeleteVocabularyCommand: DeleteVocabularyCommand_1.DeleteVocabularyCommand,
|
|
219
|
+
DescribeAgentStatusCommand: DescribeAgentStatusCommand_1.DescribeAgentStatusCommand,
|
|
220
|
+
DescribeContactCommand: DescribeContactCommand_1.DescribeContactCommand,
|
|
221
|
+
DescribeContactFlowCommand: DescribeContactFlowCommand_1.DescribeContactFlowCommand,
|
|
222
|
+
DescribeContactFlowModuleCommand: DescribeContactFlowModuleCommand_1.DescribeContactFlowModuleCommand,
|
|
223
|
+
DescribeHoursOfOperationCommand: DescribeHoursOfOperationCommand_1.DescribeHoursOfOperationCommand,
|
|
224
|
+
DescribeInstanceCommand: DescribeInstanceCommand_1.DescribeInstanceCommand,
|
|
225
|
+
DescribeInstanceAttributeCommand: DescribeInstanceAttributeCommand_1.DescribeInstanceAttributeCommand,
|
|
226
|
+
DescribeInstanceStorageConfigCommand: DescribeInstanceStorageConfigCommand_1.DescribeInstanceStorageConfigCommand,
|
|
227
|
+
DescribePhoneNumberCommand: DescribePhoneNumberCommand_1.DescribePhoneNumberCommand,
|
|
228
|
+
DescribeQueueCommand: DescribeQueueCommand_1.DescribeQueueCommand,
|
|
229
|
+
DescribeQuickConnectCommand: DescribeQuickConnectCommand_1.DescribeQuickConnectCommand,
|
|
230
|
+
DescribeRoutingProfileCommand: DescribeRoutingProfileCommand_1.DescribeRoutingProfileCommand,
|
|
231
|
+
DescribeRuleCommand: DescribeRuleCommand_1.DescribeRuleCommand,
|
|
232
|
+
DescribeSecurityProfileCommand: DescribeSecurityProfileCommand_1.DescribeSecurityProfileCommand,
|
|
233
|
+
DescribeTrafficDistributionGroupCommand: DescribeTrafficDistributionGroupCommand_1.DescribeTrafficDistributionGroupCommand,
|
|
234
|
+
DescribeUserCommand: DescribeUserCommand_1.DescribeUserCommand,
|
|
235
|
+
DescribeUserHierarchyGroupCommand: DescribeUserHierarchyGroupCommand_1.DescribeUserHierarchyGroupCommand,
|
|
236
|
+
DescribeUserHierarchyStructureCommand: DescribeUserHierarchyStructureCommand_1.DescribeUserHierarchyStructureCommand,
|
|
237
|
+
DescribeVocabularyCommand: DescribeVocabularyCommand_1.DescribeVocabularyCommand,
|
|
238
|
+
DisassociateApprovedOriginCommand: DisassociateApprovedOriginCommand_1.DisassociateApprovedOriginCommand,
|
|
239
|
+
DisassociateBotCommand: DisassociateBotCommand_1.DisassociateBotCommand,
|
|
240
|
+
DisassociateInstanceStorageConfigCommand: DisassociateInstanceStorageConfigCommand_1.DisassociateInstanceStorageConfigCommand,
|
|
241
|
+
DisassociateLambdaFunctionCommand: DisassociateLambdaFunctionCommand_1.DisassociateLambdaFunctionCommand,
|
|
242
|
+
DisassociateLexBotCommand: DisassociateLexBotCommand_1.DisassociateLexBotCommand,
|
|
243
|
+
DisassociatePhoneNumberContactFlowCommand: DisassociatePhoneNumberContactFlowCommand_1.DisassociatePhoneNumberContactFlowCommand,
|
|
244
|
+
DisassociateQueueQuickConnectsCommand: DisassociateQueueQuickConnectsCommand_1.DisassociateQueueQuickConnectsCommand,
|
|
245
|
+
DisassociateRoutingProfileQueuesCommand: DisassociateRoutingProfileQueuesCommand_1.DisassociateRoutingProfileQueuesCommand,
|
|
246
|
+
DisassociateSecurityKeyCommand: DisassociateSecurityKeyCommand_1.DisassociateSecurityKeyCommand,
|
|
247
|
+
DismissUserContactCommand: DismissUserContactCommand_1.DismissUserContactCommand,
|
|
248
|
+
GetContactAttributesCommand: GetContactAttributesCommand_1.GetContactAttributesCommand,
|
|
249
|
+
GetCurrentMetricDataCommand: GetCurrentMetricDataCommand_1.GetCurrentMetricDataCommand,
|
|
250
|
+
GetCurrentUserDataCommand: GetCurrentUserDataCommand_1.GetCurrentUserDataCommand,
|
|
251
|
+
GetFederationTokenCommand: GetFederationTokenCommand_1.GetFederationTokenCommand,
|
|
252
|
+
GetMetricDataCommand: GetMetricDataCommand_1.GetMetricDataCommand,
|
|
253
|
+
GetMetricDataV2Command: GetMetricDataV2Command_1.GetMetricDataV2Command,
|
|
254
|
+
GetTaskTemplateCommand: GetTaskTemplateCommand_1.GetTaskTemplateCommand,
|
|
255
|
+
GetTrafficDistributionCommand: GetTrafficDistributionCommand_1.GetTrafficDistributionCommand,
|
|
256
|
+
ListAgentStatusesCommand: ListAgentStatusesCommand_1.ListAgentStatusesCommand,
|
|
257
|
+
ListApprovedOriginsCommand: ListApprovedOriginsCommand_1.ListApprovedOriginsCommand,
|
|
258
|
+
ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
|
|
259
|
+
ListContactFlowModulesCommand: ListContactFlowModulesCommand_1.ListContactFlowModulesCommand,
|
|
260
|
+
ListContactFlowsCommand: ListContactFlowsCommand_1.ListContactFlowsCommand,
|
|
261
|
+
ListContactReferencesCommand: ListContactReferencesCommand_1.ListContactReferencesCommand,
|
|
262
|
+
ListDefaultVocabulariesCommand: ListDefaultVocabulariesCommand_1.ListDefaultVocabulariesCommand,
|
|
263
|
+
ListHoursOfOperationsCommand: ListHoursOfOperationsCommand_1.ListHoursOfOperationsCommand,
|
|
264
|
+
ListInstanceAttributesCommand: ListInstanceAttributesCommand_1.ListInstanceAttributesCommand,
|
|
265
|
+
ListInstancesCommand: ListInstancesCommand_1.ListInstancesCommand,
|
|
266
|
+
ListInstanceStorageConfigsCommand: ListInstanceStorageConfigsCommand_1.ListInstanceStorageConfigsCommand,
|
|
267
|
+
ListIntegrationAssociationsCommand: ListIntegrationAssociationsCommand_1.ListIntegrationAssociationsCommand,
|
|
268
|
+
ListLambdaFunctionsCommand: ListLambdaFunctionsCommand_1.ListLambdaFunctionsCommand,
|
|
269
|
+
ListLexBotsCommand: ListLexBotsCommand_1.ListLexBotsCommand,
|
|
270
|
+
ListPhoneNumbersCommand: ListPhoneNumbersCommand_1.ListPhoneNumbersCommand,
|
|
271
|
+
ListPhoneNumbersV2Command: ListPhoneNumbersV2Command_1.ListPhoneNumbersV2Command,
|
|
272
|
+
ListPromptsCommand: ListPromptsCommand_1.ListPromptsCommand,
|
|
273
|
+
ListQueueQuickConnectsCommand: ListQueueQuickConnectsCommand_1.ListQueueQuickConnectsCommand,
|
|
274
|
+
ListQueuesCommand: ListQueuesCommand_1.ListQueuesCommand,
|
|
275
|
+
ListQuickConnectsCommand: ListQuickConnectsCommand_1.ListQuickConnectsCommand,
|
|
276
|
+
ListRoutingProfileQueuesCommand: ListRoutingProfileQueuesCommand_1.ListRoutingProfileQueuesCommand,
|
|
277
|
+
ListRoutingProfilesCommand: ListRoutingProfilesCommand_1.ListRoutingProfilesCommand,
|
|
278
|
+
ListRulesCommand: ListRulesCommand_1.ListRulesCommand,
|
|
279
|
+
ListSecurityKeysCommand: ListSecurityKeysCommand_1.ListSecurityKeysCommand,
|
|
280
|
+
ListSecurityProfilePermissionsCommand: ListSecurityProfilePermissionsCommand_1.ListSecurityProfilePermissionsCommand,
|
|
281
|
+
ListSecurityProfilesCommand: ListSecurityProfilesCommand_1.ListSecurityProfilesCommand,
|
|
282
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
283
|
+
ListTaskTemplatesCommand: ListTaskTemplatesCommand_1.ListTaskTemplatesCommand,
|
|
284
|
+
ListTrafficDistributionGroupsCommand: ListTrafficDistributionGroupsCommand_1.ListTrafficDistributionGroupsCommand,
|
|
285
|
+
ListUseCasesCommand: ListUseCasesCommand_1.ListUseCasesCommand,
|
|
286
|
+
ListUserHierarchyGroupsCommand: ListUserHierarchyGroupsCommand_1.ListUserHierarchyGroupsCommand,
|
|
287
|
+
ListUsersCommand: ListUsersCommand_1.ListUsersCommand,
|
|
288
|
+
MonitorContactCommand: MonitorContactCommand_1.MonitorContactCommand,
|
|
289
|
+
PutUserStatusCommand: PutUserStatusCommand_1.PutUserStatusCommand,
|
|
290
|
+
ReleasePhoneNumberCommand: ReleasePhoneNumberCommand_1.ReleasePhoneNumberCommand,
|
|
291
|
+
ReplicateInstanceCommand: ReplicateInstanceCommand_1.ReplicateInstanceCommand,
|
|
292
|
+
ResumeContactRecordingCommand: ResumeContactRecordingCommand_1.ResumeContactRecordingCommand,
|
|
293
|
+
SearchAvailablePhoneNumbersCommand: SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand,
|
|
294
|
+
SearchQueuesCommand: SearchQueuesCommand_1.SearchQueuesCommand,
|
|
295
|
+
SearchRoutingProfilesCommand: SearchRoutingProfilesCommand_1.SearchRoutingProfilesCommand,
|
|
296
|
+
SearchSecurityProfilesCommand: SearchSecurityProfilesCommand_1.SearchSecurityProfilesCommand,
|
|
297
|
+
SearchUsersCommand: SearchUsersCommand_1.SearchUsersCommand,
|
|
298
|
+
SearchVocabulariesCommand: SearchVocabulariesCommand_1.SearchVocabulariesCommand,
|
|
299
|
+
StartChatContactCommand: StartChatContactCommand_1.StartChatContactCommand,
|
|
300
|
+
StartContactRecordingCommand: StartContactRecordingCommand_1.StartContactRecordingCommand,
|
|
301
|
+
StartContactStreamingCommand: StartContactStreamingCommand_1.StartContactStreamingCommand,
|
|
302
|
+
StartOutboundVoiceContactCommand: StartOutboundVoiceContactCommand_1.StartOutboundVoiceContactCommand,
|
|
303
|
+
StartTaskContactCommand: StartTaskContactCommand_1.StartTaskContactCommand,
|
|
304
|
+
StopContactCommand: StopContactCommand_1.StopContactCommand,
|
|
305
|
+
StopContactRecordingCommand: StopContactRecordingCommand_1.StopContactRecordingCommand,
|
|
306
|
+
StopContactStreamingCommand: StopContactStreamingCommand_1.StopContactStreamingCommand,
|
|
307
|
+
SuspendContactRecordingCommand: SuspendContactRecordingCommand_1.SuspendContactRecordingCommand,
|
|
308
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
309
|
+
TransferContactCommand: TransferContactCommand_1.TransferContactCommand,
|
|
310
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
311
|
+
UpdateAgentStatusCommand: UpdateAgentStatusCommand_1.UpdateAgentStatusCommand,
|
|
312
|
+
UpdateContactCommand: UpdateContactCommand_1.UpdateContactCommand,
|
|
313
|
+
UpdateContactAttributesCommand: UpdateContactAttributesCommand_1.UpdateContactAttributesCommand,
|
|
314
|
+
UpdateContactFlowContentCommand: UpdateContactFlowContentCommand_1.UpdateContactFlowContentCommand,
|
|
315
|
+
UpdateContactFlowMetadataCommand: UpdateContactFlowMetadataCommand_1.UpdateContactFlowMetadataCommand,
|
|
316
|
+
UpdateContactFlowModuleContentCommand: UpdateContactFlowModuleContentCommand_1.UpdateContactFlowModuleContentCommand,
|
|
317
|
+
UpdateContactFlowModuleMetadataCommand: UpdateContactFlowModuleMetadataCommand_1.UpdateContactFlowModuleMetadataCommand,
|
|
318
|
+
UpdateContactFlowNameCommand: UpdateContactFlowNameCommand_1.UpdateContactFlowNameCommand,
|
|
319
|
+
UpdateContactScheduleCommand: UpdateContactScheduleCommand_1.UpdateContactScheduleCommand,
|
|
320
|
+
UpdateHoursOfOperationCommand: UpdateHoursOfOperationCommand_1.UpdateHoursOfOperationCommand,
|
|
321
|
+
UpdateInstanceAttributeCommand: UpdateInstanceAttributeCommand_1.UpdateInstanceAttributeCommand,
|
|
322
|
+
UpdateInstanceStorageConfigCommand: UpdateInstanceStorageConfigCommand_1.UpdateInstanceStorageConfigCommand,
|
|
323
|
+
UpdateParticipantRoleConfigCommand: UpdateParticipantRoleConfigCommand_1.UpdateParticipantRoleConfigCommand,
|
|
324
|
+
UpdatePhoneNumberCommand: UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand,
|
|
325
|
+
UpdateQueueHoursOfOperationCommand: UpdateQueueHoursOfOperationCommand_1.UpdateQueueHoursOfOperationCommand,
|
|
326
|
+
UpdateQueueMaxContactsCommand: UpdateQueueMaxContactsCommand_1.UpdateQueueMaxContactsCommand,
|
|
327
|
+
UpdateQueueNameCommand: UpdateQueueNameCommand_1.UpdateQueueNameCommand,
|
|
328
|
+
UpdateQueueOutboundCallerConfigCommand: UpdateQueueOutboundCallerConfigCommand_1.UpdateQueueOutboundCallerConfigCommand,
|
|
329
|
+
UpdateQueueStatusCommand: UpdateQueueStatusCommand_1.UpdateQueueStatusCommand,
|
|
330
|
+
UpdateQuickConnectConfigCommand: UpdateQuickConnectConfigCommand_1.UpdateQuickConnectConfigCommand,
|
|
331
|
+
UpdateQuickConnectNameCommand: UpdateQuickConnectNameCommand_1.UpdateQuickConnectNameCommand,
|
|
332
|
+
UpdateRoutingProfileConcurrencyCommand: UpdateRoutingProfileConcurrencyCommand_1.UpdateRoutingProfileConcurrencyCommand,
|
|
333
|
+
UpdateRoutingProfileDefaultOutboundQueueCommand: UpdateRoutingProfileDefaultOutboundQueueCommand_1.UpdateRoutingProfileDefaultOutboundQueueCommand,
|
|
334
|
+
UpdateRoutingProfileNameCommand: UpdateRoutingProfileNameCommand_1.UpdateRoutingProfileNameCommand,
|
|
335
|
+
UpdateRoutingProfileQueuesCommand: UpdateRoutingProfileQueuesCommand_1.UpdateRoutingProfileQueuesCommand,
|
|
336
|
+
UpdateRuleCommand: UpdateRuleCommand_1.UpdateRuleCommand,
|
|
337
|
+
UpdateSecurityProfileCommand: UpdateSecurityProfileCommand_1.UpdateSecurityProfileCommand,
|
|
338
|
+
UpdateTaskTemplateCommand: UpdateTaskTemplateCommand_1.UpdateTaskTemplateCommand,
|
|
339
|
+
UpdateTrafficDistributionCommand: UpdateTrafficDistributionCommand_1.UpdateTrafficDistributionCommand,
|
|
340
|
+
UpdateUserHierarchyCommand: UpdateUserHierarchyCommand_1.UpdateUserHierarchyCommand,
|
|
341
|
+
UpdateUserHierarchyGroupNameCommand: UpdateUserHierarchyGroupNameCommand_1.UpdateUserHierarchyGroupNameCommand,
|
|
342
|
+
UpdateUserHierarchyStructureCommand: UpdateUserHierarchyStructureCommand_1.UpdateUserHierarchyStructureCommand,
|
|
343
|
+
UpdateUserIdentityInfoCommand: UpdateUserIdentityInfoCommand_1.UpdateUserIdentityInfoCommand,
|
|
344
|
+
UpdateUserPhoneConfigCommand: UpdateUserPhoneConfigCommand_1.UpdateUserPhoneConfigCommand,
|
|
345
|
+
UpdateUserRoutingProfileCommand: UpdateUserRoutingProfileCommand_1.UpdateUserRoutingProfileCommand,
|
|
346
|
+
UpdateUserSecurityProfilesCommand: UpdateUserSecurityProfilesCommand_1.UpdateUserSecurityProfilesCommand,
|
|
347
|
+
};
|
|
175
348
|
class Connect extends ConnectClient_1.ConnectClient {
|
|
176
|
-
associateApprovedOrigin(args, optionsOrCb, cb) {
|
|
177
|
-
const command = new AssociateApprovedOriginCommand_1.AssociateApprovedOriginCommand(args);
|
|
178
|
-
if (typeof optionsOrCb === "function") {
|
|
179
|
-
this.send(command, optionsOrCb);
|
|
180
|
-
}
|
|
181
|
-
else if (typeof cb === "function") {
|
|
182
|
-
if (typeof optionsOrCb !== "object")
|
|
183
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
184
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
return this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
associateBot(args, optionsOrCb, cb) {
|
|
191
|
-
const command = new AssociateBotCommand_1.AssociateBotCommand(args);
|
|
192
|
-
if (typeof optionsOrCb === "function") {
|
|
193
|
-
this.send(command, optionsOrCb);
|
|
194
|
-
}
|
|
195
|
-
else if (typeof cb === "function") {
|
|
196
|
-
if (typeof optionsOrCb !== "object")
|
|
197
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
198
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
199
|
-
}
|
|
200
|
-
else {
|
|
201
|
-
return this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
associateDefaultVocabulary(args, optionsOrCb, cb) {
|
|
205
|
-
const command = new AssociateDefaultVocabularyCommand_1.AssociateDefaultVocabularyCommand(args);
|
|
206
|
-
if (typeof optionsOrCb === "function") {
|
|
207
|
-
this.send(command, optionsOrCb);
|
|
208
|
-
}
|
|
209
|
-
else if (typeof cb === "function") {
|
|
210
|
-
if (typeof optionsOrCb !== "object")
|
|
211
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
212
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
return this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
associateInstanceStorageConfig(args, optionsOrCb, cb) {
|
|
219
|
-
const command = new AssociateInstanceStorageConfigCommand_1.AssociateInstanceStorageConfigCommand(args);
|
|
220
|
-
if (typeof optionsOrCb === "function") {
|
|
221
|
-
this.send(command, optionsOrCb);
|
|
222
|
-
}
|
|
223
|
-
else if (typeof cb === "function") {
|
|
224
|
-
if (typeof optionsOrCb !== "object")
|
|
225
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
226
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
return this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
associateLambdaFunction(args, optionsOrCb, cb) {
|
|
233
|
-
const command = new AssociateLambdaFunctionCommand_1.AssociateLambdaFunctionCommand(args);
|
|
234
|
-
if (typeof optionsOrCb === "function") {
|
|
235
|
-
this.send(command, optionsOrCb);
|
|
236
|
-
}
|
|
237
|
-
else if (typeof cb === "function") {
|
|
238
|
-
if (typeof optionsOrCb !== "object")
|
|
239
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
240
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
241
|
-
}
|
|
242
|
-
else {
|
|
243
|
-
return this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
associateLexBot(args, optionsOrCb, cb) {
|
|
247
|
-
const command = new AssociateLexBotCommand_1.AssociateLexBotCommand(args);
|
|
248
|
-
if (typeof optionsOrCb === "function") {
|
|
249
|
-
this.send(command, optionsOrCb);
|
|
250
|
-
}
|
|
251
|
-
else if (typeof cb === "function") {
|
|
252
|
-
if (typeof optionsOrCb !== "object")
|
|
253
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
254
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
-
}
|
|
256
|
-
else {
|
|
257
|
-
return this.send(command, optionsOrCb);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
associatePhoneNumberContactFlow(args, optionsOrCb, cb) {
|
|
261
|
-
const command = new AssociatePhoneNumberContactFlowCommand_1.AssociatePhoneNumberContactFlowCommand(args);
|
|
262
|
-
if (typeof optionsOrCb === "function") {
|
|
263
|
-
this.send(command, optionsOrCb);
|
|
264
|
-
}
|
|
265
|
-
else if (typeof cb === "function") {
|
|
266
|
-
if (typeof optionsOrCb !== "object")
|
|
267
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
268
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
269
|
-
}
|
|
270
|
-
else {
|
|
271
|
-
return this.send(command, optionsOrCb);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
associateQueueQuickConnects(args, optionsOrCb, cb) {
|
|
275
|
-
const command = new AssociateQueueQuickConnectsCommand_1.AssociateQueueQuickConnectsCommand(args);
|
|
276
|
-
if (typeof optionsOrCb === "function") {
|
|
277
|
-
this.send(command, optionsOrCb);
|
|
278
|
-
}
|
|
279
|
-
else if (typeof cb === "function") {
|
|
280
|
-
if (typeof optionsOrCb !== "object")
|
|
281
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
282
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
283
|
-
}
|
|
284
|
-
else {
|
|
285
|
-
return this.send(command, optionsOrCb);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
associateRoutingProfileQueues(args, optionsOrCb, cb) {
|
|
289
|
-
const command = new AssociateRoutingProfileQueuesCommand_1.AssociateRoutingProfileQueuesCommand(args);
|
|
290
|
-
if (typeof optionsOrCb === "function") {
|
|
291
|
-
this.send(command, optionsOrCb);
|
|
292
|
-
}
|
|
293
|
-
else if (typeof cb === "function") {
|
|
294
|
-
if (typeof optionsOrCb !== "object")
|
|
295
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
296
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
297
|
-
}
|
|
298
|
-
else {
|
|
299
|
-
return this.send(command, optionsOrCb);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
associateSecurityKey(args, optionsOrCb, cb) {
|
|
303
|
-
const command = new AssociateSecurityKeyCommand_1.AssociateSecurityKeyCommand(args);
|
|
304
|
-
if (typeof optionsOrCb === "function") {
|
|
305
|
-
this.send(command, optionsOrCb);
|
|
306
|
-
}
|
|
307
|
-
else if (typeof cb === "function") {
|
|
308
|
-
if (typeof optionsOrCb !== "object")
|
|
309
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
310
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
311
|
-
}
|
|
312
|
-
else {
|
|
313
|
-
return this.send(command, optionsOrCb);
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
claimPhoneNumber(args, optionsOrCb, cb) {
|
|
317
|
-
const command = new ClaimPhoneNumberCommand_1.ClaimPhoneNumberCommand(args);
|
|
318
|
-
if (typeof optionsOrCb === "function") {
|
|
319
|
-
this.send(command, optionsOrCb);
|
|
320
|
-
}
|
|
321
|
-
else if (typeof cb === "function") {
|
|
322
|
-
if (typeof optionsOrCb !== "object")
|
|
323
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
324
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
325
|
-
}
|
|
326
|
-
else {
|
|
327
|
-
return this.send(command, optionsOrCb);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
createAgentStatus(args, optionsOrCb, cb) {
|
|
331
|
-
const command = new CreateAgentStatusCommand_1.CreateAgentStatusCommand(args);
|
|
332
|
-
if (typeof optionsOrCb === "function") {
|
|
333
|
-
this.send(command, optionsOrCb);
|
|
334
|
-
}
|
|
335
|
-
else if (typeof cb === "function") {
|
|
336
|
-
if (typeof optionsOrCb !== "object")
|
|
337
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
338
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
339
|
-
}
|
|
340
|
-
else {
|
|
341
|
-
return this.send(command, optionsOrCb);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
createContactFlow(args, optionsOrCb, cb) {
|
|
345
|
-
const command = new CreateContactFlowCommand_1.CreateContactFlowCommand(args);
|
|
346
|
-
if (typeof optionsOrCb === "function") {
|
|
347
|
-
this.send(command, optionsOrCb);
|
|
348
|
-
}
|
|
349
|
-
else if (typeof cb === "function") {
|
|
350
|
-
if (typeof optionsOrCb !== "object")
|
|
351
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
352
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
353
|
-
}
|
|
354
|
-
else {
|
|
355
|
-
return this.send(command, optionsOrCb);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
createContactFlowModule(args, optionsOrCb, cb) {
|
|
359
|
-
const command = new CreateContactFlowModuleCommand_1.CreateContactFlowModuleCommand(args);
|
|
360
|
-
if (typeof optionsOrCb === "function") {
|
|
361
|
-
this.send(command, optionsOrCb);
|
|
362
|
-
}
|
|
363
|
-
else if (typeof cb === "function") {
|
|
364
|
-
if (typeof optionsOrCb !== "object")
|
|
365
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
366
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
367
|
-
}
|
|
368
|
-
else {
|
|
369
|
-
return this.send(command, optionsOrCb);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
createHoursOfOperation(args, optionsOrCb, cb) {
|
|
373
|
-
const command = new CreateHoursOfOperationCommand_1.CreateHoursOfOperationCommand(args);
|
|
374
|
-
if (typeof optionsOrCb === "function") {
|
|
375
|
-
this.send(command, optionsOrCb);
|
|
376
|
-
}
|
|
377
|
-
else if (typeof cb === "function") {
|
|
378
|
-
if (typeof optionsOrCb !== "object")
|
|
379
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
380
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
381
|
-
}
|
|
382
|
-
else {
|
|
383
|
-
return this.send(command, optionsOrCb);
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
createInstance(args, optionsOrCb, cb) {
|
|
387
|
-
const command = new CreateInstanceCommand_1.CreateInstanceCommand(args);
|
|
388
|
-
if (typeof optionsOrCb === "function") {
|
|
389
|
-
this.send(command, optionsOrCb);
|
|
390
|
-
}
|
|
391
|
-
else if (typeof cb === "function") {
|
|
392
|
-
if (typeof optionsOrCb !== "object")
|
|
393
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
394
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
395
|
-
}
|
|
396
|
-
else {
|
|
397
|
-
return this.send(command, optionsOrCb);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
createIntegrationAssociation(args, optionsOrCb, cb) {
|
|
401
|
-
const command = new CreateIntegrationAssociationCommand_1.CreateIntegrationAssociationCommand(args);
|
|
402
|
-
if (typeof optionsOrCb === "function") {
|
|
403
|
-
this.send(command, optionsOrCb);
|
|
404
|
-
}
|
|
405
|
-
else if (typeof cb === "function") {
|
|
406
|
-
if (typeof optionsOrCb !== "object")
|
|
407
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
408
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
409
|
-
}
|
|
410
|
-
else {
|
|
411
|
-
return this.send(command, optionsOrCb);
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
createQueue(args, optionsOrCb, cb) {
|
|
415
|
-
const command = new CreateQueueCommand_1.CreateQueueCommand(args);
|
|
416
|
-
if (typeof optionsOrCb === "function") {
|
|
417
|
-
this.send(command, optionsOrCb);
|
|
418
|
-
}
|
|
419
|
-
else if (typeof cb === "function") {
|
|
420
|
-
if (typeof optionsOrCb !== "object")
|
|
421
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
422
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
423
|
-
}
|
|
424
|
-
else {
|
|
425
|
-
return this.send(command, optionsOrCb);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
createQuickConnect(args, optionsOrCb, cb) {
|
|
429
|
-
const command = new CreateQuickConnectCommand_1.CreateQuickConnectCommand(args);
|
|
430
|
-
if (typeof optionsOrCb === "function") {
|
|
431
|
-
this.send(command, optionsOrCb);
|
|
432
|
-
}
|
|
433
|
-
else if (typeof cb === "function") {
|
|
434
|
-
if (typeof optionsOrCb !== "object")
|
|
435
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
436
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
437
|
-
}
|
|
438
|
-
else {
|
|
439
|
-
return this.send(command, optionsOrCb);
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
createRoutingProfile(args, optionsOrCb, cb) {
|
|
443
|
-
const command = new CreateRoutingProfileCommand_1.CreateRoutingProfileCommand(args);
|
|
444
|
-
if (typeof optionsOrCb === "function") {
|
|
445
|
-
this.send(command, optionsOrCb);
|
|
446
|
-
}
|
|
447
|
-
else if (typeof cb === "function") {
|
|
448
|
-
if (typeof optionsOrCb !== "object")
|
|
449
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
450
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
451
|
-
}
|
|
452
|
-
else {
|
|
453
|
-
return this.send(command, optionsOrCb);
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
createRule(args, optionsOrCb, cb) {
|
|
457
|
-
const command = new CreateRuleCommand_1.CreateRuleCommand(args);
|
|
458
|
-
if (typeof optionsOrCb === "function") {
|
|
459
|
-
this.send(command, optionsOrCb);
|
|
460
|
-
}
|
|
461
|
-
else if (typeof cb === "function") {
|
|
462
|
-
if (typeof optionsOrCb !== "object")
|
|
463
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
464
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
465
|
-
}
|
|
466
|
-
else {
|
|
467
|
-
return this.send(command, optionsOrCb);
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
createSecurityProfile(args, optionsOrCb, cb) {
|
|
471
|
-
const command = new CreateSecurityProfileCommand_1.CreateSecurityProfileCommand(args);
|
|
472
|
-
if (typeof optionsOrCb === "function") {
|
|
473
|
-
this.send(command, optionsOrCb);
|
|
474
|
-
}
|
|
475
|
-
else if (typeof cb === "function") {
|
|
476
|
-
if (typeof optionsOrCb !== "object")
|
|
477
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
478
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
479
|
-
}
|
|
480
|
-
else {
|
|
481
|
-
return this.send(command, optionsOrCb);
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
createTaskTemplate(args, optionsOrCb, cb) {
|
|
485
|
-
const command = new CreateTaskTemplateCommand_1.CreateTaskTemplateCommand(args);
|
|
486
|
-
if (typeof optionsOrCb === "function") {
|
|
487
|
-
this.send(command, optionsOrCb);
|
|
488
|
-
}
|
|
489
|
-
else if (typeof cb === "function") {
|
|
490
|
-
if (typeof optionsOrCb !== "object")
|
|
491
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
492
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
493
|
-
}
|
|
494
|
-
else {
|
|
495
|
-
return this.send(command, optionsOrCb);
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
createTrafficDistributionGroup(args, optionsOrCb, cb) {
|
|
499
|
-
const command = new CreateTrafficDistributionGroupCommand_1.CreateTrafficDistributionGroupCommand(args);
|
|
500
|
-
if (typeof optionsOrCb === "function") {
|
|
501
|
-
this.send(command, optionsOrCb);
|
|
502
|
-
}
|
|
503
|
-
else if (typeof cb === "function") {
|
|
504
|
-
if (typeof optionsOrCb !== "object")
|
|
505
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
506
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
507
|
-
}
|
|
508
|
-
else {
|
|
509
|
-
return this.send(command, optionsOrCb);
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
createUseCase(args, optionsOrCb, cb) {
|
|
513
|
-
const command = new CreateUseCaseCommand_1.CreateUseCaseCommand(args);
|
|
514
|
-
if (typeof optionsOrCb === "function") {
|
|
515
|
-
this.send(command, optionsOrCb);
|
|
516
|
-
}
|
|
517
|
-
else if (typeof cb === "function") {
|
|
518
|
-
if (typeof optionsOrCb !== "object")
|
|
519
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
520
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
521
|
-
}
|
|
522
|
-
else {
|
|
523
|
-
return this.send(command, optionsOrCb);
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
createUser(args, optionsOrCb, cb) {
|
|
527
|
-
const command = new CreateUserCommand_1.CreateUserCommand(args);
|
|
528
|
-
if (typeof optionsOrCb === "function") {
|
|
529
|
-
this.send(command, optionsOrCb);
|
|
530
|
-
}
|
|
531
|
-
else if (typeof cb === "function") {
|
|
532
|
-
if (typeof optionsOrCb !== "object")
|
|
533
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
534
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
535
|
-
}
|
|
536
|
-
else {
|
|
537
|
-
return this.send(command, optionsOrCb);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
createUserHierarchyGroup(args, optionsOrCb, cb) {
|
|
541
|
-
const command = new CreateUserHierarchyGroupCommand_1.CreateUserHierarchyGroupCommand(args);
|
|
542
|
-
if (typeof optionsOrCb === "function") {
|
|
543
|
-
this.send(command, optionsOrCb);
|
|
544
|
-
}
|
|
545
|
-
else if (typeof cb === "function") {
|
|
546
|
-
if (typeof optionsOrCb !== "object")
|
|
547
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
548
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
549
|
-
}
|
|
550
|
-
else {
|
|
551
|
-
return this.send(command, optionsOrCb);
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
createVocabulary(args, optionsOrCb, cb) {
|
|
555
|
-
const command = new CreateVocabularyCommand_1.CreateVocabularyCommand(args);
|
|
556
|
-
if (typeof optionsOrCb === "function") {
|
|
557
|
-
this.send(command, optionsOrCb);
|
|
558
|
-
}
|
|
559
|
-
else if (typeof cb === "function") {
|
|
560
|
-
if (typeof optionsOrCb !== "object")
|
|
561
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
562
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
563
|
-
}
|
|
564
|
-
else {
|
|
565
|
-
return this.send(command, optionsOrCb);
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
deleteContactFlow(args, optionsOrCb, cb) {
|
|
569
|
-
const command = new DeleteContactFlowCommand_1.DeleteContactFlowCommand(args);
|
|
570
|
-
if (typeof optionsOrCb === "function") {
|
|
571
|
-
this.send(command, optionsOrCb);
|
|
572
|
-
}
|
|
573
|
-
else if (typeof cb === "function") {
|
|
574
|
-
if (typeof optionsOrCb !== "object")
|
|
575
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
576
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
577
|
-
}
|
|
578
|
-
else {
|
|
579
|
-
return this.send(command, optionsOrCb);
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
deleteContactFlowModule(args, optionsOrCb, cb) {
|
|
583
|
-
const command = new DeleteContactFlowModuleCommand_1.DeleteContactFlowModuleCommand(args);
|
|
584
|
-
if (typeof optionsOrCb === "function") {
|
|
585
|
-
this.send(command, optionsOrCb);
|
|
586
|
-
}
|
|
587
|
-
else if (typeof cb === "function") {
|
|
588
|
-
if (typeof optionsOrCb !== "object")
|
|
589
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
590
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
591
|
-
}
|
|
592
|
-
else {
|
|
593
|
-
return this.send(command, optionsOrCb);
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
deleteHoursOfOperation(args, optionsOrCb, cb) {
|
|
597
|
-
const command = new DeleteHoursOfOperationCommand_1.DeleteHoursOfOperationCommand(args);
|
|
598
|
-
if (typeof optionsOrCb === "function") {
|
|
599
|
-
this.send(command, optionsOrCb);
|
|
600
|
-
}
|
|
601
|
-
else if (typeof cb === "function") {
|
|
602
|
-
if (typeof optionsOrCb !== "object")
|
|
603
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
604
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
605
|
-
}
|
|
606
|
-
else {
|
|
607
|
-
return this.send(command, optionsOrCb);
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
deleteInstance(args, optionsOrCb, cb) {
|
|
611
|
-
const command = new DeleteInstanceCommand_1.DeleteInstanceCommand(args);
|
|
612
|
-
if (typeof optionsOrCb === "function") {
|
|
613
|
-
this.send(command, optionsOrCb);
|
|
614
|
-
}
|
|
615
|
-
else if (typeof cb === "function") {
|
|
616
|
-
if (typeof optionsOrCb !== "object")
|
|
617
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
618
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
619
|
-
}
|
|
620
|
-
else {
|
|
621
|
-
return this.send(command, optionsOrCb);
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
deleteIntegrationAssociation(args, optionsOrCb, cb) {
|
|
625
|
-
const command = new DeleteIntegrationAssociationCommand_1.DeleteIntegrationAssociationCommand(args);
|
|
626
|
-
if (typeof optionsOrCb === "function") {
|
|
627
|
-
this.send(command, optionsOrCb);
|
|
628
|
-
}
|
|
629
|
-
else if (typeof cb === "function") {
|
|
630
|
-
if (typeof optionsOrCb !== "object")
|
|
631
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
632
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
633
|
-
}
|
|
634
|
-
else {
|
|
635
|
-
return this.send(command, optionsOrCb);
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
deleteQuickConnect(args, optionsOrCb, cb) {
|
|
639
|
-
const command = new DeleteQuickConnectCommand_1.DeleteQuickConnectCommand(args);
|
|
640
|
-
if (typeof optionsOrCb === "function") {
|
|
641
|
-
this.send(command, optionsOrCb);
|
|
642
|
-
}
|
|
643
|
-
else if (typeof cb === "function") {
|
|
644
|
-
if (typeof optionsOrCb !== "object")
|
|
645
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
646
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
647
|
-
}
|
|
648
|
-
else {
|
|
649
|
-
return this.send(command, optionsOrCb);
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
deleteRule(args, optionsOrCb, cb) {
|
|
653
|
-
const command = new DeleteRuleCommand_1.DeleteRuleCommand(args);
|
|
654
|
-
if (typeof optionsOrCb === "function") {
|
|
655
|
-
this.send(command, optionsOrCb);
|
|
656
|
-
}
|
|
657
|
-
else if (typeof cb === "function") {
|
|
658
|
-
if (typeof optionsOrCb !== "object")
|
|
659
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
660
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
661
|
-
}
|
|
662
|
-
else {
|
|
663
|
-
return this.send(command, optionsOrCb);
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
deleteSecurityProfile(args, optionsOrCb, cb) {
|
|
667
|
-
const command = new DeleteSecurityProfileCommand_1.DeleteSecurityProfileCommand(args);
|
|
668
|
-
if (typeof optionsOrCb === "function") {
|
|
669
|
-
this.send(command, optionsOrCb);
|
|
670
|
-
}
|
|
671
|
-
else if (typeof cb === "function") {
|
|
672
|
-
if (typeof optionsOrCb !== "object")
|
|
673
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
674
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
675
|
-
}
|
|
676
|
-
else {
|
|
677
|
-
return this.send(command, optionsOrCb);
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
deleteTaskTemplate(args, optionsOrCb, cb) {
|
|
681
|
-
const command = new DeleteTaskTemplateCommand_1.DeleteTaskTemplateCommand(args);
|
|
682
|
-
if (typeof optionsOrCb === "function") {
|
|
683
|
-
this.send(command, optionsOrCb);
|
|
684
|
-
}
|
|
685
|
-
else if (typeof cb === "function") {
|
|
686
|
-
if (typeof optionsOrCb !== "object")
|
|
687
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
688
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
689
|
-
}
|
|
690
|
-
else {
|
|
691
|
-
return this.send(command, optionsOrCb);
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
deleteTrafficDistributionGroup(args, optionsOrCb, cb) {
|
|
695
|
-
const command = new DeleteTrafficDistributionGroupCommand_1.DeleteTrafficDistributionGroupCommand(args);
|
|
696
|
-
if (typeof optionsOrCb === "function") {
|
|
697
|
-
this.send(command, optionsOrCb);
|
|
698
|
-
}
|
|
699
|
-
else if (typeof cb === "function") {
|
|
700
|
-
if (typeof optionsOrCb !== "object")
|
|
701
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
702
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
703
|
-
}
|
|
704
|
-
else {
|
|
705
|
-
return this.send(command, optionsOrCb);
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
deleteUseCase(args, optionsOrCb, cb) {
|
|
709
|
-
const command = new DeleteUseCaseCommand_1.DeleteUseCaseCommand(args);
|
|
710
|
-
if (typeof optionsOrCb === "function") {
|
|
711
|
-
this.send(command, optionsOrCb);
|
|
712
|
-
}
|
|
713
|
-
else if (typeof cb === "function") {
|
|
714
|
-
if (typeof optionsOrCb !== "object")
|
|
715
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
716
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
717
|
-
}
|
|
718
|
-
else {
|
|
719
|
-
return this.send(command, optionsOrCb);
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
deleteUser(args, optionsOrCb, cb) {
|
|
723
|
-
const command = new DeleteUserCommand_1.DeleteUserCommand(args);
|
|
724
|
-
if (typeof optionsOrCb === "function") {
|
|
725
|
-
this.send(command, optionsOrCb);
|
|
726
|
-
}
|
|
727
|
-
else if (typeof cb === "function") {
|
|
728
|
-
if (typeof optionsOrCb !== "object")
|
|
729
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
730
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
731
|
-
}
|
|
732
|
-
else {
|
|
733
|
-
return this.send(command, optionsOrCb);
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
deleteUserHierarchyGroup(args, optionsOrCb, cb) {
|
|
737
|
-
const command = new DeleteUserHierarchyGroupCommand_1.DeleteUserHierarchyGroupCommand(args);
|
|
738
|
-
if (typeof optionsOrCb === "function") {
|
|
739
|
-
this.send(command, optionsOrCb);
|
|
740
|
-
}
|
|
741
|
-
else if (typeof cb === "function") {
|
|
742
|
-
if (typeof optionsOrCb !== "object")
|
|
743
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
744
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
745
|
-
}
|
|
746
|
-
else {
|
|
747
|
-
return this.send(command, optionsOrCb);
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
deleteVocabulary(args, optionsOrCb, cb) {
|
|
751
|
-
const command = new DeleteVocabularyCommand_1.DeleteVocabularyCommand(args);
|
|
752
|
-
if (typeof optionsOrCb === "function") {
|
|
753
|
-
this.send(command, optionsOrCb);
|
|
754
|
-
}
|
|
755
|
-
else if (typeof cb === "function") {
|
|
756
|
-
if (typeof optionsOrCb !== "object")
|
|
757
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
758
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
759
|
-
}
|
|
760
|
-
else {
|
|
761
|
-
return this.send(command, optionsOrCb);
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
describeAgentStatus(args, optionsOrCb, cb) {
|
|
765
|
-
const command = new DescribeAgentStatusCommand_1.DescribeAgentStatusCommand(args);
|
|
766
|
-
if (typeof optionsOrCb === "function") {
|
|
767
|
-
this.send(command, optionsOrCb);
|
|
768
|
-
}
|
|
769
|
-
else if (typeof cb === "function") {
|
|
770
|
-
if (typeof optionsOrCb !== "object")
|
|
771
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
772
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
773
|
-
}
|
|
774
|
-
else {
|
|
775
|
-
return this.send(command, optionsOrCb);
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
describeContact(args, optionsOrCb, cb) {
|
|
779
|
-
const command = new DescribeContactCommand_1.DescribeContactCommand(args);
|
|
780
|
-
if (typeof optionsOrCb === "function") {
|
|
781
|
-
this.send(command, optionsOrCb);
|
|
782
|
-
}
|
|
783
|
-
else if (typeof cb === "function") {
|
|
784
|
-
if (typeof optionsOrCb !== "object")
|
|
785
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
786
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
787
|
-
}
|
|
788
|
-
else {
|
|
789
|
-
return this.send(command, optionsOrCb);
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
describeContactFlow(args, optionsOrCb, cb) {
|
|
793
|
-
const command = new DescribeContactFlowCommand_1.DescribeContactFlowCommand(args);
|
|
794
|
-
if (typeof optionsOrCb === "function") {
|
|
795
|
-
this.send(command, optionsOrCb);
|
|
796
|
-
}
|
|
797
|
-
else if (typeof cb === "function") {
|
|
798
|
-
if (typeof optionsOrCb !== "object")
|
|
799
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
800
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
801
|
-
}
|
|
802
|
-
else {
|
|
803
|
-
return this.send(command, optionsOrCb);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
describeContactFlowModule(args, optionsOrCb, cb) {
|
|
807
|
-
const command = new DescribeContactFlowModuleCommand_1.DescribeContactFlowModuleCommand(args);
|
|
808
|
-
if (typeof optionsOrCb === "function") {
|
|
809
|
-
this.send(command, optionsOrCb);
|
|
810
|
-
}
|
|
811
|
-
else if (typeof cb === "function") {
|
|
812
|
-
if (typeof optionsOrCb !== "object")
|
|
813
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
814
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
815
|
-
}
|
|
816
|
-
else {
|
|
817
|
-
return this.send(command, optionsOrCb);
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
describeHoursOfOperation(args, optionsOrCb, cb) {
|
|
821
|
-
const command = new DescribeHoursOfOperationCommand_1.DescribeHoursOfOperationCommand(args);
|
|
822
|
-
if (typeof optionsOrCb === "function") {
|
|
823
|
-
this.send(command, optionsOrCb);
|
|
824
|
-
}
|
|
825
|
-
else if (typeof cb === "function") {
|
|
826
|
-
if (typeof optionsOrCb !== "object")
|
|
827
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
828
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
829
|
-
}
|
|
830
|
-
else {
|
|
831
|
-
return this.send(command, optionsOrCb);
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
describeInstance(args, optionsOrCb, cb) {
|
|
835
|
-
const command = new DescribeInstanceCommand_1.DescribeInstanceCommand(args);
|
|
836
|
-
if (typeof optionsOrCb === "function") {
|
|
837
|
-
this.send(command, optionsOrCb);
|
|
838
|
-
}
|
|
839
|
-
else if (typeof cb === "function") {
|
|
840
|
-
if (typeof optionsOrCb !== "object")
|
|
841
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
842
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
843
|
-
}
|
|
844
|
-
else {
|
|
845
|
-
return this.send(command, optionsOrCb);
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
describeInstanceAttribute(args, optionsOrCb, cb) {
|
|
849
|
-
const command = new DescribeInstanceAttributeCommand_1.DescribeInstanceAttributeCommand(args);
|
|
850
|
-
if (typeof optionsOrCb === "function") {
|
|
851
|
-
this.send(command, optionsOrCb);
|
|
852
|
-
}
|
|
853
|
-
else if (typeof cb === "function") {
|
|
854
|
-
if (typeof optionsOrCb !== "object")
|
|
855
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
856
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
857
|
-
}
|
|
858
|
-
else {
|
|
859
|
-
return this.send(command, optionsOrCb);
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
describeInstanceStorageConfig(args, optionsOrCb, cb) {
|
|
863
|
-
const command = new DescribeInstanceStorageConfigCommand_1.DescribeInstanceStorageConfigCommand(args);
|
|
864
|
-
if (typeof optionsOrCb === "function") {
|
|
865
|
-
this.send(command, optionsOrCb);
|
|
866
|
-
}
|
|
867
|
-
else if (typeof cb === "function") {
|
|
868
|
-
if (typeof optionsOrCb !== "object")
|
|
869
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
870
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
871
|
-
}
|
|
872
|
-
else {
|
|
873
|
-
return this.send(command, optionsOrCb);
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
describePhoneNumber(args, optionsOrCb, cb) {
|
|
877
|
-
const command = new DescribePhoneNumberCommand_1.DescribePhoneNumberCommand(args);
|
|
878
|
-
if (typeof optionsOrCb === "function") {
|
|
879
|
-
this.send(command, optionsOrCb);
|
|
880
|
-
}
|
|
881
|
-
else if (typeof cb === "function") {
|
|
882
|
-
if (typeof optionsOrCb !== "object")
|
|
883
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
884
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
885
|
-
}
|
|
886
|
-
else {
|
|
887
|
-
return this.send(command, optionsOrCb);
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
describeQueue(args, optionsOrCb, cb) {
|
|
891
|
-
const command = new DescribeQueueCommand_1.DescribeQueueCommand(args);
|
|
892
|
-
if (typeof optionsOrCb === "function") {
|
|
893
|
-
this.send(command, optionsOrCb);
|
|
894
|
-
}
|
|
895
|
-
else if (typeof cb === "function") {
|
|
896
|
-
if (typeof optionsOrCb !== "object")
|
|
897
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
898
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
899
|
-
}
|
|
900
|
-
else {
|
|
901
|
-
return this.send(command, optionsOrCb);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
describeQuickConnect(args, optionsOrCb, cb) {
|
|
905
|
-
const command = new DescribeQuickConnectCommand_1.DescribeQuickConnectCommand(args);
|
|
906
|
-
if (typeof optionsOrCb === "function") {
|
|
907
|
-
this.send(command, optionsOrCb);
|
|
908
|
-
}
|
|
909
|
-
else if (typeof cb === "function") {
|
|
910
|
-
if (typeof optionsOrCb !== "object")
|
|
911
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
912
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
913
|
-
}
|
|
914
|
-
else {
|
|
915
|
-
return this.send(command, optionsOrCb);
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
describeRoutingProfile(args, optionsOrCb, cb) {
|
|
919
|
-
const command = new DescribeRoutingProfileCommand_1.DescribeRoutingProfileCommand(args);
|
|
920
|
-
if (typeof optionsOrCb === "function") {
|
|
921
|
-
this.send(command, optionsOrCb);
|
|
922
|
-
}
|
|
923
|
-
else if (typeof cb === "function") {
|
|
924
|
-
if (typeof optionsOrCb !== "object")
|
|
925
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
926
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
927
|
-
}
|
|
928
|
-
else {
|
|
929
|
-
return this.send(command, optionsOrCb);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
describeRule(args, optionsOrCb, cb) {
|
|
933
|
-
const command = new DescribeRuleCommand_1.DescribeRuleCommand(args);
|
|
934
|
-
if (typeof optionsOrCb === "function") {
|
|
935
|
-
this.send(command, optionsOrCb);
|
|
936
|
-
}
|
|
937
|
-
else if (typeof cb === "function") {
|
|
938
|
-
if (typeof optionsOrCb !== "object")
|
|
939
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
940
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
941
|
-
}
|
|
942
|
-
else {
|
|
943
|
-
return this.send(command, optionsOrCb);
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
describeSecurityProfile(args, optionsOrCb, cb) {
|
|
947
|
-
const command = new DescribeSecurityProfileCommand_1.DescribeSecurityProfileCommand(args);
|
|
948
|
-
if (typeof optionsOrCb === "function") {
|
|
949
|
-
this.send(command, optionsOrCb);
|
|
950
|
-
}
|
|
951
|
-
else if (typeof cb === "function") {
|
|
952
|
-
if (typeof optionsOrCb !== "object")
|
|
953
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
954
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
955
|
-
}
|
|
956
|
-
else {
|
|
957
|
-
return this.send(command, optionsOrCb);
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
describeTrafficDistributionGroup(args, optionsOrCb, cb) {
|
|
961
|
-
const command = new DescribeTrafficDistributionGroupCommand_1.DescribeTrafficDistributionGroupCommand(args);
|
|
962
|
-
if (typeof optionsOrCb === "function") {
|
|
963
|
-
this.send(command, optionsOrCb);
|
|
964
|
-
}
|
|
965
|
-
else if (typeof cb === "function") {
|
|
966
|
-
if (typeof optionsOrCb !== "object")
|
|
967
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
968
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
969
|
-
}
|
|
970
|
-
else {
|
|
971
|
-
return this.send(command, optionsOrCb);
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
describeUser(args, optionsOrCb, cb) {
|
|
975
|
-
const command = new DescribeUserCommand_1.DescribeUserCommand(args);
|
|
976
|
-
if (typeof optionsOrCb === "function") {
|
|
977
|
-
this.send(command, optionsOrCb);
|
|
978
|
-
}
|
|
979
|
-
else if (typeof cb === "function") {
|
|
980
|
-
if (typeof optionsOrCb !== "object")
|
|
981
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
982
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
983
|
-
}
|
|
984
|
-
else {
|
|
985
|
-
return this.send(command, optionsOrCb);
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
describeUserHierarchyGroup(args, optionsOrCb, cb) {
|
|
989
|
-
const command = new DescribeUserHierarchyGroupCommand_1.DescribeUserHierarchyGroupCommand(args);
|
|
990
|
-
if (typeof optionsOrCb === "function") {
|
|
991
|
-
this.send(command, optionsOrCb);
|
|
992
|
-
}
|
|
993
|
-
else if (typeof cb === "function") {
|
|
994
|
-
if (typeof optionsOrCb !== "object")
|
|
995
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
996
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
997
|
-
}
|
|
998
|
-
else {
|
|
999
|
-
return this.send(command, optionsOrCb);
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
describeUserHierarchyStructure(args, optionsOrCb, cb) {
|
|
1003
|
-
const command = new DescribeUserHierarchyStructureCommand_1.DescribeUserHierarchyStructureCommand(args);
|
|
1004
|
-
if (typeof optionsOrCb === "function") {
|
|
1005
|
-
this.send(command, optionsOrCb);
|
|
1006
|
-
}
|
|
1007
|
-
else if (typeof cb === "function") {
|
|
1008
|
-
if (typeof optionsOrCb !== "object")
|
|
1009
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1010
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1011
|
-
}
|
|
1012
|
-
else {
|
|
1013
|
-
return this.send(command, optionsOrCb);
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
describeVocabulary(args, optionsOrCb, cb) {
|
|
1017
|
-
const command = new DescribeVocabularyCommand_1.DescribeVocabularyCommand(args);
|
|
1018
|
-
if (typeof optionsOrCb === "function") {
|
|
1019
|
-
this.send(command, optionsOrCb);
|
|
1020
|
-
}
|
|
1021
|
-
else if (typeof cb === "function") {
|
|
1022
|
-
if (typeof optionsOrCb !== "object")
|
|
1023
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1024
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1025
|
-
}
|
|
1026
|
-
else {
|
|
1027
|
-
return this.send(command, optionsOrCb);
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
disassociateApprovedOrigin(args, optionsOrCb, cb) {
|
|
1031
|
-
const command = new DisassociateApprovedOriginCommand_1.DisassociateApprovedOriginCommand(args);
|
|
1032
|
-
if (typeof optionsOrCb === "function") {
|
|
1033
|
-
this.send(command, optionsOrCb);
|
|
1034
|
-
}
|
|
1035
|
-
else if (typeof cb === "function") {
|
|
1036
|
-
if (typeof optionsOrCb !== "object")
|
|
1037
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1038
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1039
|
-
}
|
|
1040
|
-
else {
|
|
1041
|
-
return this.send(command, optionsOrCb);
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
disassociateBot(args, optionsOrCb, cb) {
|
|
1045
|
-
const command = new DisassociateBotCommand_1.DisassociateBotCommand(args);
|
|
1046
|
-
if (typeof optionsOrCb === "function") {
|
|
1047
|
-
this.send(command, optionsOrCb);
|
|
1048
|
-
}
|
|
1049
|
-
else if (typeof cb === "function") {
|
|
1050
|
-
if (typeof optionsOrCb !== "object")
|
|
1051
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1052
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1053
|
-
}
|
|
1054
|
-
else {
|
|
1055
|
-
return this.send(command, optionsOrCb);
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
disassociateInstanceStorageConfig(args, optionsOrCb, cb) {
|
|
1059
|
-
const command = new DisassociateInstanceStorageConfigCommand_1.DisassociateInstanceStorageConfigCommand(args);
|
|
1060
|
-
if (typeof optionsOrCb === "function") {
|
|
1061
|
-
this.send(command, optionsOrCb);
|
|
1062
|
-
}
|
|
1063
|
-
else if (typeof cb === "function") {
|
|
1064
|
-
if (typeof optionsOrCb !== "object")
|
|
1065
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1066
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1067
|
-
}
|
|
1068
|
-
else {
|
|
1069
|
-
return this.send(command, optionsOrCb);
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
disassociateLambdaFunction(args, optionsOrCb, cb) {
|
|
1073
|
-
const command = new DisassociateLambdaFunctionCommand_1.DisassociateLambdaFunctionCommand(args);
|
|
1074
|
-
if (typeof optionsOrCb === "function") {
|
|
1075
|
-
this.send(command, optionsOrCb);
|
|
1076
|
-
}
|
|
1077
|
-
else if (typeof cb === "function") {
|
|
1078
|
-
if (typeof optionsOrCb !== "object")
|
|
1079
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1080
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1081
|
-
}
|
|
1082
|
-
else {
|
|
1083
|
-
return this.send(command, optionsOrCb);
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
disassociateLexBot(args, optionsOrCb, cb) {
|
|
1087
|
-
const command = new DisassociateLexBotCommand_1.DisassociateLexBotCommand(args);
|
|
1088
|
-
if (typeof optionsOrCb === "function") {
|
|
1089
|
-
this.send(command, optionsOrCb);
|
|
1090
|
-
}
|
|
1091
|
-
else if (typeof cb === "function") {
|
|
1092
|
-
if (typeof optionsOrCb !== "object")
|
|
1093
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1094
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1095
|
-
}
|
|
1096
|
-
else {
|
|
1097
|
-
return this.send(command, optionsOrCb);
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
disassociatePhoneNumberContactFlow(args, optionsOrCb, cb) {
|
|
1101
|
-
const command = new DisassociatePhoneNumberContactFlowCommand_1.DisassociatePhoneNumberContactFlowCommand(args);
|
|
1102
|
-
if (typeof optionsOrCb === "function") {
|
|
1103
|
-
this.send(command, optionsOrCb);
|
|
1104
|
-
}
|
|
1105
|
-
else if (typeof cb === "function") {
|
|
1106
|
-
if (typeof optionsOrCb !== "object")
|
|
1107
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1109
|
-
}
|
|
1110
|
-
else {
|
|
1111
|
-
return this.send(command, optionsOrCb);
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
disassociateQueueQuickConnects(args, optionsOrCb, cb) {
|
|
1115
|
-
const command = new DisassociateQueueQuickConnectsCommand_1.DisassociateQueueQuickConnectsCommand(args);
|
|
1116
|
-
if (typeof optionsOrCb === "function") {
|
|
1117
|
-
this.send(command, optionsOrCb);
|
|
1118
|
-
}
|
|
1119
|
-
else if (typeof cb === "function") {
|
|
1120
|
-
if (typeof optionsOrCb !== "object")
|
|
1121
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1123
|
-
}
|
|
1124
|
-
else {
|
|
1125
|
-
return this.send(command, optionsOrCb);
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
disassociateRoutingProfileQueues(args, optionsOrCb, cb) {
|
|
1129
|
-
const command = new DisassociateRoutingProfileQueuesCommand_1.DisassociateRoutingProfileQueuesCommand(args);
|
|
1130
|
-
if (typeof optionsOrCb === "function") {
|
|
1131
|
-
this.send(command, optionsOrCb);
|
|
1132
|
-
}
|
|
1133
|
-
else if (typeof cb === "function") {
|
|
1134
|
-
if (typeof optionsOrCb !== "object")
|
|
1135
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1137
|
-
}
|
|
1138
|
-
else {
|
|
1139
|
-
return this.send(command, optionsOrCb);
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
disassociateSecurityKey(args, optionsOrCb, cb) {
|
|
1143
|
-
const command = new DisassociateSecurityKeyCommand_1.DisassociateSecurityKeyCommand(args);
|
|
1144
|
-
if (typeof optionsOrCb === "function") {
|
|
1145
|
-
this.send(command, optionsOrCb);
|
|
1146
|
-
}
|
|
1147
|
-
else if (typeof cb === "function") {
|
|
1148
|
-
if (typeof optionsOrCb !== "object")
|
|
1149
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1151
|
-
}
|
|
1152
|
-
else {
|
|
1153
|
-
return this.send(command, optionsOrCb);
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
dismissUserContact(args, optionsOrCb, cb) {
|
|
1157
|
-
const command = new DismissUserContactCommand_1.DismissUserContactCommand(args);
|
|
1158
|
-
if (typeof optionsOrCb === "function") {
|
|
1159
|
-
this.send(command, optionsOrCb);
|
|
1160
|
-
}
|
|
1161
|
-
else if (typeof cb === "function") {
|
|
1162
|
-
if (typeof optionsOrCb !== "object")
|
|
1163
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1164
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1165
|
-
}
|
|
1166
|
-
else {
|
|
1167
|
-
return this.send(command, optionsOrCb);
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
getContactAttributes(args, optionsOrCb, cb) {
|
|
1171
|
-
const command = new GetContactAttributesCommand_1.GetContactAttributesCommand(args);
|
|
1172
|
-
if (typeof optionsOrCb === "function") {
|
|
1173
|
-
this.send(command, optionsOrCb);
|
|
1174
|
-
}
|
|
1175
|
-
else if (typeof cb === "function") {
|
|
1176
|
-
if (typeof optionsOrCb !== "object")
|
|
1177
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1178
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1179
|
-
}
|
|
1180
|
-
else {
|
|
1181
|
-
return this.send(command, optionsOrCb);
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
getCurrentMetricData(args, optionsOrCb, cb) {
|
|
1185
|
-
const command = new GetCurrentMetricDataCommand_1.GetCurrentMetricDataCommand(args);
|
|
1186
|
-
if (typeof optionsOrCb === "function") {
|
|
1187
|
-
this.send(command, optionsOrCb);
|
|
1188
|
-
}
|
|
1189
|
-
else if (typeof cb === "function") {
|
|
1190
|
-
if (typeof optionsOrCb !== "object")
|
|
1191
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1193
|
-
}
|
|
1194
|
-
else {
|
|
1195
|
-
return this.send(command, optionsOrCb);
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
getCurrentUserData(args, optionsOrCb, cb) {
|
|
1199
|
-
const command = new GetCurrentUserDataCommand_1.GetCurrentUserDataCommand(args);
|
|
1200
|
-
if (typeof optionsOrCb === "function") {
|
|
1201
|
-
this.send(command, optionsOrCb);
|
|
1202
|
-
}
|
|
1203
|
-
else if (typeof cb === "function") {
|
|
1204
|
-
if (typeof optionsOrCb !== "object")
|
|
1205
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1206
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1207
|
-
}
|
|
1208
|
-
else {
|
|
1209
|
-
return this.send(command, optionsOrCb);
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
getFederationToken(args, optionsOrCb, cb) {
|
|
1213
|
-
const command = new GetFederationTokenCommand_1.GetFederationTokenCommand(args);
|
|
1214
|
-
if (typeof optionsOrCb === "function") {
|
|
1215
|
-
this.send(command, optionsOrCb);
|
|
1216
|
-
}
|
|
1217
|
-
else if (typeof cb === "function") {
|
|
1218
|
-
if (typeof optionsOrCb !== "object")
|
|
1219
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1221
|
-
}
|
|
1222
|
-
else {
|
|
1223
|
-
return this.send(command, optionsOrCb);
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
getMetricData(args, optionsOrCb, cb) {
|
|
1227
|
-
const command = new GetMetricDataCommand_1.GetMetricDataCommand(args);
|
|
1228
|
-
if (typeof optionsOrCb === "function") {
|
|
1229
|
-
this.send(command, optionsOrCb);
|
|
1230
|
-
}
|
|
1231
|
-
else if (typeof cb === "function") {
|
|
1232
|
-
if (typeof optionsOrCb !== "object")
|
|
1233
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1234
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1235
|
-
}
|
|
1236
|
-
else {
|
|
1237
|
-
return this.send(command, optionsOrCb);
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
getMetricDataV2(args, optionsOrCb, cb) {
|
|
1241
|
-
const command = new GetMetricDataV2Command_1.GetMetricDataV2Command(args);
|
|
1242
|
-
if (typeof optionsOrCb === "function") {
|
|
1243
|
-
this.send(command, optionsOrCb);
|
|
1244
|
-
}
|
|
1245
|
-
else if (typeof cb === "function") {
|
|
1246
|
-
if (typeof optionsOrCb !== "object")
|
|
1247
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1248
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1249
|
-
}
|
|
1250
|
-
else {
|
|
1251
|
-
return this.send(command, optionsOrCb);
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
getTaskTemplate(args, optionsOrCb, cb) {
|
|
1255
|
-
const command = new GetTaskTemplateCommand_1.GetTaskTemplateCommand(args);
|
|
1256
|
-
if (typeof optionsOrCb === "function") {
|
|
1257
|
-
this.send(command, optionsOrCb);
|
|
1258
|
-
}
|
|
1259
|
-
else if (typeof cb === "function") {
|
|
1260
|
-
if (typeof optionsOrCb !== "object")
|
|
1261
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1262
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1263
|
-
}
|
|
1264
|
-
else {
|
|
1265
|
-
return this.send(command, optionsOrCb);
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
getTrafficDistribution(args, optionsOrCb, cb) {
|
|
1269
|
-
const command = new GetTrafficDistributionCommand_1.GetTrafficDistributionCommand(args);
|
|
1270
|
-
if (typeof optionsOrCb === "function") {
|
|
1271
|
-
this.send(command, optionsOrCb);
|
|
1272
|
-
}
|
|
1273
|
-
else if (typeof cb === "function") {
|
|
1274
|
-
if (typeof optionsOrCb !== "object")
|
|
1275
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1276
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1277
|
-
}
|
|
1278
|
-
else {
|
|
1279
|
-
return this.send(command, optionsOrCb);
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
listAgentStatuses(args, optionsOrCb, cb) {
|
|
1283
|
-
const command = new ListAgentStatusesCommand_1.ListAgentStatusesCommand(args);
|
|
1284
|
-
if (typeof optionsOrCb === "function") {
|
|
1285
|
-
this.send(command, optionsOrCb);
|
|
1286
|
-
}
|
|
1287
|
-
else if (typeof cb === "function") {
|
|
1288
|
-
if (typeof optionsOrCb !== "object")
|
|
1289
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1290
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1291
|
-
}
|
|
1292
|
-
else {
|
|
1293
|
-
return this.send(command, optionsOrCb);
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
listApprovedOrigins(args, optionsOrCb, cb) {
|
|
1297
|
-
const command = new ListApprovedOriginsCommand_1.ListApprovedOriginsCommand(args);
|
|
1298
|
-
if (typeof optionsOrCb === "function") {
|
|
1299
|
-
this.send(command, optionsOrCb);
|
|
1300
|
-
}
|
|
1301
|
-
else if (typeof cb === "function") {
|
|
1302
|
-
if (typeof optionsOrCb !== "object")
|
|
1303
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1304
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1305
|
-
}
|
|
1306
|
-
else {
|
|
1307
|
-
return this.send(command, optionsOrCb);
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
listBots(args, optionsOrCb, cb) {
|
|
1311
|
-
const command = new ListBotsCommand_1.ListBotsCommand(args);
|
|
1312
|
-
if (typeof optionsOrCb === "function") {
|
|
1313
|
-
this.send(command, optionsOrCb);
|
|
1314
|
-
}
|
|
1315
|
-
else if (typeof cb === "function") {
|
|
1316
|
-
if (typeof optionsOrCb !== "object")
|
|
1317
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1318
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1319
|
-
}
|
|
1320
|
-
else {
|
|
1321
|
-
return this.send(command, optionsOrCb);
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
listContactFlowModules(args, optionsOrCb, cb) {
|
|
1325
|
-
const command = new ListContactFlowModulesCommand_1.ListContactFlowModulesCommand(args);
|
|
1326
|
-
if (typeof optionsOrCb === "function") {
|
|
1327
|
-
this.send(command, optionsOrCb);
|
|
1328
|
-
}
|
|
1329
|
-
else if (typeof cb === "function") {
|
|
1330
|
-
if (typeof optionsOrCb !== "object")
|
|
1331
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1332
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1333
|
-
}
|
|
1334
|
-
else {
|
|
1335
|
-
return this.send(command, optionsOrCb);
|
|
1336
|
-
}
|
|
1337
|
-
}
|
|
1338
|
-
listContactFlows(args, optionsOrCb, cb) {
|
|
1339
|
-
const command = new ListContactFlowsCommand_1.ListContactFlowsCommand(args);
|
|
1340
|
-
if (typeof optionsOrCb === "function") {
|
|
1341
|
-
this.send(command, optionsOrCb);
|
|
1342
|
-
}
|
|
1343
|
-
else if (typeof cb === "function") {
|
|
1344
|
-
if (typeof optionsOrCb !== "object")
|
|
1345
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1346
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1347
|
-
}
|
|
1348
|
-
else {
|
|
1349
|
-
return this.send(command, optionsOrCb);
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
listContactReferences(args, optionsOrCb, cb) {
|
|
1353
|
-
const command = new ListContactReferencesCommand_1.ListContactReferencesCommand(args);
|
|
1354
|
-
if (typeof optionsOrCb === "function") {
|
|
1355
|
-
this.send(command, optionsOrCb);
|
|
1356
|
-
}
|
|
1357
|
-
else if (typeof cb === "function") {
|
|
1358
|
-
if (typeof optionsOrCb !== "object")
|
|
1359
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1360
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1361
|
-
}
|
|
1362
|
-
else {
|
|
1363
|
-
return this.send(command, optionsOrCb);
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
listDefaultVocabularies(args, optionsOrCb, cb) {
|
|
1367
|
-
const command = new ListDefaultVocabulariesCommand_1.ListDefaultVocabulariesCommand(args);
|
|
1368
|
-
if (typeof optionsOrCb === "function") {
|
|
1369
|
-
this.send(command, optionsOrCb);
|
|
1370
|
-
}
|
|
1371
|
-
else if (typeof cb === "function") {
|
|
1372
|
-
if (typeof optionsOrCb !== "object")
|
|
1373
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1374
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1375
|
-
}
|
|
1376
|
-
else {
|
|
1377
|
-
return this.send(command, optionsOrCb);
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
listHoursOfOperations(args, optionsOrCb, cb) {
|
|
1381
|
-
const command = new ListHoursOfOperationsCommand_1.ListHoursOfOperationsCommand(args);
|
|
1382
|
-
if (typeof optionsOrCb === "function") {
|
|
1383
|
-
this.send(command, optionsOrCb);
|
|
1384
|
-
}
|
|
1385
|
-
else if (typeof cb === "function") {
|
|
1386
|
-
if (typeof optionsOrCb !== "object")
|
|
1387
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1388
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1389
|
-
}
|
|
1390
|
-
else {
|
|
1391
|
-
return this.send(command, optionsOrCb);
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
listInstanceAttributes(args, optionsOrCb, cb) {
|
|
1395
|
-
const command = new ListInstanceAttributesCommand_1.ListInstanceAttributesCommand(args);
|
|
1396
|
-
if (typeof optionsOrCb === "function") {
|
|
1397
|
-
this.send(command, optionsOrCb);
|
|
1398
|
-
}
|
|
1399
|
-
else if (typeof cb === "function") {
|
|
1400
|
-
if (typeof optionsOrCb !== "object")
|
|
1401
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1402
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1403
|
-
}
|
|
1404
|
-
else {
|
|
1405
|
-
return this.send(command, optionsOrCb);
|
|
1406
|
-
}
|
|
1407
|
-
}
|
|
1408
|
-
listInstances(args, optionsOrCb, cb) {
|
|
1409
|
-
const command = new ListInstancesCommand_1.ListInstancesCommand(args);
|
|
1410
|
-
if (typeof optionsOrCb === "function") {
|
|
1411
|
-
this.send(command, optionsOrCb);
|
|
1412
|
-
}
|
|
1413
|
-
else if (typeof cb === "function") {
|
|
1414
|
-
if (typeof optionsOrCb !== "object")
|
|
1415
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1416
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1417
|
-
}
|
|
1418
|
-
else {
|
|
1419
|
-
return this.send(command, optionsOrCb);
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
listInstanceStorageConfigs(args, optionsOrCb, cb) {
|
|
1423
|
-
const command = new ListInstanceStorageConfigsCommand_1.ListInstanceStorageConfigsCommand(args);
|
|
1424
|
-
if (typeof optionsOrCb === "function") {
|
|
1425
|
-
this.send(command, optionsOrCb);
|
|
1426
|
-
}
|
|
1427
|
-
else if (typeof cb === "function") {
|
|
1428
|
-
if (typeof optionsOrCb !== "object")
|
|
1429
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1430
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1431
|
-
}
|
|
1432
|
-
else {
|
|
1433
|
-
return this.send(command, optionsOrCb);
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
listIntegrationAssociations(args, optionsOrCb, cb) {
|
|
1437
|
-
const command = new ListIntegrationAssociationsCommand_1.ListIntegrationAssociationsCommand(args);
|
|
1438
|
-
if (typeof optionsOrCb === "function") {
|
|
1439
|
-
this.send(command, optionsOrCb);
|
|
1440
|
-
}
|
|
1441
|
-
else if (typeof cb === "function") {
|
|
1442
|
-
if (typeof optionsOrCb !== "object")
|
|
1443
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1444
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1445
|
-
}
|
|
1446
|
-
else {
|
|
1447
|
-
return this.send(command, optionsOrCb);
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
listLambdaFunctions(args, optionsOrCb, cb) {
|
|
1451
|
-
const command = new ListLambdaFunctionsCommand_1.ListLambdaFunctionsCommand(args);
|
|
1452
|
-
if (typeof optionsOrCb === "function") {
|
|
1453
|
-
this.send(command, optionsOrCb);
|
|
1454
|
-
}
|
|
1455
|
-
else if (typeof cb === "function") {
|
|
1456
|
-
if (typeof optionsOrCb !== "object")
|
|
1457
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1458
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1459
|
-
}
|
|
1460
|
-
else {
|
|
1461
|
-
return this.send(command, optionsOrCb);
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
listLexBots(args, optionsOrCb, cb) {
|
|
1465
|
-
const command = new ListLexBotsCommand_1.ListLexBotsCommand(args);
|
|
1466
|
-
if (typeof optionsOrCb === "function") {
|
|
1467
|
-
this.send(command, optionsOrCb);
|
|
1468
|
-
}
|
|
1469
|
-
else if (typeof cb === "function") {
|
|
1470
|
-
if (typeof optionsOrCb !== "object")
|
|
1471
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1472
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1473
|
-
}
|
|
1474
|
-
else {
|
|
1475
|
-
return this.send(command, optionsOrCb);
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
listPhoneNumbers(args, optionsOrCb, cb) {
|
|
1479
|
-
const command = new ListPhoneNumbersCommand_1.ListPhoneNumbersCommand(args);
|
|
1480
|
-
if (typeof optionsOrCb === "function") {
|
|
1481
|
-
this.send(command, optionsOrCb);
|
|
1482
|
-
}
|
|
1483
|
-
else if (typeof cb === "function") {
|
|
1484
|
-
if (typeof optionsOrCb !== "object")
|
|
1485
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1486
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1487
|
-
}
|
|
1488
|
-
else {
|
|
1489
|
-
return this.send(command, optionsOrCb);
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
listPhoneNumbersV2(args, optionsOrCb, cb) {
|
|
1493
|
-
const command = new ListPhoneNumbersV2Command_1.ListPhoneNumbersV2Command(args);
|
|
1494
|
-
if (typeof optionsOrCb === "function") {
|
|
1495
|
-
this.send(command, optionsOrCb);
|
|
1496
|
-
}
|
|
1497
|
-
else if (typeof cb === "function") {
|
|
1498
|
-
if (typeof optionsOrCb !== "object")
|
|
1499
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1500
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1501
|
-
}
|
|
1502
|
-
else {
|
|
1503
|
-
return this.send(command, optionsOrCb);
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
listPrompts(args, optionsOrCb, cb) {
|
|
1507
|
-
const command = new ListPromptsCommand_1.ListPromptsCommand(args);
|
|
1508
|
-
if (typeof optionsOrCb === "function") {
|
|
1509
|
-
this.send(command, optionsOrCb);
|
|
1510
|
-
}
|
|
1511
|
-
else if (typeof cb === "function") {
|
|
1512
|
-
if (typeof optionsOrCb !== "object")
|
|
1513
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1514
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1515
|
-
}
|
|
1516
|
-
else {
|
|
1517
|
-
return this.send(command, optionsOrCb);
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
listQueueQuickConnects(args, optionsOrCb, cb) {
|
|
1521
|
-
const command = new ListQueueQuickConnectsCommand_1.ListQueueQuickConnectsCommand(args);
|
|
1522
|
-
if (typeof optionsOrCb === "function") {
|
|
1523
|
-
this.send(command, optionsOrCb);
|
|
1524
|
-
}
|
|
1525
|
-
else if (typeof cb === "function") {
|
|
1526
|
-
if (typeof optionsOrCb !== "object")
|
|
1527
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1528
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1529
|
-
}
|
|
1530
|
-
else {
|
|
1531
|
-
return this.send(command, optionsOrCb);
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
listQueues(args, optionsOrCb, cb) {
|
|
1535
|
-
const command = new ListQueuesCommand_1.ListQueuesCommand(args);
|
|
1536
|
-
if (typeof optionsOrCb === "function") {
|
|
1537
|
-
this.send(command, optionsOrCb);
|
|
1538
|
-
}
|
|
1539
|
-
else if (typeof cb === "function") {
|
|
1540
|
-
if (typeof optionsOrCb !== "object")
|
|
1541
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1542
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1543
|
-
}
|
|
1544
|
-
else {
|
|
1545
|
-
return this.send(command, optionsOrCb);
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
listQuickConnects(args, optionsOrCb, cb) {
|
|
1549
|
-
const command = new ListQuickConnectsCommand_1.ListQuickConnectsCommand(args);
|
|
1550
|
-
if (typeof optionsOrCb === "function") {
|
|
1551
|
-
this.send(command, optionsOrCb);
|
|
1552
|
-
}
|
|
1553
|
-
else if (typeof cb === "function") {
|
|
1554
|
-
if (typeof optionsOrCb !== "object")
|
|
1555
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1556
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1557
|
-
}
|
|
1558
|
-
else {
|
|
1559
|
-
return this.send(command, optionsOrCb);
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
listRoutingProfileQueues(args, optionsOrCb, cb) {
|
|
1563
|
-
const command = new ListRoutingProfileQueuesCommand_1.ListRoutingProfileQueuesCommand(args);
|
|
1564
|
-
if (typeof optionsOrCb === "function") {
|
|
1565
|
-
this.send(command, optionsOrCb);
|
|
1566
|
-
}
|
|
1567
|
-
else if (typeof cb === "function") {
|
|
1568
|
-
if (typeof optionsOrCb !== "object")
|
|
1569
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1570
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1571
|
-
}
|
|
1572
|
-
else {
|
|
1573
|
-
return this.send(command, optionsOrCb);
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
listRoutingProfiles(args, optionsOrCb, cb) {
|
|
1577
|
-
const command = new ListRoutingProfilesCommand_1.ListRoutingProfilesCommand(args);
|
|
1578
|
-
if (typeof optionsOrCb === "function") {
|
|
1579
|
-
this.send(command, optionsOrCb);
|
|
1580
|
-
}
|
|
1581
|
-
else if (typeof cb === "function") {
|
|
1582
|
-
if (typeof optionsOrCb !== "object")
|
|
1583
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1584
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1585
|
-
}
|
|
1586
|
-
else {
|
|
1587
|
-
return this.send(command, optionsOrCb);
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
listRules(args, optionsOrCb, cb) {
|
|
1591
|
-
const command = new ListRulesCommand_1.ListRulesCommand(args);
|
|
1592
|
-
if (typeof optionsOrCb === "function") {
|
|
1593
|
-
this.send(command, optionsOrCb);
|
|
1594
|
-
}
|
|
1595
|
-
else if (typeof cb === "function") {
|
|
1596
|
-
if (typeof optionsOrCb !== "object")
|
|
1597
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1598
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1599
|
-
}
|
|
1600
|
-
else {
|
|
1601
|
-
return this.send(command, optionsOrCb);
|
|
1602
|
-
}
|
|
1603
|
-
}
|
|
1604
|
-
listSecurityKeys(args, optionsOrCb, cb) {
|
|
1605
|
-
const command = new ListSecurityKeysCommand_1.ListSecurityKeysCommand(args);
|
|
1606
|
-
if (typeof optionsOrCb === "function") {
|
|
1607
|
-
this.send(command, optionsOrCb);
|
|
1608
|
-
}
|
|
1609
|
-
else if (typeof cb === "function") {
|
|
1610
|
-
if (typeof optionsOrCb !== "object")
|
|
1611
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1612
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1613
|
-
}
|
|
1614
|
-
else {
|
|
1615
|
-
return this.send(command, optionsOrCb);
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
listSecurityProfilePermissions(args, optionsOrCb, cb) {
|
|
1619
|
-
const command = new ListSecurityProfilePermissionsCommand_1.ListSecurityProfilePermissionsCommand(args);
|
|
1620
|
-
if (typeof optionsOrCb === "function") {
|
|
1621
|
-
this.send(command, optionsOrCb);
|
|
1622
|
-
}
|
|
1623
|
-
else if (typeof cb === "function") {
|
|
1624
|
-
if (typeof optionsOrCb !== "object")
|
|
1625
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1626
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1627
|
-
}
|
|
1628
|
-
else {
|
|
1629
|
-
return this.send(command, optionsOrCb);
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
listSecurityProfiles(args, optionsOrCb, cb) {
|
|
1633
|
-
const command = new ListSecurityProfilesCommand_1.ListSecurityProfilesCommand(args);
|
|
1634
|
-
if (typeof optionsOrCb === "function") {
|
|
1635
|
-
this.send(command, optionsOrCb);
|
|
1636
|
-
}
|
|
1637
|
-
else if (typeof cb === "function") {
|
|
1638
|
-
if (typeof optionsOrCb !== "object")
|
|
1639
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1640
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1641
|
-
}
|
|
1642
|
-
else {
|
|
1643
|
-
return this.send(command, optionsOrCb);
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
1647
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
1648
|
-
if (typeof optionsOrCb === "function") {
|
|
1649
|
-
this.send(command, optionsOrCb);
|
|
1650
|
-
}
|
|
1651
|
-
else if (typeof cb === "function") {
|
|
1652
|
-
if (typeof optionsOrCb !== "object")
|
|
1653
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1654
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1655
|
-
}
|
|
1656
|
-
else {
|
|
1657
|
-
return this.send(command, optionsOrCb);
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
listTaskTemplates(args, optionsOrCb, cb) {
|
|
1661
|
-
const command = new ListTaskTemplatesCommand_1.ListTaskTemplatesCommand(args);
|
|
1662
|
-
if (typeof optionsOrCb === "function") {
|
|
1663
|
-
this.send(command, optionsOrCb);
|
|
1664
|
-
}
|
|
1665
|
-
else if (typeof cb === "function") {
|
|
1666
|
-
if (typeof optionsOrCb !== "object")
|
|
1667
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1668
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1669
|
-
}
|
|
1670
|
-
else {
|
|
1671
|
-
return this.send(command, optionsOrCb);
|
|
1672
|
-
}
|
|
1673
|
-
}
|
|
1674
|
-
listTrafficDistributionGroups(args, optionsOrCb, cb) {
|
|
1675
|
-
const command = new ListTrafficDistributionGroupsCommand_1.ListTrafficDistributionGroupsCommand(args);
|
|
1676
|
-
if (typeof optionsOrCb === "function") {
|
|
1677
|
-
this.send(command, optionsOrCb);
|
|
1678
|
-
}
|
|
1679
|
-
else if (typeof cb === "function") {
|
|
1680
|
-
if (typeof optionsOrCb !== "object")
|
|
1681
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1682
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1683
|
-
}
|
|
1684
|
-
else {
|
|
1685
|
-
return this.send(command, optionsOrCb);
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
listUseCases(args, optionsOrCb, cb) {
|
|
1689
|
-
const command = new ListUseCasesCommand_1.ListUseCasesCommand(args);
|
|
1690
|
-
if (typeof optionsOrCb === "function") {
|
|
1691
|
-
this.send(command, optionsOrCb);
|
|
1692
|
-
}
|
|
1693
|
-
else if (typeof cb === "function") {
|
|
1694
|
-
if (typeof optionsOrCb !== "object")
|
|
1695
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1696
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1697
|
-
}
|
|
1698
|
-
else {
|
|
1699
|
-
return this.send(command, optionsOrCb);
|
|
1700
|
-
}
|
|
1701
|
-
}
|
|
1702
|
-
listUserHierarchyGroups(args, optionsOrCb, cb) {
|
|
1703
|
-
const command = new ListUserHierarchyGroupsCommand_1.ListUserHierarchyGroupsCommand(args);
|
|
1704
|
-
if (typeof optionsOrCb === "function") {
|
|
1705
|
-
this.send(command, optionsOrCb);
|
|
1706
|
-
}
|
|
1707
|
-
else if (typeof cb === "function") {
|
|
1708
|
-
if (typeof optionsOrCb !== "object")
|
|
1709
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1710
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1711
|
-
}
|
|
1712
|
-
else {
|
|
1713
|
-
return this.send(command, optionsOrCb);
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
listUsers(args, optionsOrCb, cb) {
|
|
1717
|
-
const command = new ListUsersCommand_1.ListUsersCommand(args);
|
|
1718
|
-
if (typeof optionsOrCb === "function") {
|
|
1719
|
-
this.send(command, optionsOrCb);
|
|
1720
|
-
}
|
|
1721
|
-
else if (typeof cb === "function") {
|
|
1722
|
-
if (typeof optionsOrCb !== "object")
|
|
1723
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1724
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1725
|
-
}
|
|
1726
|
-
else {
|
|
1727
|
-
return this.send(command, optionsOrCb);
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
monitorContact(args, optionsOrCb, cb) {
|
|
1731
|
-
const command = new MonitorContactCommand_1.MonitorContactCommand(args);
|
|
1732
|
-
if (typeof optionsOrCb === "function") {
|
|
1733
|
-
this.send(command, optionsOrCb);
|
|
1734
|
-
}
|
|
1735
|
-
else if (typeof cb === "function") {
|
|
1736
|
-
if (typeof optionsOrCb !== "object")
|
|
1737
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1738
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1739
|
-
}
|
|
1740
|
-
else {
|
|
1741
|
-
return this.send(command, optionsOrCb);
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
putUserStatus(args, optionsOrCb, cb) {
|
|
1745
|
-
const command = new PutUserStatusCommand_1.PutUserStatusCommand(args);
|
|
1746
|
-
if (typeof optionsOrCb === "function") {
|
|
1747
|
-
this.send(command, optionsOrCb);
|
|
1748
|
-
}
|
|
1749
|
-
else if (typeof cb === "function") {
|
|
1750
|
-
if (typeof optionsOrCb !== "object")
|
|
1751
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1752
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1753
|
-
}
|
|
1754
|
-
else {
|
|
1755
|
-
return this.send(command, optionsOrCb);
|
|
1756
|
-
}
|
|
1757
|
-
}
|
|
1758
|
-
releasePhoneNumber(args, optionsOrCb, cb) {
|
|
1759
|
-
const command = new ReleasePhoneNumberCommand_1.ReleasePhoneNumberCommand(args);
|
|
1760
|
-
if (typeof optionsOrCb === "function") {
|
|
1761
|
-
this.send(command, optionsOrCb);
|
|
1762
|
-
}
|
|
1763
|
-
else if (typeof cb === "function") {
|
|
1764
|
-
if (typeof optionsOrCb !== "object")
|
|
1765
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1766
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1767
|
-
}
|
|
1768
|
-
else {
|
|
1769
|
-
return this.send(command, optionsOrCb);
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
replicateInstance(args, optionsOrCb, cb) {
|
|
1773
|
-
const command = new ReplicateInstanceCommand_1.ReplicateInstanceCommand(args);
|
|
1774
|
-
if (typeof optionsOrCb === "function") {
|
|
1775
|
-
this.send(command, optionsOrCb);
|
|
1776
|
-
}
|
|
1777
|
-
else if (typeof cb === "function") {
|
|
1778
|
-
if (typeof optionsOrCb !== "object")
|
|
1779
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1780
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1781
|
-
}
|
|
1782
|
-
else {
|
|
1783
|
-
return this.send(command, optionsOrCb);
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
|
-
resumeContactRecording(args, optionsOrCb, cb) {
|
|
1787
|
-
const command = new ResumeContactRecordingCommand_1.ResumeContactRecordingCommand(args);
|
|
1788
|
-
if (typeof optionsOrCb === "function") {
|
|
1789
|
-
this.send(command, optionsOrCb);
|
|
1790
|
-
}
|
|
1791
|
-
else if (typeof cb === "function") {
|
|
1792
|
-
if (typeof optionsOrCb !== "object")
|
|
1793
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1794
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1795
|
-
}
|
|
1796
|
-
else {
|
|
1797
|
-
return this.send(command, optionsOrCb);
|
|
1798
|
-
}
|
|
1799
|
-
}
|
|
1800
|
-
searchAvailablePhoneNumbers(args, optionsOrCb, cb) {
|
|
1801
|
-
const command = new SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand(args);
|
|
1802
|
-
if (typeof optionsOrCb === "function") {
|
|
1803
|
-
this.send(command, optionsOrCb);
|
|
1804
|
-
}
|
|
1805
|
-
else if (typeof cb === "function") {
|
|
1806
|
-
if (typeof optionsOrCb !== "object")
|
|
1807
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1808
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1809
|
-
}
|
|
1810
|
-
else {
|
|
1811
|
-
return this.send(command, optionsOrCb);
|
|
1812
|
-
}
|
|
1813
|
-
}
|
|
1814
|
-
searchQueues(args, optionsOrCb, cb) {
|
|
1815
|
-
const command = new SearchQueuesCommand_1.SearchQueuesCommand(args);
|
|
1816
|
-
if (typeof optionsOrCb === "function") {
|
|
1817
|
-
this.send(command, optionsOrCb);
|
|
1818
|
-
}
|
|
1819
|
-
else if (typeof cb === "function") {
|
|
1820
|
-
if (typeof optionsOrCb !== "object")
|
|
1821
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1822
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1823
|
-
}
|
|
1824
|
-
else {
|
|
1825
|
-
return this.send(command, optionsOrCb);
|
|
1826
|
-
}
|
|
1827
|
-
}
|
|
1828
|
-
searchRoutingProfiles(args, optionsOrCb, cb) {
|
|
1829
|
-
const command = new SearchRoutingProfilesCommand_1.SearchRoutingProfilesCommand(args);
|
|
1830
|
-
if (typeof optionsOrCb === "function") {
|
|
1831
|
-
this.send(command, optionsOrCb);
|
|
1832
|
-
}
|
|
1833
|
-
else if (typeof cb === "function") {
|
|
1834
|
-
if (typeof optionsOrCb !== "object")
|
|
1835
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1836
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1837
|
-
}
|
|
1838
|
-
else {
|
|
1839
|
-
return this.send(command, optionsOrCb);
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
searchSecurityProfiles(args, optionsOrCb, cb) {
|
|
1843
|
-
const command = new SearchSecurityProfilesCommand_1.SearchSecurityProfilesCommand(args);
|
|
1844
|
-
if (typeof optionsOrCb === "function") {
|
|
1845
|
-
this.send(command, optionsOrCb);
|
|
1846
|
-
}
|
|
1847
|
-
else if (typeof cb === "function") {
|
|
1848
|
-
if (typeof optionsOrCb !== "object")
|
|
1849
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1850
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1851
|
-
}
|
|
1852
|
-
else {
|
|
1853
|
-
return this.send(command, optionsOrCb);
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
searchUsers(args, optionsOrCb, cb) {
|
|
1857
|
-
const command = new SearchUsersCommand_1.SearchUsersCommand(args);
|
|
1858
|
-
if (typeof optionsOrCb === "function") {
|
|
1859
|
-
this.send(command, optionsOrCb);
|
|
1860
|
-
}
|
|
1861
|
-
else if (typeof cb === "function") {
|
|
1862
|
-
if (typeof optionsOrCb !== "object")
|
|
1863
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1864
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1865
|
-
}
|
|
1866
|
-
else {
|
|
1867
|
-
return this.send(command, optionsOrCb);
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
searchVocabularies(args, optionsOrCb, cb) {
|
|
1871
|
-
const command = new SearchVocabulariesCommand_1.SearchVocabulariesCommand(args);
|
|
1872
|
-
if (typeof optionsOrCb === "function") {
|
|
1873
|
-
this.send(command, optionsOrCb);
|
|
1874
|
-
}
|
|
1875
|
-
else if (typeof cb === "function") {
|
|
1876
|
-
if (typeof optionsOrCb !== "object")
|
|
1877
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1878
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1879
|
-
}
|
|
1880
|
-
else {
|
|
1881
|
-
return this.send(command, optionsOrCb);
|
|
1882
|
-
}
|
|
1883
|
-
}
|
|
1884
|
-
startChatContact(args, optionsOrCb, cb) {
|
|
1885
|
-
const command = new StartChatContactCommand_1.StartChatContactCommand(args);
|
|
1886
|
-
if (typeof optionsOrCb === "function") {
|
|
1887
|
-
this.send(command, optionsOrCb);
|
|
1888
|
-
}
|
|
1889
|
-
else if (typeof cb === "function") {
|
|
1890
|
-
if (typeof optionsOrCb !== "object")
|
|
1891
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1892
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1893
|
-
}
|
|
1894
|
-
else {
|
|
1895
|
-
return this.send(command, optionsOrCb);
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
startContactRecording(args, optionsOrCb, cb) {
|
|
1899
|
-
const command = new StartContactRecordingCommand_1.StartContactRecordingCommand(args);
|
|
1900
|
-
if (typeof optionsOrCb === "function") {
|
|
1901
|
-
this.send(command, optionsOrCb);
|
|
1902
|
-
}
|
|
1903
|
-
else if (typeof cb === "function") {
|
|
1904
|
-
if (typeof optionsOrCb !== "object")
|
|
1905
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1906
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1907
|
-
}
|
|
1908
|
-
else {
|
|
1909
|
-
return this.send(command, optionsOrCb);
|
|
1910
|
-
}
|
|
1911
|
-
}
|
|
1912
|
-
startContactStreaming(args, optionsOrCb, cb) {
|
|
1913
|
-
const command = new StartContactStreamingCommand_1.StartContactStreamingCommand(args);
|
|
1914
|
-
if (typeof optionsOrCb === "function") {
|
|
1915
|
-
this.send(command, optionsOrCb);
|
|
1916
|
-
}
|
|
1917
|
-
else if (typeof cb === "function") {
|
|
1918
|
-
if (typeof optionsOrCb !== "object")
|
|
1919
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1920
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1921
|
-
}
|
|
1922
|
-
else {
|
|
1923
|
-
return this.send(command, optionsOrCb);
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
startOutboundVoiceContact(args, optionsOrCb, cb) {
|
|
1927
|
-
const command = new StartOutboundVoiceContactCommand_1.StartOutboundVoiceContactCommand(args);
|
|
1928
|
-
if (typeof optionsOrCb === "function") {
|
|
1929
|
-
this.send(command, optionsOrCb);
|
|
1930
|
-
}
|
|
1931
|
-
else if (typeof cb === "function") {
|
|
1932
|
-
if (typeof optionsOrCb !== "object")
|
|
1933
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1934
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1935
|
-
}
|
|
1936
|
-
else {
|
|
1937
|
-
return this.send(command, optionsOrCb);
|
|
1938
|
-
}
|
|
1939
|
-
}
|
|
1940
|
-
startTaskContact(args, optionsOrCb, cb) {
|
|
1941
|
-
const command = new StartTaskContactCommand_1.StartTaskContactCommand(args);
|
|
1942
|
-
if (typeof optionsOrCb === "function") {
|
|
1943
|
-
this.send(command, optionsOrCb);
|
|
1944
|
-
}
|
|
1945
|
-
else if (typeof cb === "function") {
|
|
1946
|
-
if (typeof optionsOrCb !== "object")
|
|
1947
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1948
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1949
|
-
}
|
|
1950
|
-
else {
|
|
1951
|
-
return this.send(command, optionsOrCb);
|
|
1952
|
-
}
|
|
1953
|
-
}
|
|
1954
|
-
stopContact(args, optionsOrCb, cb) {
|
|
1955
|
-
const command = new StopContactCommand_1.StopContactCommand(args);
|
|
1956
|
-
if (typeof optionsOrCb === "function") {
|
|
1957
|
-
this.send(command, optionsOrCb);
|
|
1958
|
-
}
|
|
1959
|
-
else if (typeof cb === "function") {
|
|
1960
|
-
if (typeof optionsOrCb !== "object")
|
|
1961
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1962
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1963
|
-
}
|
|
1964
|
-
else {
|
|
1965
|
-
return this.send(command, optionsOrCb);
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
stopContactRecording(args, optionsOrCb, cb) {
|
|
1969
|
-
const command = new StopContactRecordingCommand_1.StopContactRecordingCommand(args);
|
|
1970
|
-
if (typeof optionsOrCb === "function") {
|
|
1971
|
-
this.send(command, optionsOrCb);
|
|
1972
|
-
}
|
|
1973
|
-
else if (typeof cb === "function") {
|
|
1974
|
-
if (typeof optionsOrCb !== "object")
|
|
1975
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1976
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1977
|
-
}
|
|
1978
|
-
else {
|
|
1979
|
-
return this.send(command, optionsOrCb);
|
|
1980
|
-
}
|
|
1981
|
-
}
|
|
1982
|
-
stopContactStreaming(args, optionsOrCb, cb) {
|
|
1983
|
-
const command = new StopContactStreamingCommand_1.StopContactStreamingCommand(args);
|
|
1984
|
-
if (typeof optionsOrCb === "function") {
|
|
1985
|
-
this.send(command, optionsOrCb);
|
|
1986
|
-
}
|
|
1987
|
-
else if (typeof cb === "function") {
|
|
1988
|
-
if (typeof optionsOrCb !== "object")
|
|
1989
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1990
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1991
|
-
}
|
|
1992
|
-
else {
|
|
1993
|
-
return this.send(command, optionsOrCb);
|
|
1994
|
-
}
|
|
1995
|
-
}
|
|
1996
|
-
suspendContactRecording(args, optionsOrCb, cb) {
|
|
1997
|
-
const command = new SuspendContactRecordingCommand_1.SuspendContactRecordingCommand(args);
|
|
1998
|
-
if (typeof optionsOrCb === "function") {
|
|
1999
|
-
this.send(command, optionsOrCb);
|
|
2000
|
-
}
|
|
2001
|
-
else if (typeof cb === "function") {
|
|
2002
|
-
if (typeof optionsOrCb !== "object")
|
|
2003
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2004
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2005
|
-
}
|
|
2006
|
-
else {
|
|
2007
|
-
return this.send(command, optionsOrCb);
|
|
2008
|
-
}
|
|
2009
|
-
}
|
|
2010
|
-
tagResource(args, optionsOrCb, cb) {
|
|
2011
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
2012
|
-
if (typeof optionsOrCb === "function") {
|
|
2013
|
-
this.send(command, optionsOrCb);
|
|
2014
|
-
}
|
|
2015
|
-
else if (typeof cb === "function") {
|
|
2016
|
-
if (typeof optionsOrCb !== "object")
|
|
2017
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2018
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2019
|
-
}
|
|
2020
|
-
else {
|
|
2021
|
-
return this.send(command, optionsOrCb);
|
|
2022
|
-
}
|
|
2023
|
-
}
|
|
2024
|
-
transferContact(args, optionsOrCb, cb) {
|
|
2025
|
-
const command = new TransferContactCommand_1.TransferContactCommand(args);
|
|
2026
|
-
if (typeof optionsOrCb === "function") {
|
|
2027
|
-
this.send(command, optionsOrCb);
|
|
2028
|
-
}
|
|
2029
|
-
else if (typeof cb === "function") {
|
|
2030
|
-
if (typeof optionsOrCb !== "object")
|
|
2031
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2032
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2033
|
-
}
|
|
2034
|
-
else {
|
|
2035
|
-
return this.send(command, optionsOrCb);
|
|
2036
|
-
}
|
|
2037
|
-
}
|
|
2038
|
-
untagResource(args, optionsOrCb, cb) {
|
|
2039
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
2040
|
-
if (typeof optionsOrCb === "function") {
|
|
2041
|
-
this.send(command, optionsOrCb);
|
|
2042
|
-
}
|
|
2043
|
-
else if (typeof cb === "function") {
|
|
2044
|
-
if (typeof optionsOrCb !== "object")
|
|
2045
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2046
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2047
|
-
}
|
|
2048
|
-
else {
|
|
2049
|
-
return this.send(command, optionsOrCb);
|
|
2050
|
-
}
|
|
2051
|
-
}
|
|
2052
|
-
updateAgentStatus(args, optionsOrCb, cb) {
|
|
2053
|
-
const command = new UpdateAgentStatusCommand_1.UpdateAgentStatusCommand(args);
|
|
2054
|
-
if (typeof optionsOrCb === "function") {
|
|
2055
|
-
this.send(command, optionsOrCb);
|
|
2056
|
-
}
|
|
2057
|
-
else if (typeof cb === "function") {
|
|
2058
|
-
if (typeof optionsOrCb !== "object")
|
|
2059
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2060
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2061
|
-
}
|
|
2062
|
-
else {
|
|
2063
|
-
return this.send(command, optionsOrCb);
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
updateContact(args, optionsOrCb, cb) {
|
|
2067
|
-
const command = new UpdateContactCommand_1.UpdateContactCommand(args);
|
|
2068
|
-
if (typeof optionsOrCb === "function") {
|
|
2069
|
-
this.send(command, optionsOrCb);
|
|
2070
|
-
}
|
|
2071
|
-
else if (typeof cb === "function") {
|
|
2072
|
-
if (typeof optionsOrCb !== "object")
|
|
2073
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2074
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2075
|
-
}
|
|
2076
|
-
else {
|
|
2077
|
-
return this.send(command, optionsOrCb);
|
|
2078
|
-
}
|
|
2079
|
-
}
|
|
2080
|
-
updateContactAttributes(args, optionsOrCb, cb) {
|
|
2081
|
-
const command = new UpdateContactAttributesCommand_1.UpdateContactAttributesCommand(args);
|
|
2082
|
-
if (typeof optionsOrCb === "function") {
|
|
2083
|
-
this.send(command, optionsOrCb);
|
|
2084
|
-
}
|
|
2085
|
-
else if (typeof cb === "function") {
|
|
2086
|
-
if (typeof optionsOrCb !== "object")
|
|
2087
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2088
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2089
|
-
}
|
|
2090
|
-
else {
|
|
2091
|
-
return this.send(command, optionsOrCb);
|
|
2092
|
-
}
|
|
2093
|
-
}
|
|
2094
|
-
updateContactFlowContent(args, optionsOrCb, cb) {
|
|
2095
|
-
const command = new UpdateContactFlowContentCommand_1.UpdateContactFlowContentCommand(args);
|
|
2096
|
-
if (typeof optionsOrCb === "function") {
|
|
2097
|
-
this.send(command, optionsOrCb);
|
|
2098
|
-
}
|
|
2099
|
-
else if (typeof cb === "function") {
|
|
2100
|
-
if (typeof optionsOrCb !== "object")
|
|
2101
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2102
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2103
|
-
}
|
|
2104
|
-
else {
|
|
2105
|
-
return this.send(command, optionsOrCb);
|
|
2106
|
-
}
|
|
2107
|
-
}
|
|
2108
|
-
updateContactFlowMetadata(args, optionsOrCb, cb) {
|
|
2109
|
-
const command = new UpdateContactFlowMetadataCommand_1.UpdateContactFlowMetadataCommand(args);
|
|
2110
|
-
if (typeof optionsOrCb === "function") {
|
|
2111
|
-
this.send(command, optionsOrCb);
|
|
2112
|
-
}
|
|
2113
|
-
else if (typeof cb === "function") {
|
|
2114
|
-
if (typeof optionsOrCb !== "object")
|
|
2115
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2116
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2117
|
-
}
|
|
2118
|
-
else {
|
|
2119
|
-
return this.send(command, optionsOrCb);
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
|
-
updateContactFlowModuleContent(args, optionsOrCb, cb) {
|
|
2123
|
-
const command = new UpdateContactFlowModuleContentCommand_1.UpdateContactFlowModuleContentCommand(args);
|
|
2124
|
-
if (typeof optionsOrCb === "function") {
|
|
2125
|
-
this.send(command, optionsOrCb);
|
|
2126
|
-
}
|
|
2127
|
-
else if (typeof cb === "function") {
|
|
2128
|
-
if (typeof optionsOrCb !== "object")
|
|
2129
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2130
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2131
|
-
}
|
|
2132
|
-
else {
|
|
2133
|
-
return this.send(command, optionsOrCb);
|
|
2134
|
-
}
|
|
2135
|
-
}
|
|
2136
|
-
updateContactFlowModuleMetadata(args, optionsOrCb, cb) {
|
|
2137
|
-
const command = new UpdateContactFlowModuleMetadataCommand_1.UpdateContactFlowModuleMetadataCommand(args);
|
|
2138
|
-
if (typeof optionsOrCb === "function") {
|
|
2139
|
-
this.send(command, optionsOrCb);
|
|
2140
|
-
}
|
|
2141
|
-
else if (typeof cb === "function") {
|
|
2142
|
-
if (typeof optionsOrCb !== "object")
|
|
2143
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2144
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2145
|
-
}
|
|
2146
|
-
else {
|
|
2147
|
-
return this.send(command, optionsOrCb);
|
|
2148
|
-
}
|
|
2149
|
-
}
|
|
2150
|
-
updateContactFlowName(args, optionsOrCb, cb) {
|
|
2151
|
-
const command = new UpdateContactFlowNameCommand_1.UpdateContactFlowNameCommand(args);
|
|
2152
|
-
if (typeof optionsOrCb === "function") {
|
|
2153
|
-
this.send(command, optionsOrCb);
|
|
2154
|
-
}
|
|
2155
|
-
else if (typeof cb === "function") {
|
|
2156
|
-
if (typeof optionsOrCb !== "object")
|
|
2157
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2158
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2159
|
-
}
|
|
2160
|
-
else {
|
|
2161
|
-
return this.send(command, optionsOrCb);
|
|
2162
|
-
}
|
|
2163
|
-
}
|
|
2164
|
-
updateContactSchedule(args, optionsOrCb, cb) {
|
|
2165
|
-
const command = new UpdateContactScheduleCommand_1.UpdateContactScheduleCommand(args);
|
|
2166
|
-
if (typeof optionsOrCb === "function") {
|
|
2167
|
-
this.send(command, optionsOrCb);
|
|
2168
|
-
}
|
|
2169
|
-
else if (typeof cb === "function") {
|
|
2170
|
-
if (typeof optionsOrCb !== "object")
|
|
2171
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2172
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2173
|
-
}
|
|
2174
|
-
else {
|
|
2175
|
-
return this.send(command, optionsOrCb);
|
|
2176
|
-
}
|
|
2177
|
-
}
|
|
2178
|
-
updateHoursOfOperation(args, optionsOrCb, cb) {
|
|
2179
|
-
const command = new UpdateHoursOfOperationCommand_1.UpdateHoursOfOperationCommand(args);
|
|
2180
|
-
if (typeof optionsOrCb === "function") {
|
|
2181
|
-
this.send(command, optionsOrCb);
|
|
2182
|
-
}
|
|
2183
|
-
else if (typeof cb === "function") {
|
|
2184
|
-
if (typeof optionsOrCb !== "object")
|
|
2185
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2186
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2187
|
-
}
|
|
2188
|
-
else {
|
|
2189
|
-
return this.send(command, optionsOrCb);
|
|
2190
|
-
}
|
|
2191
|
-
}
|
|
2192
|
-
updateInstanceAttribute(args, optionsOrCb, cb) {
|
|
2193
|
-
const command = new UpdateInstanceAttributeCommand_1.UpdateInstanceAttributeCommand(args);
|
|
2194
|
-
if (typeof optionsOrCb === "function") {
|
|
2195
|
-
this.send(command, optionsOrCb);
|
|
2196
|
-
}
|
|
2197
|
-
else if (typeof cb === "function") {
|
|
2198
|
-
if (typeof optionsOrCb !== "object")
|
|
2199
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2200
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2201
|
-
}
|
|
2202
|
-
else {
|
|
2203
|
-
return this.send(command, optionsOrCb);
|
|
2204
|
-
}
|
|
2205
|
-
}
|
|
2206
|
-
updateInstanceStorageConfig(args, optionsOrCb, cb) {
|
|
2207
|
-
const command = new UpdateInstanceStorageConfigCommand_1.UpdateInstanceStorageConfigCommand(args);
|
|
2208
|
-
if (typeof optionsOrCb === "function") {
|
|
2209
|
-
this.send(command, optionsOrCb);
|
|
2210
|
-
}
|
|
2211
|
-
else if (typeof cb === "function") {
|
|
2212
|
-
if (typeof optionsOrCb !== "object")
|
|
2213
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2214
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2215
|
-
}
|
|
2216
|
-
else {
|
|
2217
|
-
return this.send(command, optionsOrCb);
|
|
2218
|
-
}
|
|
2219
|
-
}
|
|
2220
|
-
updateParticipantRoleConfig(args, optionsOrCb, cb) {
|
|
2221
|
-
const command = new UpdateParticipantRoleConfigCommand_1.UpdateParticipantRoleConfigCommand(args);
|
|
2222
|
-
if (typeof optionsOrCb === "function") {
|
|
2223
|
-
this.send(command, optionsOrCb);
|
|
2224
|
-
}
|
|
2225
|
-
else if (typeof cb === "function") {
|
|
2226
|
-
if (typeof optionsOrCb !== "object")
|
|
2227
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2228
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2229
|
-
}
|
|
2230
|
-
else {
|
|
2231
|
-
return this.send(command, optionsOrCb);
|
|
2232
|
-
}
|
|
2233
|
-
}
|
|
2234
|
-
updatePhoneNumber(args, optionsOrCb, cb) {
|
|
2235
|
-
const command = new UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand(args);
|
|
2236
|
-
if (typeof optionsOrCb === "function") {
|
|
2237
|
-
this.send(command, optionsOrCb);
|
|
2238
|
-
}
|
|
2239
|
-
else if (typeof cb === "function") {
|
|
2240
|
-
if (typeof optionsOrCb !== "object")
|
|
2241
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2242
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2243
|
-
}
|
|
2244
|
-
else {
|
|
2245
|
-
return this.send(command, optionsOrCb);
|
|
2246
|
-
}
|
|
2247
|
-
}
|
|
2248
|
-
updateQueueHoursOfOperation(args, optionsOrCb, cb) {
|
|
2249
|
-
const command = new UpdateQueueHoursOfOperationCommand_1.UpdateQueueHoursOfOperationCommand(args);
|
|
2250
|
-
if (typeof optionsOrCb === "function") {
|
|
2251
|
-
this.send(command, optionsOrCb);
|
|
2252
|
-
}
|
|
2253
|
-
else if (typeof cb === "function") {
|
|
2254
|
-
if (typeof optionsOrCb !== "object")
|
|
2255
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2256
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2257
|
-
}
|
|
2258
|
-
else {
|
|
2259
|
-
return this.send(command, optionsOrCb);
|
|
2260
|
-
}
|
|
2261
|
-
}
|
|
2262
|
-
updateQueueMaxContacts(args, optionsOrCb, cb) {
|
|
2263
|
-
const command = new UpdateQueueMaxContactsCommand_1.UpdateQueueMaxContactsCommand(args);
|
|
2264
|
-
if (typeof optionsOrCb === "function") {
|
|
2265
|
-
this.send(command, optionsOrCb);
|
|
2266
|
-
}
|
|
2267
|
-
else if (typeof cb === "function") {
|
|
2268
|
-
if (typeof optionsOrCb !== "object")
|
|
2269
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2270
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2271
|
-
}
|
|
2272
|
-
else {
|
|
2273
|
-
return this.send(command, optionsOrCb);
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2276
|
-
updateQueueName(args, optionsOrCb, cb) {
|
|
2277
|
-
const command = new UpdateQueueNameCommand_1.UpdateQueueNameCommand(args);
|
|
2278
|
-
if (typeof optionsOrCb === "function") {
|
|
2279
|
-
this.send(command, optionsOrCb);
|
|
2280
|
-
}
|
|
2281
|
-
else if (typeof cb === "function") {
|
|
2282
|
-
if (typeof optionsOrCb !== "object")
|
|
2283
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2285
|
-
}
|
|
2286
|
-
else {
|
|
2287
|
-
return this.send(command, optionsOrCb);
|
|
2288
|
-
}
|
|
2289
|
-
}
|
|
2290
|
-
updateQueueOutboundCallerConfig(args, optionsOrCb, cb) {
|
|
2291
|
-
const command = new UpdateQueueOutboundCallerConfigCommand_1.UpdateQueueOutboundCallerConfigCommand(args);
|
|
2292
|
-
if (typeof optionsOrCb === "function") {
|
|
2293
|
-
this.send(command, optionsOrCb);
|
|
2294
|
-
}
|
|
2295
|
-
else if (typeof cb === "function") {
|
|
2296
|
-
if (typeof optionsOrCb !== "object")
|
|
2297
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2298
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2299
|
-
}
|
|
2300
|
-
else {
|
|
2301
|
-
return this.send(command, optionsOrCb);
|
|
2302
|
-
}
|
|
2303
|
-
}
|
|
2304
|
-
updateQueueStatus(args, optionsOrCb, cb) {
|
|
2305
|
-
const command = new UpdateQueueStatusCommand_1.UpdateQueueStatusCommand(args);
|
|
2306
|
-
if (typeof optionsOrCb === "function") {
|
|
2307
|
-
this.send(command, optionsOrCb);
|
|
2308
|
-
}
|
|
2309
|
-
else if (typeof cb === "function") {
|
|
2310
|
-
if (typeof optionsOrCb !== "object")
|
|
2311
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2312
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2313
|
-
}
|
|
2314
|
-
else {
|
|
2315
|
-
return this.send(command, optionsOrCb);
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
updateQuickConnectConfig(args, optionsOrCb, cb) {
|
|
2319
|
-
const command = new UpdateQuickConnectConfigCommand_1.UpdateQuickConnectConfigCommand(args);
|
|
2320
|
-
if (typeof optionsOrCb === "function") {
|
|
2321
|
-
this.send(command, optionsOrCb);
|
|
2322
|
-
}
|
|
2323
|
-
else if (typeof cb === "function") {
|
|
2324
|
-
if (typeof optionsOrCb !== "object")
|
|
2325
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2326
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2327
|
-
}
|
|
2328
|
-
else {
|
|
2329
|
-
return this.send(command, optionsOrCb);
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
updateQuickConnectName(args, optionsOrCb, cb) {
|
|
2333
|
-
const command = new UpdateQuickConnectNameCommand_1.UpdateQuickConnectNameCommand(args);
|
|
2334
|
-
if (typeof optionsOrCb === "function") {
|
|
2335
|
-
this.send(command, optionsOrCb);
|
|
2336
|
-
}
|
|
2337
|
-
else if (typeof cb === "function") {
|
|
2338
|
-
if (typeof optionsOrCb !== "object")
|
|
2339
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2340
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2341
|
-
}
|
|
2342
|
-
else {
|
|
2343
|
-
return this.send(command, optionsOrCb);
|
|
2344
|
-
}
|
|
2345
|
-
}
|
|
2346
|
-
updateRoutingProfileConcurrency(args, optionsOrCb, cb) {
|
|
2347
|
-
const command = new UpdateRoutingProfileConcurrencyCommand_1.UpdateRoutingProfileConcurrencyCommand(args);
|
|
2348
|
-
if (typeof optionsOrCb === "function") {
|
|
2349
|
-
this.send(command, optionsOrCb);
|
|
2350
|
-
}
|
|
2351
|
-
else if (typeof cb === "function") {
|
|
2352
|
-
if (typeof optionsOrCb !== "object")
|
|
2353
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2354
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2355
|
-
}
|
|
2356
|
-
else {
|
|
2357
|
-
return this.send(command, optionsOrCb);
|
|
2358
|
-
}
|
|
2359
|
-
}
|
|
2360
|
-
updateRoutingProfileDefaultOutboundQueue(args, optionsOrCb, cb) {
|
|
2361
|
-
const command = new UpdateRoutingProfileDefaultOutboundQueueCommand_1.UpdateRoutingProfileDefaultOutboundQueueCommand(args);
|
|
2362
|
-
if (typeof optionsOrCb === "function") {
|
|
2363
|
-
this.send(command, optionsOrCb);
|
|
2364
|
-
}
|
|
2365
|
-
else if (typeof cb === "function") {
|
|
2366
|
-
if (typeof optionsOrCb !== "object")
|
|
2367
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2368
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2369
|
-
}
|
|
2370
|
-
else {
|
|
2371
|
-
return this.send(command, optionsOrCb);
|
|
2372
|
-
}
|
|
2373
|
-
}
|
|
2374
|
-
updateRoutingProfileName(args, optionsOrCb, cb) {
|
|
2375
|
-
const command = new UpdateRoutingProfileNameCommand_1.UpdateRoutingProfileNameCommand(args);
|
|
2376
|
-
if (typeof optionsOrCb === "function") {
|
|
2377
|
-
this.send(command, optionsOrCb);
|
|
2378
|
-
}
|
|
2379
|
-
else if (typeof cb === "function") {
|
|
2380
|
-
if (typeof optionsOrCb !== "object")
|
|
2381
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2382
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2383
|
-
}
|
|
2384
|
-
else {
|
|
2385
|
-
return this.send(command, optionsOrCb);
|
|
2386
|
-
}
|
|
2387
|
-
}
|
|
2388
|
-
updateRoutingProfileQueues(args, optionsOrCb, cb) {
|
|
2389
|
-
const command = new UpdateRoutingProfileQueuesCommand_1.UpdateRoutingProfileQueuesCommand(args);
|
|
2390
|
-
if (typeof optionsOrCb === "function") {
|
|
2391
|
-
this.send(command, optionsOrCb);
|
|
2392
|
-
}
|
|
2393
|
-
else if (typeof cb === "function") {
|
|
2394
|
-
if (typeof optionsOrCb !== "object")
|
|
2395
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2396
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2397
|
-
}
|
|
2398
|
-
else {
|
|
2399
|
-
return this.send(command, optionsOrCb);
|
|
2400
|
-
}
|
|
2401
|
-
}
|
|
2402
|
-
updateRule(args, optionsOrCb, cb) {
|
|
2403
|
-
const command = new UpdateRuleCommand_1.UpdateRuleCommand(args);
|
|
2404
|
-
if (typeof optionsOrCb === "function") {
|
|
2405
|
-
this.send(command, optionsOrCb);
|
|
2406
|
-
}
|
|
2407
|
-
else if (typeof cb === "function") {
|
|
2408
|
-
if (typeof optionsOrCb !== "object")
|
|
2409
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2410
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2411
|
-
}
|
|
2412
|
-
else {
|
|
2413
|
-
return this.send(command, optionsOrCb);
|
|
2414
|
-
}
|
|
2415
|
-
}
|
|
2416
|
-
updateSecurityProfile(args, optionsOrCb, cb) {
|
|
2417
|
-
const command = new UpdateSecurityProfileCommand_1.UpdateSecurityProfileCommand(args);
|
|
2418
|
-
if (typeof optionsOrCb === "function") {
|
|
2419
|
-
this.send(command, optionsOrCb);
|
|
2420
|
-
}
|
|
2421
|
-
else if (typeof cb === "function") {
|
|
2422
|
-
if (typeof optionsOrCb !== "object")
|
|
2423
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2424
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2425
|
-
}
|
|
2426
|
-
else {
|
|
2427
|
-
return this.send(command, optionsOrCb);
|
|
2428
|
-
}
|
|
2429
|
-
}
|
|
2430
|
-
updateTaskTemplate(args, optionsOrCb, cb) {
|
|
2431
|
-
const command = new UpdateTaskTemplateCommand_1.UpdateTaskTemplateCommand(args);
|
|
2432
|
-
if (typeof optionsOrCb === "function") {
|
|
2433
|
-
this.send(command, optionsOrCb);
|
|
2434
|
-
}
|
|
2435
|
-
else if (typeof cb === "function") {
|
|
2436
|
-
if (typeof optionsOrCb !== "object")
|
|
2437
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2438
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2439
|
-
}
|
|
2440
|
-
else {
|
|
2441
|
-
return this.send(command, optionsOrCb);
|
|
2442
|
-
}
|
|
2443
|
-
}
|
|
2444
|
-
updateTrafficDistribution(args, optionsOrCb, cb) {
|
|
2445
|
-
const command = new UpdateTrafficDistributionCommand_1.UpdateTrafficDistributionCommand(args);
|
|
2446
|
-
if (typeof optionsOrCb === "function") {
|
|
2447
|
-
this.send(command, optionsOrCb);
|
|
2448
|
-
}
|
|
2449
|
-
else if (typeof cb === "function") {
|
|
2450
|
-
if (typeof optionsOrCb !== "object")
|
|
2451
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2452
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2453
|
-
}
|
|
2454
|
-
else {
|
|
2455
|
-
return this.send(command, optionsOrCb);
|
|
2456
|
-
}
|
|
2457
|
-
}
|
|
2458
|
-
updateUserHierarchy(args, optionsOrCb, cb) {
|
|
2459
|
-
const command = new UpdateUserHierarchyCommand_1.UpdateUserHierarchyCommand(args);
|
|
2460
|
-
if (typeof optionsOrCb === "function") {
|
|
2461
|
-
this.send(command, optionsOrCb);
|
|
2462
|
-
}
|
|
2463
|
-
else if (typeof cb === "function") {
|
|
2464
|
-
if (typeof optionsOrCb !== "object")
|
|
2465
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2466
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2467
|
-
}
|
|
2468
|
-
else {
|
|
2469
|
-
return this.send(command, optionsOrCb);
|
|
2470
|
-
}
|
|
2471
|
-
}
|
|
2472
|
-
updateUserHierarchyGroupName(args, optionsOrCb, cb) {
|
|
2473
|
-
const command = new UpdateUserHierarchyGroupNameCommand_1.UpdateUserHierarchyGroupNameCommand(args);
|
|
2474
|
-
if (typeof optionsOrCb === "function") {
|
|
2475
|
-
this.send(command, optionsOrCb);
|
|
2476
|
-
}
|
|
2477
|
-
else if (typeof cb === "function") {
|
|
2478
|
-
if (typeof optionsOrCb !== "object")
|
|
2479
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2480
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2481
|
-
}
|
|
2482
|
-
else {
|
|
2483
|
-
return this.send(command, optionsOrCb);
|
|
2484
|
-
}
|
|
2485
|
-
}
|
|
2486
|
-
updateUserHierarchyStructure(args, optionsOrCb, cb) {
|
|
2487
|
-
const command = new UpdateUserHierarchyStructureCommand_1.UpdateUserHierarchyStructureCommand(args);
|
|
2488
|
-
if (typeof optionsOrCb === "function") {
|
|
2489
|
-
this.send(command, optionsOrCb);
|
|
2490
|
-
}
|
|
2491
|
-
else if (typeof cb === "function") {
|
|
2492
|
-
if (typeof optionsOrCb !== "object")
|
|
2493
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2494
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2495
|
-
}
|
|
2496
|
-
else {
|
|
2497
|
-
return this.send(command, optionsOrCb);
|
|
2498
|
-
}
|
|
2499
|
-
}
|
|
2500
|
-
updateUserIdentityInfo(args, optionsOrCb, cb) {
|
|
2501
|
-
const command = new UpdateUserIdentityInfoCommand_1.UpdateUserIdentityInfoCommand(args);
|
|
2502
|
-
if (typeof optionsOrCb === "function") {
|
|
2503
|
-
this.send(command, optionsOrCb);
|
|
2504
|
-
}
|
|
2505
|
-
else if (typeof cb === "function") {
|
|
2506
|
-
if (typeof optionsOrCb !== "object")
|
|
2507
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2508
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2509
|
-
}
|
|
2510
|
-
else {
|
|
2511
|
-
return this.send(command, optionsOrCb);
|
|
2512
|
-
}
|
|
2513
|
-
}
|
|
2514
|
-
updateUserPhoneConfig(args, optionsOrCb, cb) {
|
|
2515
|
-
const command = new UpdateUserPhoneConfigCommand_1.UpdateUserPhoneConfigCommand(args);
|
|
2516
|
-
if (typeof optionsOrCb === "function") {
|
|
2517
|
-
this.send(command, optionsOrCb);
|
|
2518
|
-
}
|
|
2519
|
-
else if (typeof cb === "function") {
|
|
2520
|
-
if (typeof optionsOrCb !== "object")
|
|
2521
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2522
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2523
|
-
}
|
|
2524
|
-
else {
|
|
2525
|
-
return this.send(command, optionsOrCb);
|
|
2526
|
-
}
|
|
2527
|
-
}
|
|
2528
|
-
updateUserRoutingProfile(args, optionsOrCb, cb) {
|
|
2529
|
-
const command = new UpdateUserRoutingProfileCommand_1.UpdateUserRoutingProfileCommand(args);
|
|
2530
|
-
if (typeof optionsOrCb === "function") {
|
|
2531
|
-
this.send(command, optionsOrCb);
|
|
2532
|
-
}
|
|
2533
|
-
else if (typeof cb === "function") {
|
|
2534
|
-
if (typeof optionsOrCb !== "object")
|
|
2535
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2536
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2537
|
-
}
|
|
2538
|
-
else {
|
|
2539
|
-
return this.send(command, optionsOrCb);
|
|
2540
|
-
}
|
|
2541
|
-
}
|
|
2542
|
-
updateUserSecurityProfiles(args, optionsOrCb, cb) {
|
|
2543
|
-
const command = new UpdateUserSecurityProfilesCommand_1.UpdateUserSecurityProfilesCommand(args);
|
|
2544
|
-
if (typeof optionsOrCb === "function") {
|
|
2545
|
-
this.send(command, optionsOrCb);
|
|
2546
|
-
}
|
|
2547
|
-
else if (typeof cb === "function") {
|
|
2548
|
-
if (typeof optionsOrCb !== "object")
|
|
2549
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2550
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2551
|
-
}
|
|
2552
|
-
else {
|
|
2553
|
-
return this.send(command, optionsOrCb);
|
|
2554
|
-
}
|
|
2555
|
-
}
|
|
2556
349
|
}
|
|
2557
350
|
exports.Connect = Connect;
|
|
351
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Connect);
|