@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.
Files changed (113) hide show
  1. package/README.md +119 -7
  2. package/dist-cjs/Connect.js +28 -0
  3. package/dist-cjs/commands/ActivateEvaluationFormCommand.js +45 -0
  4. package/dist-cjs/commands/CreateEvaluationFormCommand.js +45 -0
  5. package/dist-cjs/commands/DeactivateEvaluationFormCommand.js +45 -0
  6. package/dist-cjs/commands/DeleteContactEvaluationCommand.js +45 -0
  7. package/dist-cjs/commands/DeleteEvaluationFormCommand.js +45 -0
  8. package/dist-cjs/commands/DescribeContactEvaluationCommand.js +45 -0
  9. package/dist-cjs/commands/DescribeEvaluationFormCommand.js +45 -0
  10. package/dist-cjs/commands/GetFederationTokenCommand.js +2 -2
  11. package/dist-cjs/commands/ListContactEvaluationsCommand.js +45 -0
  12. package/dist-cjs/commands/ListEvaluationFormVersionsCommand.js +45 -0
  13. package/dist-cjs/commands/ListEvaluationFormsCommand.js +45 -0
  14. package/dist-cjs/commands/StartContactEvaluationCommand.js +45 -0
  15. package/dist-cjs/commands/SubmitContactEvaluationCommand.js +45 -0
  16. package/dist-cjs/commands/UpdateContactEvaluationCommand.js +45 -0
  17. package/dist-cjs/commands/UpdateEvaluationFormCommand.js +45 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/models/models_0.js +142 -125
  20. package/dist-cjs/models/models_1.js +71 -1
  21. package/dist-cjs/pagination/ListContactEvaluationsPaginator.js +28 -0
  22. package/dist-cjs/pagination/ListEvaluationFormVersionsPaginator.js +29 -0
  23. package/dist-cjs/pagination/ListEvaluationFormsPaginator.js +29 -0
  24. package/dist-cjs/pagination/index.js +3 -0
  25. package/dist-cjs/protocols/Aws_restJson1.js +1272 -41
  26. package/dist-es/Connect.js +28 -0
  27. package/dist-es/commands/ActivateEvaluationFormCommand.js +41 -0
  28. package/dist-es/commands/CreateEvaluationFormCommand.js +41 -0
  29. package/dist-es/commands/DeactivateEvaluationFormCommand.js +41 -0
  30. package/dist-es/commands/DeleteContactEvaluationCommand.js +41 -0
  31. package/dist-es/commands/DeleteEvaluationFormCommand.js +41 -0
  32. package/dist-es/commands/DescribeContactEvaluationCommand.js +41 -0
  33. package/dist-es/commands/DescribeEvaluationFormCommand.js +41 -0
  34. package/dist-es/commands/GetFederationTokenCommand.js +1 -1
  35. package/dist-es/commands/ListContactEvaluationsCommand.js +41 -0
  36. package/dist-es/commands/ListEvaluationFormVersionsCommand.js +41 -0
  37. package/dist-es/commands/ListEvaluationFormsCommand.js +41 -0
  38. package/dist-es/commands/StartContactEvaluationCommand.js +41 -0
  39. package/dist-es/commands/SubmitContactEvaluationCommand.js +41 -0
  40. package/dist-es/commands/UpdateContactEvaluationCommand.js +41 -0
  41. package/dist-es/commands/UpdateEvaluationFormCommand.js +41 -0
  42. package/dist-es/commands/index.js +14 -0
  43. package/dist-es/models/models_0.js +136 -116
  44. package/dist-es/models/models_1.js +67 -0
  45. package/dist-es/pagination/ListContactEvaluationsPaginator.js +24 -0
  46. package/dist-es/pagination/ListEvaluationFormVersionsPaginator.js +25 -0
  47. package/dist-es/pagination/ListEvaluationFormsPaginator.js +25 -0
  48. package/dist-es/pagination/index.js +3 -0
  49. package/dist-es/protocols/Aws_restJson1.js +1235 -33
  50. package/dist-types/Connect.d.ts +98 -0
  51. package/dist-types/ConnectClient.d.ts +16 -2
  52. package/dist-types/commands/ActivateEvaluationFormCommand.d.ts +81 -0
  53. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +213 -0
  54. package/dist-types/commands/CreateParticipantCommand.d.ts +1 -1
  55. package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +81 -0
  56. package/dist-types/commands/DeleteContactEvaluationCommand.d.ts +79 -0
  57. package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +89 -0
  58. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +77 -0
  59. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +79 -0
  60. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -1
  61. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  62. package/dist-types/commands/GetMetricDataCommand.d.ts +1 -1
  63. package/dist-types/commands/GetMetricDataV2Command.d.ts +1 -1
  64. package/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
  65. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +1 -1
  66. package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -2
  67. package/dist-types/commands/ListContactEvaluationsCommand.d.ts +77 -0
  68. package/dist-types/commands/ListEvaluationFormVersionsCommand.d.ts +78 -0
  69. package/dist-types/commands/ListEvaluationFormsCommand.d.ts +77 -0
  70. package/dist-types/commands/StartContactEvaluationCommand.d.ts +91 -0
  71. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +98 -0
  72. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +96 -0
  73. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +215 -0
  74. package/dist-types/commands/index.d.ts +14 -0
  75. package/dist-types/models/models_0.d.ts +859 -1281
  76. package/dist-types/models/models_1.d.ts +1758 -3
  77. package/dist-types/pagination/ListContactEvaluationsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListEvaluationFormVersionsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListEvaluationFormsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +3 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  82. package/dist-types/ts3.4/Connect.d.ts +238 -0
  83. package/dist-types/ts3.4/ConnectClient.d.ts +84 -0
  84. package/dist-types/ts3.4/commands/ActivateEvaluationFormCommand.d.ts +41 -0
  85. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +41 -0
  87. package/dist-types/ts3.4/commands/DeleteContactEvaluationCommand.d.ts +37 -0
  88. package/dist-types/ts3.4/commands/DeleteEvaluationFormCommand.d.ts +36 -0
  89. package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +4 -2
  98. package/dist-types/ts3.4/commands/ListContactEvaluationsCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/ListEvaluationFormVersionsCommand.d.ts +41 -0
  100. package/dist-types/ts3.4/commands/ListEvaluationFormsCommand.d.ts +38 -0
  101. package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +41 -0
  102. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +41 -0
  103. package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +41 -0
  104. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +328 -262
  107. package/dist-types/ts3.4/models/models_1.d.ts +425 -1
  108. package/dist-types/ts3.4/pagination/ListContactEvaluationsPaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListEvaluationFormVersionsPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/ListEvaluationFormsPaginator.d.ts +11 -0
  111. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  112. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  113. package/package.json +4 -4
