@horietakehiro/aws-cdk-utul 0.41.52 → 0.41.53

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 (23) hide show
  1. package/lib/types/cfn-resource-types/aws-connect-datatable.d.ts +73 -0
  2. package/lib/types/cfn-resource-types/aws-connect-datatable.js +3 -0
  3. package/lib/types/cfn-resource-types/aws-connect-datatableattribute.d.ts +33 -0
  4. package/lib/types/cfn-resource-types/aws-connect-datatableattribute.js +3 -0
  5. package/lib/types/cfn-resource-types/aws-connect-evaluationform.d.ts +284 -167
  6. package/lib/types/cfn-resource-types/aws-connect-evaluationform.js +1 -1
  7. package/lib/types/cfn-resource-types/aws-devopsagent-agentspace.d.ts +29 -0
  8. package/lib/types/cfn-resource-types/aws-devopsagent-agentspace.js +3 -0
  9. package/lib/types/cfn-resource-types/aws-devopsagent-association.d.ts +320 -0
  10. package/lib/types/cfn-resource-types/aws-devopsagent-association.js +3 -0
  11. package/lib/types/cfn-resource-types/aws-lambda-function.d.ts +11 -0
  12. package/lib/types/cfn-resource-types/aws-lambda-function.js +1 -1
  13. package/lib/types/cfn-resource-types/aws-observabilityadmin-s3tableintegration.d.ts +65 -0
  14. package/lib/types/cfn-resource-types/aws-observabilityadmin-s3tableintegration.js +3 -0
  15. package/lib/types/cfn-resource-types/aws-observabilityadmin-telemetrypipelines.d.ts +49 -0
  16. package/lib/types/cfn-resource-types/aws-observabilityadmin-telemetrypipelines.js +3 -0
  17. package/lib/types/cfn-resource-types/aws-s3-storagelens.d.ts +43 -9
  18. package/lib/types/cfn-resource-types/aws-s3-storagelens.js +1 -1
  19. package/lib/types/cfn-resource-types/aws-securityhub-connectorv2.d.ts +82 -0
  20. package/lib/types/cfn-resource-types/aws-securityhub-connectorv2.js +3 -0
  21. package/lib/types/cfn-resource-types.d.ts +14 -0
  22. package/lib/types/cfn-resource-types.js +39 -25
  23. package/package.json +1 -1
@@ -2,30 +2,32 @@
2
2
  * The identifier to reference the item.
3
3
  */
4
4
  export type RefId = string;
5
+ /**
6
+ * The option identifiers referencing the options to be selected when the automation option is triggered.
7
+ */
8
+ export type ReferenceIdList = RefId[];
9
+ /**
10
+ * The option reference identifiers of the default answers.
11
+ */
12
+ export type ReferenceIdList1 = RefId[];
5
13
  /**
6
14
  * Creates an evaluation form for the specified CON instance.
7
15
  */
8
16
  export interface _AWS_CONNECT_EVALUATIONFORM {
9
- ScoringStrategy?: ScoringStrategy;
10
17
  /**
11
- * The status of the evaluation form.
12
- * *Allowed values*: ``DRAFT`` | ``ACTIVE``
18
+ * A title of the evaluation form.
13
19
  */
14
- Status: ("DRAFT" | "ACTIVE");
15
- AutoEvaluationConfiguration?: AutoEvaluationConfiguration;
20
+ Title: string;
16
21
  /**
17
22
  * The description of the evaluation form.
18
23
  * *Length Constraints*: Minimum length of 0. Maximum length of 1024.
19
24
  */
20
25
  Description?: string;
26
+ EvaluationFormArn?: string;
21
27
  /**
22
28
  * The identifier of the Amazon Connect instance.
23
29
  */
24
30
  InstanceArn: string;
25
- /**
26
- * A title of the evaluation form.
27
- */
28
- Title: string;
29
31
  /**
30
32
  * Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
31
33
  * *Minimum size*: 1
@@ -35,7 +37,15 @@ export interface _AWS_CONNECT_EVALUATIONFORM {
35
37
  * @maxItems 200
36
38
  */
37
39
  Items: EvaluationFormBaseItem[];
38
- EvaluationFormArn?: string;
40
+ ScoringStrategy?: ScoringStrategy;
41
+ AutoEvaluationConfiguration?: AutoEvaluationConfiguration;
42
+ /**
43
+ * The status of the evaluation form.
44
+ * *Allowed values*: ``DRAFT`` | ``ACTIVE``
45
+ */
46
+ Status: ("DRAFT" | "ACTIVE");
47
+ TargetConfiguration?: EvaluationFormTargetConfiguration;
48
+ LanguageConfiguration?: EvaluationFormLanguageConfiguration;
39
49
  /**
40
50
  * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
41
51
  *
@@ -43,24 +53,6 @@ export interface _AWS_CONNECT_EVALUATIONFORM {
43
53
  */
44
54
  Tags?: Tag[];
45
55
  }
