@cdklabs/cdk-construct-connect-datalake 0.0.26 → 0.0.27

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 (125) hide show
  1. package/.jsii +8 -8
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +3 -3
  6. package/node_modules/@aws-sdk/client-connect/README.md +7 -0
  7. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +114 -19
  8. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +2 -0
  9. package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListEvaluationFormAIVersionsCommand.js +4 -0
  10. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +1 -0
  11. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +14 -0
  12. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +83 -18
  13. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +7 -0
  14. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +3 -2
  15. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateEvaluationFormCommand.d.ts +9 -0
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRoutingProfileCommand.d.ts +10 -1
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateTaskTemplateCommand.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactEvaluationCommand.d.ts +9 -0
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeEvaluationFormCommand.d.ts +9 -0
  20. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRoutingProfileCommand.d.ts +10 -1
  21. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetContactMetricsCommand.d.ts +2 -1
  22. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCrossRegionRoutingCommand.d.ts +1 -2
  23. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListEvaluationFormAIVersionsCommand.d.ts +96 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -1
  25. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ResumeContactCommand.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchAgentStatusesCommand.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -2
  29. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -0
  30. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRoutingProfilesCommand.d.ts +10 -1
  31. package/node_modules/@aws-sdk/client-connect/dist-types/commands/StartContactEvaluationCommand.d.ts +0 -3
  32. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateEvaluationFormCommand.d.ts +9 -0
  33. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +10 -1
  34. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserNotificationStatusCommand.d.ts +1 -2
  39. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +1 -0
  40. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +38 -0
  41. package/node_modules/@aws-sdk/client-connect/dist-types/models/errors.d.ts +2 -1
  42. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +86 -102
  43. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +102 -54
  44. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +155 -139
  45. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +144 -157
  46. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +183 -3
  47. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +8 -0
  48. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +17 -0
  49. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  50. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetContactMetricsCommand.d.ts +2 -1
  52. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCrossRegionRoutingCommand.d.ts +1 -2
  53. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListEvaluationFormAIVersionsCommand.d.ts +42 -0
  54. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +2 -1
  55. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +4 -2
  59. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserNotificationStatusCommand.d.ts +4 -2
  64. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +1 -0
  65. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +20 -0
  66. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/errors.d.ts +1 -1
  67. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +16 -24
  68. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +26 -12
  69. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +35 -33
  70. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +33 -39
  71. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +45 -0
  72. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  73. package/node_modules/@aws-sdk/client-connect/package.json +3 -3
  74. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +1 -1
  75. package/node_modules/@aws-sdk/client-glue/package.json +3 -3
  76. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
  77. package/node_modules/@aws-sdk/client-lakeformation/package.json +3 -3
  78. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
  79. package/node_modules/@aws-sdk/client-ram/package.json +3 -3
  80. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  81. package/node_modules/@aws-sdk/client-sts/package.json +3 -3
  82. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
  83. package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
  84. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
  85. package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
  86. package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
  87. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
  88. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
  89. package/node_modules/@aws-sdk/core/package.json +1 -1
  90. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  91. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  92. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  93. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  94. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  95. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  96. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  97. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  98. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  99. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  100. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  101. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  102. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  103. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  104. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  105. package/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
  106. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +11 -10
  107. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +11 -10
  108. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -0
  109. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +25 -8
  110. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -0
  111. package/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
  112. package/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
  113. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
  114. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
  115. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
  116. package/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
  117. package/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
  118. package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
  119. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
  120. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
  121. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
  122. package/node_modules/@smithy/core/errors.d.ts +5 -0
  123. package/node_modules/@smithy/core/errors.js +5 -0
  124. package/node_modules/@smithy/core/package.json +11 -2
  125. package/package.json +9 -9
