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