@aws-sdk/client-connect 3.319.0 → 3.321.1
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 +119 -7
- package/dist-cjs/Connect.js +28 -0
- package/dist-cjs/commands/ActivateEvaluationFormCommand.js +45 -0
- package/dist-cjs/commands/CreateEvaluationFormCommand.js +45 -0
- package/dist-cjs/commands/DeactivateEvaluationFormCommand.js +45 -0
- package/dist-cjs/commands/DeleteContactEvaluationCommand.js +45 -0
- package/dist-cjs/commands/DeleteEvaluationFormCommand.js +45 -0
- package/dist-cjs/commands/DescribeContactEvaluationCommand.js +45 -0
- package/dist-cjs/commands/DescribeEvaluationFormCommand.js +45 -0
- package/dist-cjs/commands/GetFederationTokenCommand.js +2 -2
- package/dist-cjs/commands/ListContactEvaluationsCommand.js +45 -0
- package/dist-cjs/commands/ListEvaluationFormVersionsCommand.js +45 -0
- package/dist-cjs/commands/ListEvaluationFormsCommand.js +45 -0
- package/dist-cjs/commands/StartContactEvaluationCommand.js +45 -0
- package/dist-cjs/commands/SubmitContactEvaluationCommand.js +45 -0
- package/dist-cjs/commands/UpdateContactEvaluationCommand.js +45 -0
- package/dist-cjs/commands/UpdateEvaluationFormCommand.js +45 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/models/models_0.js +142 -125
- package/dist-cjs/models/models_1.js +71 -1
- package/dist-cjs/pagination/ListContactEvaluationsPaginator.js +28 -0
- package/dist-cjs/pagination/ListEvaluationFormVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListEvaluationFormsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1272 -41
- package/dist-es/Connect.js +28 -0
- package/dist-es/commands/ActivateEvaluationFormCommand.js +41 -0
- package/dist-es/commands/CreateEvaluationFormCommand.js +41 -0
- package/dist-es/commands/DeactivateEvaluationFormCommand.js +41 -0
- package/dist-es/commands/DeleteContactEvaluationCommand.js +41 -0
- package/dist-es/commands/DeleteEvaluationFormCommand.js +41 -0
- package/dist-es/commands/DescribeContactEvaluationCommand.js +41 -0
- package/dist-es/commands/DescribeEvaluationFormCommand.js +41 -0
- package/dist-es/commands/GetFederationTokenCommand.js +1 -1
- package/dist-es/commands/ListContactEvaluationsCommand.js +41 -0
- package/dist-es/commands/ListEvaluationFormVersionsCommand.js +41 -0
- package/dist-es/commands/ListEvaluationFormsCommand.js +41 -0
- package/dist-es/commands/StartContactEvaluationCommand.js +41 -0
- package/dist-es/commands/SubmitContactEvaluationCommand.js +41 -0
- package/dist-es/commands/UpdateContactEvaluationCommand.js +41 -0
- package/dist-es/commands/UpdateEvaluationFormCommand.js +41 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/models_0.js +136 -116
- package/dist-es/models/models_1.js +67 -0
- package/dist-es/pagination/ListContactEvaluationsPaginator.js +24 -0
- package/dist-es/pagination/ListEvaluationFormVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListEvaluationFormsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1235 -33
- package/dist-types/Connect.d.ts +98 -0
- package/dist-types/ConnectClient.d.ts +16 -2
- package/dist-types/commands/ActivateEvaluationFormCommand.d.ts +81 -0
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +213 -0
- package/dist-types/commands/CreateParticipantCommand.d.ts +1 -1
- package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +81 -0
- package/dist-types/commands/DeleteContactEvaluationCommand.d.ts +79 -0
- package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +89 -0
- package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +77 -0
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +79 -0
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -1
- package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricDataCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricDataV2Command.d.ts +1 -1
- package/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetTrafficDistributionCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -2
- package/dist-types/commands/ListContactEvaluationsCommand.d.ts +77 -0
- package/dist-types/commands/ListEvaluationFormVersionsCommand.d.ts +78 -0
- package/dist-types/commands/ListEvaluationFormsCommand.d.ts +77 -0
- package/dist-types/commands/StartContactEvaluationCommand.d.ts +91 -0
- package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +98 -0
- package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +96 -0
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +215 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +859 -1281
- package/dist-types/models/models_1.d.ts +1758 -3
- package/dist-types/pagination/ListContactEvaluationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEvaluationFormVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEvaluationFormsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/Connect.d.ts +238 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/ActivateEvaluationFormCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteContactEvaluationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteEvaluationFormCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListContactEvaluationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListEvaluationFormVersionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListEvaluationFormsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +328 -262
- package/dist-types/ts3.4/models/models_1.d.ts +425 -1
- package/dist-types/ts3.4/pagination/ListContactEvaluationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEvaluationFormVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEvaluationFormsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +4 -4
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { GetMetricDataV2Request, GetMetricDataV2Response } from "../models/
|
|
5
|
+
import { GetMetricDataV2Request, GetMetricDataV2Response } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { GetTaskTemplateRequest, GetTaskTemplateResponse } from "../models/
|
|
5
|
+
import { GetTaskTemplateRequest, GetTaskTemplateResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { GetTrafficDistributionRequest, GetTrafficDistributionResponse } from "../models/
|
|
5
|
+
import { GetTrafficDistributionRequest, GetTrafficDistributionResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { ListAgentStatusRequest } from "../models/
|
|
6
|
-
import { ListAgentStatusResponse } from "../models/models_1";
|
|
5
|
+
import { ListAgentStatusRequest, ListAgentStatusResponse } from "../models/models_1";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { ListContactEvaluationsRequest, ListContactEvaluationsResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListContactEvaluationsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListContactEvaluationsCommandInput extends ListContactEvaluationsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListContactEvaluationsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListContactEvaluationsCommandOutput extends ListContactEvaluationsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Lists contact evaluations in the specified Amazon Connect instance.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { ConnectClient, ListContactEvaluationsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
|
+
* // const { ConnectClient, ListContactEvaluationsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
|
+
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = { // ListContactEvaluationsRequest
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* ContactId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
34
|
+
* const command = new ListContactEvaluationsCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param ListContactEvaluationsCommandInput - {@link ListContactEvaluationsCommandInput}
|
|
39
|
+
* @returns {@link ListContactEvaluationsCommandOutput}
|
|
40
|
+
* @see {@link ListContactEvaluationsCommandInput} for command's `input` shape.
|
|
41
|
+
* @see {@link ListContactEvaluationsCommandOutput} for command's `response` shape.
|
|
42
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
45
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
48
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
51
|
+
* <p>The specified resource was not found.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
54
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
55
|
+
*
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
export declare class ListContactEvaluationsCommand extends $Command<ListContactEvaluationsCommandInput, ListContactEvaluationsCommandOutput, ConnectClientResolvedConfig> {
|
|
59
|
+
readonly input: ListContactEvaluationsCommandInput;
|
|
60
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
constructor(input: ListContactEvaluationsCommandInput);
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListContactEvaluationsCommandInput, ListContactEvaluationsCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private deserialize;
|
|
77
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { ListEvaluationFormVersionsRequest, ListEvaluationFormVersionsResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListEvaluationFormVersionsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListEvaluationFormVersionsCommandInput extends ListEvaluationFormVersionsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListEvaluationFormVersionsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEvaluationFormVersionsCommandOutput extends ListEvaluationFormVersionsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Lists versions of an evaluation form in the specified Amazon Connect instance.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { ConnectClient, ListEvaluationFormVersionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
|
+
* // const { ConnectClient, ListEvaluationFormVersionsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
|
+
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = { // ListEvaluationFormVersionsRequest
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* EvaluationFormId: "STRING_VALUE", // required
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
35
|
+
* const command = new ListEvaluationFormVersionsCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @param ListEvaluationFormVersionsCommandInput - {@link ListEvaluationFormVersionsCommandInput}
|
|
40
|
+
* @returns {@link ListEvaluationFormVersionsCommandOutput}
|
|
41
|
+
* @see {@link ListEvaluationFormVersionsCommandInput} for command's `input` shape.
|
|
42
|
+
* @see {@link ListEvaluationFormVersionsCommandOutput} for command's `response` shape.
|
|
43
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
46
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
49
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
52
|
+
* <p>The specified resource was not found.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
55
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
export declare class ListEvaluationFormVersionsCommand extends $Command<ListEvaluationFormVersionsCommandInput, ListEvaluationFormVersionsCommandOutput, ConnectClientResolvedConfig> {
|
|
60
|
+
readonly input: ListEvaluationFormVersionsCommandInput;
|
|
61
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
constructor(input: ListEvaluationFormVersionsCommandInput);
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEvaluationFormVersionsCommandInput, ListEvaluationFormVersionsCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private deserialize;
|
|
78
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { ListEvaluationFormsRequest, ListEvaluationFormsResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListEvaluationFormsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListEvaluationFormsCommandInput extends ListEvaluationFormsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListEvaluationFormsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEvaluationFormsCommandOutput extends ListEvaluationFormsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Lists evaluation forms in the specified Amazon Connect instance.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { ConnectClient, ListEvaluationFormsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
27
|
+
* // const { ConnectClient, ListEvaluationFormsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
28
|
+
* const client = new ConnectClient(config);
|
|
29
|
+
* const input = { // ListEvaluationFormsRequest
|
|
30
|
+
* InstanceId: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
34
|
+
* const command = new ListEvaluationFormsCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param ListEvaluationFormsCommandInput - {@link ListEvaluationFormsCommandInput}
|
|
39
|
+
* @returns {@link ListEvaluationFormsCommandOutput}
|
|
40
|
+
* @see {@link ListEvaluationFormsCommandInput} for command's `input` shape.
|
|
41
|
+
* @see {@link ListEvaluationFormsCommandOutput} for command's `response` shape.
|
|
42
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
45
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
48
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
51
|
+
* <p>The specified resource was not found.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
54
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
55
|
+
*
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
export declare class ListEvaluationFormsCommand extends $Command<ListEvaluationFormsCommandInput, ListEvaluationFormsCommandOutput, ConnectClientResolvedConfig> {
|
|
59
|
+
readonly input: ListEvaluationFormsCommandInput;
|
|
60
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
constructor(input: ListEvaluationFormsCommandInput);
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEvaluationFormsCommandInput, ListEvaluationFormsCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private deserialize;
|
|
77
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { StartContactEvaluationRequest, StartContactEvaluationResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link StartContactEvaluationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface StartContactEvaluationCommandInput extends StartContactEvaluationRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link StartContactEvaluationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface StartContactEvaluationCommandOutput extends StartContactEvaluationResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Starts an empty evaluation in the specified Amazon Connect instance, using the given
|
|
23
|
+
* evaluation form for the particular contact. The evaluation form version used for the contact
|
|
24
|
+
* evaluation corresponds to the currently activated version. If no version is activated for the
|
|
25
|
+
* evaluation form, the contact evaluation cannot be started. </p>
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>Evaluations created through the public API do not contain answer values suggested from
|
|
28
|
+
* automation.</p>
|
|
29
|
+
* </note>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ConnectClient, StartContactEvaluationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
34
|
+
* // const { ConnectClient, StartContactEvaluationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
35
|
+
* const client = new ConnectClient(config);
|
|
36
|
+
* const input = { // StartContactEvaluationRequest
|
|
37
|
+
* InstanceId: "STRING_VALUE", // required
|
|
38
|
+
* ContactId: "STRING_VALUE", // required
|
|
39
|
+
* EvaluationFormId: "STRING_VALUE", // required
|
|
40
|
+
* ClientToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new StartContactEvaluationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param StartContactEvaluationCommandInput - {@link StartContactEvaluationCommandInput}
|
|
47
|
+
* @returns {@link StartContactEvaluationCommandOutput}
|
|
48
|
+
* @see {@link StartContactEvaluationCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link StartContactEvaluationCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
53
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
56
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
59
|
+
* <p>A resource already has that name.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The specified resource was not found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
65
|
+
* <p>The service quota has been exceeded.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare class StartContactEvaluationCommand extends $Command<StartContactEvaluationCommandInput, StartContactEvaluationCommandOutput, ConnectClientResolvedConfig> {
|
|
73
|
+
readonly input: StartContactEvaluationCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: StartContactEvaluationCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartContactEvaluationCommandInput, StartContactEvaluationCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { SubmitContactEvaluationRequest, SubmitContactEvaluationResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link SubmitContactEvaluationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface SubmitContactEvaluationCommandInput extends SubmitContactEvaluationRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link SubmitContactEvaluationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface SubmitContactEvaluationCommandOutput extends SubmitContactEvaluationResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Submits a contact evaluation in the specified Amazon Connect instance. Answers included
|
|
23
|
+
* in the request are merged with existing answers for the given evaluation. If no answers or notes
|
|
24
|
+
* are passed, the evaluation is submitted with the existing answers and notes. You can delete an
|
|
25
|
+
* answer or note by passing an empty object (<code>\{\}</code>) to the question identifier. </p>
|
|
26
|
+
* <p>If a contact evaluation is already in submitted state, this operation will trigger a
|
|
27
|
+
* resubmission.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ConnectClient, SubmitContactEvaluationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
32
|
+
* // const { ConnectClient, SubmitContactEvaluationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
33
|
+
* const client = new ConnectClient(config);
|
|
34
|
+
* const input = { // SubmitContactEvaluationRequest
|
|
35
|
+
* InstanceId: "STRING_VALUE", // required
|
|
36
|
+
* EvaluationId: "STRING_VALUE", // required
|
|
37
|
+
* Answers: { // EvaluationAnswersInputMap
|
|
38
|
+
* "<keys>": { // EvaluationAnswerInput
|
|
39
|
+
* Value: { // EvaluationAnswerData Union: only one key present
|
|
40
|
+
* StringValue: "STRING_VALUE",
|
|
41
|
+
* NumericValue: Number("double"),
|
|
42
|
+
* NotApplicable: true || false,
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* Notes: { // EvaluationNotesMap
|
|
47
|
+
* "<keys>": { // EvaluationNote
|
|
48
|
+
* Value: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
52
|
+
* const command = new SubmitContactEvaluationCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param SubmitContactEvaluationCommandInput - {@link SubmitContactEvaluationCommandInput}
|
|
57
|
+
* @returns {@link SubmitContactEvaluationCommandOutput}
|
|
58
|
+
* @see {@link SubmitContactEvaluationCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link SubmitContactEvaluationCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
63
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
66
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
69
|
+
* <p>A resource already has that name.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The specified resource was not found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class SubmitContactEvaluationCommand extends $Command<SubmitContactEvaluationCommandInput, SubmitContactEvaluationCommandOutput, ConnectClientResolvedConfig> {
|
|
80
|
+
readonly input: SubmitContactEvaluationCommandInput;
|
|
81
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
constructor(input: SubmitContactEvaluationCommandInput);
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubmitContactEvaluationCommandInput, SubmitContactEvaluationCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private serialize;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private deserialize;
|
|
98
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { UpdateContactEvaluationRequest, UpdateContactEvaluationResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateContactEvaluationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateContactEvaluationCommandInput extends UpdateContactEvaluationRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateContactEvaluationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateContactEvaluationCommandOutput extends UpdateContactEvaluationResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Updates details about a contact evaluation in the specified Amazon Connect instance. A
|
|
23
|
+
* contact evaluation must be in draft state. Answers included in the request are merged with
|
|
24
|
+
* existing answers for the given evaluation. An answer or note can be deleted by passing an empty
|
|
25
|
+
* object (<code>\{\}</code>) to the question identifier. </p>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ConnectClient, UpdateContactEvaluationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
30
|
+
* // const { ConnectClient, UpdateContactEvaluationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
31
|
+
* const client = new ConnectClient(config);
|
|
32
|
+
* const input = { // UpdateContactEvaluationRequest
|
|
33
|
+
* InstanceId: "STRING_VALUE", // required
|
|
34
|
+
* EvaluationId: "STRING_VALUE", // required
|
|
35
|
+
* Answers: { // EvaluationAnswersInputMap
|
|
36
|
+
* "<keys>": { // EvaluationAnswerInput
|
|
37
|
+
* Value: { // EvaluationAnswerData Union: only one key present
|
|
38
|
+
* StringValue: "STRING_VALUE",
|
|
39
|
+
* NumericValue: Number("double"),
|
|
40
|
+
* NotApplicable: true || false,
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* Notes: { // EvaluationNotesMap
|
|
45
|
+
* "<keys>": { // EvaluationNote
|
|
46
|
+
* Value: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateContactEvaluationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param UpdateContactEvaluationCommandInput - {@link UpdateContactEvaluationCommandInput}
|
|
55
|
+
* @returns {@link UpdateContactEvaluationCommandOutput}
|
|
56
|
+
* @see {@link UpdateContactEvaluationCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link UpdateContactEvaluationCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
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 InvalidParameterException} (client fault)
|
|
64
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
67
|
+
* <p>A resource already has that name.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The specified resource was not found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class UpdateContactEvaluationCommand extends $Command<UpdateContactEvaluationCommandInput, UpdateContactEvaluationCommandOutput, ConnectClientResolvedConfig> {
|
|
78
|
+
readonly input: UpdateContactEvaluationCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: UpdateContactEvaluationCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateContactEvaluationCommandInput, UpdateContactEvaluationCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|