@@ -0,0 +1,96 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListEvaluationFormAIVersionsRequest, ListEvaluationFormAIVersionsResponse } from "../models/models_2";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListEvaluationFormAIVersionsCommand}.
11
+ */
12
+ export interface ListEvaluationFormAIVersionsCommandInput extends ListEvaluationFormAIVersionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListEvaluationFormAIVersionsCommand}.
18
+ */
19
+ export interface ListEvaluationFormAIVersionsCommandOutput extends ListEvaluationFormAIVersionsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListEvaluationFormAIVersionsCommand_base: {
22
+ new (input: ListEvaluationFormAIVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListEvaluationFormAIVersionsCommandInput, ListEvaluationFormAIVersionsCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListEvaluationFormAIVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListEvaluationFormAIVersionsCommandInput, ListEvaluationFormAIVersionsCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the available AI versions for evaluation forms in the specified Connect Customer instance.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ConnectClient, ListEvaluationFormAIVersionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
32
+ * // const { ConnectClient, ListEvaluationFormAIVersionsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
33
+ * // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
34
+ * const config = {}; // type is ConnectClientConfig
35
+ * const client = new ConnectClient(config);
36
+ * const input = { // ListEvaluationFormAIVersionsRequest
37
+ * InstanceId: "STRING_VALUE", // required
38
+ * ContactInteractionType: "AGENT" || "AUTOMATED" || "CUSTOMER", // required
39
+ * MaxResults: Number("int"),
40
+ * NextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListEvaluationFormAIVersionsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListEvaluationFormAIVersionsResponse
45
+ * // AIVersionSummaries: [ // EvaluationFormAIVersionSummaryList // required
46
+ * // { // EvaluationFormAIVersionSummary
47
+ * // AIVersionName: "STRING_VALUE", // required
48
+ * // AIVersionLifecycle: { // EvaluationFormAIVersionLifecycle
49
+ * // Status: "LATEST" || "PREVIEW" || "ACTIVE" || "DEPRECATED", // required
50
+ * // StartOfLifeTime: new Date("TIMESTAMP"), // required
51
+ * // EndOfLifeTime: new Date("TIMESTAMP"),
52
+ * // },
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListEvaluationFormAIVersionsCommandInput - {@link ListEvaluationFormAIVersionsCommandInput}
61
+ * @returns {@link ListEvaluationFormAIVersionsCommandOutput}
62
+ * @see {@link ListEvaluationFormAIVersionsCommandInput} for command's `input` shape.
63
+ * @see {@link ListEvaluationFormAIVersionsCommandOutput} for command's `response` shape.
64
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
65
+ *
66
+ * @throws {@link InternalServiceException} (server fault)
67
+ * <p>Request processing failed because of an error or failure with the service.</p>
68
+ *
69
+ * @throws {@link InvalidParameterException} (client fault)
70
+ * <p>One or more of the specified parameters are not valid.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource was not found.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The throttling limit has been exceeded.</p>
77
+ *
78
+ * @throws {@link ConnectServiceException}
79
+ * <p>Base exception class for all service exceptions from Connect service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ListEvaluationFormAIVersionsCommand extends ListEvaluationFormAIVersionsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListEvaluationFormAIVersionsRequest;
89
+ output: ListEvaluationFormAIVersionsResponse;
90
+ };
91
+ sdk: {
92
+ input: ListEvaluationFormAIVersionsCommandInput;
93
+ output: ListEvaluationFormAIVersionsCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ReplicateInstanceRequest, ReplicateInstanceResponse } from "../models/models_2";
2
+ import type { ReplicateInstanceRequest } from "../models/models_2";
3
+ import type { ReplicateInstanceResponse } from "../models/models_3";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ResumeContactRequest, ResumeContactResponse } from "../models/models_2";
2
+ import type { ResumeContactRequest, ResumeContactResponse } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ResumeContactRecordingRequest, ResumeContactRecordingResponse } from "../models/models_2";
2
+ import type { ResumeContactRecordingRequest, ResumeContactRecordingResponse } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { SearchAgentStatusesResponse } from "../models/models_2";
2
+ import type { SearchAgentStatusesResponse } from "../models/models_3";
3
3
  import type { SearchAgentStatusesRequest } from "../models/models_4";