46
- /**
47
- * A scoring strategy of the evaluation form.
48
- */
49
- export interface ScoringStrategy {
50
- /**
51
- * The scoring status of the evaluation form.
52
- * *Allowed values*: ``ENABLED`` | ``DISABLED``
53
- */
54
- Status: ("ENABLED" | "DISABLED");
55
- /**
56
- * The scoring mode of the evaluation form.
57
- * *Allowed values*: ``QUESTION_ONLY`` | ``SECTION_ONLY``
58
- */
59
- Mode: ("QUESTION_ONLY" | "SECTION_ONLY");
60
- }
61
- export interface AutoEvaluationConfiguration {
62
- Enabled?: boolean;
63
- }
64
56
  /**
65
57
  * An item at the root level. All items must be sections.
66
58
  */
@@ -80,6 +72,10 @@ export interface EvaluationFormSection {
80
72
  * The instructions of the section.
81
73
  */
82
74
  Instructions?: string;
75
+ /**
76
+ * The identifier to reference the item.
77
+ */
78
+ RefId: string;
83
79
  /**
84
80
  * The items of the section.
85
81
  * *Minimum*: 1
@@ -88,10 +84,6 @@ export interface EvaluationFormSection {
88
84
  * @maxItems 200
89
85
  */
90
86
  Items?: EvaluationFormItem[];
91
- /**
92
- * The identifier to reference the item.
93
- */
94
- RefId: string;
95
87
  /**
96
88
  * The scoring weight of the section.
97
89
  * *Minimum*: 0
@@ -103,38 +95,34 @@ export interface EvaluationFormSection {
103
95
  * Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
104
96
  */
105
97
  export interface EvaluationFormItem {
106
- Question?: EvaluationFormQuestion;
107
98
  Section?: EvaluationFormSection1;
99
+ Question?: EvaluationFormQuestion;
108
100
  }
109
101
  /**
110
- * The information of the question.
102
+ * The information of the section.
111
103
  */
112
- export interface EvaluationFormQuestion {
113
- /**
114
- * The flag to enable not applicable answers to the question.
115
- */
116
- NotApplicableEnabled?: boolean;
117
- Enablement?: EvaluationFormItemEnablementConfiguration;
104
+ export interface EvaluationFormSection1 {
118
105
  /**
119
- * The title of the question.
120
- * *Length Constraints*: Minimum length of 1. Maximum length of 350.
106
+ * The title of the section.
107
+ * *Length Constraints*: Minimum length of 1. Maximum length of 128.
121
108
  */
122
109
  Title: string;
123
- /**
124
- * The type of the question.
125
- * *Allowed values*: ``NUMERIC`` | ``SINGLESELECT`` | ``TEXT``
126
- */
127
- QuestionType: ("NUMERIC" | "SINGLESELECT" | "TEXT" | "MULTISELECT" | "DATETIME");
128
110
  /**
129
111
  * The instructions of the section.
130
- * *Length Constraints*: Minimum length of 0. Maximum length of 1024.
131
112
  */
132
113
  Instructions?: string;
133
114
  /**
134
115
  * The identifier to reference the item.
135
116
  */
136
117
  RefId: string;
137
- QuestionTypeProperties?: EvaluationFormQuestionTypeProperties;
118
+ /**
119
+ * The items of the section.
120
+ * *Minimum*: 1
121
+ *
122
+ * @minItems 1
123
+ * @maxItems 200
124
+ */
125
+ Items?: EvaluationFormItem[];
138
126
  /**
139
127
  * The scoring weight of the section.
140
128
  * *Minimum*: 0
@@ -142,70 +130,41 @@ export interface EvaluationFormQuestion {
142
130
  */
143
131
  Weight?: number;
144
132
  }
145
- export interface EvaluationFormItemEnablementConfiguration {
146
- Condition: EvaluationFormItemEnablementCondition;
147
- /**
148
- * Defines the enablement status to be applied when the specified condition is met.
149
- */
150
- Action: ("DISABLE" | "ENABLE");
151
- /**
152
- * Specifies the default enablement status to be applied when the condition is not satisfied.
153
- */
154
- DefaultAction?: ("DISABLE" | "ENABLE");
155
- }
156
133
  /**
157
- * Specifies the logical condition that determines when to apply the enablement rules.
134
+ * The information of the question.
158
135
  */
159
- export interface EvaluationFormItemEnablementCondition {
160
- /**
161
- * The logical operator used to combine multiple operands, determining how the condition is evaluated as a whole.
162
- */
163
- Operator?: ("OR" | "AND");
136
+ export interface EvaluationFormQuestion {
164
137
  /**
165
- * The list of operands that compose the condition. Each operand represents a specific criteria to be evaluated.
166
- *
167
- * @minItems 1
138
+ * The title of the question.
139
+ * *Length Constraints*: Minimum length of 1. Maximum length of 350.
168
140
  */
169
- Operands: EvaluationFormItemEnablementConditionOperand[];
170
- }
171
- export interface EvaluationFormItemEnablementConditionOperand {
172
- Expression?: EvaluationFormItemEnablementExpression;
173
- }
174
- /**
175
- * A direct comparison expression that evaluates a form item's value against specified criteria.
176
- */
177
- export interface EvaluationFormItemEnablementExpression {
141
+ Title: string;
178
142
  /**
179
- * The list of possible values to compare against the source form item's value.
180
- *
181
- * @minItems 1
143
+ * The instructions of the section.
144
+ * *Length Constraints*: Minimum length of 0. Maximum length of 1024.
182
145
  */
183
- Values: EvaluationFormItemEnablementSourceValue[];
184
- Source: EvaluationFormItemEnablementSource;
146
+ Instructions?: string;
185
147
  /**
186
- * Specifies the comparison method to determine if the source value matches any of the specified values.
148
+ * The identifier to reference the item.
187
149
  */
188
- Comparator: ("IN" | "NOT_IN" | "ALL_IN" | "EXACT");
189
- }
190
- export interface EvaluationFormItemEnablementSourceValue {
150
+ RefId: string;
191
151
  /**
192
- * Type of the source entity value.
152
+ * The flag to enable not applicable answers to the question.
193
153
  */
194
- Type?: "OPTION_REF_ID";
154
+ NotApplicableEnabled?: boolean;
195
155
  /**
196
- * The reference id of the source entity value.
156
+ * The type of the question.
157
+ * *Allowed values*: ``NUMERIC`` | ``SINGLESELECT`` | ``TEXT``
197
158
  */
198
- RefId?: string;
199
- }
200
- /**
201
- * Identifies the form item whose value will be evaluated in the expression.
202
- */
203
- export interface EvaluationFormItemEnablementSource {
159
+ QuestionType: ("NUMERIC" | "SINGLESELECT" | "TEXT" | "MULTISELECT" | "DATETIME");
160
+ QuestionTypeProperties?: EvaluationFormQuestionTypeProperties;
204
161
  /**
205
- * The type of the source entity.
162
+ * The scoring weight of the section.
163
+ * *Minimum*: 0
164
+ * *Maximum*: 100
206
165
  */
207
- Type: "QUESTION_REF_ID";
208
- RefId?: RefId;
166
+ Weight?: number;
167
+ Enablement?: EvaluationFormItemEnablementConfiguration;
209
168
  }
210
169
  /**
211
170
  * The properties of the type of question. Text questions do not have to define question type properties.
@@ -214,19 +173,12 @@ export interface EvaluationFormQuestionTypeProperties {
214
173
  Numeric?: EvaluationFormNumericQuestionProperties;
215
174
  SingleSelect?: EvaluationFormSingleSelectQuestionProperties;
216
175
  Text?: EvaluationFormTextQuestionProperties;
176
+ MultiSelect?: EvaluationFormMultiSelectQuestionProperties;
217
177
  }
218
178
  /**
219
179
  * The properties of the numeric question.
220
180
  */
221
181
  export interface EvaluationFormNumericQuestionProperties {
222
- /**
223
- * The scoring options of the numeric question.
224
- *
225
- * @minItems 1
226
- * @maxItems 10
227
- */
228
- Options?: EvaluationFormNumericQuestionOption[];
229
- Automation?: EvaluationFormNumericQuestionAutomation;
230
182
  /**
231
183
  * The minimum answer value.
232
184
  */
@@ -235,18 +187,19 @@ export interface EvaluationFormNumericQuestionProperties {
235
187
  * The maximum answer value.
236
188
  */
237
189
  MaxValue: number;
190
+ /**
191
+ * The scoring options of the numeric question.
192
+ *
193
+ * @minItems 1
194
+ * @maxItems 10
195
+ */
196
+ Options?: EvaluationFormNumericQuestionOption[];
197
+ Automation?: EvaluationFormNumericQuestionAutomation;
238
198
  }
239
199
  /**
240
200
  * Information about the option range used for scoring in numeric questions.
241
201
  */
242
202
  export interface EvaluationFormNumericQuestionOption {
243
- /**
244
- * The score assigned to answer values within the range option.
245
- * *Minimum*: 0
246
- * *Maximum*: 10
247
- */
248
- Score?: number;
249
- AutomaticFailConfiguration?: AutomaticFailConfiguration;
250
203
  /**
251
204
  * The minimum answer value of the range option.
252
205
  */
@@ -255,14 +208,24 @@ export interface EvaluationFormNumericQuestionOption {
255
208
  * The maximum answer value of the range option.
256
209
  */
257
210
  MaxValue: number;
211
+ /**
212
+ * The score assigned to answer values within the range option.
213
+ * *Minimum*: 0
214
+ * *Maximum*: 10
215
+ */
216
+ Score?: number;
258
217
  /**
259
218
  * The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
260
219
  */
261
220
  AutomaticFail?: boolean;
221
+ AutomaticFailConfiguration?: AutomaticFailConfiguration;
262
222
  }
223
+ /**
224
+ * A configuration for automatic fail.
225
+ */
263
226
  export interface AutomaticFailConfiguration {
264
227
  /**
265
- * The target section refId to control failure propagation boundary.
228
+ * The referenceId of the target section for auto failure.
266
229
  */
267
230
  TargetSection?: string;
268
231
  }
@@ -270,14 +233,8 @@ export interface AutomaticFailConfiguration {
270
233
  * The automation properties of the numeric question.
271
234
  */
272
235
  export interface EvaluationFormNumericQuestionAutomation {
273
- AnswerSource?: EvaluationFormQuestionAutomationAnswerSource;
274
236
  PropertyValue?: NumericQuestionPropertyValueAutomation;
275
- }
276
- export interface EvaluationFormQuestionAutomationAnswerSource {
277
- /**
278
- * The type of the answer source
279
- */
280
- SourceType: ("CONTACT_LENS_DATA" | "GEN_AI");
237
+ AnswerSource?: EvaluationFormQuestionAutomationAnswerSource;
281
238
  }
282
239
  /**
283
240
  * The property value of the automation.
@@ -286,17 +243,21 @@ export interface NumericQuestionPropertyValueAutomation {
286
243
  /**
287
244
  * The property label of the automation.
288
245
  */
289
- 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" | "LONGEST_HOLD_DURATION" | "NUMBER_OF_HOLDS" | "AGENT_INTERACTION_AND_HOLD_DURATION" | "CUSTOMER_SENTIMENT_SCORE_WITHOUT_AGENT");
246
+ 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" | "LONGEST_HOLD_DURATION" | "NUMBER_OF_HOLDS" | "AGENT_INTERACTION_AND_HOLD_DURATION" | "CUSTOMER_SENTIMENT_SCORE_WITHOUT_AGENT" | "CUSTOMER_SENTIMENT_SCORE_WITH_AGENT");
290
247
  }
291
248
  /**
292
- * The properties of the numeric question.
249
+ * A source of automation answer for numeric question.
293
250
  */
294
- export interface EvaluationFormSingleSelectQuestionProperties {
251
+ export interface EvaluationFormQuestionAutomationAnswerSource {
295
252
  /**
296
- * The display mode of the single select question.
297
- * *Allowed values*: ``DROPDOWN`` | ``RADIO``
253
+ * The automation answer source type.
298
254
  */
299
- DisplayAs?: ("DROPDOWN" | "RADIO");
255
+ SourceType: ("CONTACT_LENS_DATA" | "GEN_AI");
256
+ }
257
+ /**
258
+ * The properties of the numeric question.
259
+ */
260
+ export interface EvaluationFormSingleSelectQuestionProperties {
300
261
  /**
301
262
  * The answer options of the single select question.
302
263
  * *Minimum*: 2
@@ -306,6 +267,11 @@ export interface EvaluationFormSingleSelectQuestionProperties {
306
267
  * @maxItems 256
307
268
  */
308
269
  Options: EvaluationFormSingleSelectQuestionOption[];
270
+ /**
271
+ * The display mode of the single select question.
272
+ * *Allowed values*: ``DROPDOWN`` | ``RADIO``
273
+ */
274
+ DisplayAs?: ("DROPDOWN" | "RADIO");
309
275
  Automation?: EvaluationFormSingleSelectQuestionAutomation;
310
276
  }
311
277
  /**
@@ -313,29 +279,32 @@ export interface EvaluationFormSingleSelectQuestionProperties {
313
279
  */
314
280
  export interface EvaluationFormSingleSelectQuestionOption {
315
281
  /**
316
- * The score assigned to the answer option.
317
- * *Minimum*: 0
318
- * *Maximum*: 10
282
+ * The identifier to reference the item.
319
283
  */
320
- Score?: number;
321
- AutomaticFailConfiguration?: AutomaticFailConfiguration1;
284
+ RefId: string;
322
285
  /**
323
286
  * The title of the answer option.
324
287
  * *Length Constraints*: Minimum length of 1. Maximum length of 128.
325
288
  */
326
289
  Text: string;
327
290
  /**
328
- * The identifier to reference the item.
291
+ * The score assigned to the answer option.
292
+ * *Minimum*: 0
293
+ * *Maximum*: 10
329
294
  */
330
- RefId: string;
295
+ Score?: number;
331
296
  /**
332
297
  * The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
333
298
  */
334
299
  AutomaticFail?: boolean;
300
+ AutomaticFailConfiguration?: AutomaticFailConfiguration1;
335
301
  }
302
+ /**
303
+ * Whether automatic fail is configured on a single select question.
304
+ */
336
305
  export interface AutomaticFailConfiguration1 {
337
306
  /**
338
- * The target section refId to control failure propagation boundary.
307
+ * The referenceId of the target section for auto failure.
339
308
  */
340
309
  TargetSection?: string;
341
310
  }
@@ -352,11 +321,11 @@ export interface EvaluationFormSingleSelectQuestionAutomation {
352
321
  * @maxItems 20
353
322
  */
354
323
  Options: EvaluationFormSingleSelectQuestionAutomationOption[];
355
- AnswerSource?: EvaluationFormQuestionAutomationAnswerSource1;
356
324
  /**
357
325
  * The identifier to reference the item.
358
326
  */
359
327
  DefaultOptionRefId?: string;
328
+ AnswerSource?: EvaluationFormQuestionAutomationAnswerSource1;
360
329
  }
361
330
  /**
362
331
  * The automation options of the single select question.
@@ -368,89 +337,237 @@ export interface EvaluationFormSingleSelectQuestionAutomationOption {
368
337
  * The automation option based on a rule category for the single select question.
369
338
  */
370
339
  export interface SingleSelectQuestionRuleCategoryAutomation {
371
- /**
372
- * The condition to apply for the automation option. If the condition is PRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT, then the option is applied when the contact data does not include the category.
373
- * *Allowed values*: ``PRESENT`` | ``NOT_PRESENT``
374
- * *Maximum*: 50
375
- */
376
- Condition: ("PRESENT" | "NOT_PRESENT");
377
340
  /**
378
341
  * The category name, as defined in Rules.
379
342
  * *Minimum*: 1
380
343
  * *Maximum*: 50
381
344
  */
382
345
  Category: string;
346
+ /**
347
+ * The condition to apply for the automation option. If the condition is PRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT, then the option is applied when the contact data does not include the category.
348
+ * *Allowed values*: ``PRESENT`` | ``NOT_PRESENT``
349
+ * *Maximum*: 50
350
+ */
351
+ Condition: ("PRESENT" | "NOT_PRESENT");
383
352
  /**
384
353
  * The identifier to reference the item.
385
354
  */
386
355
  OptionRefId: string;
387
356
  }
357
+ /**
358
+ * Automation answer source.
359
+ */
388
360
  export interface EvaluationFormQuestionAutomationAnswerSource1 {
389
361
  /**
390
- * The type of the answer source
362
+ * The automation answer source type.
391
363
  */
392
364
  SourceType: ("CONTACT_LENS_DATA" | "GEN_AI");
393
365
  }
366
+ /**
367
+ * The properties of the text question.
368
+ */
394
369
  export interface EvaluationFormTextQuestionProperties {
395
370
  Automation?: EvaluationFormTextQuestionAutomation;
396
371
  }
397
372
  /**
398
- * Specifies how the question can be automatically answered.
373
+ * The automation properties of the text question.
399
374
  */
400
375
  export interface EvaluationFormTextQuestionAutomation {
401
376
  AnswerSource?: EvaluationFormQuestionAutomationAnswerSource2;
402
377
  }
403
378
  /**
404
- * The source of automation answer of the question.
379
+ * Automation answer source.
405
380
  */
406
381
  export interface EvaluationFormQuestionAutomationAnswerSource2 {
407
382
  /**
408
- * The type of the answer source
383
+ * The automation answer source type.
409
384
  */
410
385
  SourceType: ("CONTACT_LENS_DATA" | "GEN_AI");
411
386
  }
387
+ export interface EvaluationFormMultiSelectQuestionProperties {
388
+ /**
389
+ * The list of options for the question.
390
+ *
391
+ * @minItems 2
392
+ * @maxItems 256
393
+ */
394
+ Options: EvaluationFormMultiSelectQuestionOption[];
395
+ /**
396
+ * The display mode of the multi-select question.
397
+ */
398
+ DisplayAs?: ("DROPDOWN" | "CHECKBOX");
399
+ Automation?: EvaluationFormMultiSelectQuestionAutomation;
400
+ }
401
+ export interface EvaluationFormMultiSelectQuestionOption {
402
+ /**
403
+ * The identifier to reference the item.
404
+ */
405
+ RefId: string;
406
+ /**
407
+ * The title of the option.
408
+ */
409
+ Text: string;
410
+ }
412
411
  /**
413
- * The information of the section.
412
+ * The automation properties for the multi-select question.
414
413
  */
415
- export interface EvaluationFormSection1 {
414
+ export interface EvaluationFormMultiSelectQuestionAutomation {
416
415
  /**
417
- * The title of the section.
418
- * *Length Constraints*: Minimum length of 1. Maximum length of 128.
416
+ * The answer options for the automation.
417
+ *
418
+ * @minItems 1
419
+ * @maxItems 20
419
420
  */
420
- Title: string;
421
+ Options: EvaluationFormMultiSelectQuestionAutomationOption[];
422
+ DefaultOptionRefIds?: ReferenceIdList1;
423
+ AnswerSource?: EvaluationFormQuestionAutomationAnswerSource3;
424
+ }
425
+ export interface EvaluationFormMultiSelectQuestionAutomationOption {
426
+ RuleCategory: MultiSelectQuestionRuleCategoryAutomation;
427
+ }
428
+ /**
429
+ * The automation option based on Rules categories.
430
+ */
431
+ export interface MultiSelectQuestionRuleCategoryAutomation {
421
432
  /**
422
- * The instructions of the section.
433
+ * The category name as defined in Rules.
423
434
  */
424
- Instructions?: string;
435
+ Category: string;
425
436
  /**
426
- * The items of the section.
427
- * *Minimum*: 1
437
+ * The automation condition applied on contact categories.
438
+ */
439
+ Condition: ("PRESENT" | "NOT_PRESENT");
440
+ OptionRefIds: ReferenceIdList;
441
+ }
442
+ /**
443
+ * The source of automation answer of the question.
444
+ */
445
+ export interface EvaluationFormQuestionAutomationAnswerSource3 {
446
+ /**
447
+ * The automation answer source type.
448
+ */
449
+ SourceType: ("CONTACT_LENS_DATA" | "GEN_AI");
450
+ }
451
+ /**
452
+ * A question conditional enablement.
453
+ */
454
+ export interface EvaluationFormItemEnablementConfiguration {
455
+ Condition: EvaluationFormItemEnablementCondition;
456
+ /**
457
+ * An enablement action that if condition is satisfied.
458
+ */
459
+ Action: ("DISABLE" | "ENABLE");
460
+ /**
461
+ * An enablement action that if condition is not satisfied.
462
+ */
463
+ DefaultAction?: ("DISABLE" | "ENABLE");
464
+ }
465
+ /**
466
+ * A condition for item enablement configuration.
467
+ */
468
+ export interface EvaluationFormItemEnablementCondition {
469
+ /**
470
+ * Operands of the enablement condition.
428
471
  *
429
472
  * @minItems 1
430
- * @maxItems 200
431
473
  */
432
- Items?: EvaluationFormItem[];
474
+ Operands: EvaluationFormItemEnablementConditionOperand[];
475
+ /**
476
+ * The operator to be used to be applied to operands if more than one provided.
477
+ */
478
+ Operator?: ("OR" | "AND");
479
+ }
480
+ /**
481
+ * An operand of the enablement condition.
482
+ */
483
+ export interface EvaluationFormItemEnablementConditionOperand {
484
+ Expression?: EvaluationFormItemEnablementExpression;
485
+ }
486
+ /**
487
+ * An expression of the enablement condition.
488
+ */
489
+ export interface EvaluationFormItemEnablementExpression {
490
+ Source: EvaluationFormItemEnablementSource;
491
+ /**
492
+ * A list of values from source item.
493
+ *
494
+ * @minItems 1
495
+ */
496
+ Values: EvaluationFormItemEnablementSourceValue[];
497
+ /**
498
+ * A comparator to be used against list of values.
499
+ */
500
+ Comparator: ("IN" | "NOT_IN" | "ALL_IN" | "EXACT");
501
+ }
502
+ /**
503
+ * A source item of enablement expression.
504
+ */
505
+ export interface EvaluationFormItemEnablementSource {
506
+ /**
507
+ * A type of source item.
508
+ */
509
+ Type: "QUESTION_REF_ID";
433
510
  /**
434
511
  * The identifier to reference the item.
435
512
  */
436
- RefId: string;
513
+ RefId?: string;
514
+ }
515
+ /**
516
+ * An enablement expression source value.
517
+ */
518
+ export interface EvaluationFormItemEnablementSourceValue {
437
519
  /**
438
- * The scoring weight of the section.
439
- * *Minimum*: 0
440
- * *Maximum*: 100
520
+ * A type of source item value.
441
521
  */
442
- Weight?: number;
522
+ Type?: "OPTION_REF_ID";
523
+ /**
524
+ * The identifier to reference the item.
525
+ */
526
+ RefId?: string;
443
527
  }
444
528
  /**
445
- * A key-value pair to associate with a resource.
529
+ * A scoring strategy of the evaluation form.
446
530
  */
447
- export interface Tag {
531
+ export interface ScoringStrategy {
448
532
  /**
449
- * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -
533
+ * The scoring mode of the evaluation form.
534
+ * *Allowed values*: ``QUESTION_ONLY`` | ``SECTION_ONLY``
450
535
  */
451
- Value: string;
536
+ Mode: ("QUESTION_ONLY" | "SECTION_ONLY");
537
+ /**
538
+ * The scoring status of the evaluation form.
539
+ * *Allowed values*: ``ENABLED`` | ``DISABLED``
540
+ */
541
+ Status: ("ENABLED" | "DISABLED");
542
+ }
543
+ /**
544
+ * The automatic evaluation configuration of an evaluation form.
545
+ */
546
+ export interface AutoEvaluationConfiguration {
547
+ Enabled?: boolean;
548
+ }
549
+ export interface EvaluationFormTargetConfiguration {
550
+ /**
551
+ * The interaction type of a contact
552
+ */
553
+ ContactInteractionType: ("AGENT" | "AUTOMATED");
554
+ }
555
+ export interface EvaluationFormLanguageConfiguration {
556
+ /**
557
+ * The language of the form
558
+ */
559
+ FormLanguage?: ("de-DE" | "en-US" | "es-ES" | "fr-FR" | "it-IT" | "pt-BR");
560
+ }
561
+ /**
562
+ * A key-value pair to associate with a resource.
563
+ */
564
+ export interface Tag {
452
565
  /**
453
566
  * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -
454
567
  */
455
568
  Key: string;
569
+ /**
570
+ * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -
571
+ */
572
+ Value: string;
456
573
  }