@aws-sdk/client-connect 3.299.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/Connect.d.ts +2 -3
- package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +4 -0
- package/dist-types/commands/AssociateBotCommand.d.ts +10 -0
- package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +5 -0
- package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +30 -0
- package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +4 -0
- package/dist-types/commands/AssociateLexBotCommand.d.ts +7 -0
- package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +5 -0
- package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +7 -0
- package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +14 -0
- package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +4 -0
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +9 -0
- package/dist-types/commands/CreateAgentStatusCommand.d.ts +10 -0
- package/dist-types/commands/CreateContactFlowCommand.d.ts +10 -0
- package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +10 -0
- package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +22 -0
- package/dist-types/commands/CreateInstanceCommand.d.ts +8 -0
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +11 -0
- package/dist-types/commands/CreateQueueCommand.d.ts +18 -0
- package/dist-types/commands/CreateQuickConnectCommand.d.ts +22 -0
- package/dist-types/commands/CreateRoutingProfileCommand.d.ts +25 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +45 -0
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +17 -0
- package/dist-types/commands/CreateTaskTemplateCommand.d.ts +53 -0
- package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +9 -0
- package/dist-types/commands/CreateUseCaseCommand.d.ts +8 -0
- package/dist-types/commands/CreateUserCommand.d.ts +27 -0
- package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +8 -0
- package/dist-types/commands/CreateVocabularyCommand.d.ts +10 -0
- package/dist-types/commands/DeleteContactFlowCommand.d.ts +4 -0
- package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +3 -0
- package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteQuickConnectCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUseCaseCommand.d.ts +5 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
- package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAgentStatusCommand.d.ts +4 -0
- package/dist-types/commands/DescribeContactCommand.d.ts +4 -0
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +4 -0
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +4 -0
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +4 -0
- package/dist-types/commands/DescribeInstanceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +5 -0
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +3 -0
- package/dist-types/commands/DescribeQueueCommand.d.ts +4 -0
- package/dist-types/commands/DescribeQuickConnectCommand.d.ts +4 -0
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +4 -0
- package/dist-types/commands/DescribeRuleCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +4 -0
- package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +4 -0
- package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +3 -0
- package/dist-types/commands/DescribeVocabularyCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateBotCommand.d.ts +10 -0
- package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +5 -0
- package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateLexBotCommand.d.ts +5 -0
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +7 -0
- package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +10 -0
- package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +4 -0
- package/dist-types/commands/DismissUserContactCommand.d.ts +5 -0
- package/dist-types/commands/GetContactAttributesCommand.d.ts +4 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +31 -0
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +24 -0
- package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -0
- package/dist-types/commands/GetMetricDataCommand.d.ts +32 -0
- package/dist-types/commands/GetMetricDataV2Command.d.ts +39 -3
- package/dist-types/commands/GetTaskTemplateCommand.d.ts +5 -0
- package/dist-types/commands/GetTrafficDistributionCommand.d.ts +3 -0
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +8 -0
- package/dist-types/commands/ListApprovedOriginsCommand.d.ts +5 -0
- package/dist-types/commands/ListBotsCommand.d.ts +6 -0
- package/dist-types/commands/ListContactFlowModulesCommand.d.ts +6 -0
- package/dist-types/commands/ListContactFlowsCommand.d.ts +8 -0
- package/dist-types/commands/ListContactReferencesCommand.d.ts +8 -0
- package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +6 -0
- package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceAttributesCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +6 -0
- package/dist-types/commands/ListInstancesCommand.d.ts +4 -0
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +6 -0
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +5 -0
- package/dist-types/commands/ListLexBotsCommand.d.ts +5 -0
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +11 -0
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +12 -0
- package/dist-types/commands/ListPromptsCommand.d.ts +5 -0
- package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +6 -0
- package/dist-types/commands/ListQueuesCommand.d.ts +8 -0
- package/dist-types/commands/ListQuickConnectsCommand.d.ts +8 -0
- package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +6 -0
- package/dist-types/commands/ListRoutingProfilesCommand.d.ts +5 -0
- package/dist-types/commands/ListRulesCommand.d.ts +7 -0
- package/dist-types/commands/ListSecurityKeysCommand.d.ts +5 -0
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +6 -0
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTaskTemplatesCommand.d.ts +7 -0
- package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +5 -0
- package/dist-types/commands/ListUseCasesCommand.d.ts +6 -0
- package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +5 -0
- package/dist-types/commands/ListUsersCommand.d.ts +5 -0
- package/dist-types/commands/MonitorContactCommand.d.ts +9 -0
- package/dist-types/commands/PutUserStatusCommand.d.ts +5 -0
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +4 -0
- package/dist-types/commands/ReplicateInstanceCommand.d.ts +6 -0
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +5 -0
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +8 -0
- package/dist-types/commands/SearchQueuesCommand.d.ts +59 -0
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +56 -0
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +56 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +65 -0
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +8 -0
- package/dist-types/commands/StartChatContactCommand.d.ts +24 -0
- package/dist-types/commands/StartContactRecordingCommand.d.ts +8 -0
- package/dist-types/commands/StartContactStreamingCommand.d.ts +8 -0
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +17 -0
- package/dist-types/commands/StartTaskContactCommand.d.ts +21 -0
- package/dist-types/commands/StopContactCommand.d.ts +4 -0
- package/dist-types/commands/StopContactRecordingCommand.d.ts +5 -0
- package/dist-types/commands/StopContactStreamingCommand.d.ts +5 -0
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +5 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/TransferContactCommand.d.ts +8 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAgentStatusCommand.d.ts +9 -0
- package/dist-types/commands/UpdateContactAttributesCommand.d.ts +7 -0
- package/dist-types/commands/UpdateContactCommand.d.ts +12 -0
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +5 -0
- package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +7 -0
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +5 -0
- package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +7 -0
- package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +6 -0
- package/dist-types/commands/UpdateContactScheduleCommand.d.ts +5 -0
- package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +20 -0
- package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +5 -0
- package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +31 -0
- package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +18 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +5 -0
- package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +5 -0
- package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +5 -0
- package/dist-types/commands/UpdateQueueNameCommand.d.ts +6 -0
- package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +9 -0
- package/dist-types/commands/UpdateQueueStatusCommand.d.ts +5 -0
- package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +18 -0
- package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +10 -0
- package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +5 -0
- package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +14 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +41 -0
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +14 -0
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +53 -0
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +11 -0
- package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +5 -0
- package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +20 -0
- package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +11 -0
- package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +10 -0
- package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +5 -0
- package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +7 -0
- package/dist-types/models/models_1.d.ts +22 -5
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +8 -8
|
@@ -2842,6 +2842,7 @@ const serializeAws_restJson1StartChatContactCommand = async (input, context) =>
|
|
|
2842
2842
|
...(input.PersistentChat != null && {
|
|
2843
2843
|
PersistentChat: serializeAws_restJson1PersistentChat(input.PersistentChat, context),
|
|
2844
2844
|
}),
|
|
2845
|
+
...(input.RelatedContactId != null && { RelatedContactId: input.RelatedContactId }),
|
|
2845
2846
|
...(input.SupportedMessagingContentTypes != null && {
|
|
2846
2847
|
SupportedMessagingContentTypes: serializeAws_restJson1SupportedMessagingContentTypes(input.SupportedMessagingContentTypes, context),
|
|
2847
2848
|
}),
|
|
@@ -2711,6 +2711,7 @@ export const serializeAws_restJson1StartChatContactCommand = async (input, conte
|
|
|
2711
2711
|
...(input.PersistentChat != null && {
|
|
2712
2712
|
PersistentChat: serializeAws_restJson1PersistentChat(input.PersistentChat, context),
|
|
2713
2713
|
}),
|
|
2714
|
+
...(input.RelatedContactId != null && { RelatedContactId: input.RelatedContactId }),
|
|
2714
2715
|
...(input.SupportedMessagingContentTypes != null && {
|
|
2715
2716
|
SupportedMessagingContentTypes: serializeAws_restJson1SupportedMessagingContentTypes(input.SupportedMessagingContentTypes, context),
|
|
2716
2717
|
}),
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -879,12 +879,11 @@ export declare class Connect extends ConnectClient {
|
|
|
879
879
|
* <code>GetMetricDataV2</code> offers more features than <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html">GetMetricData</a>, the previous
|
|
880
880
|
* version of this API. It has new metrics, offers filtering at a metric level, and offers the
|
|
881
881
|
* ability to filter and group data by channels, queues, routing profiles, agents, and agent
|
|
882
|
-
* hierarchy levels. It can retrieve historical data for last
|
|
882
|
+
* hierarchy levels. It can retrieve historical data for the last 14 days, in 24-hour
|
|
883
883
|
* intervals.</p>
|
|
884
884
|
* <p>For a description of the historical metrics that are supported by
|
|
885
885
|
* <code>GetMetricDataV2</code> and <code>GetMetricData</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html">Historical metrics
|
|
886
|
-
* definitions</a> in the <i>Amazon Connect Administrator's Guide</i>.
|
|
887
|
-
* </p>
|
|
886
|
+
* definitions</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>
|
|
888
887
|
* <p>This API is not available in the Amazon Web Services GovCloud (US) Regions.</p>
|
|
889
888
|
*/
|
|
890
889
|
getMetricDataV2(args: GetMetricDataV2CommandInput, options?: __HttpHandlerOptions): Promise<GetMetricDataV2CommandOutput>;
|
|
@@ -27,6 +27,10 @@ export interface AssociateApprovedOriginCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { ConnectClient, AssociateApprovedOriginCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, AssociateApprovedOriginCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* Origin: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new AssociateApprovedOriginCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface AssociateBotCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { ConnectClient, AssociateBotCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, AssociateBotCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* LexBot: {
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* LexRegion: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* LexV2Bot: {
|
|
38
|
+
* AliasArn: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
31
41
|
* const command = new AssociateBotCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface AssociateDefaultVocabularyCommandOutput extends AssociateDefaul
|
|
|
27
27
|
* import { ConnectClient, AssociateDefaultVocabularyCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, AssociateDefaultVocabularyCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
|
|
33
|
+
* VocabularyId: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new AssociateDefaultVocabularyCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -32,6 +32,36 @@ export interface AssociateInstanceStorageConfigCommandOutput extends AssociateIn
|
|
|
32
32
|
* import { ConnectClient, AssociateInstanceStorageConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
33
|
* // const { ConnectClient, AssociateInstanceStorageConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
34
|
* const client = new ConnectClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* InstanceId: "STRING_VALUE", // required
|
|
37
|
+
* ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
|
|
38
|
+
* StorageConfig: {
|
|
39
|
+
* AssociationId: "STRING_VALUE",
|
|
40
|
+
* StorageType: "S3" || "KINESIS_VIDEO_STREAM" || "KINESIS_STREAM" || "KINESIS_FIREHOSE", // required
|
|
41
|
+
* S3Config: {
|
|
42
|
+
* BucketName: "STRING_VALUE", // required
|
|
43
|
+
* BucketPrefix: "STRING_VALUE", // required
|
|
44
|
+
* EncryptionConfig: {
|
|
45
|
+
* EncryptionType: "KMS", // required
|
|
46
|
+
* KeyId: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* KinesisVideoStreamConfig: {
|
|
50
|
+
* Prefix: "STRING_VALUE", // required
|
|
51
|
+
* RetentionPeriodHours: Number("int"), // required
|
|
52
|
+
* EncryptionConfig: {
|
|
53
|
+
* EncryptionType: "KMS", // required
|
|
54
|
+
* KeyId: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* KinesisStreamConfig: {
|
|
58
|
+
* StreamArn: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* KinesisFirehoseConfig: {
|
|
61
|
+
* FirehoseArn: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* };
|
|
35
65
|
* const command = new AssociateInstanceStorageConfigCommand(input);
|
|
36
66
|
* const response = await client.send(command);
|
|
37
67
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface AssociateLambdaFunctionCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { ConnectClient, AssociateLambdaFunctionCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, AssociateLambdaFunctionCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* FunctionArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new AssociateLambdaFunctionCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface AssociateLexBotCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { ConnectClient, AssociateLexBotCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, AssociateLexBotCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* LexBot: {
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* LexRegion: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
31
38
|
* const command = new AssociateLexBotCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -37,6 +37,11 @@ export interface AssociatePhoneNumberContactFlowCommandOutput extends __Metadata
|
|
|
37
37
|
* import { ConnectClient, AssociatePhoneNumberContactFlowCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
38
38
|
* // const { ConnectClient, AssociatePhoneNumberContactFlowCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
39
39
|
* const client = new ConnectClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* PhoneNumberId: "STRING_VALUE", // required
|
|
42
|
+
* InstanceId: "STRING_VALUE", // required
|
|
43
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
40
45
|
* const command = new AssociatePhoneNumberContactFlowCommand(input);
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface AssociateQueueQuickConnectsCommandOutput extends __MetadataBear
|
|
|
27
27
|
* import { ConnectClient, AssociateQueueQuickConnectsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, AssociateQueueQuickConnectsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* QueueId: "STRING_VALUE", // required
|
|
33
|
+
* QuickConnectIds: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
30
37
|
* const command = new AssociateQueueQuickConnectsCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface AssociateRoutingProfileQueuesCommandOutput extends __MetadataBe
|
|
|
26
26
|
* import { ConnectClient, AssociateRoutingProfileQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, AssociateRoutingProfileQueuesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* RoutingProfileId: "STRING_VALUE", // required
|
|
32
|
+
* QueueConfigs: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* QueueReference: {
|
|
35
|
+
* QueueId: "STRING_VALUE", // required
|
|
36
|
+
* Channel: "VOICE" || "CHAT" || "TASK", // required
|
|
37
|
+
* },
|
|
38
|
+
* Priority: Number("int"), // required
|
|
39
|
+
* Delay: Number("int"), // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
29
43
|
* const command = new AssociateRoutingProfileQueuesCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface AssociateSecurityKeyCommandOutput extends AssociateSecurityKeyR
|
|
|
27
27
|
* import { ConnectClient, AssociateSecurityKeyCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, AssociateSecurityKeyCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* Key: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new AssociateSecurityKeyCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -36,6 +36,15 @@ export interface ClaimPhoneNumberCommandOutput extends ClaimPhoneNumberResponse,
|
|
|
36
36
|
* import { ConnectClient, ClaimPhoneNumberCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
37
37
|
* // const { ConnectClient, ClaimPhoneNumberCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
38
38
|
* const client = new ConnectClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* TargetArn: "STRING_VALUE", // required
|
|
41
|
+
* PhoneNumber: "STRING_VALUE", // required
|
|
42
|
+
* PhoneNumberDescription: "STRING_VALUE",
|
|
43
|
+
* Tags: {
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ClientToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
39
48
|
* const command = new ClaimPhoneNumberCommand(input);
|
|
40
49
|
* const response = await client.send(command);
|
|
41
50
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface CreateAgentStatusCommandOutput extends CreateAgentStatusRespons
|
|
|
27
27
|
* import { ConnectClient, CreateAgentStatusCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, CreateAgentStatusCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* State: "ENABLED" || "DISABLED", // required
|
|
35
|
+
* DisplayOrder: Number("int"),
|
|
36
|
+
* Tags: {
|
|
37
|
+
* "<keys>": "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
30
40
|
* const command = new CreateAgentStatusCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface CreateContactFlowCommandOutput extends CreateContactFlowRespons
|
|
|
28
28
|
* import { ConnectClient, CreateContactFlowCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, CreateContactFlowCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* Type: "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER", // required
|
|
35
|
+
* Description: "STRING_VALUE",
|
|
36
|
+
* Content: "STRING_VALUE", // required
|
|
37
|
+
* Tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
31
41
|
* const command = new CreateContactFlowCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface CreateContactFlowModuleCommandOutput extends CreateContactFlowM
|
|
|
26
26
|
* import { ConnectClient, CreateContactFlowModuleCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, CreateContactFlowModuleCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* Content: "STRING_VALUE", // required
|
|
34
|
+
* Tags: {
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ClientToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new CreateContactFlowModuleCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -27,6 +27,28 @@ export interface CreateHoursOfOperationCommandOutput extends CreateHoursOfOperat
|
|
|
27
27
|
* import { ConnectClient, CreateHoursOfOperationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, CreateHoursOfOperationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* TimeZone: "STRING_VALUE", // required
|
|
35
|
+
* Config: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY", // required
|
|
38
|
+
* StartTime: {
|
|
39
|
+
* Hours: Number("int"), // required
|
|
40
|
+
* Minutes: Number("int"), // required
|
|
41
|
+
* },
|
|
42
|
+
* EndTime: {
|
|
43
|
+
* Hours: Number("int"), // required
|
|
44
|
+
* Minutes: Number("int"), // required
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* Tags: {
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
30
52
|
* const command = new CreateHoursOfOperationCommand(input);
|
|
31
53
|
* const response = await client.send(command);
|
|
32
54
|
* ```
|
|
@@ -32,6 +32,14 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __M
|
|
|
32
32
|
* import { ConnectClient, CreateInstanceCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
33
|
* // const { ConnectClient, CreateInstanceCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
34
|
* const client = new ConnectClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ClientToken: "STRING_VALUE",
|
|
37
|
+
* IdentityManagementType: "SAML" || "CONNECT_MANAGED" || "EXISTING_DIRECTORY", // required
|
|
38
|
+
* InstanceAlias: "STRING_VALUE",
|
|
39
|
+
* DirectoryId: "STRING_VALUE",
|
|
40
|
+
* InboundCallsEnabled: true || false, // required
|
|
41
|
+
* OutboundCallsEnabled: true || false, // required
|
|
42
|
+
* };
|
|
35
43
|
* const command = new CreateInstanceCommand(input);
|
|
36
44
|
* const response = await client.send(command);
|
|
37
45
|
* ```
|
|
@@ -27,6 +27,17 @@ export interface CreateIntegrationAssociationCommandOutput extends CreateIntegra
|
|
|
27
27
|
* import { ConnectClient, CreateIntegrationAssociationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, CreateIntegrationAssociationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "CASES_DOMAIN", // required
|
|
33
|
+
* IntegrationArn: "STRING_VALUE", // required
|
|
34
|
+
* SourceApplicationUrl: "STRING_VALUE",
|
|
35
|
+
* SourceApplicationName: "STRING_VALUE",
|
|
36
|
+
* SourceType: "SALESFORCE" || "ZENDESK",
|
|
37
|
+
* Tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
30
41
|
* const command = new CreateIntegrationAssociationCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -38,6 +38,24 @@ export interface CreateQueueCommandOutput extends CreateQueueResponse, __Metadat
|
|
|
38
38
|
* import { ConnectClient, CreateQueueCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
39
39
|
* // const { ConnectClient, CreateQueueCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
40
40
|
* const client = new ConnectClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* InstanceId: "STRING_VALUE", // required
|
|
43
|
+
* Name: "STRING_VALUE", // required
|
|
44
|
+
* Description: "STRING_VALUE",
|
|
45
|
+
* OutboundCallerConfig: {
|
|
46
|
+
* OutboundCallerIdName: "STRING_VALUE",
|
|
47
|
+
* OutboundCallerIdNumberId: "STRING_VALUE",
|
|
48
|
+
* OutboundFlowId: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* HoursOfOperationId: "STRING_VALUE", // required
|
|
51
|
+
* MaxContacts: Number("int"),
|
|
52
|
+
* QuickConnectIds: [
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* Tags: {
|
|
56
|
+
* "<keys>": "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* };
|
|
41
59
|
* const command = new CreateQueueCommand(input);
|
|
42
60
|
* const response = await client.send(command);
|
|
43
61
|
* ```
|
|
@@ -26,6 +26,28 @@ export interface CreateQuickConnectCommandOutput extends CreateQuickConnectRespo
|
|
|
26
26
|
* import { ConnectClient, CreateQuickConnectCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, CreateQuickConnectCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* QuickConnectConfig: {
|
|
34
|
+
* QuickConnectType: "USER" || "QUEUE" || "PHONE_NUMBER", // required
|
|
35
|
+
* UserConfig: {
|
|
36
|
+
* UserId: "STRING_VALUE", // required
|
|
37
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* QueueConfig: {
|
|
40
|
+
* QueueId: "STRING_VALUE", // required
|
|
41
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* PhoneConfig: {
|
|
44
|
+
* PhoneNumber: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* Tags: {
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
29
51
|
* const command = new CreateQuickConnectCommand(input);
|
|
30
52
|
* const response = await client.send(command);
|
|
31
53
|
* ```
|
|
@@ -26,6 +26,31 @@ export interface CreateRoutingProfileCommandOutput extends CreateRoutingProfileR
|
|
|
26
26
|
* import { ConnectClient, CreateRoutingProfileCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, CreateRoutingProfileCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* Description: "STRING_VALUE", // required
|
|
33
|
+
* DefaultOutboundQueueId: "STRING_VALUE", // required
|
|
34
|
+
* QueueConfigs: [
|
|
35
|
+
* {
|
|
36
|
+
* QueueReference: {
|
|
37
|
+
* QueueId: "STRING_VALUE", // required
|
|
38
|
+
* Channel: "VOICE" || "CHAT" || "TASK", // required
|
|
39
|
+
* },
|
|
40
|
+
* Priority: Number("int"), // required
|
|
41
|
+
* Delay: Number("int"), // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* MediaConcurrencies: [ // required
|
|
45
|
+
* {
|
|
46
|
+
* Channel: "VOICE" || "CHAT" || "TASK", // required
|
|
47
|
+
* Concurrency: Number("int"), // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* Tags: {
|
|
51
|
+
* "<keys>": "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* };
|
|
29
54
|
* const command = new CreateRoutingProfileCommand(input);
|
|
30
55
|
* const response = await client.send(command);
|
|
31
56
|
* ```
|
|
@@ -28,6 +28,51 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
28
28
|
* import { ConnectClient, CreateRuleCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, CreateRuleCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* TriggerEventSource: {
|
|
35
|
+
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate", // required
|
|
36
|
+
* IntegrationAssociationId: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* Function: "STRING_VALUE", // required
|
|
39
|
+
* Actions: [ // required
|
|
40
|
+
* {
|
|
41
|
+
* ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION", // required
|
|
42
|
+
* TaskAction: {
|
|
43
|
+
* Name: "STRING_VALUE", // required
|
|
44
|
+
* Description: "STRING_VALUE",
|
|
45
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
46
|
+
* References: {
|
|
47
|
+
* "<keys>": {
|
|
48
|
+
* Value: "STRING_VALUE", // required
|
|
49
|
+
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* EventBridgeAction: {
|
|
54
|
+
* Name: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* AssignContactCategoryAction: {},
|
|
57
|
+
* SendNotificationAction: {
|
|
58
|
+
* DeliveryMethod: "EMAIL", // required
|
|
59
|
+
* Subject: "STRING_VALUE",
|
|
60
|
+
* Content: "STRING_VALUE", // required
|
|
61
|
+
* ContentType: "PLAIN_TEXT", // required
|
|
62
|
+
* Recipient: {
|
|
63
|
+
* UserTags: {
|
|
64
|
+
* "<keys>": "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* UserIds: [
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* PublishStatus: "DRAFT" || "PUBLISHED", // required
|
|
74
|
+
* ClientToken: "STRING_VALUE",
|
|
75
|
+
* };
|
|
31
76
|
* const command = new CreateRuleCommand(input);
|
|
32
77
|
* const response = await client.send(command);
|
|
33
78
|
* ```
|
|
@@ -27,6 +27,23 @@ export interface CreateSecurityProfileCommandOutput extends CreateSecurityProfil
|
|
|
27
27
|
* import { ConnectClient, CreateSecurityProfileCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, CreateSecurityProfileCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* SecurityProfileName: "STRING_VALUE", // required
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* Permissions: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* InstanceId: "STRING_VALUE", // required
|
|
37
|
+
* Tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* AllowedAccessControlTags: {
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* TagRestrictedResources: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
30
47
|
* const command = new CreateSecurityProfileCommand(input);
|
|
31
48
|
* const response = await client.send(command);
|
|
32
49
|
* ```
|
|
@@ -26,6 +26,59 @@ export interface CreateTaskTemplateCommandOutput extends CreateTaskTemplateRespo
|
|
|
26
26
|
* import { ConnectClient, CreateTaskTemplateCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, CreateTaskTemplateCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* ContactFlowId: "STRING_VALUE",
|
|
34
|
+
* Constraints: {
|
|
35
|
+
* RequiredFields: [
|
|
36
|
+
* {
|
|
37
|
+
* Id: {
|
|
38
|
+
* Name: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* ReadOnlyFields: [
|
|
43
|
+
* {
|
|
44
|
+
* Id: {
|
|
45
|
+
* Name: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* InvisibleFields: [
|
|
50
|
+
* {
|
|
51
|
+
* Id: {
|
|
52
|
+
* Name: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* Defaults: {
|
|
58
|
+
* DefaultFieldValues: [
|
|
59
|
+
* {
|
|
60
|
+
* Id: {
|
|
61
|
+
* Name: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* DefaultValue: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* Status: "ACTIVE" || "INACTIVE",
|
|
68
|
+
* Fields: [ // required
|
|
69
|
+
* {
|
|
70
|
+
* Id: {
|
|
71
|
+
* Name: "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* Description: "STRING_VALUE",
|
|
74
|
+
* Type: "NAME" || "DESCRIPTION" || "SCHEDULED_TIME" || "QUICK_CONNECT" || "URL" || "NUMBER" || "TEXT" || "TEXT_AREA" || "DATE_TIME" || "BOOLEAN" || "SINGLE_SELECT" || "EMAIL",
|
|
75
|
+
* SingleSelectOptions: [
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* ClientToken: "STRING_VALUE",
|
|
81
|
+
* };
|
|
29
82
|
* const command = new CreateTaskTemplateCommand(input);
|
|
30
83
|
* const response = await client.send(command);
|
|
31
84
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface CreateTrafficDistributionGroupCommandOutput extends CreateTraff
|
|
|
28
28
|
* import { ConnectClient, CreateTrafficDistributionGroupCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, CreateTrafficDistributionGroupCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* InstanceId: "STRING_VALUE", // required
|
|
35
|
+
* ClientToken: "STRING_VALUE",
|
|
36
|
+
* Tags: {
|
|
37
|
+
* "<keys>": "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
31
40
|
* const command = new CreateTrafficDistributionGroupCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface CreateUseCaseCommandOutput extends CreateUseCaseResponse, __Met
|
|
|
26
26
|
* import { ConnectClient, CreateUseCaseCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, CreateUseCaseCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* IntegrationAssociationId: "STRING_VALUE", // required
|
|
32
|
+
* UseCaseType: "RULES_EVALUATION" || "CONNECT_CAMPAIGNS", // required
|
|
33
|
+
* Tags: {
|
|
34
|
+
* "<keys>": "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new CreateUseCaseCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -29,6 +29,33 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
|
|
|
29
29
|
* import { ConnectClient, CreateUserCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, CreateUserCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* Username: "STRING_VALUE", // required
|
|
34
|
+
* Password: "STRING_VALUE",
|
|
35
|
+
* IdentityInfo: {
|
|
36
|
+
* FirstName: "STRING_VALUE",
|
|
37
|
+
* LastName: "STRING_VALUE",
|
|
38
|
+
* Email: "STRING_VALUE",
|
|
39
|
+
* SecondaryEmail: "STRING_VALUE",
|
|
40
|
+
* Mobile: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* PhoneConfig: {
|
|
43
|
+
* PhoneType: "SOFT_PHONE" || "DESK_PHONE", // required
|
|
44
|
+
* AutoAccept: true || false,
|
|
45
|
+
* AfterContactWorkTimeLimit: Number("int"),
|
|
46
|
+
* DeskPhoneNumber: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* DirectoryUserId: "STRING_VALUE",
|
|
49
|
+
* SecurityProfileIds: [ // required
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* RoutingProfileId: "STRING_VALUE", // required
|
|
53
|
+
* HierarchyGroupId: "STRING_VALUE",
|
|
54
|
+
* InstanceId: "STRING_VALUE", // required
|
|
55
|
+
* Tags: {
|
|
56
|
+
* "<keys>": "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* };
|
|
32
59
|
* const command = new CreateUserCommand(input);
|
|
33
60
|
* const response = await client.send(command);
|
|
34
61
|
* ```
|