4
4
  /**
5
5
  * @public
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { SearchAvailablePhoneNumbersRequest } from "../models/models_2";
3
- import type { SearchAvailablePhoneNumbersResponse } from "../models/models_3";
2
+ import type { SearchAvailablePhoneNumbersRequest, SearchAvailablePhoneNumbersResponse } from "../models/models_3";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -170,6 +170,7 @@ declare const SearchEvaluationFormsCommand_base: {
170
170
  * // Tags: { // TagMap
171
171
  * // "<keys>": "STRING_VALUE",
172
172
  * // },
173
+ * // AIVersion: "STRING_VALUE",
173
174
  * // },
174
175
  * // ],
175
176
  * // NextToken: "STRING_VALUE",
@@ -101,10 +101,19 @@ declare const SearchRoutingProfilesCommand_base: {
101
101
  * // MediaConcurrencies: [ // MediaConcurrencies
102
102
  * // { // MediaConcurrency
103
103
  * // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required
104
- * // Concurrency: Number("int"), // required
104
+ * // Concurrency: Number("int"),
105
105
  * // CrossChannelBehavior: { // CrossChannelBehavior
106
106
  * // BehaviorType: "ROUTE_CURRENT_CHANNEL_ONLY" || "ROUTE_ANY_CHANNEL", // required
107
107
  * // },
108
+ * // WorkloadTypeConcurrencies: [ // WorkloadTypeConcurrencies
109
+ * // { // WorkloadTypeConcurrency
110
+ * // WorkloadType: "STRING_VALUE", // required
111
+ * // Concurrency: Number("int"), // required
112
+ * // CrossChannelWorkloadBehavior: { // CrossChannelWorkloadBehavior
113
+ * // ChannelWorkloadBehaviorType: "ROUTE_CURRENT_CHANNEL_CURRENT_WORKLOADTYPE_ONLY" || "ROUTE_CURRENT_CHANNEL_ANY_WORKLOADTYPE_ONLY" || "ROUTE_ANY_CHANNEL_ANY_WORKLOAD_TYPE",
114
+ * // },
115
+ * // },
116
+ * // ],
108
117
  * // },
109
118
  * // ],
110
119
  * // DefaultOutboundQueueId: "STRING_VALUE",
@@ -27,9 +27,6 @@ declare const StartContactEvaluationCommand_base: {
27
27
  * <p>Starts an empty evaluation in the specified Connect Customer instance, using the given evaluation form for the
28
28
  * particular contact. The evaluation form version used for the contact evaluation corresponds to the currently
29
29
  * activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started. </p>
30
- * <note>
31
- * <p>Evaluations created through the public API do not contain answer values suggested from automation.</p>
32
- * </note>
33
30
  * @example
34
31
  * Use a bare-bones client and the command you need to make an API call.
35
32
  * ```javascript
@@ -240,6 +240,10 @@ declare const UpdateEvaluationFormCommand_base: {
240
240
  * },
241
241
  * ],
242
242
  * },
243
+ * MetricConfiguration: { // EvaluationFormMetricConfiguration
244
+ * MetricType: "BUSINESS_OUTCOME", // required
245
+ * MetricName: "STRING_VALUE", // required
246
+ * },
243
247
  * },
244
248
  * },
245
249
  * ],
@@ -361,6 +365,10 @@ declare const UpdateEvaluationFormCommand_base: {
361
365
  * IsExcludedFromScoring: true || false,
362
366
  * ScoreThresholds: "<EvaluationFormScoreThresholdList>",
363
367
  * },
368
+ * MetricConfiguration: {
369
+ * MetricType: "BUSINESS_OUTCOME", // required
370
+ * MetricName: "STRING_VALUE", // required
371
+ * },
364
372
  * },
365
373
  * },
366
374
  * ],
@@ -391,6 +399,7 @@ declare const UpdateEvaluationFormCommand_base: {
391
399
  * LanguageConfiguration: { // EvaluationFormLanguageConfiguration
392
400
  * FormLanguage: "de-DE" || "en-US" || "es-ES" || "fr-FR" || "it-IT" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "ms-MY",
393
401
  * },
402
+ * AIVersion: "STRING_VALUE",
394
403
  * };
395
404
  * const command = new UpdateEvaluationFormCommand(input);
396
405
  * const response = await client.send(command);
@@ -39,10 +39,19 @@ declare const UpdateRoutingProfileConcurrencyCommand_base: {
39
39
  * MediaConcurrencies: [ // MediaConcurrencies // required
40
40
  * { // MediaConcurrency
41
41
  * Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required
42
- * Concurrency: Number("int"), // required
42
+ * Concurrency: Number("int"),
43
43
  * CrossChannelBehavior: { // CrossChannelBehavior
44
44
  * BehaviorType: "ROUTE_CURRENT_CHANNEL_ONLY" || "ROUTE_ANY_CHANNEL", // required
45
45
  * },
46
+ * WorkloadTypeConcurrencies: [ // WorkloadTypeConcurrencies
47
+ * { // WorkloadTypeConcurrency
48
+ * WorkloadType: "STRING_VALUE", // required
49
+ * Concurrency: Number("int"), // required
50
+ * CrossChannelWorkloadBehavior: { // CrossChannelWorkloadBehavior
51
+ * ChannelWorkloadBehaviorType: "ROUTE_CURRENT_CHANNEL_CURRENT_WORKLOADTYPE_ONLY" || "ROUTE_CURRENT_CHANNEL_ANY_WORKLOADTYPE_ONLY" || "ROUTE_ANY_CHANNEL_ANY_WORKLOAD_TYPE",
52
+ * },
53
+ * },
54
+ * ],
46
55
  * },
47
56
  * ],
48
57
  * };
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateUserHierarchyRequest } from "../models/models_3";
2
+ import type { UpdateUserHierarchyRequest } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateUserHierarchyGroupNameRequest } from "../models/models_3";
2
+ import type { UpdateUserHierarchyGroupNameRequest } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateUserHierarchyStructureRequest } from "../models/models_3";
2
+ import type { UpdateUserHierarchyStructureRequest } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateUserIdentityInfoRequest } from "../models/models_3";
2
+ import type { UpdateUserIdentityInfoRequest } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateUserNotificationStatusRequest } from "../models/models_3";
3
- import type { UpdateUserNotificationStatusResponse } from "../models/models_4";
2
+ import type { UpdateUserNotificationStatusRequest, UpdateUserNotificationStatusResponse } from "../models/models_4";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -208,6 +208,7 @@ export * from "./ListDataTableValuesCommand";
208
208
  export * from "./ListDataTablesCommand";
209
209
  export * from "./ListDefaultVocabulariesCommand";
210
210
  export * from "./ListEntitySecurityProfilesCommand";
211
+ export * from "./ListEvaluationFormAIVersionsCommand";
211
212
  export * from "./ListEvaluationFormVersionsCommand";
212
213
  export * from "./ListEvaluationFormsCommand";
213
214
  export * from "./ListExtractionDefinitionsCommand";
@@ -659,6 +659,17 @@ export declare const EvaluationFormItemEnablementOperator: {
659
659
  * @public
660
660
  */
661
661
  export type EvaluationFormItemEnablementOperator = (typeof EvaluationFormItemEnablementOperator)[keyof typeof EvaluationFormItemEnablementOperator];
662
+ /**
663
+ * @public
664
+ * @enum
665
+ */
666
+ export declare const EvaluationFormMetricType: {
667
+ readonly BUSINESS_OUTCOME: "BUSINESS_OUTCOME";
668
+ };
669
+ /**
670
+ * @public
671
+ */
672
+ export type EvaluationFormMetricType = (typeof EvaluationFormMetricType)[keyof typeof EvaluationFormMetricType];
662
673
  /**
663
674
  * @public
664
675
  * @enum
@@ -1137,6 +1148,19 @@ export declare const BehaviorType: {
1137
1148
  * @public
1138
1149
  */
1139
1150
  export type BehaviorType = (typeof BehaviorType)[keyof typeof BehaviorType];
1151
+ /**
1152
+ * @public
1153
+ * @enum
1154
+ */
1155
+ export declare const ChannelWorkloadBehaviorType: {
1156
+ readonly ROUTE_ANY_CHANNEL_ANY_WORKLOAD_TYPE: "ROUTE_ANY_CHANNEL_ANY_WORKLOAD_TYPE";
1157
+ readonly ROUTE_CURRENT_CHANNEL_ANY_WORKLOADTYPE_ONLY: "ROUTE_CURRENT_CHANNEL_ANY_WORKLOADTYPE_ONLY";
1158
+ readonly ROUTE_CURRENT_CHANNEL_CURRENT_WORKLOADTYPE_ONLY: "ROUTE_CURRENT_CHANNEL_CURRENT_WORKLOADTYPE_ONLY";
1159
+ };
1160
+ /**
1161
+ * @public
1162
+ */
1163
+ export type ChannelWorkloadBehaviorType = (typeof ChannelWorkloadBehaviorType)[keyof typeof ChannelWorkloadBehaviorType];
1140
1164
  /**
1141
1165
  * @public
1142
1166
  * @enum
@@ -2390,6 +2414,20 @@ export declare const LexVersion: {
2390
2414
  * @public
2391
2415
  */