@@ -0,0 +1,213 @@
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 { CreateEvaluationFormResponse } from "../models/models_0";
6
+ import { CreateEvaluationFormRequest } from "../models/models_1";
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateEvaluationFormCommand}.
11
+ */
12
+ export interface CreateEvaluationFormCommandInput extends CreateEvaluationFormRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateEvaluationFormCommand}.
18
+ */
19
+ export interface CreateEvaluationFormCommandOutput extends CreateEvaluationFormResponse, __MetadataBearer {
20
+ }
21
+ /**
22
+ * @public
23
+ * <p>Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define
24
+ * questions related to agent performance, and create sections to organize such questions. An
25
+ * evaluation form must have a unique title within an instance. Question and section identifiers
26
+ * cannot be duplicated within the same evaluation form.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, CreateEvaluationFormCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, CreateEvaluationFormCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // CreateEvaluationFormRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * Title: "STRING_VALUE", // required
36
+ * Description: "STRING_VALUE",
37
+ * Items: [ // EvaluationFormItemsList // required
38
+ * { // EvaluationFormItem Union: only one key present
39
+ * Section: { // EvaluationFormSection
40
+ * Title: "STRING_VALUE", // required
41
+ * RefId: "STRING_VALUE", // required
42
+ * Instructions: "STRING_VALUE",
43
+ * Items: [
44
+ * {// Union: only one key present
45
+ * Section: {
46
+ * Title: "STRING_VALUE", // required
47
+ * RefId: "STRING_VALUE", // required
48
+ * Instructions: "STRING_VALUE",
49
+ * Items: "<EvaluationFormItemsList>",
50
+ * Weight: Number("double"),
51
+ * },
52
+ * Question: { // EvaluationFormQuestion
53
+ * Title: "STRING_VALUE", // required
54
+ * Instructions: "STRING_VALUE",
55
+ * RefId: "STRING_VALUE", // required
56
+ * NotApplicableEnabled: true || false,
57
+ * QuestionType: "TEXT" || "SINGLESELECT" || "NUMERIC", // required
58
+ * QuestionTypeProperties: { // EvaluationFormQuestionTypeProperties Union: only one key present
59
+ * Numeric: { // EvaluationFormNumericQuestionProperties
60
+ * MinValue: Number("int"), // required
61
+ * MaxValue: Number("int"), // required
62
+ * Options: [ // EvaluationFormNumericQuestionOptionList
63
+ * { // EvaluationFormNumericQuestionOption
64
+ * MinValue: Number("int"), // required
65
+ * MaxValue: Number("int"), // required
66
+ * Score: Number("int"),
67
+ * AutomaticFail: true || false,
68
+ * },
69
+ * ],
70
+ * Automation: { // EvaluationFormNumericQuestionAutomation Union: only one key present
71
+ * PropertyValue: { // NumericQuestionPropertyValueAutomation
72
+ * Label: "OVERALL_CUSTOMER_SENTIMENT_SCORE" || "OVERALL_AGENT_SENTIMENT_SCORE" || "NON_TALK_TIME" || "NON_TALK_TIME_PERCENTAGE" || "NUMBER_OF_INTERRUPTIONS" || "CONTACT_DURATION" || "AGENT_INTERACTION_DURATION" || "CUSTOMER_HOLD_TIME", // required
73
+ * },
74
+ * },
75
+ * },
76
+ * SingleSelect: { // EvaluationFormSingleSelectQuestionProperties
77
+ * Options: [ // EvaluationFormSingleSelectQuestionOptionList // required
78
+ * { // EvaluationFormSingleSelectQuestionOption
79
+ * RefId: "STRING_VALUE", // required
80
+ * Text: "STRING_VALUE", // required
81
+ * Score: Number("int"),
82
+ * AutomaticFail: true || false,
83
+ * },
84
+ * ],
85
+ * DisplayAs: "DROPDOWN" || "RADIO",
86
+ * Automation: { // EvaluationFormSingleSelectQuestionAutomation
87
+ * Options: [ // EvaluationFormSingleSelectQuestionAutomationOptionList // required
88
+ * { // EvaluationFormSingleSelectQuestionAutomationOption Union: only one key present
89
+ * RuleCategory: { // SingleSelectQuestionRuleCategoryAutomation
90
+ * Category: "STRING_VALUE", // required
91
+ * Condition: "PRESENT" || "NOT_PRESENT", // required
92
+ * OptionRefId: "STRING_VALUE", // required
93
+ * },
94
+ * },
95
+ * ],
96
+ * DefaultOptionRefId: "STRING_VALUE",
97
+ * },
98
+ * },
99
+ * },
100
+ * Weight: Number("double"),
101
+ * },
102
+ * },
103
+ * ],
104
+ * Weight: Number("double"),
105
+ * },
106
+ * Question: {
107
+ * Title: "STRING_VALUE", // required
108
+ * Instructions: "STRING_VALUE",
109
+ * RefId: "STRING_VALUE", // required
110
+ * NotApplicableEnabled: true || false,
111
+ * QuestionType: "TEXT" || "SINGLESELECT" || "NUMERIC", // required
112
+ * QuestionTypeProperties: {// Union: only one key present
113
+ * Numeric: {
114
+ * MinValue: Number("int"), // required
115
+ * MaxValue: Number("int"), // required
116
+ * Options: [
117
+ * {
118
+ * MinValue: Number("int"), // required
119
+ * MaxValue: Number("int"), // required
120
+ * Score: Number("int"),
121
+ * AutomaticFail: true || false,
122
+ * },
123
+ * ],
124
+ * Automation: {// Union: only one key present
125
+ * PropertyValue: {
126
+ * Label: "OVERALL_CUSTOMER_SENTIMENT_SCORE" || "OVERALL_AGENT_SENTIMENT_SCORE" || "NON_TALK_TIME" || "NON_TALK_TIME_PERCENTAGE" || "NUMBER_OF_INTERRUPTIONS" || "CONTACT_DURATION" || "AGENT_INTERACTION_DURATION" || "CUSTOMER_HOLD_TIME", // required
127
+ * },
128
+ * },
129
+ * },
130
+ * SingleSelect: {
131
+ * Options: [ // required
132
+ * {
133
+ * RefId: "STRING_VALUE", // required
134
+ * Text: "STRING_VALUE", // required
135
+ * Score: Number("int"),
136
+ * AutomaticFail: true || false,
137
+ * },
138
+ * ],
139
+ * DisplayAs: "DROPDOWN" || "RADIO",
140
+ * Automation: {
141
+ * Options: [ // required
142
+ * {// Union: only one key present
143
+ * RuleCategory: {
144
+ * Category: "STRING_VALUE", // required
145
+ * Condition: "PRESENT" || "NOT_PRESENT", // required
146
+ * OptionRefId: "STRING_VALUE", // required
147
+ * },
148
+ * },
149
+ * ],
150
+ * DefaultOptionRefId: "STRING_VALUE",
151
+ * },
152
+ * },
153
+ * },
154
+ * Weight: Number("double"),
155
+ * },
156
+ * },
157
+ * ],
158
+ * ScoringStrategy: { // EvaluationFormScoringStrategy
159
+ * Mode: "QUESTION_ONLY" || "SECTION_ONLY", // required
160
+ * Status: "ENABLED" || "DISABLED", // required
161
+ * },
162
+ * ClientToken: "STRING_VALUE",
163
+ * };
164
+ * const command = new CreateEvaluationFormCommand(input);
165
+ * const response = await client.send(command);
166
+ * ```
167
+ *
168
+ * @param CreateEvaluationFormCommandInput - {@link CreateEvaluationFormCommandInput}
169
+ * @returns {@link CreateEvaluationFormCommandOutput}
170
+ * @see {@link CreateEvaluationFormCommandInput} for command's `input` shape.
171
+ * @see {@link CreateEvaluationFormCommandOutput} for command's `response` shape.
172
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
173
+ *
174
+ * @throws {@link InternalServiceException} (server fault)
175
+ * <p>Request processing failed because of an error or failure with the service.</p>
176
+ *
177
+ * @throws {@link InvalidParameterException} (client fault)
178
+ * <p>One or more of the specified parameters are not valid.</p>
179
+ *
180
+ * @throws {@link ResourceConflictException} (client fault)
181
+ * <p>A resource already has that name.</p>
182
+ *
183
+ * @throws {@link ResourceNotFoundException} (client fault)
184
+ * <p>The specified resource was not found.</p>
185
+ *
186
+ * @throws {@link ServiceQuotaExceededException} (client fault)
187
+ * <p>The service quota has been exceeded.</p>
188
+ *
189
+ * @throws {@link ThrottlingException} (client fault)
190
+ * <p>The throttling limit has been exceeded.</p>
191
+ *
192
+ *
193
+ */
194
+ export declare class CreateEvaluationFormCommand extends $Command<CreateEvaluationFormCommandInput, CreateEvaluationFormCommandOutput, ConnectClientResolvedConfig> {
195
+ readonly input: CreateEvaluationFormCommandInput;
196
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
197
+ /**
198
+ * @public
199
+ */
200
+ constructor(input: CreateEvaluationFormCommandInput);
201
+ /**
202
+ * @internal
203
+ */
204
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEvaluationFormCommandInput, CreateEvaluationFormCommandOutput>;
205
+ /**
206
+ * @internal
207
+ */
208
+ private serialize;
209
+ /**
210
+ * @internal
211
+ */
212
+ private deserialize;
213
+ }
@@ -20,7 +20,7 @@ export interface CreateParticipantCommandOutput extends CreateParticipantRespons
20
20
  /**
21
21
  * @public
22
22
  * <p>Adds a new participant into an on-going chat contact. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-customize-flow.html">Customize chat
23
- * flow experiences by integrating custom participants</a>.</p>
23
+ * flow experiences by integrating custom participants</a>.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
@@ -0,0 +1,81 @@
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 { DeactivateEvaluationFormRequest, DeactivateEvaluationFormResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link DeactivateEvaluationFormCommand}.
10
+ */
11
+ export interface DeactivateEvaluationFormCommandInput extends DeactivateEvaluationFormRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link DeactivateEvaluationFormCommand}.
17
+ */
18
+ export interface DeactivateEvaluationFormCommandOutput extends DeactivateEvaluationFormResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Deactivates an evaluation form in the specified Amazon Connect instance. After a form is deactivated,
23
+ * it is no longer available for users to start new evaluations based on the form. </p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { ConnectClient, DeactivateEvaluationFormCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
+ * // const { ConnectClient, DeactivateEvaluationFormCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
+ * const client = new ConnectClient(config);
30
+ * const input = { // DeactivateEvaluationFormRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * EvaluationFormId: "STRING_VALUE", // required
33
+ * EvaluationFormVersion: Number("int"), // required
34
+ * };
35
+ * const command = new DeactivateEvaluationFormCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @param DeactivateEvaluationFormCommandInput - {@link DeactivateEvaluationFormCommandInput}
40
+ * @returns {@link DeactivateEvaluationFormCommandOutput}
41
+ * @see {@link DeactivateEvaluationFormCommandInput} for command's `input` shape.
42
+ * @see {@link DeactivateEvaluationFormCommandOutput} 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 ResourceConflictException} (client fault)
52
+ * <p>A resource already has that name.</p>
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * <p>The specified resource was not found.</p>
56
+ *
57
+ * @throws {@link ThrottlingException} (client fault)
58
+ * <p>The throttling limit has been exceeded.</p>
59
+ *
60
+ *
61
+ */
62
+ export declare class DeactivateEvaluationFormCommand extends $Command<DeactivateEvaluationFormCommandInput, DeactivateEvaluationFormCommandOutput, ConnectClientResolvedConfig> {
63
+ readonly input: DeactivateEvaluationFormCommandInput;
64
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
+ /**
66
+ * @public
67
+ */
68
+ constructor(input: DeactivateEvaluationFormCommandInput);
69
+ /**
70
+ * @internal
71
+ */
72
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeactivateEvaluationFormCommandInput, DeactivateEvaluationFormCommandOutput>;
73
+ /**
74
+ * @internal
75
+ */
76
+ private serialize;
77
+ /**
78
+ * @internal
79
+ */
80
+ private deserialize;
81
+ }
@@ -0,0 +1,79 @@
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 { DeleteContactEvaluationRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link DeleteContactEvaluationCommand}.
10
+ */
11
+ export interface DeleteContactEvaluationCommandInput extends DeleteContactEvaluationRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link DeleteContactEvaluationCommand}.
17
+ */
18
+ export interface DeleteContactEvaluationCommandOutput extends __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Deletes a contact evaluation 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, DeleteContactEvaluationCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
+ * // const { ConnectClient, DeleteContactEvaluationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
+ * const client = new ConnectClient(config);
29
+ * const input = { // DeleteContactEvaluationRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * EvaluationId: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new DeleteContactEvaluationCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param DeleteContactEvaluationCommandInput - {@link DeleteContactEvaluationCommandInput}
38
+ * @returns {@link DeleteContactEvaluationCommandOutput}
39
+ * @see {@link DeleteContactEvaluationCommandInput} for command's `input` shape.
40
+ * @see {@link DeleteContactEvaluationCommandOutput} for command's `response` shape.
41
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
42
+ *
43
+ * @throws {@link InternalServiceException} (server fault)
44
+ * <p>Request processing failed because of an error or failure with the service.</p>
45
+ *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>One or more of the specified parameters are not valid.</p>
48
+ *
49
+ * @throws {@link ResourceConflictException} (client fault)
50
+ * <p>A resource already has that name.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>The specified resource was not found.</p>
54
+ *
55
+ * @throws {@link ThrottlingException} (client fault)
56
+ * <p>The throttling limit has been exceeded.</p>
57
+ *
58
+ *
59
+ */
60
+ export declare class DeleteContactEvaluationCommand extends $Command<DeleteContactEvaluationCommandInput, DeleteContactEvaluationCommandOutput, ConnectClientResolvedConfig> {
61
+ readonly input: DeleteContactEvaluationCommandInput;
62
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
66
+ constructor(input: DeleteContactEvaluationCommandInput);
67
+ /**
68
+ * @internal
69
+ */
70
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteContactEvaluationCommandInput, DeleteContactEvaluationCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
74
+ private serialize;
75
+ /**
76
+ * @internal
77
+ */
78
+ private deserialize;
79
+ }
@@ -0,0 +1,89 @@
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 { DeleteEvaluationFormRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link DeleteEvaluationFormCommand}.
10
+ */
11
+ export interface DeleteEvaluationFormCommandInput extends DeleteEvaluationFormRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link DeleteEvaluationFormCommand}.
17
+ */
18
+ export interface DeleteEvaluationFormCommandOutput extends __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Deletes an evaluation form in the specified Amazon Connect instance. </p>
23
+ * <ul>
24
+ * <li>
25
+ * <p>If the version
26
+ * property is provided, only the specified version of the evaluation form is deleted.</p>
27
+ * </li>
28
+ * <li>
29
+ * <p>If no version is provided, then the full form (all versions) is deleted.</p>
30
+ * </li>
31
+ * </ul>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ConnectClient, DeleteEvaluationFormCommand } from "@aws-sdk/client-connect"; // ES Modules import
36
+ * // const { ConnectClient, DeleteEvaluationFormCommand } = require("@aws-sdk/client-connect"); // CommonJS import
37
+ * const client = new ConnectClient(config);
38
+ * const input = { // DeleteEvaluationFormRequest
39
+ * InstanceId: "STRING_VALUE", // required
40
+ * EvaluationFormId: "STRING_VALUE", // required
41
+ * EvaluationFormVersion: Number("int"),
42
+ * };
43
+ * const command = new DeleteEvaluationFormCommand(input);
44
+ * const response = await client.send(command);
45
+ * ```
46
+ *
47
+ * @param DeleteEvaluationFormCommandInput - {@link DeleteEvaluationFormCommandInput}
48
+ * @returns {@link DeleteEvaluationFormCommandOutput}
49
+ * @see {@link DeleteEvaluationFormCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteEvaluationFormCommandOutput} for command's `response` shape.
51
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
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 InvalidParameterException} (client fault)
57
+ * <p>One or more of the specified parameters are 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
+ *
69
+ */
70
+ export declare class DeleteEvaluationFormCommand extends $Command<DeleteEvaluationFormCommandInput, DeleteEvaluationFormCommandOutput, ConnectClientResolvedConfig> {
71
+ readonly input: DeleteEvaluationFormCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: DeleteEvaluationFormCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEvaluationFormCommandInput, DeleteEvaluationFormCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -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 { DescribeContactEvaluationRequest } from "../models/models_0";
6
+ import { DescribeContactEvaluationResponse } from "../models/models_1";
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeContactEvaluationCommand}.
11
+ */
12
+ export interface DescribeContactEvaluationCommandInput extends DescribeContactEvaluationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeContactEvaluationCommand}.
18
+ */
19
+ export interface DescribeContactEvaluationCommandOutput extends DescribeContactEvaluationResponse, __MetadataBearer {
20
+ }
21
+ /**
22
+ * @public
23
+ * <p>Describes a contact evaluation in the specified Amazon Connect instance.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { ConnectClient, DescribeContactEvaluationCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
+ * // const { ConnectClient, DescribeContactEvaluationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
+ * const client = new ConnectClient(config);
30
+ * const input = { // DescribeContactEvaluationRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * EvaluationId: "STRING_VALUE", // required
33
+ * };
34
+ * const command = new DescribeContactEvaluationCommand(input);
35
+ * const response = await client.send(command);
36
+ * ```
37
+ *
38
+ * @param DescribeContactEvaluationCommandInput - {@link DescribeContactEvaluationCommandInput}
39
+ * @returns {@link DescribeContactEvaluationCommandOutput}
40
+ * @see {@link DescribeContactEvaluationCommandInput} for command's `input` shape.
41
+ * @see {@link DescribeContactEvaluationCommandOutput} 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 DescribeContactEvaluationCommand extends $Command<DescribeContactEvaluationCommandInput, DescribeContactEvaluationCommandOutput, ConnectClientResolvedConfig> {
59
+ readonly input: DescribeContactEvaluationCommandInput;
60
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
61
+ /**
62
+ * @public
63
+ */
64
+ constructor(input: DescribeContactEvaluationCommandInput);
65
+ /**
66
+ * @internal
67
+ */
68
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeContactEvaluationCommandInput, DescribeContactEvaluationCommandOutput>;
69
+ /**
70
+ * @internal
71
+ */
72
+ private serialize;
73
+ /**
74
+ * @internal
75
+ */
76
+ private deserialize;
77
+ }
@@ -0,0 +1,79 @@
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 { DescribeEvaluationFormRequest } from "../models/models_0";
6
+ import { DescribeEvaluationFormResponse } from "../models/models_1";
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeEvaluationFormCommand}.
11
+ */
12
+ export interface DescribeEvaluationFormCommandInput extends DescribeEvaluationFormRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeEvaluationFormCommand}.
18
+ */
19
+ export interface DescribeEvaluationFormCommandOutput extends DescribeEvaluationFormResponse, __MetadataBearer {
20
+ }
21
+ /**
22
+ * @public
23
+ * <p>Describes an evaluation form in the specified Amazon Connect instance. If the version
24
+ * property is not provided, the latest version of the evaluation form is described.</p>
25
+ * @example
26
+ * Use a bare-bones client and the command you need to make an API call.
27
+ * ```javascript
28
+ * import { ConnectClient, DescribeEvaluationFormCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
+ * // const { ConnectClient, DescribeEvaluationFormCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
+ * const client = new ConnectClient(config);
31
+ * const input = { // DescribeEvaluationFormRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * EvaluationFormId: "STRING_VALUE", // required
34
+ * EvaluationFormVersion: Number("int"),
35
+ * };
36
+ * const command = new DescribeEvaluationFormCommand(input);
37
+ * const response = await client.send(command);
38
+ * ```
39
+ *
40
+ * @param DescribeEvaluationFormCommandInput - {@link DescribeEvaluationFormCommandInput}
41
+ * @returns {@link DescribeEvaluationFormCommandOutput}
42
+ * @see {@link DescribeEvaluationFormCommandInput} for command's `input` shape.
43
+ * @see {@link DescribeEvaluationFormCommandOutput} for command's `response` shape.
44
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
45
+ *
46
+ * @throws {@link InternalServiceException} (server fault)
47
+ * <p>Request processing failed because of an error or failure with the service.</p>
48
+ *
49
+ * @throws {@link InvalidParameterException} (client fault)
50
+ * <p>One or more of the specified parameters are not valid.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>The specified resource was not found.</p>
54
+ *
55
+ * @throws {@link ThrottlingException} (client fault)
56
+ * <p>The throttling limit has been exceeded.</p>
57
+ *
58
+ *
59
+ */
60
+ export declare class DescribeEvaluationFormCommand extends $Command<DescribeEvaluationFormCommandInput, DescribeEvaluationFormCommandOutput, ConnectClientResolvedConfig> {
61
+ readonly input: DescribeEvaluationFormCommandInput;
62
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
66
+ constructor(input: DescribeEvaluationFormCommandInput);
67
+ /**
68
+ * @internal
69
+ */
70
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEvaluationFormCommandInput, DescribeEvaluationFormCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
74
+ private serialize;
75
+ /**
76
+ * @internal
77
+ */
78
+ private deserialize;
79
+ }
@@ -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 { GetCurrentUserDataRequest, GetCurrentUserDataResponse } from "../models/models_0";
5
+ import { GetCurrentUserDataRequest, GetCurrentUserDataResponse } 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 { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
5
+ import { GetFederationTokenRequest, GetFederationTokenResponse } 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 { GetMetricDataRequest, GetMetricDataResponse } from "../models/models_0";
5
+ import { GetMetricDataRequest, GetMetricDataResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *