@aws-sdk/client-connect 3.316.0 → 3.319.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/README.md +8 -0
- package/dist-cjs/Connect.js +2 -0
- package/dist-cjs/commands/CreateParticipantCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +8 -6
- package/dist-cjs/models/models_1.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +81 -7
- package/dist-es/Connect.js +2 -0
- package/dist-es/commands/CreateParticipantCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +72 -0
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/CreateParticipantCommand.d.ts +88 -0
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -1
- package/dist-types/commands/ListApprovedOriginsCommand.d.ts +1 -1
- package/dist-types/commands/ListBotsCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +97 -86
- package/dist-types/models/models_1.d.ts +91 -14
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateParticipantCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -24
- package/dist-types/ts3.4/models/models_1.d.ts +25 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -351,6 +351,14 @@ CreateIntegrationAssociation
|
|
|
351
351
|
|
|
352
352
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createintegrationassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createintegrationassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createintegrationassociationcommandoutput.html)
|
|
353
353
|
|
|
354
|
+
</details>
|
|
355
|
+
<details>
|
|
356
|
+
<summary>
|
|
357
|
+
CreateParticipant
|
|
358
|
+
</summary>
|
|
359
|
+
|
|
360
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createparticipantcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createparticipantcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createparticipantcommandoutput.html)
|
|
361
|
+
|
|
354
362
|
</details>
|
|
355
363
|
<details>
|
|
356
364
|
<summary>
|
package/dist-cjs/Connect.js
CHANGED
|
@@ -19,6 +19,7 @@ const CreateContactFlowModuleCommand_1 = require("./commands/CreateContactFlowMo
|
|
|
19
19
|
const CreateHoursOfOperationCommand_1 = require("./commands/CreateHoursOfOperationCommand");
|
|
20
20
|
const CreateInstanceCommand_1 = require("./commands/CreateInstanceCommand");
|
|
21
21
|
const CreateIntegrationAssociationCommand_1 = require("./commands/CreateIntegrationAssociationCommand");
|
|
22
|
+
const CreateParticipantCommand_1 = require("./commands/CreateParticipantCommand");
|
|
22
23
|
const CreateQueueCommand_1 = require("./commands/CreateQueueCommand");
|
|
23
24
|
const CreateQuickConnectCommand_1 = require("./commands/CreateQuickConnectCommand");
|
|
24
25
|
const CreateRoutingProfileCommand_1 = require("./commands/CreateRoutingProfileCommand");
|
|
@@ -191,6 +192,7 @@ const commands = {
|
|
|
191
192
|
CreateHoursOfOperationCommand: CreateHoursOfOperationCommand_1.CreateHoursOfOperationCommand,
|
|
192
193
|
CreateInstanceCommand: CreateInstanceCommand_1.CreateInstanceCommand,
|
|
193
194
|
CreateIntegrationAssociationCommand: CreateIntegrationAssociationCommand_1.CreateIntegrationAssociationCommand,
|
|
195
|
+
CreateParticipantCommand: CreateParticipantCommand_1.CreateParticipantCommand,
|
|
194
196
|
CreateQueueCommand: CreateQueueCommand_1.CreateQueueCommand,
|
|
195
197
|
CreateQuickConnectCommand: CreateQuickConnectCommand_1.CreateQuickConnectCommand,
|
|
196
198
|
CreateRoutingProfileCommand: CreateRoutingProfileCommand_1.CreateRoutingProfileCommand,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateParticipantCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateParticipantCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateParticipantCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ConnectClient";
|
|
27
|
+
const commandName = "CreateParticipantCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_CreateParticipantCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_CreateParticipantCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CreateParticipantCommand = CreateParticipantCommand;
|
|
@@ -18,6 +18,7 @@ tslib_1.__exportStar(require("./CreateContactFlowModuleCommand"), exports);
|
|
|
18
18
|
tslib_1.__exportStar(require("./CreateHoursOfOperationCommand"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./CreateInstanceCommand"), exports);
|
|
20
20
|
tslib_1.__exportStar(require("./CreateIntegrationAssociationCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./CreateParticipantCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./CreateQueueCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./CreateQuickConnectCommand"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("./CreateRoutingProfileCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.
|
|
3
|
+
exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.ResourceInUseException = exports.ResourceType = exports.VocabularyState = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.ParticipantRole = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidRequestException = exports.InvalidParameterException = exports.InternalServiceException = exports.MonitorCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.ActionType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.ContactFlowModuleStatus = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
7
7
|
class AccessDeniedException extends ConnectServiceException_1.ConnectServiceException {
|
|
@@ -313,6 +313,12 @@ exports.SourceType = {
|
|
|
313
313
|
SALESFORCE: "SALESFORCE",
|
|
314
314
|
ZENDESK: "ZENDESK",
|
|
315
315
|
};
|
|
316
|
+
exports.ParticipantRole = {
|
|
317
|
+
AGENT: "AGENT",
|
|
318
|
+
CUSTOMER: "CUSTOMER",
|
|
319
|
+
CUSTOM_BOT: "CUSTOM_BOT",
|
|
320
|
+
SYSTEM: "SYSTEM",
|
|
321
|
+
};
|
|
316
322
|
exports.QuickConnectType = {
|
|
317
323
|
PHONE_NUMBER: "PHONE_NUMBER",
|
|
318
324
|
QUEUE: "QUEUE",
|
|
@@ -823,10 +829,6 @@ exports.Statistic = {
|
|
|
823
829
|
exports.Comparison = {
|
|
824
830
|
LT: "LT",
|
|
825
831
|
};
|
|
826
|
-
exports.LexVersion = {
|
|
827
|
-
V1: "V1",
|
|
828
|
-
V2: "V2",
|
|
829
|
-
};
|
|
830
832
|
const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
831
833
|
...obj,
|
|
832
834
|
...(obj.InstanceAlias && { InstanceAlias: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.StringComparisonType = exports.SearchableQueueType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = void 0;
|
|
3
|
+
exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.StringComparisonType = exports.SearchableQueueType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
6
|
+
exports.LexVersion = {
|
|
7
|
+
V1: "V1",
|
|
8
|
+
V2: "V2",
|
|
9
|
+
};
|
|
6
10
|
exports.ReferenceStatus = {
|
|
7
11
|
APPROVED: "APPROVED",
|
|
8
12
|
REJECTED: "REJECTED",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = void 0;
|
|
3
|
+
exports.se_DescribeInstanceAttributeCommand = exports.se_DescribeInstanceCommand = exports.se_DescribeHoursOfOperationCommand = exports.se_DescribeContactFlowModuleCommand = exports.se_DescribeContactFlowCommand = exports.se_DescribeContactCommand = exports.se_DescribeAgentStatusCommand = exports.se_DeleteVocabularyCommand = exports.se_DeleteUserHierarchyGroupCommand = exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = exports.se_DeleteSecurityProfileCommand = exports.se_DeleteRuleCommand = exports.se_DeleteQuickConnectCommand = exports.se_DeleteIntegrationAssociationCommand = exports.se_DeleteInstanceCommand = exports.se_DeleteHoursOfOperationCommand = exports.se_DeleteContactFlowModuleCommand = exports.se_DeleteContactFlowCommand = exports.se_CreateVocabularyCommand = exports.se_CreateUserHierarchyGroupCommand = exports.se_CreateUserCommand = exports.se_CreateUseCaseCommand = exports.se_CreateTrafficDistributionGroupCommand = exports.se_CreateTaskTemplateCommand = exports.se_CreateSecurityProfileCommand = exports.se_CreateRuleCommand = exports.se_CreateRoutingProfileCommand = exports.se_CreateQuickConnectCommand = exports.se_CreateQueueCommand = exports.se_CreateParticipantCommand = exports.se_CreateIntegrationAssociationCommand = exports.se_CreateInstanceCommand = exports.se_CreateHoursOfOperationCommand = exports.se_CreateContactFlowModuleCommand = exports.se_CreateContactFlowCommand = exports.se_CreateAgentStatusCommand = exports.se_ClaimPhoneNumberCommand = exports.se_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = void 0;
|
|
4
|
+
exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListDefaultVocabulariesCommand = exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = exports.se_ListContactFlowModulesCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAgentStatusesCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DescribeVocabularyCommand = exports.se_DescribeUserHierarchyStructureCommand = exports.se_DescribeUserHierarchyGroupCommand = exports.se_DescribeUserCommand = exports.se_DescribeTrafficDistributionGroupCommand = exports.se_DescribeSecurityProfileCommand = exports.se_DescribeRuleCommand = exports.se_DescribeRoutingProfileCommand = exports.se_DescribeQuickConnectCommand = exports.se_DescribeQueueCommand = exports.se_DescribePhoneNumberCommand = exports.se_DescribeInstanceStorageConfigCommand = void 0;
|
|
5
|
+
exports.se_UpdateQueueHoursOfOperationCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = exports.se_StopContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartChatContactCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchQueuesCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = void 0;
|
|
6
|
+
exports.de_CreateVocabularyCommand = exports.de_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateQuickConnectNameCommand = exports.se_UpdateQuickConnectConfigCommand = exports.se_UpdateQueueStatusCommand = exports.se_UpdateQueueOutboundCallerConfigCommand = exports.se_UpdateQueueNameCommand = exports.se_UpdateQueueMaxContactsCommand = void 0;
|
|
7
|
+
exports.de_GetTaskTemplateCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeleteIntegrationAssociationCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteHoursOfOperationCommand = exports.de_DeleteContactFlowModuleCommand = exports.de_DeleteContactFlowCommand = void 0;
|
|
8
|
+
exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchQueuesCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = void 0;
|
|
9
|
+
exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = void 0;
|
|
10
10
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const uuid_1 = require("uuid");
|
|
@@ -426,6 +426,30 @@ const se_CreateIntegrationAssociationCommand = async (input, context) => {
|
|
|
426
426
|
});
|
|
427
427
|
};
|
|
428
428
|
exports.se_CreateIntegrationAssociationCommand = se_CreateIntegrationAssociationCommand;
|
|
429
|
+
const se_CreateParticipantCommand = async (input, context) => {
|
|
430
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
431
|
+
const headers = {
|
|
432
|
+
"content-type": "application/json",
|
|
433
|
+
};
|
|
434
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact/create-participant";
|
|
435
|
+
let body;
|
|
436
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
437
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
438
|
+
ContactId: [],
|
|
439
|
+
InstanceId: [],
|
|
440
|
+
ParticipantDetails: (_) => (0, smithy_client_1._json)(_),
|
|
441
|
+
}));
|
|
442
|
+
return new protocol_http_1.HttpRequest({
|
|
443
|
+
protocol,
|
|
444
|
+
hostname,
|
|
445
|
+
port,
|
|
446
|
+
method: "POST",
|
|
447
|
+
headers,
|
|
448
|
+
path: resolvedPath,
|
|
449
|
+
body,
|
|
450
|
+
});
|
|
451
|
+
};
|
|
452
|
+
exports.se_CreateParticipantCommand = se_CreateParticipantCommand;
|
|
429
453
|
const se_CreateQueueCommand = async (input, context) => {
|
|
430
454
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
431
455
|
const headers = {
|
|
@@ -4775,6 +4799,56 @@ const de_CreateIntegrationAssociationCommandError = async (output, context) => {
|
|
|
4775
4799
|
});
|
|
4776
4800
|
}
|
|
4777
4801
|
};
|
|
4802
|
+
const de_CreateParticipantCommand = async (output, context) => {
|
|
4803
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4804
|
+
return de_CreateParticipantCommandError(output, context);
|
|
4805
|
+
}
|
|
4806
|
+
const contents = (0, smithy_client_1.map)({
|
|
4807
|
+
$metadata: deserializeMetadata(output),
|
|
4808
|
+
});
|
|
4809
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4810
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
4811
|
+
ParticipantCredentials: smithy_client_1._json,
|
|
4812
|
+
ParticipantId: smithy_client_1.expectString,
|
|
4813
|
+
});
|
|
4814
|
+
Object.assign(contents, doc);
|
|
4815
|
+
return contents;
|
|
4816
|
+
};
|
|
4817
|
+
exports.de_CreateParticipantCommand = de_CreateParticipantCommand;
|
|
4818
|
+
const de_CreateParticipantCommandError = async (output, context) => {
|
|
4819
|
+
const parsedOutput = {
|
|
4820
|
+
...output,
|
|
4821
|
+
body: await parseErrorBody(output.body, context),
|
|
4822
|
+
};
|
|
4823
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4824
|
+
switch (errorCode) {
|
|
4825
|
+
case "InternalServiceException":
|
|
4826
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
4827
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
4828
|
+
case "InvalidParameterException":
|
|
4829
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
4830
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4831
|
+
case "InvalidRequestException":
|
|
4832
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
4833
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4834
|
+
case "ResourceNotFoundException":
|
|
4835
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
4836
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4837
|
+
case "ServiceQuotaExceededException":
|
|
4838
|
+
case "com.amazonaws.connect#ServiceQuotaExceededException":
|
|
4839
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4840
|
+
case "ThrottlingException":
|
|
4841
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
4842
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4843
|
+
default:
|
|
4844
|
+
const parsedBody = parsedOutput.body;
|
|
4845
|
+
return throwDefaultError({
|
|
4846
|
+
output,
|
|
4847
|
+
parsedBody,
|
|
4848
|
+
errorCode,
|
|
4849
|
+
});
|
|
4850
|
+
}
|
|
4851
|
+
};
|
|
4778
4852
|
const de_CreateQueueCommand = async (output, context) => {
|
|
4779
4853
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4780
4854
|
return de_CreateQueueCommandError(output, context);
|
package/dist-es/Connect.js
CHANGED
|
@@ -16,6 +16,7 @@ import { CreateContactFlowModuleCommand, } from "./commands/CreateContactFlowMod
|
|
|
16
16
|
import { CreateHoursOfOperationCommand, } from "./commands/CreateHoursOfOperationCommand";
|
|
17
17
|
import { CreateInstanceCommand, } from "./commands/CreateInstanceCommand";
|
|
18
18
|
import { CreateIntegrationAssociationCommand, } from "./commands/CreateIntegrationAssociationCommand";
|
|
19
|
+
import { CreateParticipantCommand, } from "./commands/CreateParticipantCommand";
|
|
19
20
|
import { CreateQueueCommand } from "./commands/CreateQueueCommand";
|
|
20
21
|
import { CreateQuickConnectCommand, } from "./commands/CreateQuickConnectCommand";
|
|
21
22
|
import { CreateRoutingProfileCommand, } from "./commands/CreateRoutingProfileCommand";
|
|
@@ -188,6 +189,7 @@ const commands = {
|
|
|
188
189
|
CreateHoursOfOperationCommand,
|
|
189
190
|
CreateInstanceCommand,
|
|
190
191
|
CreateIntegrationAssociationCommand,
|
|
192
|
+
CreateParticipantCommand,
|
|
191
193
|
CreateQueueCommand,
|
|
192
194
|
CreateQuickConnectCommand,
|
|
193
195
|
CreateRoutingProfileCommand,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateParticipantCommand, se_CreateParticipantCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class CreateParticipantCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateParticipantCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ConnectClient";
|
|
24
|
+
const commandName = "CreateParticipantCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_CreateParticipantCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_CreateParticipantCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -15,6 +15,7 @@ export * from "./CreateContactFlowModuleCommand";
|
|
|
15
15
|
export * from "./CreateHoursOfOperationCommand";
|
|
16
16
|
export * from "./CreateInstanceCommand";
|
|
17
17
|
export * from "./CreateIntegrationAssociationCommand";
|
|
18
|
+
export * from "./CreateParticipantCommand";
|
|
18
19
|
export * from "./CreateQueueCommand";
|
|
19
20
|
export * from "./CreateQuickConnectCommand";
|
|
20
21
|
export * from "./CreateRoutingProfileCommand";
|
|
@@ -296,6 +296,12 @@ export const SourceType = {
|
|
|
296
296
|
SALESFORCE: "SALESFORCE",
|
|
297
297
|
ZENDESK: "ZENDESK",
|
|
298
298
|
};
|
|
299
|
+
export const ParticipantRole = {
|
|
300
|
+
AGENT: "AGENT",
|
|
301
|
+
CUSTOMER: "CUSTOMER",
|
|
302
|
+
CUSTOM_BOT: "CUSTOM_BOT",
|
|
303
|
+
SYSTEM: "SYSTEM",
|
|
304
|
+
};
|
|
299
305
|
export const QuickConnectType = {
|
|
300
306
|
PHONE_NUMBER: "PHONE_NUMBER",
|
|
301
307
|
QUEUE: "QUEUE",
|
|
@@ -801,10 +807,6 @@ export const Statistic = {
|
|
|
801
807
|
export const Comparison = {
|
|
802
808
|
LT: "LT",
|
|
803
809
|
};
|
|
804
|
-
export const LexVersion = {
|
|
805
|
-
V1: "V1",
|
|
806
|
-
V2: "V2",
|
|
807
|
-
};
|
|
808
810
|
export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
809
811
|
...obj,
|
|
810
812
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
+
export const LexVersion = {
|
|
4
|
+
V1: "V1",
|
|
5
|
+
V2: "V2",
|
|
6
|
+
};
|
|
3
7
|
export const ReferenceStatus = {
|
|
4
8
|
APPROVED: "APPROVED",
|
|
5
9
|
REJECTED: "REJECTED",
|
|
@@ -400,6 +400,29 @@ export const se_CreateIntegrationAssociationCommand = async (input, context) =>
|
|
|
400
400
|
body,
|
|
401
401
|
});
|
|
402
402
|
};
|
|
403
|
+
export const se_CreateParticipantCommand = async (input, context) => {
|
|
404
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
405
|
+
const headers = {
|
|
406
|
+
"content-type": "application/json",
|
|
407
|
+
};
|
|
408
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact/create-participant";
|
|
409
|
+
let body;
|
|
410
|
+
body = JSON.stringify(take(input, {
|
|
411
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
412
|
+
ContactId: [],
|
|
413
|
+
InstanceId: [],
|
|
414
|
+
ParticipantDetails: (_) => _json(_),
|
|
415
|
+
}));
|
|
416
|
+
return new __HttpRequest({
|
|
417
|
+
protocol,
|
|
418
|
+
hostname,
|
|
419
|
+
port,
|
|
420
|
+
method: "POST",
|
|
421
|
+
headers,
|
|
422
|
+
path: resolvedPath,
|
|
423
|
+
body,
|
|
424
|
+
});
|
|
425
|
+
};
|
|
403
426
|
export const se_CreateQueueCommand = async (input, context) => {
|
|
404
427
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
405
428
|
const headers = {
|
|
@@ -4579,6 +4602,55 @@ const de_CreateIntegrationAssociationCommandError = async (output, context) => {
|
|
|
4579
4602
|
});
|
|
4580
4603
|
}
|
|
4581
4604
|
};
|
|
4605
|
+
export const de_CreateParticipantCommand = async (output, context) => {
|
|
4606
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4607
|
+
return de_CreateParticipantCommandError(output, context);
|
|
4608
|
+
}
|
|
4609
|
+
const contents = map({
|
|
4610
|
+
$metadata: deserializeMetadata(output),
|
|
4611
|
+
});
|
|
4612
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4613
|
+
const doc = take(data, {
|
|
4614
|
+
ParticipantCredentials: _json,
|
|
4615
|
+
ParticipantId: __expectString,
|
|
4616
|
+
});
|
|
4617
|
+
Object.assign(contents, doc);
|
|
4618
|
+
return contents;
|
|
4619
|
+
};
|
|
4620
|
+
const de_CreateParticipantCommandError = async (output, context) => {
|
|
4621
|
+
const parsedOutput = {
|
|
4622
|
+
...output,
|
|
4623
|
+
body: await parseErrorBody(output.body, context),
|
|
4624
|
+
};
|
|
4625
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4626
|
+
switch (errorCode) {
|
|
4627
|
+
case "InternalServiceException":
|
|
4628
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
4629
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
4630
|
+
case "InvalidParameterException":
|
|
4631
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
4632
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4633
|
+
case "InvalidRequestException":
|
|
4634
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
4635
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4636
|
+
case "ResourceNotFoundException":
|
|
4637
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
4638
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4639
|
+
case "ServiceQuotaExceededException":
|
|
4640
|
+
case "com.amazonaws.connect#ServiceQuotaExceededException":
|
|
4641
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4642
|
+
case "ThrottlingException":
|
|
4643
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
4644
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4645
|
+
default:
|
|
4646
|
+
const parsedBody = parsedOutput.body;
|
|
4647
|
+
return throwDefaultError({
|
|
4648
|
+
output,
|
|
4649
|
+
parsedBody,
|
|
4650
|
+
errorCode,
|
|
4651
|
+
});
|
|
4652
|
+
}
|
|
4653
|
+
};
|
|
4582
4654
|
export const de_CreateQueueCommand = async (output, context) => {
|
|
4583
4655
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4584
4656
|
return de_CreateQueueCommandError(output, context);
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { CreateContactFlowModuleCommandInput, CreateContactFlowModuleCommandOutp
|
|
|
16
16
|
import { CreateHoursOfOperationCommandInput, CreateHoursOfOperationCommandOutput } from "./commands/CreateHoursOfOperationCommand";
|
|
17
17
|
import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "./commands/CreateInstanceCommand";
|
|
18
18
|
import { CreateIntegrationAssociationCommandInput, CreateIntegrationAssociationCommandOutput } from "./commands/CreateIntegrationAssociationCommand";
|
|
19
|
+
import { CreateParticipantCommandInput, CreateParticipantCommandOutput } from "./commands/CreateParticipantCommand";
|
|
19
20
|
import { CreateQueueCommandInput, CreateQueueCommandOutput } from "./commands/CreateQueueCommand";
|
|
20
21
|
import { CreateQuickConnectCommandInput, CreateQuickConnectCommandOutput } from "./commands/CreateQuickConnectCommand";
|
|
21
22
|
import { CreateRoutingProfileCommandInput, CreateRoutingProfileCommandOutput } from "./commands/CreateRoutingProfileCommand";
|
|
@@ -273,6 +274,12 @@ export interface Connect {
|
|
|
273
274
|
createIntegrationAssociation(args: CreateIntegrationAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateIntegrationAssociationCommandOutput>;
|
|
274
275
|
createIntegrationAssociation(args: CreateIntegrationAssociationCommandInput, cb: (err: any, data?: CreateIntegrationAssociationCommandOutput) => void): void;
|
|
275
276
|
createIntegrationAssociation(args: CreateIntegrationAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIntegrationAssociationCommandOutput) => void): void;
|
|
277
|
+
/**
|
|
278
|
+
* @see {@link CreateParticipantCommand}
|
|
279
|
+
*/
|
|
280
|
+
createParticipant(args: CreateParticipantCommandInput, options?: __HttpHandlerOptions): Promise<CreateParticipantCommandOutput>;
|
|
281
|
+
createParticipant(args: CreateParticipantCommandInput, cb: (err: any, data?: CreateParticipantCommandOutput) => void): void;
|
|
282
|
+
createParticipant(args: CreateParticipantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParticipantCommandOutput) => void): void;
|
|
276
283
|
/**
|
|
277
284
|
* @see {@link CreateQueueCommand}
|
|
278
285
|
*/
|
|
@@ -24,6 +24,7 @@ import { CreateContactFlowModuleCommandInput, CreateContactFlowModuleCommandOutp
|
|
|
24
24
|
import { CreateHoursOfOperationCommandInput, CreateHoursOfOperationCommandOutput } from "./commands/CreateHoursOfOperationCommand";
|
|
25
25
|
import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "./commands/CreateInstanceCommand";
|
|
26
26
|
import { CreateIntegrationAssociationCommandInput, CreateIntegrationAssociationCommandOutput } from "./commands/CreateIntegrationAssociationCommand";
|
|
27
|
+
import { CreateParticipantCommandInput, CreateParticipantCommandOutput } from "./commands/CreateParticipantCommand";
|
|
27
28
|
import { CreateQueueCommandInput, CreateQueueCommandOutput } from "./commands/CreateQueueCommand";
|
|
28
29
|
import { CreateQuickConnectCommandInput, CreateQuickConnectCommandOutput } from "./commands/CreateQuickConnectCommand";
|
|
29
30
|
import { CreateRoutingProfileCommandInput, CreateRoutingProfileCommandOutput } from "./commands/CreateRoutingProfileCommand";
|
|
@@ -181,11 +182,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
181
182
|
/**
|
|
182
183
|
* @public
|
|
183
184
|
*/
|
|
184
|
-
export type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetMetricDataV2CommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchQueuesCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
185
|
+
export type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateParticipantCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetMetricDataV2CommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchQueuesCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
185
186
|
/**
|
|
186
187
|
* @public
|
|
187
188
|
*/
|
|
188
|
-
export type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetMetricDataV2CommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchQueuesCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
189
|
+
export type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateParticipantCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetMetricDataV2CommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchQueuesCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
189
190
|
/**
|
|
190
191
|
* @public
|
|
191
192
|
*/
|