@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
|
@@ -28,6 +28,37 @@ export interface GetCurrentMetricDataCommandOutput extends GetCurrentMetricDataR
|
|
|
28
28
|
* import { ConnectClient, GetCurrentMetricDataCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, GetCurrentMetricDataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* Filters: {
|
|
34
|
+
* Queues: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* Channels: [
|
|
38
|
+
* "VOICE" || "CHAT" || "TASK",
|
|
39
|
+
* ],
|
|
40
|
+
* RoutingProfiles: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* Groupings: [
|
|
45
|
+
* "QUEUE" || "CHANNEL" || "ROUTING_PROFILE",
|
|
46
|
+
* ],
|
|
47
|
+
* CurrentMetrics: [ // required
|
|
48
|
+
* {
|
|
49
|
+
* Name: "AGENTS_ONLINE" || "AGENTS_AVAILABLE" || "AGENTS_ON_CALL" || "AGENTS_NON_PRODUCTIVE" || "AGENTS_AFTER_CONTACT_WORK" || "AGENTS_ERROR" || "AGENTS_STAFFED" || "CONTACTS_IN_QUEUE" || "OLDEST_CONTACT_AGE" || "CONTACTS_SCHEDULED" || "AGENTS_ON_CONTACT" || "SLOTS_ACTIVE" || "SLOTS_AVAILABLE",
|
|
50
|
+
* Unit: "SECONDS" || "COUNT" || "PERCENT",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* NextToken: "STRING_VALUE",
|
|
54
|
+
* MaxResults: Number("int"),
|
|
55
|
+
* SortCriteria: [
|
|
56
|
+
* {
|
|
57
|
+
* SortByMetric: "AGENTS_ONLINE" || "AGENTS_AVAILABLE" || "AGENTS_ON_CALL" || "AGENTS_NON_PRODUCTIVE" || "AGENTS_AFTER_CONTACT_WORK" || "AGENTS_ERROR" || "AGENTS_STAFFED" || "CONTACTS_IN_QUEUE" || "OLDEST_CONTACT_AGE" || "CONTACTS_SCHEDULED" || "AGENTS_ON_CONTACT" || "SLOTS_ACTIVE" || "SLOTS_AVAILABLE",
|
|
58
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* };
|
|
31
62
|
* const command = new GetCurrentMetricDataCommand(input);
|
|
32
63
|
* const response = await client.send(command);
|
|
33
64
|
* ```
|
|
@@ -26,6 +26,30 @@ export interface GetCurrentUserDataCommandOutput extends GetCurrentUserDataRespo
|
|
|
26
26
|
* import { ConnectClient, GetCurrentUserDataCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, GetCurrentUserDataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* Filters: {
|
|
32
|
+
* Queues: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* ContactFilter: {
|
|
36
|
+
* ContactStates: [
|
|
37
|
+
* "INCOMING" || "PENDING" || "CONNECTING" || "CONNECTED" || "CONNECTED_ONHOLD" || "MISSED" || "ERROR" || "ENDED" || "REJECTED",
|
|
38
|
+
* ],
|
|
39
|
+
* },
|
|
40
|
+
* RoutingProfiles: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* Agents: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* UserHierarchyGroups: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* },
|
|
50
|
+
* NextToken: "STRING_VALUE",
|
|
51
|
+
* MaxResults: Number("int"),
|
|
52
|
+
* };
|
|
29
53
|
* const command = new GetCurrentUserDataCommand(input);
|
|
30
54
|
* const response = await client.send(command);
|
|
31
55
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
|
|
|
34
34
|
* import { ConnectClient, GetFederationTokenCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
35
35
|
* // const { ConnectClient, GetFederationTokenCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
36
36
|
* const client = new ConnectClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* InstanceId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetFederationTokenCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -28,6 +28,38 @@ export interface GetMetricDataCommandOutput extends GetMetricDataResponse, __Met
|
|
|
28
28
|
* import { ConnectClient, GetMetricDataCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, GetMetricDataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* StartTime: new Date("TIMESTAMP"), // required
|
|
34
|
+
* EndTime: new Date("TIMESTAMP"), // required
|
|
35
|
+
* Filters: {
|
|
36
|
+
* Queues: [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* Channels: [
|
|
40
|
+
* "VOICE" || "CHAT" || "TASK",
|
|
41
|
+
* ],
|
|
42
|
+
* RoutingProfiles: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* Groupings: [
|
|
47
|
+
* "QUEUE" || "CHANNEL" || "ROUTING_PROFILE",
|
|
48
|
+
* ],
|
|
49
|
+
* HistoricalMetrics: [ // required
|
|
50
|
+
* {
|
|
51
|
+
* Name: "CONTACTS_QUEUED" || "CONTACTS_HANDLED" || "CONTACTS_ABANDONED" || "CONTACTS_CONSULTED" || "CONTACTS_AGENT_HUNG_UP_FIRST" || "CONTACTS_HANDLED_INCOMING" || "CONTACTS_HANDLED_OUTBOUND" || "CONTACTS_HOLD_ABANDONS" || "CONTACTS_TRANSFERRED_IN" || "CONTACTS_TRANSFERRED_OUT" || "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" || "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" || "CONTACTS_MISSED" || "CALLBACK_CONTACTS_HANDLED" || "API_CONTACTS_HANDLED" || "OCCUPANCY" || "HANDLE_TIME" || "AFTER_CONTACT_WORK_TIME" || "QUEUED_TIME" || "ABANDON_TIME" || "QUEUE_ANSWER_TIME" || "HOLD_TIME" || "INTERACTION_TIME" || "INTERACTION_AND_HOLD_TIME" || "SERVICE_LEVEL",
|
|
52
|
+
* Threshold: {
|
|
53
|
+
* Comparison: "LT",
|
|
54
|
+
* ThresholdValue: Number("double"),
|
|
55
|
+
* },
|
|
56
|
+
* Statistic: "SUM" || "MAX" || "AVG",
|
|
57
|
+
* Unit: "SECONDS" || "COUNT" || "PERCENT",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* NextToken: "STRING_VALUE",
|
|
61
|
+
* MaxResults: Number("int"),
|
|
62
|
+
* };
|
|
31
63
|
* const command = new GetMetricDataCommand(input);
|
|
32
64
|
* const response = await client.send(command);
|
|
33
65
|
* ```
|
|
@@ -24,12 +24,11 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
|
|
|
24
24
|
* <code>GetMetricDataV2</code> offers more features than <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html">GetMetricData</a>, the previous
|
|
25
25
|
* version of this API. It has new metrics, offers filtering at a metric level, and offers the
|
|
26
26
|
* ability to filter and group data by channels, queues, routing profiles, agents, and agent
|
|
27
|
-
* hierarchy levels. It can retrieve historical data for last
|
|
27
|
+
* hierarchy levels. It can retrieve historical data for the last 14 days, in 24-hour
|
|
28
28
|
* intervals.</p>
|
|
29
29
|
* <p>For a description of the historical metrics that are supported by
|
|
30
30
|
* <code>GetMetricDataV2</code> and <code>GetMetricData</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html">Historical metrics
|
|
31
|
-
* definitions</a> in the <i>Amazon Connect Administrator's Guide</i>.
|
|
32
|
-
* </p>
|
|
31
|
+
* definitions</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>
|
|
33
32
|
* <p>This API is not available in the Amazon Web Services GovCloud (US) Regions.</p>
|
|
34
33
|
* @example
|
|
35
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -37,6 +36,43 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
|
|
|
37
36
|
* import { ConnectClient, GetMetricDataV2Command } from "@aws-sdk/client-connect"; // ES Modules import
|
|
38
37
|
* // const { ConnectClient, GetMetricDataV2Command } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
39
38
|
* const client = new ConnectClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* StartTime: new Date("TIMESTAMP"), // required
|
|
42
|
+
* EndTime: new Date("TIMESTAMP"), // required
|
|
43
|
+
* Filters: [ // required
|
|
44
|
+
* {
|
|
45
|
+
* FilterKey: "STRING_VALUE",
|
|
46
|
+
* FilterValues: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* Groupings: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* Metrics: [ // required
|
|
55
|
+
* {
|
|
56
|
+
* Name: "STRING_VALUE",
|
|
57
|
+
* Threshold: [
|
|
58
|
+
* {
|
|
59
|
+
* Comparison: "STRING_VALUE",
|
|
60
|
+
* ThresholdValue: Number("double"),
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* MetricFilters: [
|
|
64
|
+
* {
|
|
65
|
+
* MetricFilterKey: "STRING_VALUE",
|
|
66
|
+
* MetricFilterValues: [
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* NextToken: "STRING_VALUE",
|
|
74
|
+
* MaxResults: Number("int"),
|
|
75
|
+
* };
|
|
40
76
|
* const command = new GetMetricDataV2Command(input);
|
|
41
77
|
* const response = await client.send(command);
|
|
42
78
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface GetTaskTemplateCommandOutput extends GetTaskTemplateResponse, _
|
|
|
27
27
|
* import { ConnectClient, GetTaskTemplateCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, GetTaskTemplateCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* TaskTemplateId: "STRING_VALUE", // required
|
|
33
|
+
* SnapshotVersion: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new GetTaskTemplateCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetTrafficDistributionCommandOutput extends GetTrafficDistribut
|
|
|
26
26
|
* import { ConnectClient, GetTrafficDistributionCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, GetTrafficDistributionCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetTrafficDistributionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface ListAgentStatusesCommandOutput extends ListAgentStatusResponse,
|
|
|
27
27
|
* import { ConnectClient, ListAgentStatusesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListAgentStatusesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* AgentStatusTypes: [
|
|
35
|
+
* "ROUTABLE" || "CUSTOM" || "OFFLINE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
30
38
|
* const command = new ListAgentStatusesCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListApprovedOriginsCommandOutput extends ListApprovedOriginsRes
|
|
|
27
27
|
* import { ConnectClient, ListApprovedOriginsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListApprovedOriginsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListApprovedOriginsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListBotsCommandOutput extends ListBotsResponse, __MetadataBeare
|
|
|
27
27
|
* import { ConnectClient, ListBotsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListBotsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* LexVersion: "V1" || "V2", // required
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListBotsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListContactFlowModulesCommandOutput extends ListContactFlowModu
|
|
|
27
27
|
* import { ConnectClient, ListContactFlowModulesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListContactFlowModulesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* ContactFlowModuleState: "ACTIVE" || "ARCHIVED",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListContactFlowModulesCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface ListContactFlowsCommandOutput extends ListContactFlowsResponse,
|
|
|
30
30
|
* import { ConnectClient, ListContactFlowsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
31
31
|
* // const { ConnectClient, ListContactFlowsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
32
32
|
* const client = new ConnectClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* InstanceId: "STRING_VALUE", // required
|
|
35
|
+
* ContactFlowTypes: [
|
|
36
|
+
* "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER",
|
|
37
|
+
* ],
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* };
|
|
33
41
|
* const command = new ListContactFlowsCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface ListContactReferencesCommandOutput extends ListContactReference
|
|
|
28
28
|
* import { ConnectClient, ListContactReferencesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, ListContactReferencesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* ContactId: "STRING_VALUE", // required
|
|
34
|
+
* ReferenceTypes: [ // required
|
|
35
|
+
* "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL",
|
|
36
|
+
* ],
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
31
39
|
* const command = new ListContactReferencesCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListDefaultVocabulariesCommandOutput extends ListDefaultVocabul
|
|
|
26
26
|
* import { ConnectClient, ListDefaultVocabulariesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, ListDefaultVocabulariesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* 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",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListDefaultVocabulariesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListHoursOfOperationsCommandOutput extends ListHoursOfOperation
|
|
|
29
29
|
* import { ConnectClient, ListHoursOfOperationsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, ListHoursOfOperationsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* InstanceId: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListHoursOfOperationsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListInstanceAttributesCommandOutput extends ListInstanceAttribu
|
|
|
27
27
|
* import { ConnectClient, ListInstanceAttributesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListInstanceAttributesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListInstanceAttributesCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListInstanceStorageConfigsCommandOutput extends ListInstanceSto
|
|
|
28
28
|
* import { ConnectClient, ListInstanceStorageConfigsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, ListInstanceStorageConfigsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListInstanceStorageConfigsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
|
|
|
29
29
|
* import { ConnectClient, ListInstancesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, ListInstancesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
32
36
|
* const command = new ListInstancesCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListIntegrationAssociationsCommandOutput extends ListIntegratio
|
|
|
27
27
|
* import { ConnectClient, ListIntegrationAssociationsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListIntegrationAssociationsCommand } = 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",
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListIntegrationAssociationsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListLambdaFunctionsCommandOutput extends ListLambdaFunctionsRes
|
|
|
28
28
|
* import { ConnectClient, ListLambdaFunctionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, ListLambdaFunctionsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListLambdaFunctionsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListLexBotsCommandOutput extends ListLexBotsResponse, __Metadat
|
|
|
29
29
|
* import { ConnectClient, ListLexBotsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, ListLexBotsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* InstanceId: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListLexBotsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -35,6 +35,17 @@ export interface ListPhoneNumbersCommandOutput extends ListPhoneNumbersResponse,
|
|
|
35
35
|
* import { ConnectClient, ListPhoneNumbersCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
36
36
|
* // const { ConnectClient, ListPhoneNumbersCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
37
37
|
* const client = new ConnectClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* InstanceId: "STRING_VALUE", // required
|
|
40
|
+
* PhoneNumberTypes: [
|
|
41
|
+
* "TOLL_FREE" || "DID",
|
|
42
|
+
* ],
|
|
43
|
+
* PhoneNumberCountryCodes: [
|
|
44
|
+
* "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",
|
|
45
|
+
* ],
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* MaxResults: Number("int"),
|
|
48
|
+
* };
|
|
38
49
|
* const command = new ListPhoneNumbersCommand(input);
|
|
39
50
|
* const response = await client.send(command);
|
|
40
51
|
* ```
|
|
@@ -31,6 +31,18 @@ export interface ListPhoneNumbersV2CommandOutput extends ListPhoneNumbersV2Respo
|
|
|
31
31
|
* import { ConnectClient, ListPhoneNumbersV2Command } from "@aws-sdk/client-connect"; // ES Modules import
|
|
32
32
|
* // const { ConnectClient, ListPhoneNumbersV2Command } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
33
33
|
* const client = new ConnectClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* TargetArn: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* PhoneNumberCountryCodes: [
|
|
39
|
+
* "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",
|
|
40
|
+
* ],
|
|
41
|
+
* PhoneNumberTypes: [
|
|
42
|
+
* "TOLL_FREE" || "DID",
|
|
43
|
+
* ],
|
|
44
|
+
* PhoneNumberPrefix: "STRING_VALUE",
|
|
45
|
+
* };
|
|
34
46
|
* const command = new ListPhoneNumbersV2Command(input);
|
|
35
47
|
* const response = await client.send(command);
|
|
36
48
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListPromptsCommandOutput extends ListPromptsResponse, __Metadat
|
|
|
26
26
|
* import { ConnectClient, ListPromptsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, ListPromptsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListPromptsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListQueueQuickConnectsCommandOutput extends ListQueueQuickConne
|
|
|
27
27
|
* import { ConnectClient, ListQueueQuickConnectsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListQueueQuickConnectsCommand } = 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
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListQueueQuickConnectsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -32,6 +32,14 @@ export interface ListQueuesCommandOutput extends ListQueuesResponse, __MetadataB
|
|
|
32
32
|
* import { ConnectClient, ListQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
33
|
* // const { ConnectClient, ListQueuesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
34
|
* const client = new ConnectClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* InstanceId: "STRING_VALUE", // required
|
|
37
|
+
* QueueTypes: [
|
|
38
|
+
* "STANDARD" || "AGENT",
|
|
39
|
+
* ],
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* };
|
|
35
43
|
* const command = new ListQueuesCommand(input);
|
|
36
44
|
* const response = await client.send(command);
|
|
37
45
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface ListQuickConnectsCommandOutput extends ListQuickConnectsRespons
|
|
|
27
27
|
* import { ConnectClient, ListQuickConnectsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListQuickConnectsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* QuickConnectTypes: [
|
|
35
|
+
* "USER" || "QUEUE" || "PHONE_NUMBER",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
30
38
|
* const command = new ListQuickConnectsCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListRoutingProfileQueuesCommandOutput extends ListRoutingProfil
|
|
|
26
26
|
* import { ConnectClient, ListRoutingProfileQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, ListRoutingProfileQueuesCommand } = 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
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListRoutingProfileQueuesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListRoutingProfilesCommandOutput extends ListRoutingProfilesRes
|
|
|
29
29
|
* import { ConnectClient, ListRoutingProfilesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, ListRoutingProfilesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* InstanceId: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListRoutingProfilesCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
|
|
|
26
26
|
* import { ConnectClient, ListRulesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, ListRulesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* PublishStatus: "DRAFT" || "PUBLISHED",
|
|
32
|
+
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new ListRulesCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListSecurityKeysCommandOutput extends ListSecurityKeysResponse,
|
|
|
27
27
|
* import { ConnectClient, ListSecurityKeysCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListSecurityKeysCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListSecurityKeysCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListSecurityProfilePermissionsCommandOutput extends ListSecurit
|
|
|
27
27
|
* import { ConnectClient, ListSecurityProfilePermissionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, ListSecurityProfilePermissionsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* SecurityProfileId: "STRING_VALUE", // required
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListSecurityProfilePermissionsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListSecurityProfilesCommandOutput extends ListSecurityProfilesR
|
|
|
28
28
|
* import { ConnectClient, ListSecurityProfilesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, ListSecurityProfilesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListSecurityProfilesCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
29
29
|
* import { ConnectClient, ListTagsForResourceCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, ListTagsForResourceCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* resourceArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -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 = {
|
|
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
|
* ```
|