@aws-sdk/client-connect 3.180.0 → 3.183.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 +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +160 -154
- package/dist-es/Connect.js +618 -625
- package/dist-es/ConnectClient.js +22 -28
- package/dist-es/commands/AssociateApprovedOriginCommand.js +22 -29
- package/dist-es/commands/AssociateBotCommand.js +22 -29
- package/dist-es/commands/AssociateDefaultVocabularyCommand.js +21 -28
- package/dist-es/commands/AssociateInstanceStorageConfigCommand.js +21 -28
- package/dist-es/commands/AssociateLambdaFunctionCommand.js +22 -29
- package/dist-es/commands/AssociateLexBotCommand.js +22 -29
- package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +22 -29
- package/dist-es/commands/AssociateQueueQuickConnectsCommand.js +22 -29
- package/dist-es/commands/AssociateRoutingProfileQueuesCommand.js +22 -29
- package/dist-es/commands/AssociateSecurityKeyCommand.js +21 -28
- package/dist-es/commands/ClaimPhoneNumberCommand.js +21 -28
- package/dist-es/commands/CreateAgentStatusCommand.js +21 -28
- package/dist-es/commands/CreateContactFlowCommand.js +21 -28
- package/dist-es/commands/CreateContactFlowModuleCommand.js +21 -28
- package/dist-es/commands/CreateHoursOfOperationCommand.js +21 -28
- package/dist-es/commands/CreateInstanceCommand.js +21 -28
- package/dist-es/commands/CreateIntegrationAssociationCommand.js +21 -28
- package/dist-es/commands/CreateQueueCommand.js +21 -28
- package/dist-es/commands/CreateQuickConnectCommand.js +21 -28
- package/dist-es/commands/CreateRoutingProfileCommand.js +21 -28
- package/dist-es/commands/CreateSecurityProfileCommand.js +21 -28
- package/dist-es/commands/CreateTaskTemplateCommand.js +21 -28
- package/dist-es/commands/CreateUseCaseCommand.js +21 -28
- package/dist-es/commands/CreateUserCommand.js +21 -28
- package/dist-es/commands/CreateUserHierarchyGroupCommand.js +21 -28
- package/dist-es/commands/CreateVocabularyCommand.js +21 -28
- package/dist-es/commands/DeleteContactFlowCommand.js +22 -29
- package/dist-es/commands/DeleteContactFlowModuleCommand.js +21 -28
- package/dist-es/commands/DeleteHoursOfOperationCommand.js +22 -29
- package/dist-es/commands/DeleteInstanceCommand.js +22 -29
- package/dist-es/commands/DeleteIntegrationAssociationCommand.js +22 -29
- package/dist-es/commands/DeleteQuickConnectCommand.js +22 -29
- package/dist-es/commands/DeleteSecurityProfileCommand.js +22 -29
- package/dist-es/commands/DeleteTaskTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteUseCaseCommand.js +22 -29
- package/dist-es/commands/DeleteUserCommand.js +22 -29
- package/dist-es/commands/DeleteUserHierarchyGroupCommand.js +22 -29
- package/dist-es/commands/DeleteVocabularyCommand.js +21 -28
- package/dist-es/commands/DescribeAgentStatusCommand.js +21 -28
- package/dist-es/commands/DescribeContactCommand.js +21 -28
- package/dist-es/commands/DescribeContactFlowCommand.js +21 -28
- package/dist-es/commands/DescribeContactFlowModuleCommand.js +21 -28
- package/dist-es/commands/DescribeHoursOfOperationCommand.js +21 -28
- package/dist-es/commands/DescribeInstanceAttributeCommand.js +21 -28
- package/dist-es/commands/DescribeInstanceCommand.js +21 -28
- package/dist-es/commands/DescribeInstanceStorageConfigCommand.js +21 -28
- package/dist-es/commands/DescribePhoneNumberCommand.js +21 -28
- package/dist-es/commands/DescribeQueueCommand.js +21 -28
- package/dist-es/commands/DescribeQuickConnectCommand.js +21 -28
- package/dist-es/commands/DescribeRoutingProfileCommand.js +21 -28
- package/dist-es/commands/DescribeSecurityProfileCommand.js +21 -28
- package/dist-es/commands/DescribeUserCommand.js +21 -28
- package/dist-es/commands/DescribeUserHierarchyGroupCommand.js +21 -28
- package/dist-es/commands/DescribeUserHierarchyStructureCommand.js +21 -28
- package/dist-es/commands/DescribeVocabularyCommand.js +21 -28
- package/dist-es/commands/DisassociateApprovedOriginCommand.js +22 -29
- package/dist-es/commands/DisassociateBotCommand.js +22 -29
- package/dist-es/commands/DisassociateInstanceStorageConfigCommand.js +22 -29
- package/dist-es/commands/DisassociateLambdaFunctionCommand.js +22 -29
- package/dist-es/commands/DisassociateLexBotCommand.js +22 -29
- package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +22 -29
- package/dist-es/commands/DisassociateQueueQuickConnectsCommand.js +22 -29
- package/dist-es/commands/DisassociateRoutingProfileQueuesCommand.js +22 -29
- package/dist-es/commands/DisassociateSecurityKeyCommand.js +22 -29
- package/dist-es/commands/GetContactAttributesCommand.js +21 -28
- package/dist-es/commands/GetCurrentMetricDataCommand.js +21 -28
- package/dist-es/commands/GetCurrentUserDataCommand.js +21 -28
- package/dist-es/commands/GetFederationTokenCommand.js +21 -28
- package/dist-es/commands/GetMetricDataCommand.js +21 -28
- package/dist-es/commands/GetTaskTemplateCommand.js +21 -28
- package/dist-es/commands/ListAgentStatusesCommand.js +21 -28
- package/dist-es/commands/ListApprovedOriginsCommand.js +21 -28
- package/dist-es/commands/ListBotsCommand.js +21 -28
- package/dist-es/commands/ListContactFlowModulesCommand.js +21 -28
- package/dist-es/commands/ListContactFlowsCommand.js +21 -28
- package/dist-es/commands/ListContactReferencesCommand.js +21 -28
- package/dist-es/commands/ListDefaultVocabulariesCommand.js +21 -28
- package/dist-es/commands/ListHoursOfOperationsCommand.js +21 -28
- package/dist-es/commands/ListInstanceAttributesCommand.js +21 -28
- package/dist-es/commands/ListInstanceStorageConfigsCommand.js +21 -28
- package/dist-es/commands/ListInstancesCommand.js +21 -28
- package/dist-es/commands/ListIntegrationAssociationsCommand.js +21 -28
- package/dist-es/commands/ListLambdaFunctionsCommand.js +21 -28
- package/dist-es/commands/ListLexBotsCommand.js +21 -28
- package/dist-es/commands/ListPhoneNumbersCommand.js +21 -28
- package/dist-es/commands/ListPhoneNumbersV2Command.js +21 -28
- package/dist-es/commands/ListPromptsCommand.js +21 -28
- package/dist-es/commands/ListQueueQuickConnectsCommand.js +21 -28
- package/dist-es/commands/ListQueuesCommand.js +21 -28
- package/dist-es/commands/ListQuickConnectsCommand.js +21 -28
- package/dist-es/commands/ListRoutingProfileQueuesCommand.js +21 -28
- package/dist-es/commands/ListRoutingProfilesCommand.js +21 -28
- package/dist-es/commands/ListSecurityKeysCommand.js +21 -28
- package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +21 -28
- package/dist-es/commands/ListSecurityProfilesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListTaskTemplatesCommand.js +21 -28
- package/dist-es/commands/ListUseCasesCommand.js +21 -28
- package/dist-es/commands/ListUserHierarchyGroupsCommand.js +21 -28
- package/dist-es/commands/ListUsersCommand.js +21 -28
- package/dist-es/commands/PutUserStatusCommand.js +21 -28
- package/dist-es/commands/ReleasePhoneNumberCommand.js +22 -29
- package/dist-es/commands/ResumeContactRecordingCommand.js +21 -28
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +21 -28
- package/dist-es/commands/SearchQueuesCommand.js +21 -28
- package/dist-es/commands/SearchRoutingProfilesCommand.js +21 -28
- package/dist-es/commands/SearchSecurityProfilesCommand.js +21 -28
- package/dist-es/commands/SearchUsersCommand.js +21 -28
- package/dist-es/commands/SearchVocabulariesCommand.js +21 -28
- package/dist-es/commands/StartChatContactCommand.js +21 -28
- package/dist-es/commands/StartContactRecordingCommand.js +21 -28
- package/dist-es/commands/StartContactStreamingCommand.js +21 -28
- package/dist-es/commands/StartOutboundVoiceContactCommand.js +21 -28
- package/dist-es/commands/StartTaskContactCommand.js +21 -28
- package/dist-es/commands/StopContactCommand.js +21 -28
- package/dist-es/commands/StopContactRecordingCommand.js +21 -28
- package/dist-es/commands/StopContactStreamingCommand.js +21 -28
- package/dist-es/commands/SuspendContactRecordingCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/TransferContactCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateAgentStatusCommand.js +22 -29
- package/dist-es/commands/UpdateContactAttributesCommand.js +21 -28
- package/dist-es/commands/UpdateContactCommand.js +21 -28
- package/dist-es/commands/UpdateContactFlowContentCommand.js +22 -29
- package/dist-es/commands/UpdateContactFlowMetadataCommand.js +22 -29
- package/dist-es/commands/UpdateContactFlowModuleContentCommand.js +21 -28
- package/dist-es/commands/UpdateContactFlowModuleMetadataCommand.js +21 -28
- package/dist-es/commands/UpdateContactFlowNameCommand.js +22 -29
- package/dist-es/commands/UpdateContactScheduleCommand.js +21 -28
- package/dist-es/commands/UpdateHoursOfOperationCommand.js +22 -29
- package/dist-es/commands/UpdateInstanceAttributeCommand.js +22 -29
- package/dist-es/commands/UpdateInstanceStorageConfigCommand.js +22 -29
- package/dist-es/commands/UpdatePhoneNumberCommand.js +21 -28
- package/dist-es/commands/UpdateQueueHoursOfOperationCommand.js +22 -29
- package/dist-es/commands/UpdateQueueMaxContactsCommand.js +22 -29
- package/dist-es/commands/UpdateQueueNameCommand.js +22 -29
- package/dist-es/commands/UpdateQueueOutboundCallerConfigCommand.js +22 -29
- package/dist-es/commands/UpdateQueueStatusCommand.js +22 -29
- package/dist-es/commands/UpdateQuickConnectConfigCommand.js +22 -29
- package/dist-es/commands/UpdateQuickConnectNameCommand.js +22 -29
- package/dist-es/commands/UpdateRoutingProfileConcurrencyCommand.js +22 -29
- package/dist-es/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +22 -29
- package/dist-es/commands/UpdateRoutingProfileNameCommand.js +22 -29
- package/dist-es/commands/UpdateRoutingProfileQueuesCommand.js +22 -29
- package/dist-es/commands/UpdateSecurityProfileCommand.js +22 -29
- package/dist-es/commands/UpdateTaskTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateUserHierarchyCommand.js +22 -29
- package/dist-es/commands/UpdateUserHierarchyGroupNameCommand.js +22 -29
- package/dist-es/commands/UpdateUserHierarchyStructureCommand.js +22 -29
- package/dist-es/commands/UpdateUserIdentityInfoCommand.js +22 -29
- package/dist-es/commands/UpdateUserPhoneConfigCommand.js +22 -29
- package/dist-es/commands/UpdateUserRoutingProfileCommand.js +22 -29
- package/dist-es/commands/UpdateUserSecurityProfilesCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ConnectServiceException.js +5 -10
- package/dist-es/models/models_0.js +949 -458
- package/dist-es/models/models_1.js +444 -173
- package/dist-es/pagination/GetCurrentMetricDataPaginator.js +25 -68
- package/dist-es/pagination/GetCurrentUserDataPaginator.js +25 -68
- package/dist-es/pagination/GetMetricDataPaginator.js +25 -68
- package/dist-es/pagination/ListAgentStatusesPaginator.js +25 -68
- package/dist-es/pagination/ListApprovedOriginsPaginator.js +25 -68
- package/dist-es/pagination/ListBotsPaginator.js +25 -68
- package/dist-es/pagination/ListContactFlowModulesPaginator.js +25 -68
- package/dist-es/pagination/ListContactFlowsPaginator.js +25 -68
- package/dist-es/pagination/ListContactReferencesPaginator.js +24 -67
- package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +25 -68
- package/dist-es/pagination/ListHoursOfOperationsPaginator.js +25 -68
- package/dist-es/pagination/ListInstanceAttributesPaginator.js +25 -68
- package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListInstancesPaginator.js +25 -68
- package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +25 -68
- package/dist-es/pagination/ListLambdaFunctionsPaginator.js +25 -68
- package/dist-es/pagination/ListLexBotsPaginator.js +25 -68
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +25 -68
- package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +25 -68
- package/dist-es/pagination/ListPromptsPaginator.js +25 -68
- package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +25 -68
- package/dist-es/pagination/ListQueuesPaginator.js +25 -68
- package/dist-es/pagination/ListQuickConnectsPaginator.js +25 -68
- package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +25 -68
- package/dist-es/pagination/ListRoutingProfilesPaginator.js +25 -68
- package/dist-es/pagination/ListSecurityKeysPaginator.js +25 -68
- package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +25 -68
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +25 -68
- package/dist-es/pagination/ListTaskTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListUseCasesPaginator.js +25 -68
- package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListUsersPaginator.js +25 -68
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +25 -68
- package/dist-es/pagination/SearchQueuesPaginator.js +25 -68
- package/dist-es/pagination/SearchRoutingProfilesPaginator.js +25 -68
- package/dist-es/pagination/SearchSecurityProfilesPaginator.js +25 -68
- package/dist-es/pagination/SearchUsersPaginator.js +25 -68
- package/dist-es/pagination/SearchVocabulariesPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +11521 -15985
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/dist-es/ConnectClient.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class ConnectClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { ConnectClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateApprovedOriginRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateApprovedOriginCommand, serializeAws_restJson1AssociateApprovedOriginCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateApprovedOriginCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociateApprovedOriginCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateApprovedOriginRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateApprovedOriginCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateApprovedOriginCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateApprovedOriginCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateApprovedOriginCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateBotRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateBotCommand, serializeAws_restJson1AssociateBotCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateBotCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociateBotCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateBotRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateBotCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateBotCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateBotCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateBotCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateDefaultVocabularyRequestFilterSensitiveLog, AssociateDefaultVocabularyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateDefaultVocabularyCommand, serializeAws_restJson1AssociateDefaultVocabularyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateDefaultVocabularyCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociateDefaultVocabularyCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateDefaultVocabularyRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AssociateDefaultVocabularyResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateDefaultVocabularyCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateDefaultVocabularyCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateDefaultVocabularyCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateDefaultVocabularyCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateInstanceStorageConfigRequestFilterSensitiveLog, AssociateInstanceStorageConfigResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateInstanceStorageConfigCommand, serializeAws_restJson1AssociateInstanceStorageConfigCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateInstanceStorageConfigCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociateInstanceStorageConfigCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateInstanceStorageConfigRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AssociateInstanceStorageConfigResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateInstanceStorageConfigCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateInstanceStorageConfigCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateInstanceStorageConfigCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateInstanceStorageConfigCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateLambdaFunctionRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateLambdaFunctionCommand, serializeAws_restJson1AssociateLambdaFunctionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateLambdaFunctionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociateLambdaFunctionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateLambdaFunctionRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateLambdaFunctionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateLambdaFunctionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateLambdaFunctionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateLambdaFunctionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateLexBotRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateLexBotCommand, serializeAws_restJson1AssociateLexBotCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateLexBotCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociateLexBotCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateLexBotRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateLexBotCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateLexBotCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateLexBotCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateLexBotCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociatePhoneNumberContactFlowRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand, serializeAws_restJson1AssociatePhoneNumberContactFlowCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociatePhoneNumberContactFlowCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociatePhoneNumberContactFlowCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociatePhoneNumberContactFlowRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociatePhoneNumberContactFlowCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociatePhoneNumberContactFlowCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociatePhoneNumberContactFlowCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateQueueQuickConnectsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateQueueQuickConnectsCommand, serializeAws_restJson1AssociateQueueQuickConnectsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateQueueQuickConnectsCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociateQueueQuickConnectsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateQueueQuickConnectsRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateQueueQuickConnectsCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateQueueQuickConnectsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateQueueQuickConnectsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateQueueQuickConnectsCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateRoutingProfileQueuesRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateRoutingProfileQueuesCommand, serializeAws_restJson1AssociateRoutingProfileQueuesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateRoutingProfileQueuesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectClient";
|
|
15
|
+
const commandName = "AssociateRoutingProfileQueuesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateRoutingProfileQueuesRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateRoutingProfileQueuesCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateRoutingProfileQueuesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateRoutingProfileQueuesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateRoutingProfileQueuesCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|