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