2392
2416
  export type LexVersion = (typeof LexVersion)[keyof typeof LexVersion];
2417
+ /**
2418
+ * @public
2419
+ * @enum
2420
+ */
2421
+ export declare const EvaluationFormAIVersionStatus: {
2422
+ readonly ACTIVE: "ACTIVE";
2423
+ readonly DEPRECATED: "DEPRECATED";
2424
+ readonly LATEST: "LATEST";
2425
+ readonly PREVIEW: "PREVIEW";
2426
+ };
2427
+ /**
2428
+ * @public
2429
+ */
2430
+ export type EvaluationFormAIVersionStatus = (typeof EvaluationFormAIVersionStatus)[keyof typeof EvaluationFormAIVersionStatus];
2393
2431
  /**
2394
2432
  * @public
2395
2433
  * @enum
@@ -1,7 +1,8 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import type { ResourceType } from "./enums";
4
- import type { InvalidRequestExceptionReason, ProblemDetail, PropertyValidationExceptionProperty, ServiceQuotaExceededExceptionReason } from "./models_0";
4
+ import type { InvalidRequestExceptionReason, ProblemDetail, ServiceQuotaExceededExceptionReason } from "./models_0";
5
+ import type { PropertyValidationExceptionProperty } from "./models_1";
5
6
  /**
6
7
  * <p>You do not have sufficient permissions to perform this action.</p>
7
8
  * @public
@@ -1,4 +1,4 @@
1
- import type { AccessType, ActionType, AgentAvailabilityTimer, AgentStatusState, AgentStatusType, AiUseCase, AllowedUserAction, ApplicationType, AttachedFileInvalidRequestExceptionReason, AttachedFileServiceQuotaExceededExceptionReason, AuthCodeEntityType, BehaviorType, Channel, ConfigurableNotificationPriority, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactState, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DeviceType, DirectoryType, EncryptionType, EndpointType, EntityType, EvaluationFormItemEnablementSourceType, EvaluationFormItemEnablementSourceValueType, EvaluationFormItemSourceValuesComparator, EvaluationFormLanguageCode, EvaluationFormMultiSelectQuestionDisplayMode, EvaluationFormQuestionAutomationAnswerSourceType, EvaluationFormScoringMode, EvaluationFormScoringStatus, EvaluationFormSingleSelectQuestionDisplayMode, EvaluationReviewNotificationRecipientType, EventSourceName, FailureReasonCode, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowModuleType, HoursOfOperationDays, InstanceStorageResourceType, IntegrationType, ListFlowAssociationResourceType, LocaleCode, MetricFilterBooleanConditionComparison, MetricFilterNumberConditionComparison, MetricFilterStringConditionComparison, MetricStatus, MetricUnit, MultiSelectQuestionRuleCategoryAutomationCondition, NotFoundBehaviorType, NotificationContentType, NotificationDeliveryType, NumericQuestionPropertyAutomationLabel, OutboundStrategyType, OverrideDays, OverrideType, ParticipantRole, ParticipantState, PerformanceCategoryName, PreEvaluationFilterOperator, PreEvaluationFilterResourceType, PreEvaluationFilterType, PropertyValidationExceptionReason, QuickConnectType, RecurrenceFrequency, ReferenceStatus, ReferenceType, RehydrationType, RulePublishStatus, ScreenShareCapability, SingleSelectQuestionRuleCategoryAutomationCondition, SlaAssignmentType, SlaType, SourceType, StorageType, StringComparisonType, TaskTemplateFieldType, TaskTemplateStatus, TrendIndicator, VideoCapability, VocabularyLanguageCode, VoiceEnhancementMode } from "./enums";
1
+ import type { AccessType, ActionType, AgentAvailabilityTimer, AgentStatusState, AgentStatusType, AiUseCase, AllowedUserAction, ApplicationType, AttachedFileInvalidRequestExceptionReason, AttachedFileServiceQuotaExceededExceptionReason, AuthCodeEntityType, BehaviorType, Channel, ChannelWorkloadBehaviorType, ConfigurableNotificationPriority, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactState, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DeviceType, DirectoryType, EncryptionType, EndpointType, EntityType, EvaluationFormItemEnablementSourceType, EvaluationFormItemEnablementSourceValueType, EvaluationFormItemSourceValuesComparator, EvaluationFormLanguageCode, EvaluationFormMetricType, EvaluationFormMultiSelectQuestionDisplayMode, EvaluationFormQuestionAutomationAnswerSourceType, EvaluationFormScoringMode, EvaluationFormScoringStatus, EvaluationFormSingleSelectQuestionDisplayMode, EvaluationReviewNotificationRecipientType, EventSourceName, FailureReasonCode, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowModuleType, HoursOfOperationDays, InstanceStorageResourceType, IntegrationType, ListFlowAssociationResourceType, LocaleCode, MetricFilterBooleanConditionComparison, MetricFilterNumberConditionComparison, MetricFilterStringConditionComparison, MetricStatus, MetricUnit, MultiSelectQuestionRuleCategoryAutomationCondition, NotFoundBehaviorType, NotificationContentType, NotificationDeliveryType, NumericQuestionPropertyAutomationLabel, OutboundStrategyType, OverrideDays, OverrideType, ParticipantRole, ParticipantState, PerformanceCategoryName, PreEvaluationFilterOperator, PreEvaluationFilterResourceType, PreEvaluationFilterType, QuickConnectType, RecurrenceFrequency, ReferenceStatus, ReferenceType, RehydrationType, RulePublishStatus, ScreenShareCapability, SingleSelectQuestionRuleCategoryAutomationCondition, SlaAssignmentType, SlaType, SourceType, StorageType, StringComparisonType, TaskTemplateFieldType, TrendIndicator, VideoCapability, VocabularyLanguageCode, VoiceEnhancementMode } from "./enums";
2
2
  /**
3
3
  * <p>Information about an action.</p>
4
4
  * @public
@@ -3821,6 +3821,45 @@ export interface EvaluationFormItemEnablementExpression {
3821
3821
  */
