@aws-sdk/client-connect 3.388.0 → 3.391.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/Connect.js +6 -0
- package/dist-cjs/commands/AssociateTrafficDistributionGroupUserCommand.js +46 -0
- package/dist-cjs/commands/DisassociateTrafficDistributionGroupUserCommand.js +46 -0
- package/dist-cjs/commands/ListTrafficDistributionGroupUsersCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +1 -26
- package/dist-cjs/models/models_1.js +26 -11
- package/dist-cjs/models/models_2.js +11 -0
- package/dist-cjs/pagination/ListTrafficDistributionGroupUsersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +221 -9
- package/dist-es/Connect.js +6 -0
- package/dist-es/commands/AssociateTrafficDistributionGroupUserCommand.js +42 -0
- package/dist-es/commands/DisassociateTrafficDistributionGroupUserCommand.js +42 -0
- package/dist-es/commands/ListTrafficDistributionGroupUsersCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +0 -25
- package/dist-es/models/models_1.js +25 -10
- package/dist-es/models/models_2.js +10 -1
- package/dist-es/pagination/ListTrafficDistributionGroupUsersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +207 -1
- package/dist-types/Connect.d.ts +21 -0
- package/dist-types/ConnectClient.d.ts +5 -2
- package/dist-types/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +91 -0
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +91 -0
- package/dist-types/commands/GetContactAttributesCommand.d.ts +2 -1
- package/dist-types/commands/GetTrafficDistributionCommand.d.ts +16 -0
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +12 -0
- package/dist-types/commands/ListTrafficDistributionGroupUsersCommand.d.ts +95 -0
- package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +3 -5
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +21 -0
- package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +97 -106
- package/dist-types/models/models_1.d.ts +213 -339
- package/dist-types/models/models_2.d.ts +320 -2
- package/dist-types/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Connect.d.ts +69 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTrafficDistributionGroupUsersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -41
- package/dist-types/ts3.4/models/models_1.d.ts +65 -99
- package/dist-types/ts3.4/models/models_2.d.ts +98 -3
- package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +28 -28
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { DisassociateTrafficDistributionGroupUserRequest, DisassociateTrafficDistributionGroupUserResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateTrafficDistributionGroupUserCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateTrafficDistributionGroupUserCommandInput extends DisassociateTrafficDistributionGroupUserRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateTrafficDistributionGroupUserCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateTrafficDistributionGroupUserCommandOutput extends DisassociateTrafficDistributionGroupUserResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Disassociates an agent from a traffic distribution group.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ConnectClient, DisassociateTrafficDistributionGroupUserCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
31
|
+
* // const { ConnectClient, DisassociateTrafficDistributionGroupUserCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
32
|
+
* const client = new ConnectClient(config);
|
|
33
|
+
* const input = { // DisassociateTrafficDistributionGroupUserRequest
|
|
34
|
+
* TrafficDistributionGroupId: "STRING_VALUE", // required
|
|
35
|
+
* UserId: "STRING_VALUE", // required
|
|
36
|
+
* InstanceId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new DisassociateTrafficDistributionGroupUserCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DisassociateTrafficDistributionGroupUserCommandInput - {@link DisassociateTrafficDistributionGroupUserCommandInput}
|
|
45
|
+
* @returns {@link DisassociateTrafficDistributionGroupUserCommandOutput}
|
|
46
|
+
* @see {@link DisassociateTrafficDistributionGroupUserCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DisassociateTrafficDistributionGroupUserCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
51
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
54
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
57
|
+
* <p>The request is not valid.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
60
|
+
* <p>A resource already has that name.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The specified resource was not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConnectServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare class DisassociateTrafficDistributionGroupUserCommand extends $Command<DisassociateTrafficDistributionGroupUserCommandInput, DisassociateTrafficDistributionGroupUserCommandOutput, ConnectClientResolvedConfig> {
|
|
73
|
+
readonly input: DisassociateTrafficDistributionGroupUserCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: DisassociateTrafficDistributionGroupUserCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateTrafficDistributionGroupUserCommandInput, DisassociateTrafficDistributionGroupUserCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { GetContactAttributesRequest
|
|
5
|
+
import { GetContactAttributesRequest } from "../models/models_0";
|
|
6
|
+
import { GetContactAttributesResponse } from "../models/models_1";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -46,6 +46,22 @@ export interface GetTrafficDistributionCommandOutput extends GetTrafficDistribut
|
|
|
46
46
|
* // },
|
|
47
47
|
* // Id: "STRING_VALUE",
|
|
48
48
|
* // Arn: "STRING_VALUE",
|
|
49
|
+
* // SignInConfig: { // SignInConfig
|
|
50
|
+
* // Distributions: [ // SignInDistributionList // required
|
|
51
|
+
* // { // SignInDistribution
|
|
52
|
+
* // Region: "STRING_VALUE", // required
|
|
53
|
+
* // Enabled: true || false, // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // AgentConfig: { // AgentConfig
|
|
58
|
+
* // Distributions: [ // required
|
|
59
|
+
* // {
|
|
60
|
+
* // Region: "STRING_VALUE", // required
|
|
61
|
+
* // Percentage: Number("int"), // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
49
65
|
* // };
|
|
50
66
|
*
|
|
51
67
|
* ```
|
|
@@ -29,6 +29,18 @@ export interface ListPhoneNumbersV2CommandOutput extends ListPhoneNumbersV2Respo
|
|
|
29
29
|
* <p>For more information about phone numbers, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-center-phone-number.html">Set Up Phone Numbers for Your
|
|
30
30
|
* Contact Center</a> in the <i>Amazon Connect Administrator
|
|
31
31
|
* Guide</i>.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>When given an instance ARN, <code>ListPhoneNumbersV2</code> returns only the phone
|
|
36
|
+
* numbers claimed to the instance.</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>When given a traffic distribution group ARN <code>ListPhoneNumbersV2</code> returns only the phone numbers
|
|
40
|
+
* claimed to the traffic distribution group.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* </ul>
|
|
43
|
+
* </note>
|
|
32
44
|
* @example
|
|
33
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
46
|
* ```javascript
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { ListTrafficDistributionGroupUsersRequest, ListTrafficDistributionGroupUsersResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTrafficDistributionGroupUsersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTrafficDistributionGroupUsersCommandInput extends ListTrafficDistributionGroupUsersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTrafficDistributionGroupUsersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTrafficDistributionGroupUsersCommandOutput extends ListTrafficDistributionGroupUsersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists traffic distribution group users.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ConnectClient, ListTrafficDistributionGroupUsersCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
31
|
+
* // const { ConnectClient, ListTrafficDistributionGroupUsersCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
32
|
+
* const client = new ConnectClient(config);
|
|
33
|
+
* const input = { // ListTrafficDistributionGroupUsersRequest
|
|
34
|
+
* TrafficDistributionGroupId: "STRING_VALUE", // required
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListTrafficDistributionGroupUsersCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListTrafficDistributionGroupUsersResponse
|
|
41
|
+
* // NextToken: "STRING_VALUE",
|
|
42
|
+
* // TrafficDistributionGroupUserSummaryList: [ // TrafficDistributionGroupUserSummaryList
|
|
43
|
+
* // { // TrafficDistributionGroupUserSummary
|
|
44
|
+
* // UserId: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param ListTrafficDistributionGroupUsersCommandInput - {@link ListTrafficDistributionGroupUsersCommandInput}
|
|
52
|
+
* @returns {@link ListTrafficDistributionGroupUsersCommandOutput}
|
|
53
|
+
* @see {@link ListTrafficDistributionGroupUsersCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link ListTrafficDistributionGroupUsersCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
61
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
64
|
+
* <p>The request is not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource was not found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConnectServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare class ListTrafficDistributionGroupUsersCommand extends $Command<ListTrafficDistributionGroupUsersCommandInput, ListTrafficDistributionGroupUsersCommandOutput, ConnectClientResolvedConfig> {
|
|
77
|
+
readonly input: ListTrafficDistributionGroupUsersCommandInput;
|
|
78
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
constructor(input: ListTrafficDistributionGroupUsersCommandInput);
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTrafficDistributionGroupUsersCommandInput, ListTrafficDistributionGroupUsersCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private deserialize;
|
|
95
|
+
}
|
|
@@ -46,6 +46,7 @@ export interface ListTrafficDistributionGroupsCommandOutput extends ListTrafficD
|
|
|
46
46
|
* // Name: "STRING_VALUE",
|
|
47
47
|
* // InstanceArn: "STRING_VALUE",
|
|
48
48
|
* // Status: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "PENDING_DELETION" || "DELETION_FAILED" || "UPDATE_IN_PROGRESS",
|
|
49
|
+
* // IsDefault: true || false,
|
|
49
50
|
* // },
|
|
50
51
|
* // ],
|
|
51
52
|
* // };
|
|
@@ -23,11 +23,9 @@ export interface UpdateRoutingProfileAgentAvailabilityTimerCommandOutput extends
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Whether agents with this routing profile
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* contact</i> or <i>longest idle
|
|
30
|
-
* time</i>. </p>
|
|
26
|
+
* <p>Whether agents with this routing profile will have their routing order calculated based on
|
|
27
|
+
* <i>time since their last inbound contact</i> or <i>longest idle
|
|
28
|
+
* time</i>. </p>
|
|
31
29
|
* @example
|
|
32
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
31
|
* ```javascript
|
|
@@ -24,6 +24,11 @@ export interface UpdateTrafficDistributionCommandOutput extends UpdateTrafficDis
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Updates the traffic distribution for a given traffic distribution group. </p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>You can change the <code>SignInConfig</code> only for a default <code>TrafficDistributionGroup</code>. If you call
|
|
29
|
+
* <code>UpdateTrafficDistribution</code> with a modified <code>SignInConfig</code> and a non-default <code>TrafficDistributionGroup</code>,
|
|
30
|
+
* an <code>InvalidRequestException</code> is returned.</p>
|
|
31
|
+
* </note>
|
|
27
32
|
* <p>For more information about updating a traffic distribution group, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/update-telephony-traffic-distribution.html">Update telephony
|
|
28
33
|
* traffic distribution across Amazon Web Services Regions
|
|
29
34
|
* </a> in the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
@@ -43,6 +48,22 @@ export interface UpdateTrafficDistributionCommandOutput extends UpdateTrafficDis
|
|
|
43
48
|
* },
|
|
44
49
|
* ],
|
|
45
50
|
* },
|
|
51
|
+
* SignInConfig: { // SignInConfig
|
|
52
|
+
* Distributions: [ // SignInDistributionList // required
|
|
53
|
+
* { // SignInDistribution
|
|
54
|
+
* Region: "STRING_VALUE", // required
|
|
55
|
+
* Enabled: true || false, // required
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* AgentConfig: { // AgentConfig
|
|
60
|
+
* Distributions: [ // required
|
|
61
|
+
* {
|
|
62
|
+
* Region: "STRING_VALUE", // required
|
|
63
|
+
* Percentage: Number("int"), // required
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
46
67
|
* };
|
|
47
68
|
* const command = new UpdateTrafficDistributionCommand(input);
|
|
48
69
|
* const response = await client.send(command);
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { UpdateUserHierarchyStructureRequest } from "../models/
|
|
5
|
+
import { UpdateUserHierarchyStructureRequest } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { UpdateUserIdentityInfoRequest } from "../models/
|
|
5
|
+
import { UpdateUserIdentityInfoRequest } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { UpdateUserPhoneConfigRequest } from "../models/
|
|
5
|
+
import { UpdateUserPhoneConfigRequest } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { UpdateUserRoutingProfileRequest } from "../models/
|
|
5
|
+
import { UpdateUserRoutingProfileRequest } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { UpdateUserSecurityProfilesRequest } from "../models/
|
|
5
|
+
import { UpdateUserSecurityProfilesRequest } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -9,6 +9,7 @@ export * from "./AssociatePhoneNumberContactFlowCommand";
|
|
|
9
9
|
export * from "./AssociateQueueQuickConnectsCommand";
|
|
10
10
|
export * from "./AssociateRoutingProfileQueuesCommand";
|
|
11
11
|
export * from "./AssociateSecurityKeyCommand";
|
|
12
|
+
export * from "./AssociateTrafficDistributionGroupUserCommand";
|
|
12
13
|
export * from "./ClaimPhoneNumberCommand";
|
|
13
14
|
export * from "./CreateAgentStatusCommand";
|
|
14
15
|
export * from "./CreateContactFlowCommand";
|
|
@@ -81,6 +82,7 @@ export * from "./DisassociatePhoneNumberContactFlowCommand";
|
|
|
81
82
|
export * from "./DisassociateQueueQuickConnectsCommand";
|
|
82
83
|
export * from "./DisassociateRoutingProfileQueuesCommand";
|
|
83
84
|
export * from "./DisassociateSecurityKeyCommand";
|
|
85
|
+
export * from "./DisassociateTrafficDistributionGroupUserCommand";
|
|
84
86
|
export * from "./DismissUserContactCommand";
|
|
85
87
|
export * from "./GetContactAttributesCommand";
|
|
86
88
|
export * from "./GetCurrentMetricDataCommand";
|
|
@@ -122,6 +124,7 @@ export * from "./ListSecurityProfilePermissionsCommand";
|
|
|
122
124
|
export * from "./ListSecurityProfilesCommand";
|
|
123
125
|
export * from "./ListTagsForResourceCommand";
|
|
124
126
|
export * from "./ListTaskTemplatesCommand";
|
|
127
|
+
export * from "./ListTrafficDistributionGroupUsersCommand";
|
|
125
128
|
export * from "./ListTrafficDistributionGroupsCommand";
|
|
126
129
|
export * from "./ListUseCasesCommand";
|
|
127
130
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
@@ -168,6 +168,33 @@ export declare const AgentAvailabilityTimer: {
|
|
|
168
168
|
* @public
|
|
169
169
|
*/
|
|
170
170
|
export type AgentAvailabilityTimer = (typeof AgentAvailabilityTimer)[keyof typeof AgentAvailabilityTimer];
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
* <p>Information about a traffic distribution.</p>
|
|
174
|
+
*/
|
|
175
|
+
export interface Distribution {
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
* <p>The Amazon Web Services Region where the traffic is distributed.</p>
|
|
179
|
+
*/
|
|
180
|
+
Region: string | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
* <p>The percentage of the traffic that is distributed, in increments of 10.</p>
|
|
184
|
+
*/
|
|
185
|
+
Percentage: number | undefined;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* <p>The distribution of agents between the instance and its replica(s).</p>
|
|
190
|
+
*/
|
|
191
|
+
export interface AgentConfig {
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
* <p>Information about traffic distributions.</p>
|
|
195
|
+
*/
|
|
196
|
+
Distributions: Distribution[] | undefined;
|
|
197
|
+
}
|
|
171
198
|
/**
|
|
172
199
|
* @public
|
|
173
200
|
* @enum
|
|
@@ -952,6 +979,33 @@ export interface AssociateSecurityKeyResponse {
|
|
|
952
979
|
*/
|
|
953
980
|
AssociationId?: string;
|
|
954
981
|
}
|
|
982
|
+
/**
|
|
983
|
+
* @public
|
|
984
|
+
*/
|
|
985
|
+
export interface AssociateTrafficDistributionGroupUserRequest {
|
|
986
|
+
/**
|
|
987
|
+
* @public
|
|
988
|
+
* <p>The identifier of the traffic distribution group.
|
|
989
|
+
* This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created.
|
|
990
|
+
* The ARN must be provided if the call is from the replicated Region.</p>
|
|
991
|
+
*/
|
|
992
|
+
TrafficDistributionGroupId: string | undefined;
|
|
993
|
+
/**
|
|
994
|
+
* @public
|
|
995
|
+
* <p>The identifier of the user account. This can be the ID or the ARN of the user. </p>
|
|
996
|
+
*/
|
|
997
|
+
UserId: string | undefined;
|
|
998
|
+
/**
|
|
999
|
+
* @public
|
|
1000
|
+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
1001
|
+
*/
|
|
1002
|
+
InstanceId: string | undefined;
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
export interface AssociateTrafficDistributionGroupUserResponse {
|
|
1008
|
+
}
|
|
955
1009
|
/**
|
|
956
1010
|
* @public
|
|
957
1011
|
*/
|
|
@@ -2383,11 +2437,9 @@ export interface CreateRoutingProfileRequest {
|
|
|
2383
2437
|
Tags?: Record<string, string>;
|
|
2384
2438
|
/**
|
|
2385
2439
|
* @public
|
|
2386
|
-
* <p>Whether agents with this routing profile
|
|
2387
|
-
*
|
|
2388
|
-
*
|
|
2389
|
-
* contact</i> or <i>longest idle
|
|
2390
|
-
* time</i>. </p>
|
|
2440
|
+
* <p>Whether agents with this routing profile will have their routing order calculated based on
|
|
2441
|
+
* <i>longest idle time</i> or <i>time since their last inbound
|
|
2442
|
+
* contact</i>. </p>
|
|
2391
2443
|
*/
|
|
2392
2444
|
AgentAvailabilityTimer?: AgentAvailabilityTimer | string;
|
|
2393
2445
|
}
|
|
@@ -5412,11 +5464,9 @@ export interface RoutingProfile {
|
|
|
5412
5464
|
NumberOfAssociatedUsers?: number;
|
|
5413
5465
|
/**
|
|
5414
5466
|
* @public
|
|
5415
|
-
* <p>Whether agents with this routing profile
|
|
5416
|
-
*
|
|
5417
|
-
*
|
|
5418
|
-
* contact</i> or <i>longest idle
|
|
5419
|
-
* time</i>. </p>
|
|
5467
|
+
* <p>Whether agents with this routing profile will have their routing order calculated based on
|
|
5468
|
+
* <i>time since their last inbound contact</i> or <i>longest idle
|
|
5469
|
+
* time</i>. </p>
|
|
5420
5470
|
*/
|
|
5421
5471
|
AgentAvailabilityTimer?: AgentAvailabilityTimer | string;
|
|
5422
5472
|
}
|
|
@@ -5686,6 +5736,19 @@ export interface TrafficDistributionGroup {
|
|
|
5686
5736
|
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
5687
5737
|
*/
|
|
5688
5738
|
Tags?: Record<string, string>;
|
|
5739
|
+
/**
|
|
5740
|
+
* @public
|
|
5741
|
+
* <p>Whether this is the default traffic distribution group created during instance
|
|
5742
|
+
* replication. The default traffic distribution group cannot be deleted by the
|
|
5743
|
+
* <code>DeleteTrafficDistributionGroup</code> API. The default traffic distribution group is deleted as
|
|
5744
|
+
* part of the process for deleting a replica.</p>
|
|
5745
|
+
* <note>
|
|
5746
|
+
* <p>You can change the <code>SignInConfig</code> only for a default <code>TrafficDistributionGroup</code>. If you call
|
|
5747
|
+
* <code>UpdateTrafficDistribution</code> with a modified <code>SignInConfig</code> and a non-default <code>TrafficDistributionGroup</code>,
|
|
5748
|
+
* an <code>InvalidRequestException</code> is returned.</p>
|
|
5749
|
+
* </note>
|
|
5750
|
+
*/
|
|
5751
|
+
IsDefault?: boolean;
|
|
5689
5752
|
}
|
|
5690
5753
|
/**
|
|
5691
5754
|
* @public
|
|
@@ -6211,143 +6274,71 @@ export interface DisassociateSecurityKeyRequest {
|
|
|
6211
6274
|
/**
|
|
6212
6275
|
* @public
|
|
6213
6276
|
*/
|
|
6214
|
-
export interface
|
|
6277
|
+
export interface DisassociateTrafficDistributionGroupUserRequest {
|
|
6215
6278
|
/**
|
|
6216
6279
|
* @public
|
|
6217
|
-
* <p>The identifier of the
|
|
6280
|
+
* <p>The identifier of the traffic distribution group.
|
|
6281
|
+
* This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created.
|
|
6282
|
+
* The ARN must be provided if the call is from the replicated Region.</p>
|
|
6218
6283
|
*/
|
|
6219
|
-
|
|
6284
|
+
TrafficDistributionGroupId: string | undefined;
|
|
6220
6285
|
/**
|
|
6221
6286
|
* @public
|
|
6222
|
-
* <p>The identifier
|
|
6223
|
-
* instance.</p>
|
|
6287
|
+
* <p>The identifier for the user. This can be the ID or the ARN of the user.</p>
|
|
6224
6288
|
*/
|
|
6225
|
-
|
|
6289
|
+
UserId: string | undefined;
|
|
6226
6290
|
/**
|
|
6227
6291
|
* @public
|
|
6228
|
-
* <p>The identifier of the
|
|
6292
|
+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
6229
6293
|
*/
|
|
6230
|
-
|
|
6294
|
+
InstanceId: string | undefined;
|
|
6231
6295
|
}
|
|
6232
6296
|
/**
|
|
6233
6297
|
* @public
|
|
6234
6298
|
*/
|
|
6235
|
-
export interface
|
|
6299
|
+
export interface DisassociateTrafficDistributionGroupUserResponse {
|
|
6236
6300
|
}
|
|
6237
6301
|
/**
|
|
6238
6302
|
* @public
|
|
6239
6303
|
*/
|
|
6240
|
-
export interface
|
|
6304
|
+
export interface DismissUserContactRequest {
|
|
6241
6305
|
/**
|
|
6242
6306
|
* @public
|
|
6243
|
-
* <p>The identifier of the
|
|
6307
|
+
* <p>The identifier of the user account.</p>
|
|
6244
6308
|
*/
|
|
6245
|
-
|
|
6309
|
+
UserId: string | undefined;
|
|
6246
6310
|
/**
|
|
6247
6311
|
* @public
|
|
6248
|
-
* <p>The identifier of the
|
|
6312
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the
|
|
6313
|
+
* instance.</p>
|
|
6249
6314
|
*/
|
|
6250
|
-
|
|
6251
|
-
}
|
|
6252
|
-
/**
|
|
6253
|
-
* @public
|
|
6254
|
-
*/
|
|
6255
|
-
export interface GetContactAttributesResponse {
|
|
6315
|
+
InstanceId: string | undefined;
|
|
6256
6316
|
/**
|
|
6257
6317
|
* @public
|
|
6258
|
-
* <p>
|
|
6318
|
+
* <p>The identifier of the contact.</p>
|
|
6259
6319
|
*/
|
|
6260
|
-
|
|
6320
|
+
ContactId: string | undefined;
|
|
6261
6321
|
}
|
|
6262
6322
|
/**
|
|
6263
6323
|
* @public
|
|
6264
|
-
* @enum
|
|
6265
6324
|
*/
|
|
6266
|
-
export
|
|
6267
|
-
readonly AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK";
|
|
6268
|
-
readonly AGENTS_AVAILABLE: "AGENTS_AVAILABLE";
|
|
6269
|
-
readonly AGENTS_ERROR: "AGENTS_ERROR";
|
|
6270
|
-
readonly AGENTS_NON_PRODUCTIVE: "AGENTS_NON_PRODUCTIVE";
|
|
6271
|
-
readonly AGENTS_ONLINE: "AGENTS_ONLINE";
|
|
6272
|
-
readonly AGENTS_ON_CALL: "AGENTS_ON_CALL";
|
|
6273
|
-
readonly AGENTS_ON_CONTACT: "AGENTS_ON_CONTACT";
|
|
6274
|
-
readonly AGENTS_STAFFED: "AGENTS_STAFFED";
|
|
6275
|
-
readonly CONTACTS_IN_QUEUE: "CONTACTS_IN_QUEUE";
|
|
6276
|
-
readonly CONTACTS_SCHEDULED: "CONTACTS_SCHEDULED";
|
|
6277
|
-
readonly OLDEST_CONTACT_AGE: "OLDEST_CONTACT_AGE";
|
|
6278
|
-
readonly SLOTS_ACTIVE: "SLOTS_ACTIVE";
|
|
6279
|
-
readonly SLOTS_AVAILABLE: "SLOTS_AVAILABLE";
|
|
6280
|
-
};
|
|
6281
|
-
/**
|
|
6282
|
-
* @public
|
|
6283
|
-
*/
|
|
6284
|
-
export type CurrentMetricName = (typeof CurrentMetricName)[keyof typeof CurrentMetricName];
|
|
6285
|
-
/**
|
|
6286
|
-
* @public
|
|
6287
|
-
* @enum
|
|
6288
|
-
*/
|
|
6289
|
-
export declare const Unit: {
|
|
6290
|
-
readonly COUNT: "COUNT";
|
|
6291
|
-
readonly PERCENT: "PERCENT";
|
|
6292
|
-
readonly SECONDS: "SECONDS";
|
|
6293
|
-
};
|
|
6294
|
-
/**
|
|
6295
|
-
* @public
|
|
6296
|
-
*/
|
|
6297
|
-
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
6298
|
-
/**
|
|
6299
|
-
* @public
|
|
6300
|
-
* <p>Contains information about a real-time metric. For a description of each metric, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html">Real-time Metrics Definitions</a> in the <i>Amazon Connect Administrator
|
|
6301
|
-
* Guide</i>.</p>
|
|
6302
|
-
*/
|
|
6303
|
-
export interface CurrentMetric {
|
|
6304
|
-
/**
|
|
6305
|
-
* @public
|
|
6306
|
-
* <p>The name of the metric.</p>
|
|
6307
|
-
*/
|
|
6308
|
-
Name?: CurrentMetricName | string;
|
|
6309
|
-
/**
|
|
6310
|
-
* @public
|
|
6311
|
-
* <p>The unit for the metric.</p>
|
|
6312
|
-
*/
|
|
6313
|
-
Unit?: Unit | string;
|
|
6325
|
+
export interface DismissUserContactResponse {
|
|
6314
6326
|
}
|
|
6315
6327
|
/**
|
|
6316
6328
|
* @public
|
|
6317
|
-
* <p>Contains the filter to apply when retrieving metrics.</p>
|
|
6318
6329
|
*/
|
|
6319
|
-
export interface
|
|
6320
|
-
/**
|
|
6321
|
-
* @public
|
|
6322
|
-
* <p>The queues to use to filter the metrics. You should specify at least one queue, and can
|
|
6323
|
-
* specify up to 100 queues per request. The <code>GetCurrentMetricsData</code> API in particular
|
|
6324
|
-
* requires a queue when you include a <code>Filter</code> in your request. </p>
|
|
6325
|
-
*/
|
|
6326
|
-
Queues?: string[];
|
|
6330
|
+
export interface GetContactAttributesRequest {
|
|
6327
6331
|
/**
|
|
6328
6332
|
* @public
|
|
6329
|
-
* <p>The
|
|
6333
|
+
* <p>The identifier of the Amazon Connect instance.</p>
|
|
6330
6334
|
*/
|
|
6331
|
-
|
|
6335
|
+
InstanceId: string | undefined;
|
|
6332
6336
|
/**
|
|
6333
6337
|
* @public
|
|
6334
|
-
* <p>
|
|
6338
|
+
* <p>The identifier of the initial contact.</p>
|
|
6335
6339
|
*/
|
|
6336
|
-
|
|
6340
|
+
InitialContactId: string | undefined;
|
|
6337
6341
|
}
|
|
6338
|
-
/**
|
|
6339
|
-
* @public
|
|
6340
|
-
* @enum
|
|
6341
|
-
*/
|
|
6342
|
-
export declare const Grouping: {
|
|
6343
|
-
readonly CHANNEL: "CHANNEL";
|
|
6344
|
-
readonly QUEUE: "QUEUE";
|
|
6345
|
-
readonly ROUTING_PROFILE: "ROUTING_PROFILE";
|
|
6346
|
-
};
|
|
6347
|
-
/**
|
|
6348
|
-
* @public
|
|
6349
|
-
*/
|
|
6350
|
-
export type Grouping = (typeof Grouping)[keyof typeof Grouping];
|
|
6351
6342
|
/**
|
|
6352
6343
|
* @internal
|
|
6353
6344
|
*/
|