@aws-sdk/client-connect 3.299.0 → 3.301.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 +51 -0
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +49 -0
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +49 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +57 -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
|
@@ -26,6 +26,13 @@ export interface ListTaskTemplatesCommandOutput extends ListTaskTemplatesRespons
|
|
|
26
26
|
* import { ConnectClient, ListTaskTemplatesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, ListTaskTemplatesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = { // ListTaskTemplatesRequest
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* Status: "ACTIVE" || "INACTIVE",
|
|
34
|
+
* Name: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new ListTaskTemplatesCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListTrafficDistributionGroupsCommandOutput extends ListTrafficD
|
|
|
26
26
|
* import { ConnectClient, ListTrafficDistributionGroupsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, ListTrafficDistributionGroupsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = { // ListTrafficDistributionGroupsRequest
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* InstanceId: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTrafficDistributionGroupsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListUseCasesCommandOutput extends ListUseCasesResponse, __Metad
|
|
|
26
26
|
* import { ConnectClient, ListUseCasesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, ListUseCasesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = { // ListUseCasesRequest
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* IntegrationAssociationId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListUseCasesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListUserHierarchyGroupsCommandOutput extends ListUserHierarchyG
|
|
|
29
29
|
* import { ConnectClient, ListUserHierarchyGroupsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, ListUserHierarchyGroupsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = { // ListUserHierarchyGroupsRequest
|
|
33
|
+
* InstanceId: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListUserHierarchyGroupsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
|
|
|
27
27
|
* import { ConnectClient, ListUsersCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListUsersCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = { // ListUsersRequest
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListUsersCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface MonitorContactCommandOutput extends MonitorContactResponse, __M
|
|
|
28
28
|
* import { ConnectClient, MonitorContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, MonitorContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = { // MonitorContactRequest
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* ContactId: "STRING_VALUE", // required
|
|
34
|
+
* UserId: "STRING_VALUE", // required
|
|
35
|
+
* AllowedMonitorCapabilities: [ // AllowedMonitorCapabilities
|
|
36
|
+
* "SILENT_MONITOR" || "BARGE",
|
|
37
|
+
* ],
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
31
40
|
* const command = new MonitorContactCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface PutUserStatusCommandOutput extends PutUserStatusResponse, __Met
|
|
|
29
29
|
* import { ConnectClient, PutUserStatusCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, PutUserStatusCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = { // PutUserStatusRequest
|
|
33
|
+
* UserId: "STRING_VALUE", // required
|
|
34
|
+
* InstanceId: "STRING_VALUE", // required
|
|
35
|
+
* AgentStatusId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
32
37
|
* const command = new PutUserStatusCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface ReleasePhoneNumberCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* import { ConnectClient, ReleasePhoneNumberCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
35
35
|
* // const { ConnectClient, ReleasePhoneNumberCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
36
36
|
* const client = new ConnectClient(config);
|
|
37
|
+
* const input = { // ReleasePhoneNumberRequest
|
|
38
|
+
* PhoneNumberId: "STRING_VALUE", // required
|
|
39
|
+
* ClientToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
37
41
|
* const command = new ReleasePhoneNumberCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface ReplicateInstanceCommandOutput extends ReplicateInstanceRespons
|
|
|
29
29
|
* import { ConnectClient, ReplicateInstanceCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, ReplicateInstanceCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = { // ReplicateInstanceRequest
|
|
33
|
+
* InstanceId: "STRING_VALUE", // required
|
|
34
|
+
* ReplicaRegion: "STRING_VALUE", // required
|
|
35
|
+
* ClientToken: "STRING_VALUE",
|
|
36
|
+
* ReplicaAlias: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
32
38
|
* const command = new ReplicateInstanceCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ResumeContactRecordingCommandOutput extends ResumeContactRecord
|
|
|
28
28
|
* import { ConnectClient, ResumeContactRecordingCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, ResumeContactRecordingCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = { // ResumeContactRecordingRequest
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* ContactId: "STRING_VALUE", // required
|
|
34
|
+
* InitialContactId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ResumeContactRecordingCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface SearchAvailablePhoneNumbersCommandOutput extends SearchAvailabl
|
|
|
28
28
|
* import { ConnectClient, SearchAvailablePhoneNumbersCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, SearchAvailablePhoneNumbersCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = { // SearchAvailablePhoneNumbersRequest
|
|
32
|
+
* TargetArn: "STRING_VALUE", // required
|
|
33
|
+
* PhoneNumberCountryCode: "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required
|
|
34
|
+
* PhoneNumberType: "TOLL_FREE" || "DID", // required
|
|
35
|
+
* PhoneNumberPrefix: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
31
39
|
* const command = new SearchAvailablePhoneNumbersCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -27,6 +27,57 @@ export interface SearchQueuesCommandOutput extends SearchQueuesResponse, __Metad
|
|
|
27
27
|
* import { ConnectClient, SearchQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, SearchQueuesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = { // SearchQueuesRequest
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* SearchFilter: { // QueueSearchFilter
|
|
35
|
+
* TagFilter: { // ControlPlaneTagFilter
|
|
36
|
+
* OrConditions: [ // TagOrConditionList
|
|
37
|
+
* [ // TagAndConditionList
|
|
38
|
+
* { // TagCondition
|
|
39
|
+
* TagKey: "STRING_VALUE",
|
|
40
|
+
* TagValue: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* ],
|
|
44
|
+
* AndConditions: [
|
|
45
|
+
* {
|
|
46
|
+
* TagKey: "STRING_VALUE",
|
|
47
|
+
* TagValue: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* TagCondition: "<TagCondition>",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* SearchCriteria: { // QueueSearchCriteria
|
|
54
|
+
* OrConditions: [ // QueueSearchConditionList
|
|
55
|
+
* {
|
|
56
|
+
* OrConditions: [
|
|
57
|
+
* "<QueueSearchCriteria>",
|
|
58
|
+
* ],
|
|
59
|
+
* AndConditions: [
|
|
60
|
+
* "<QueueSearchCriteria>",
|
|
61
|
+
* ],
|
|
62
|
+
* StringCondition: { // StringCondition
|
|
63
|
+
* FieldName: "STRING_VALUE",
|
|
64
|
+
* Value: "STRING_VALUE",
|
|
65
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
66
|
+
* },
|
|
67
|
+
* QueueTypeCondition: "STANDARD",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* AndConditions: [
|
|
71
|
+
* "<QueueSearchCriteria>",
|
|
72
|
+
* ],
|
|
73
|
+
* StringCondition: {
|
|
74
|
+
* FieldName: "STRING_VALUE",
|
|
75
|
+
* Value: "STRING_VALUE",
|
|
76
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
77
|
+
* },
|
|
78
|
+
* QueueTypeCondition: "STANDARD",
|
|
79
|
+
* },
|
|
80
|
+
* };
|
|
30
81
|
* const command = new SearchQueuesCommand(input);
|
|
31
82
|
* const response = await client.send(command);
|
|
32
83
|
* ```
|
|
@@ -27,6 +27,55 @@ export interface SearchRoutingProfilesCommandOutput extends SearchRoutingProfile
|
|
|
27
27
|
* import { ConnectClient, SearchRoutingProfilesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, SearchRoutingProfilesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = { // SearchRoutingProfilesRequest
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* SearchFilter: { // RoutingProfileSearchFilter
|
|
35
|
+
* TagFilter: { // ControlPlaneTagFilter
|
|
36
|
+
* OrConditions: [ // TagOrConditionList
|
|
37
|
+
* [ // TagAndConditionList
|
|
38
|
+
* { // TagCondition
|
|
39
|
+
* TagKey: "STRING_VALUE",
|
|
40
|
+
* TagValue: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* ],
|
|
44
|
+
* AndConditions: [
|
|
45
|
+
* {
|
|
46
|
+
* TagKey: "STRING_VALUE",
|
|
47
|
+
* TagValue: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* TagCondition: "<TagCondition>",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* SearchCriteria: { // RoutingProfileSearchCriteria
|
|
54
|
+
* OrConditions: [ // RoutingProfileSearchConditionList
|
|
55
|
+
* {
|
|
56
|
+
* OrConditions: [
|
|
57
|
+
* "<RoutingProfileSearchCriteria>",
|
|
58
|
+
* ],
|
|
59
|
+
* AndConditions: [
|
|
60
|
+
* "<RoutingProfileSearchCriteria>",
|
|
61
|
+
* ],
|
|
62
|
+
* StringCondition: { // StringCondition
|
|
63
|
+
* FieldName: "STRING_VALUE",
|
|
64
|
+
* Value: "STRING_VALUE",
|
|
65
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* AndConditions: [
|
|
70
|
+
* "<RoutingProfileSearchCriteria>",
|
|
71
|
+
* ],
|
|
72
|
+
* StringCondition: {
|
|
73
|
+
* FieldName: "STRING_VALUE",
|
|
74
|
+
* Value: "STRING_VALUE",
|
|
75
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* };
|
|
30
79
|
* const command = new SearchRoutingProfilesCommand(input);
|
|
31
80
|
* const response = await client.send(command);
|
|
32
81
|
* ```
|
|
@@ -28,6 +28,55 @@ export interface SearchSecurityProfilesCommandOutput extends SearchSecurityProfi
|
|
|
28
28
|
* import { ConnectClient, SearchSecurityProfilesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, SearchSecurityProfilesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = { // SearchSecurityProfilesRequest
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* SearchCriteria: { // SecurityProfileSearchCriteria
|
|
36
|
+
* OrConditions: [ // SecurityProfileSearchConditionList
|
|
37
|
+
* {
|
|
38
|
+
* OrConditions: [
|
|
39
|
+
* "<SecurityProfileSearchCriteria>",
|
|
40
|
+
* ],
|
|
41
|
+
* AndConditions: [
|
|
42
|
+
* "<SecurityProfileSearchCriteria>",
|
|
43
|
+
* ],
|
|
44
|
+
* StringCondition: { // StringCondition
|
|
45
|
+
* FieldName: "STRING_VALUE",
|
|
46
|
+
* Value: "STRING_VALUE",
|
|
47
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* AndConditions: [
|
|
52
|
+
* "<SecurityProfileSearchCriteria>",
|
|
53
|
+
* ],
|
|
54
|
+
* StringCondition: {
|
|
55
|
+
* FieldName: "STRING_VALUE",
|
|
56
|
+
* Value: "STRING_VALUE",
|
|
57
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* SearchFilter: { // SecurityProfilesSearchFilter
|
|
61
|
+
* TagFilter: { // ControlPlaneTagFilter
|
|
62
|
+
* OrConditions: [ // TagOrConditionList
|
|
63
|
+
* [ // TagAndConditionList
|
|
64
|
+
* { // TagCondition
|
|
65
|
+
* TagKey: "STRING_VALUE",
|
|
66
|
+
* TagValue: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* ],
|
|
70
|
+
* AndConditions: [
|
|
71
|
+
* {
|
|
72
|
+
* TagKey: "STRING_VALUE",
|
|
73
|
+
* TagValue: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* TagCondition: "<TagCondition>",
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* };
|
|
31
80
|
* const command = new SearchSecurityProfilesCommand(input);
|
|
32
81
|
* const response = await client.send(command);
|
|
33
82
|
* ```
|
|
@@ -30,6 +30,63 @@ export interface SearchUsersCommandOutput extends SearchUsersResponse, __Metadat
|
|
|
30
30
|
* import { ConnectClient, SearchUsersCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
31
31
|
* // const { ConnectClient, SearchUsersCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
32
32
|
* const client = new ConnectClient(config);
|
|
33
|
+
* const input = { // SearchUsersRequest
|
|
34
|
+
* InstanceId: "STRING_VALUE",
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* SearchFilter: { // UserSearchFilter
|
|
38
|
+
* TagFilter: { // ControlPlaneTagFilter
|
|
39
|
+
* OrConditions: [ // TagOrConditionList
|
|
40
|
+
* [ // TagAndConditionList
|
|
41
|
+
* { // TagCondition
|
|
42
|
+
* TagKey: "STRING_VALUE",
|
|
43
|
+
* TagValue: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* ],
|
|
47
|
+
* AndConditions: [
|
|
48
|
+
* {
|
|
49
|
+
* TagKey: "STRING_VALUE",
|
|
50
|
+
* TagValue: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* TagCondition: "<TagCondition>",
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* SearchCriteria: { // UserSearchCriteria
|
|
57
|
+
* OrConditions: [ // UserSearchConditionList
|
|
58
|
+
* {
|
|
59
|
+
* OrConditions: [
|
|
60
|
+
* "<UserSearchCriteria>",
|
|
61
|
+
* ],
|
|
62
|
+
* AndConditions: [
|
|
63
|
+
* "<UserSearchCriteria>",
|
|
64
|
+
* ],
|
|
65
|
+
* StringCondition: { // StringCondition
|
|
66
|
+
* FieldName: "STRING_VALUE",
|
|
67
|
+
* Value: "STRING_VALUE",
|
|
68
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
69
|
+
* },
|
|
70
|
+
* HierarchyGroupCondition: { // HierarchyGroupCondition
|
|
71
|
+
* Value: "STRING_VALUE",
|
|
72
|
+
* HierarchyGroupMatchType: "EXACT" || "WITH_CHILD_GROUPS",
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* AndConditions: [
|
|
77
|
+
* "<UserSearchCriteria>",
|
|
78
|
+
* ],
|
|
79
|
+
* StringCondition: {
|
|
80
|
+
* FieldName: "STRING_VALUE",
|
|
81
|
+
* Value: "STRING_VALUE",
|
|
82
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
83
|
+
* },
|
|
84
|
+
* HierarchyGroupCondition: {
|
|
85
|
+
* Value: "STRING_VALUE",
|
|
86
|
+
* HierarchyGroupMatchType: "EXACT" || "WITH_CHILD_GROUPS",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* };
|
|
33
90
|
* const command = new SearchUsersCommand(input);
|
|
34
91
|
* const response = await client.send(command);
|
|
35
92
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface SearchVocabulariesCommandOutput extends SearchVocabulariesRespo
|
|
|
27
27
|
* import { ConnectClient, SearchVocabulariesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, SearchVocabulariesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = { // SearchVocabulariesRequest
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS",
|
|
35
|
+
* NameStartsWith: "STRING_VALUE",
|
|
36
|
+
* 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",
|
|
37
|
+
* };
|
|
30
38
|
* const command = new SearchVocabulariesCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -46,6 +46,30 @@ export interface StartChatContactCommandOutput extends StartChatContactResponse,
|
|
|
46
46
|
* import { ConnectClient, StartChatContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
47
47
|
* // const { ConnectClient, StartChatContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
48
48
|
* const client = new ConnectClient(config);
|
|
49
|
+
* const input = { // StartChatContactRequest
|
|
50
|
+
* InstanceId: "STRING_VALUE", // required
|
|
51
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
52
|
+
* Attributes: { // Attributes
|
|
53
|
+
* "<keys>": "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* ParticipantDetails: { // ParticipantDetails
|
|
56
|
+
* DisplayName: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* InitialMessage: { // ChatMessage
|
|
59
|
+
* ContentType: "STRING_VALUE", // required
|
|
60
|
+
* Content: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* ClientToken: "STRING_VALUE",
|
|
63
|
+
* ChatDurationInMinutes: Number("int"),
|
|
64
|
+
* SupportedMessagingContentTypes: [ // SupportedMessagingContentTypes
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* PersistentChat: { // PersistentChat
|
|
68
|
+
* RehydrationType: "ENTIRE_PAST_SESSION" || "FROM_SEGMENT",
|
|
69
|
+
* SourceContactId: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* RelatedContactId: "STRING_VALUE",
|
|
72
|
+
* };
|
|
49
73
|
* const command = new StartChatContactCommand(input);
|
|
50
74
|
* const response = await client.send(command);
|
|
51
75
|
* ```
|
|
@@ -44,6 +44,14 @@ export interface StartContactRecordingCommandOutput extends StartContactRecordin
|
|
|
44
44
|
* import { ConnectClient, StartContactRecordingCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
45
45
|
* // const { ConnectClient, StartContactRecordingCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
46
46
|
* const client = new ConnectClient(config);
|
|
47
|
+
* const input = { // StartContactRecordingRequest
|
|
48
|
+
* InstanceId: "STRING_VALUE", // required
|
|
49
|
+
* ContactId: "STRING_VALUE", // required
|
|
50
|
+
* InitialContactId: "STRING_VALUE", // required
|
|
51
|
+
* VoiceRecordingConfiguration: { // VoiceRecordingConfiguration
|
|
52
|
+
* VoiceRecordingTrack: "FROM_AGENT" || "TO_AGENT" || "ALL",
|
|
53
|
+
* },
|
|
54
|
+
* };
|
|
47
55
|
* const command = new StartContactRecordingCommand(input);
|
|
48
56
|
* const response = await client.send(command);
|
|
49
57
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface StartContactStreamingCommandOutput extends StartContactStreamin
|
|
|
28
28
|
* import { ConnectClient, StartContactStreamingCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, StartContactStreamingCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = { // StartContactStreamingRequest
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* ContactId: "STRING_VALUE", // required
|
|
34
|
+
* ChatStreamingConfiguration: { // ChatStreamingConfiguration
|
|
35
|
+
* StreamingEndpointArn: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* ClientToken: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
31
39
|
* const command = new StartContactStreamingCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -43,6 +43,23 @@ export interface StartOutboundVoiceContactCommandOutput extends StartOutboundVoi
|
|
|
43
43
|
* import { ConnectClient, StartOutboundVoiceContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
44
44
|
* // const { ConnectClient, StartOutboundVoiceContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
45
45
|
* const client = new ConnectClient(config);
|
|
46
|
+
* const input = { // StartOutboundVoiceContactRequest
|
|
47
|
+
* DestinationPhoneNumber: "STRING_VALUE", // required
|
|
48
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
49
|
+
* InstanceId: "STRING_VALUE", // required
|
|
50
|
+
* ClientToken: "STRING_VALUE",
|
|
51
|
+
* SourcePhoneNumber: "STRING_VALUE",
|
|
52
|
+
* QueueId: "STRING_VALUE",
|
|
53
|
+
* Attributes: { // Attributes
|
|
54
|
+
* "<keys>": "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* AnswerMachineDetectionConfig: { // AnswerMachineDetectionConfig
|
|
57
|
+
* EnableAnswerMachineDetection: true || false,
|
|
58
|
+
* AwaitAnswerMachinePrompt: true || false,
|
|
59
|
+
* },
|
|
60
|
+
* CampaignId: "STRING_VALUE",
|
|
61
|
+
* TrafficType: "GENERAL" || "CAMPAIGN",
|
|
62
|
+
* };
|
|
46
63
|
* const command = new StartOutboundVoiceContactCommand(input);
|
|
47
64
|
* const response = await client.send(command);
|
|
48
65
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface StartTaskContactCommandOutput extends StartTaskContactResponse,
|
|
|
26
26
|
* import { ConnectClient, StartTaskContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, StartTaskContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = { // StartTaskContactRequest
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* PreviousContactId: "STRING_VALUE",
|
|
32
|
+
* ContactFlowId: "STRING_VALUE",
|
|
33
|
+
* Attributes: { // Attributes
|
|
34
|
+
* "<keys>": "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* Name: "STRING_VALUE", // required
|
|
37
|
+
* References: { // ContactReferences
|
|
38
|
+
* "<keys>": { // Reference
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* Description: "STRING_VALUE",
|
|
44
|
+
* ClientToken: "STRING_VALUE",
|
|
45
|
+
* ScheduledTime: new Date("TIMESTAMP"),
|
|
46
|
+
* TaskTemplateId: "STRING_VALUE",
|
|
47
|
+
* QuickConnectId: "STRING_VALUE",
|
|
48
|
+
* RelatedContactId: "STRING_VALUE",
|
|
49
|
+
* };
|
|
29
50
|
* const command = new StartTaskContactCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|
|
@@ -38,6 +38,10 @@ export interface StopContactCommandOutput extends StopContactResponse, __Metadat
|
|
|
38
38
|
* import { ConnectClient, StopContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
39
39
|
* // const { ConnectClient, StopContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
40
40
|
* const client = new ConnectClient(config);
|
|
41
|
+
* const input = { // StopContactRequest
|
|
42
|
+
* ContactId: "STRING_VALUE", // required
|
|
43
|
+
* InstanceId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
41
45
|
* const command = new StopContactCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
43
47
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface StopContactRecordingCommandOutput extends StopContactRecordingR
|
|
|
31
31
|
* import { ConnectClient, StopContactRecordingCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
32
32
|
* // const { ConnectClient, StopContactRecordingCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
33
33
|
* const client = new ConnectClient(config);
|
|
34
|
+
* const input = { // StopContactRecordingRequest
|
|
35
|
+
* InstanceId: "STRING_VALUE", // required
|
|
36
|
+
* ContactId: "STRING_VALUE", // required
|
|
37
|
+
* InitialContactId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
34
39
|
* const command = new StopContactRecordingCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface StopContactStreamingCommandOutput extends StopContactStreamingR
|
|
|
28
28
|
* import { ConnectClient, StopContactStreamingCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, StopContactStreamingCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = { // StopContactStreamingRequest
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* ContactId: "STRING_VALUE", // required
|
|
34
|
+
* StreamingId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new StopContactStreamingCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface SuspendContactRecordingCommandOutput extends SuspendContactReco
|
|
|
31
31
|
* import { ConnectClient, SuspendContactRecordingCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
32
32
|
* // const { ConnectClient, SuspendContactRecordingCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
33
33
|
* const client = new ConnectClient(config);
|
|
34
|
+
* const input = { // SuspendContactRecordingRequest
|
|
35
|
+
* InstanceId: "STRING_VALUE", // required
|
|
36
|
+
* ContactId: "STRING_VALUE", // required
|
|
37
|
+
* InitialContactId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
34
39
|
* const command = new SuspendContactRecordingCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -32,6 +32,12 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* import { ConnectClient, TagResourceCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
33
|
* // const { ConnectClient, TagResourceCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
34
|
* const client = new ConnectClient(config);
|
|
35
|
+
* const input = { // TagResourceRequest
|
|
36
|
+
* resourceArn: "STRING_VALUE", // required
|
|
37
|
+
* tags: { // TagMap // required
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
35
41
|
* const command = new TagResourceCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -49,6 +49,14 @@ export interface TransferContactCommandOutput extends TransferContactResponse, _
|
|
|
49
49
|
* import { ConnectClient, TransferContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
50
50
|
* // const { ConnectClient, TransferContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
51
51
|
* const client = new ConnectClient(config);
|
|
52
|
+
* const input = { // TransferContactRequest
|
|
53
|
+
* InstanceId: "STRING_VALUE", // required
|
|
54
|
+
* ContactId: "STRING_VALUE", // required
|
|
55
|
+
* QueueId: "STRING_VALUE",
|
|
56
|
+
* UserId: "STRING_VALUE",
|
|
57
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
58
|
+
* ClientToken: "STRING_VALUE",
|
|
59
|
+
* };
|
|
52
60
|
* const command = new TransferContactCommand(input);
|
|
53
61
|
* const response = await client.send(command);
|
|
54
62
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ConnectClient, UntagResourceCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UntagResourceCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface UpdateAgentStatusCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { ConnectClient, UpdateAgentStatusCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateAgentStatusCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = { // UpdateAgentStatusRequest
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* AgentStatusId: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* State: "ENABLED" || "DISABLED",
|
|
36
|
+
* DisplayOrder: Number("int"),
|
|
37
|
+
* ResetOrderNumber: true || false,
|
|
38
|
+
* };
|
|
30
39
|
* const command = new UpdateAgentStatusCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|