3822
3822
  Comparator: EvaluationFormItemSourceValuesComparator | undefined;
3823
3823
  }
3824
+ /**
3825
+ * <p>Information about the metric configuration for an evaluation form question. Use this to associate a
3826
+ * business outcome metric with a question.</p>
3827
+ * @public
3828
+ */
3829
+ export interface EvaluationFormMetricConfiguration {
3830
+ /**
3831
+ * <p>The type of metric. Currently, only <code>BUSINESS_OUTCOME</code> is supported.</p>
3832
+ * @public
3833
+ */
3834
+ MetricType: EvaluationFormMetricType | undefined;
3835
+ /**
3836
+ * <p>The name of the metric. Valid values are:</p>
3837
+ * <ul>
3838
+ * <li>
3839
+ * <p>
3840
+ * <code>SALE_SUCCESS</code> – Sale success.</p>
3841
+ * </li>
3842
+ * <li>
3843
+ * <p>
3844
+ * <code>CSAT</code> – Customer satisfaction.</p>
3845
+ * </li>
3846
+ * <li>
3847
+ * <p>
3848
+ * <code>CHURN_PROPENSITY</code> – Churn propensity.</p>
3849
+ * </li>
3850
+ * <li>
3851
+ * <p>
3852
+ * <code>SELF_SERVICE_SUCCESS</code> – Self-service success.</p>
3853
+ * </li>
3854
+ * <li>
3855
+ * <p>
3856
+ * <code>PARTIAL_SELF_SERVICE_SUCCESS</code> – Partial self-service success.</p>
3857
+ * </li>
3858
+ * </ul>
3859
+ * @public
3860
+ */
3861
+ MetricName: string | undefined;
3862
+ }
3824
3863
  /**
3825
3864
  * <p>A question automation answer.</p>
3826
3865
  * @public
@@ -5906,6 +5945,45 @@ export interface CrossChannelBehavior {
5906
5945
  */
