@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
|
@@ -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 = {
|
|
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
|
* ```
|
|
@@ -39,6 +39,13 @@ export interface UpdateContactAttributesCommandOutput extends UpdateContactAttri
|
|
|
39
39
|
* import { ConnectClient, UpdateContactAttributesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
40
40
|
* // const { ConnectClient, UpdateContactAttributesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
41
41
|
* const client = new ConnectClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* InitialContactId: "STRING_VALUE", // required
|
|
44
|
+
* InstanceId: "STRING_VALUE", // required
|
|
45
|
+
* Attributes: { // required
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
42
49
|
* const command = new UpdateContactAttributesCommand(input);
|
|
43
50
|
* const response = await client.send(command);
|
|
44
51
|
* ```
|
|
@@ -32,6 +32,18 @@ export interface UpdateContactCommandOutput extends UpdateContactResponse, __Met
|
|
|
32
32
|
* import { ConnectClient, UpdateContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
33
|
* // const { ConnectClient, UpdateContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
34
|
* const client = new ConnectClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* InstanceId: "STRING_VALUE", // required
|
|
37
|
+
* ContactId: "STRING_VALUE", // required
|
|
38
|
+
* Name: "STRING_VALUE",
|
|
39
|
+
* Description: "STRING_VALUE",
|
|
40
|
+
* References: {
|
|
41
|
+
* "<keys>": {
|
|
42
|
+
* Value: "STRING_VALUE", // required
|
|
43
|
+
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
35
47
|
* const command = new UpdateContactCommand(input);
|
|
36
48
|
* const response = await client.send(command);
|
|
37
49
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface UpdateContactFlowContentCommandOutput extends UpdateContactFlow
|
|
|
28
28
|
* import { ConnectClient, UpdateContactFlowContentCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, UpdateContactFlowContentCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
34
|
+
* Content: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new UpdateContactFlowContentCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateContactFlowMetadataCommandOutput extends UpdateContactFlo
|
|
|
26
26
|
* import { ConnectClient, UpdateContactFlowMetadataCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateContactFlowMetadataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE",
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* ContactFlowState: "ACTIVE" || "ARCHIVED",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateContactFlowMetadataCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateContactFlowModuleContentCommandOutput extends UpdateConta
|
|
|
26
26
|
* import { ConnectClient, UpdateContactFlowModuleContentCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateContactFlowModuleContentCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* ContactFlowModuleId: "STRING_VALUE", // required
|
|
32
|
+
* Content: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateContactFlowModuleContentCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateContactFlowModuleMetadataCommandOutput extends UpdateCont
|
|
|
26
26
|
* import { ConnectClient, UpdateContactFlowModuleMetadataCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateContactFlowModuleMetadataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* ContactFlowModuleId: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE",
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* State: "ACTIVE" || "ARCHIVED",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateContactFlowModuleMetadataCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface UpdateContactFlowNameCommandOutput extends UpdateContactFlowNam
|
|
|
28
28
|
* import { ConnectClient, UpdateContactFlowNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, UpdateContactFlowNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
34
|
+
* Name: "STRING_VALUE",
|
|
35
|
+
* Description: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new UpdateContactFlowNameCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateContactScheduleCommandOutput extends UpdateContactSchedul
|
|
|
26
26
|
* import { ConnectClient, UpdateContactScheduleCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateContactScheduleCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* ContactId: "STRING_VALUE", // required
|
|
32
|
+
* ScheduledTime: new Date("TIMESTAMP"), // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateContactScheduleCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,26 @@ export interface UpdateHoursOfOperationCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { ConnectClient, UpdateHoursOfOperationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateHoursOfOperationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* HoursOfOperationId: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* TimeZone: "STRING_VALUE",
|
|
36
|
+
* Config: [
|
|
37
|
+
* {
|
|
38
|
+
* Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY", // required
|
|
39
|
+
* StartTime: {
|
|
40
|
+
* Hours: Number("int"), // required
|
|
41
|
+
* Minutes: Number("int"), // required
|
|
42
|
+
* },
|
|
43
|
+
* EndTime: {
|
|
44
|
+
* Hours: Number("int"), // required
|
|
45
|
+
* Minutes: Number("int"), // required
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
30
50
|
* const command = new UpdateHoursOfOperationCommand(input);
|
|
31
51
|
* const response = await client.send(command);
|
|
32
52
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdateInstanceAttributeCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { ConnectClient, UpdateInstanceAttributeCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateInstanceAttributeCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* AttributeType: "INBOUND_CALLS" || "OUTBOUND_CALLS" || "CONTACTFLOW_LOGS" || "CONTACT_LENS" || "AUTO_RESOLVE_BEST_VOICES" || "USE_CUSTOM_TTS_VOICES" || "EARLY_MEDIA" || "MULTI_PARTY_CONFERENCE" || "HIGH_VOLUME_OUTBOUND" || "ENHANCED_CONTACT_MONITORING", // required
|
|
33
|
+
* Value: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdateInstanceAttributeCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,37 @@ export interface UpdateInstanceStorageConfigCommandOutput extends __MetadataBear
|
|
|
27
27
|
* import { ConnectClient, UpdateInstanceStorageConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateInstanceStorageConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* AssociationId: "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
|
+
* StorageConfig: {
|
|
35
|
+
* AssociationId: "STRING_VALUE",
|
|
36
|
+
* StorageType: "S3" || "KINESIS_VIDEO_STREAM" || "KINESIS_STREAM" || "KINESIS_FIREHOSE", // required
|
|
37
|
+
* S3Config: {
|
|
38
|
+
* BucketName: "STRING_VALUE", // required
|
|
39
|
+
* BucketPrefix: "STRING_VALUE", // required
|
|
40
|
+
* EncryptionConfig: {
|
|
41
|
+
* EncryptionType: "KMS", // required
|
|
42
|
+
* KeyId: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* KinesisVideoStreamConfig: {
|
|
46
|
+
* Prefix: "STRING_VALUE", // required
|
|
47
|
+
* RetentionPeriodHours: Number("int"), // required
|
|
48
|
+
* EncryptionConfig: {
|
|
49
|
+
* EncryptionType: "KMS", // required
|
|
50
|
+
* KeyId: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* KinesisStreamConfig: {
|
|
54
|
+
* StreamArn: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* KinesisFirehoseConfig: {
|
|
57
|
+
* FirehoseArn: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* };
|
|
30
61
|
* const command = new UpdateInstanceStorageConfigCommand(input);
|
|
31
62
|
* const response = await client.send(command);
|
|
32
63
|
* ```
|
|
@@ -43,6 +43,24 @@ export interface UpdateParticipantRoleConfigCommandOutput extends UpdateParticip
|
|
|
43
43
|
* import { ConnectClient, UpdateParticipantRoleConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
44
44
|
* // const { ConnectClient, UpdateParticipantRoleConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
45
45
|
* const client = new ConnectClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* InstanceId: "STRING_VALUE", // required
|
|
48
|
+
* ContactId: "STRING_VALUE", // required
|
|
49
|
+
* ChannelConfiguration: { // Union: only one key present
|
|
50
|
+
* Chat: {
|
|
51
|
+
* ParticipantTimerConfigList: [ // required
|
|
52
|
+
* {
|
|
53
|
+
* ParticipantRole: "CUSTOMER" || "AGENT", // required
|
|
54
|
+
* TimerType: "IDLE" || "DISCONNECT_NONCUSTOMER", // required
|
|
55
|
+
* TimerValue: { // Union: only one key present
|
|
56
|
+
* ParticipantTimerAction: "Unset",
|
|
57
|
+
* ParticipantTimerDurationInMinutes: Number("int"),
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* };
|
|
46
64
|
* const command = new UpdateParticipantRoleConfigCommand(input);
|
|
47
65
|
* const response = await client.send(command);
|
|
48
66
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberRespons
|
|
|
32
32
|
* import { ConnectClient, UpdatePhoneNumberCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
33
|
* // const { ConnectClient, UpdatePhoneNumberCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
34
|
* const client = new ConnectClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* PhoneNumberId: "STRING_VALUE", // required
|
|
37
|
+
* TargetArn: "STRING_VALUE", // required
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
35
40
|
* const command = new UpdatePhoneNumberCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdateQueueHoursOfOperationCommandOutput extends __MetadataBear
|
|
|
27
27
|
* import { ConnectClient, UpdateQueueHoursOfOperationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateQueueHoursOfOperationCommand } = 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
|
+
* HoursOfOperationId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdateQueueHoursOfOperationCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface UpdateQueueMaxContactsCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { ConnectClient, UpdateQueueMaxContactsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, UpdateQueueMaxContactsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* QueueId: "STRING_VALUE", // required
|
|
34
|
+
* MaxContacts: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new UpdateQueueMaxContactsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UpdateQueueNameCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { ConnectClient, UpdateQueueNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateQueueNameCommand } = 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
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UpdateQueueNameCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -39,6 +39,15 @@ export interface UpdateQueueOutboundCallerConfigCommandOutput extends __Metadata
|
|
|
39
39
|
* import { ConnectClient, UpdateQueueOutboundCallerConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
40
40
|
* // const { ConnectClient, UpdateQueueOutboundCallerConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
41
41
|
* const client = new ConnectClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* InstanceId: "STRING_VALUE", // required
|
|
44
|
+
* QueueId: "STRING_VALUE", // required
|
|
45
|
+
* OutboundCallerConfig: {
|
|
46
|
+
* OutboundCallerIdName: "STRING_VALUE",
|
|
47
|
+
* OutboundCallerIdNumberId: "STRING_VALUE",
|
|
48
|
+
* OutboundFlowId: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
42
51
|
* const command = new UpdateQueueOutboundCallerConfigCommand(input);
|
|
43
52
|
* const response = await client.send(command);
|
|
44
53
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdateQueueStatusCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { ConnectClient, UpdateQueueStatusCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateQueueStatusCommand } = 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
|
+
* Status: "ENABLED" || "DISABLED", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdateQueueStatusCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,24 @@ export interface UpdateQuickConnectConfigCommandOutput extends __MetadataBearer
|
|
|
26
26
|
* import { ConnectClient, UpdateQuickConnectConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateQuickConnectConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* QuickConnectId: "STRING_VALUE", // required
|
|
32
|
+
* QuickConnectConfig: {
|
|
33
|
+
* QuickConnectType: "USER" || "QUEUE" || "PHONE_NUMBER", // required
|
|
34
|
+
* UserConfig: {
|
|
35
|
+
* UserId: "STRING_VALUE", // required
|
|
36
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* QueueConfig: {
|
|
39
|
+
* QueueId: "STRING_VALUE", // required
|
|
40
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* PhoneConfig: {
|
|
43
|
+
* PhoneNumber: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
29
47
|
* const command = new UpdateQuickConnectConfigCommand(input);
|
|
30
48
|
* const response = await client.send(command);
|
|
31
49
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateQuickConnectNameCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ConnectClient, UpdateQuickConnectNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateQuickConnectNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* QuickConnectId: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE",
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateQuickConnectNameCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface UpdateRoutingProfileConcurrencyCommandOutput extends __Metadata
|
|
|
27
27
|
* import { ConnectClient, UpdateRoutingProfileConcurrencyCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateRoutingProfileConcurrencyCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* RoutingProfileId: "STRING_VALUE", // required
|
|
33
|
+
* MediaConcurrencies: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Channel: "VOICE" || "CHAT" || "TASK", // required
|
|
36
|
+
* Concurrency: Number("int"), // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
30
40
|
* const command = new UpdateRoutingProfileConcurrencyCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateRoutingProfileDefaultOutboundQueueCommandOutput extends _
|
|
|
26
26
|
* import { ConnectClient, UpdateRoutingProfileDefaultOutboundQueueCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateRoutingProfileDefaultOutboundQueueCommand } = 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
|
+
* DefaultOutboundQueueId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateRoutingProfileDefaultOutboundQueueCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UpdateRoutingProfileNameCommandOutput extends __MetadataBearer
|
|
|
27
27
|
* import { ConnectClient, UpdateRoutingProfileNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateRoutingProfileNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* InstanceId: "STRING_VALUE", // required
|
|
32
|
+
* RoutingProfileId: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UpdateRoutingProfileNameCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface UpdateRoutingProfileQueuesCommandOutput extends __MetadataBeare
|
|
|
26
26
|
* import { ConnectClient, UpdateRoutingProfileQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateRoutingProfileQueuesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* RoutingProfileId: "STRING_VALUE", // required
|
|
32
|
+
* QueueConfigs: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* QueueReference: {
|
|
35
|
+
* QueueId: "STRING_VALUE", // required
|
|
36
|
+
* Channel: "VOICE" || "CHAT" || "TASK", // required
|
|
37
|
+
* },
|
|
38
|
+
* Priority: Number("int"), // required
|
|
39
|
+
* Delay: Number("int"), // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
29
43
|
* const command = new UpdateRoutingProfileQueuesCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -28,6 +28,47 @@ export interface UpdateRuleCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { ConnectClient, UpdateRuleCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, UpdateRuleCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* RuleId: "STRING_VALUE", // required
|
|
33
|
+
* InstanceId: "STRING_VALUE", // required
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* Function: "STRING_VALUE", // required
|
|
36
|
+
* Actions: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION", // required
|
|
39
|
+
* TaskAction: {
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* Description: "STRING_VALUE",
|
|
42
|
+
* ContactFlowId: "STRING_VALUE", // required
|
|
43
|
+
* References: {
|
|
44
|
+
* "<keys>": {
|
|
45
|
+
* Value: "STRING_VALUE", // required
|
|
46
|
+
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* EventBridgeAction: {
|
|
51
|
+
* Name: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* AssignContactCategoryAction: {},
|
|
54
|
+
* SendNotificationAction: {
|
|
55
|
+
* DeliveryMethod: "EMAIL", // required
|
|
56
|
+
* Subject: "STRING_VALUE",
|
|
57
|
+
* Content: "STRING_VALUE", // required
|
|
58
|
+
* ContentType: "PLAIN_TEXT", // required
|
|
59
|
+
* Recipient: {
|
|
60
|
+
* UserTags: {
|
|
61
|
+
* "<keys>": "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* UserIds: [
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* PublishStatus: "DRAFT" || "PUBLISHED", // required
|
|
71
|
+
* };
|
|
31
72
|
* const command = new UpdateRuleCommand(input);
|
|
32
73
|
* const response = await client.send(command);
|
|
33
74
|
* ```
|
|
@@ -27,6 +27,20 @@ export interface UpdateSecurityProfileCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { ConnectClient, UpdateSecurityProfileCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
28
28
|
* // const { ConnectClient, UpdateSecurityProfileCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
29
29
|
* const client = new ConnectClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Description: "STRING_VALUE",
|
|
32
|
+
* Permissions: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* SecurityProfileId: "STRING_VALUE", // required
|
|
36
|
+
* InstanceId: "STRING_VALUE", // required
|
|
37
|
+
* AllowedAccessControlTags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* TagRestrictedResources: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
30
44
|
* const command = new UpdateSecurityProfileCommand(input);
|
|
31
45
|
* const response = await client.send(command);
|
|
32
46
|
* ```
|
|
@@ -28,6 +28,59 @@ export interface UpdateTaskTemplateCommandOutput extends UpdateTaskTemplateRespo
|
|
|
28
28
|
* import { ConnectClient, UpdateTaskTemplateCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
29
29
|
* // const { ConnectClient, UpdateTaskTemplateCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
30
30
|
* const client = new ConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* TaskTemplateId: "STRING_VALUE", // required
|
|
33
|
+
* InstanceId: "STRING_VALUE", // required
|
|
34
|
+
* Name: "STRING_VALUE",
|
|
35
|
+
* Description: "STRING_VALUE",
|
|
36
|
+
* ContactFlowId: "STRING_VALUE",
|
|
37
|
+
* Constraints: {
|
|
38
|
+
* RequiredFields: [
|
|
39
|
+
* {
|
|
40
|
+
* Id: {
|
|
41
|
+
* Name: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* ReadOnlyFields: [
|
|
46
|
+
* {
|
|
47
|
+
* Id: {
|
|
48
|
+
* Name: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* InvisibleFields: [
|
|
53
|
+
* {
|
|
54
|
+
* Id: {
|
|
55
|
+
* Name: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* Defaults: {
|
|
61
|
+
* DefaultFieldValues: [
|
|
62
|
+
* {
|
|
63
|
+
* Id: {
|
|
64
|
+
* Name: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* DefaultValue: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* Status: "ACTIVE" || "INACTIVE",
|
|
71
|
+
* Fields: [
|
|
72
|
+
* {
|
|
73
|
+
* Id: {
|
|
74
|
+
* Name: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* Description: "STRING_VALUE",
|
|
77
|
+
* Type: "NAME" || "DESCRIPTION" || "SCHEDULED_TIME" || "QUICK_CONNECT" || "URL" || "NUMBER" || "TEXT" || "TEXT_AREA" || "DATE_TIME" || "BOOLEAN" || "SINGLE_SELECT" || "EMAIL",
|
|
78
|
+
* SingleSelectOptions: [
|
|
79
|
+
* "STRING_VALUE",
|
|
80
|
+
* ],
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* };
|
|
31
84
|
* const command = new UpdateTaskTemplateCommand(input);
|
|
32
85
|
* const response = await client.send(command);
|
|
33
86
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface UpdateTrafficDistributionCommandOutput extends UpdateTrafficDis
|
|
|
29
29
|
* import { ConnectClient, UpdateTrafficDistributionCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
30
|
* // const { ConnectClient, UpdateTrafficDistributionCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
31
|
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* Id: "STRING_VALUE", // required
|
|
34
|
+
* TelephonyConfig: {
|
|
35
|
+
* Distributions: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* Region: "STRING_VALUE", // required
|
|
38
|
+
* Percentage: Number("int"), // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
32
43
|
* const command = new UpdateTrafficDistributionCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateUserHierarchyCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ConnectClient, UpdateUserHierarchyCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateUserHierarchyCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* HierarchyGroupId: "STRING_VALUE",
|
|
31
|
+
* UserId: "STRING_VALUE", // required
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateUserHierarchyCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateUserHierarchyGroupNameCommandOutput extends __MetadataBea
|
|
|
26
26
|
* import { ConnectClient, UpdateUserHierarchyGroupNameCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateUserHierarchyGroupNameCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* HierarchyGroupId: "STRING_VALUE", // required
|
|
32
|
+
* InstanceId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateUserHierarchyGroupNameCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,26 @@ export interface UpdateUserHierarchyStructureCommandOutput extends __MetadataBea
|
|
|
26
26
|
* import { ConnectClient, UpdateUserHierarchyStructureCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
27
|
* // const { ConnectClient, UpdateUserHierarchyStructureCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
28
|
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* HierarchyStructure: {
|
|
31
|
+
* LevelOne: {
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* },
|
|
34
|
+
* LevelTwo: {
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* LevelThree: {
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* LevelFour: {
|
|
41
|
+
* Name: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* LevelFive: {
|
|
44
|
+
* Name: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* InstanceId: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
29
49
|
* const command = new UpdateUserHierarchyStructureCommand(input);
|
|
30
50
|
* const response = await client.send(command);
|
|
31
51
|
* ```
|