5907
5946
  BehaviorType: BehaviorType | undefined;
5908
5947
  }
5948
+ /**
5949
+ * <p>Defines the cross-channel and workload type routing behavior that allows an agent working on a contact to be
5950
+ * offered a contact from a different channel or workload type.</p>
5951
+ * @public
5952
+ */
5953
+ export interface CrossChannelWorkloadBehavior {
5954
+ /**
5955
+ * <p>Specifies the routing behavior for an agent handling their current channel and workload type.</p>
5956
+ * @public
5957
+ */
5958
+ ChannelWorkloadBehaviorType?: ChannelWorkloadBehaviorType | undefined;
5959
+ }
5960
+ /**
5961
+ * <p>Defines the maximum number of contacts an agent can handle simultaneously for a specific channel and workload
5962
+ * type combination.</p>
5963
+ * @public
5964
+ */
5965
+ export interface WorkloadTypeConcurrency {
5966
+ /**
5967
+ * <p>The value of the workload type.</p>
5968
+ * @public
5969
+ */
5970
+ WorkloadType: string | undefined;
5971
+ /**
5972
+ * <p>The maximum number of contacts an agent can handle simultaneously for a specific channel and workload type
5973
+ * combination.</p>
5974
+ * <p>Valid Range for <code>VOICE</code>: Minimum value of 1. Maximum value of 1.</p>
5975
+ * <p>Valid Range for <code>CHAT</code>: Minimum value of 1. Maximum value of 10.</p>
5976
+ * <p>Valid Range for <code>TASK</code>: Minimum value of 1. Maximum value of 10.</p>
5977
+ * @public
5978
+ */
5979
+ Concurrency: number | undefined;
5980
+ /**
5981
+ * <p>Defines the cross-channel and workload type routing behavior for each channel and workload type combination
5982
+ * that is enabled for this Routing Profile.</p>
5983
+ * @public
5984
+ */
5985
+ CrossChannelWorkloadBehavior?: CrossChannelWorkloadBehavior | undefined;
5986
+ }
5909
5987
  /**
5910
5988
  * <p>Contains information about which channels are supported, and how many contacts an agent can have on a channel
5911
5989
  * simultaneously.</p>
@@ -5924,7 +6002,7 @@ export interface MediaConcurrency {
5924
6002
  * <p>Valid Range for <code>TASK</code>: Minimum value of 1. Maximum value of 10.</p>
5925
6003
  * @public
5926
6004
  */
5927
- Concurrency: number | undefined;
6005
+ Concurrency?: number | undefined;
5928
6006
  /**
5929
6007
  * <p>Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For
5930
6008
  * example, this allows you to offer an agent a different contact from another channel when they are currently working
@@ -5932,6 +6010,12 @@ export interface MediaConcurrency {
5932
6010
  * @public
5933
6011
  */
5934
6012
  CrossChannelBehavior?: CrossChannelBehavior | undefined;
6013
+ /**
6014
+ * <p>Defines the list of workload type concurrency configurations for a channel. When provided, enables granular
6015
+ * concurrency control based on workload type values.</p>
6016
+ * @public
6017
+ */
6018
+ WorkloadTypeConcurrencies?: WorkloadTypeConcurrency[] | undefined;
5935
6019
  }
5936
6020
  /**
5937
6021
  * @public
@@ -6779,103 +6863,3 @@ export interface TaskTemplateField {
6779
6863
  */
6780
6864
  SingleSelectOptions?: string[] | undefined;
6781
6865
  }
6782
- /**
6783
- * @public
6784
- */
6785
- export interface CreateTaskTemplateRequest {
6786
- /**
6787
- * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6788
- * @public
6789
- */
6790
- InstanceId: string | undefined;
6791
- /**
6792
- * <p>The name of the task template.</p>
6793
- * @public
6794
- */
6795
- Name: string | undefined;
6796
- /**
6797
- * <p>The description of the task template.</p>
6798
- * @public
6799
- */
6800
- Description?: string | undefined;
6801
- /**
6802
- * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
6803
- * <p>Although this parameter is marked as optional, the request must contain either a <code>ContactFlowId</code> or a field of type <code>QUICK_CONNECT</code>.</p>
6804
- * @public
6805
- */
6806
- ContactFlowId?: string | undefined;
6807
- /**
6808
- * <p>The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.</p>
6809
- * @public
6810
- */
6811
- SelfAssignFlowId?: string | undefined;
6812
- /**
6813
- * <p>Constraints that are applicable to the fields listed.
6814
- * Although this parameter is marked as optional in the API model, the service requires it when calling <code>CreateTaskTemplate</code> or <code>UpdateTaskTemplate</code>.
6815
- * The <code>RequiredFields</code> array must contain at least one element, and the field of type <code>NAME</code> must be included in <code>RequiredFields</code>.</p>
6816
- * @public
6817
- */
6818
- Constraints?: TaskTemplateConstraints | undefined;
6819
- /**
6820
- * <p>The default values for fields when a task is created by referencing this template.</p>
6821
- * @public
6822
- */
6823
- Defaults?: TaskTemplateDefaults | undefined;
6824
- /**
6825
- * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
6826
- * Tasks can only be created from <code>ACTIVE</code> templates.
6827
- * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created. </p>
6828
- * @public
6829
- */
6830
- Status?: TaskTemplateStatus | undefined;
6831
- /**
6832
- * <p>Fields that are part of the template.</p>
6833
- * <p>The request must contain exactly one field of type <code>NAME</code>. This field must also be listed in the <code>RequiredFields</code> array within the <code>Constraints</code> parameter.</p>
6834
- * @public
6835
- */
6836
- Fields: TaskTemplateField[] | undefined;
6837
- /**
6838
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6839
- * request. If not provided, the Amazon Web Services
6840
- * SDK populates this field. For more information about idempotency, see
6841
- * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
6842
- * @public
6843
- */
6844
- ClientToken?: string | undefined;
6845
- }
6846
- /**
6847
- * @public
6848
- */
6849
- export interface CreateTaskTemplateResponse {
6850
- /**
6851
- * <p>The identifier of the task template resource.</p>
6852
- * @public
6853
- */
6854
- Id: string | undefined;
6855
- /**
6856
- * <p>The Amazon Resource Name (ARN) for the task template resource.</p>
6857
- * @public
6858
- */
6859
- Arn: string | undefined;
6860
- }
6861
- /**
6862
- * <p>Contains information about why a property is not valid.</p>
6863
- * @public
6864
- */
6865
- export interface PropertyValidationExceptionProperty {
6866
- /**
6867
- * <p>The full property path.</p>
6868
- * @public
6869
- */
6870
- PropertyPath: string | undefined;
6871
- /**
6872
- * <p>Why the property is not valid.</p>
6873
- * @public
6874
- */
6875
- Reason: PropertyValidationExceptionReason | undefined;
6876
- /**
6877
- * <p>A message describing why the property is not valid.</p>
6878
- * @public
6879
- */
6880
- Message: string | undefined;
6881
- }