@aws-sdk/client-connect 3.1111.0 → 3.1113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +206 -9
  3. package/dist-es/Connect.js +12 -0
  4. package/dist-es/commands/CreateExtractionDefinitionCommand.js +4 -0
  5. package/dist-es/commands/DeleteExtractionDefinitionCommand.js +4 -0
  6. package/dist-es/commands/DescribeExtractionDefinitionCommand.js +4 -0
  7. package/dist-es/commands/ListExtractionDefinitionsCommand.js +4 -0
  8. package/dist-es/commands/UpdateExtractionDefinitionCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +7 -0
  11. package/dist-es/pagination/ListExtractionDefinitionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +146 -8
  14. package/dist-types/Connect.d.ts +42 -0
  15. package/dist-types/ConnectClient.d.ts +7 -2
  16. package/dist-types/commands/CreateExtractionDefinitionCommand.d.ts +111 -0
  17. package/dist-types/commands/CreateRuleCommand.d.ts +9 -2
  18. package/dist-types/commands/CreateTestCaseCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateUseCaseCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteExtractionDefinitionCommand.d.ts +85 -0
  22. package/dist-types/commands/DescribeExtractionDefinitionCommand.d.ts +107 -0
  23. package/dist-types/commands/DescribeRuleCommand.d.ts +9 -2
  24. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +1 -1
  25. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -2
  26. package/dist-types/commands/ListExtractionDefinitionsCommand.d.ts +98 -0
  27. package/dist-types/commands/ListRulesCommand.d.ts +3 -3
  28. package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  29. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  30. package/dist-types/commands/SearchRulesCommand.d.ts +2 -2
  31. package/dist-types/commands/StartAssistantContactCommand.d.ts +4 -1
  32. package/dist-types/commands/UpdateExtractionDefinitionCommand.d.ts +100 -0
  33. package/dist-types/commands/UpdateRuleCommand.d.ts +8 -1
  34. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +2 -1
  35. package/dist-types/commands/UpdateWorkspaceMetadataCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateWorkspacePageCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateWorkspaceThemeCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateWorkspaceVisibilityCommand.d.ts +1 -1
  39. package/dist-types/commands/index.d.ts +5 -0
  40. package/dist-types/models/enums.d.ts +15 -0
  41. package/dist-types/models/models_0.d.ts +128 -188
  42. package/dist-types/models/models_1.d.ts +285 -492
  43. package/dist-types/models/models_2.d.ts +1736 -1606
  44. package/dist-types/models/models_3.d.ts +2192 -2081
  45. package/dist-types/models/models_4.d.ts +367 -7
  46. package/dist-types/pagination/ListExtractionDefinitionsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/schemas/schemas_0.d.ts +22 -0
  49. package/dist-types/ts3.4/Connect.d.ts +92 -0
  50. package/dist-types/ts3.4/ConnectClient.d.ts +30 -0
  51. package/dist-types/ts3.4/commands/CreateExtractionDefinitionCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/CreateTestCaseCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteExtractionDefinitionCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/DescribeExtractionDefinitionCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +1 -2
  59. package/dist-types/ts3.4/commands/ListExtractionDefinitionsCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateExtractionDefinitionCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +2 -1
  64. package/dist-types/ts3.4/commands/UpdateWorkspaceMetadataCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateWorkspacePageCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateWorkspaceThemeCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateWorkspaceVisibilityCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  69. package/dist-types/ts3.4/models/enums.d.ts +8 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +31 -46
  71. package/dist-types/ts3.4/models/models_1.d.ts +72 -72
  72. package/dist-types/ts3.4/models/models_2.d.ts +89 -102
  73. package/dist-types/ts3.4/models/models_3.d.ts +112 -104
  74. package/dist-types/ts3.4/models/models_4.d.ts +109 -14
  75. package/dist-types/ts3.4/pagination/ListExtractionDefinitionsPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  77. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  78. package/package.json +1 -1
@@ -0,0 +1,107 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeExtractionDefinitionRequest, DescribeExtractionDefinitionResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeExtractionDefinitionCommand}.
11
+ */
12
+ export interface DescribeExtractionDefinitionCommandInput extends DescribeExtractionDefinitionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeExtractionDefinitionCommand}.
18
+ */
19
+ export interface DescribeExtractionDefinitionCommandOutput extends DescribeExtractionDefinitionResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeExtractionDefinitionCommand_base: {
22
+ new (input: DescribeExtractionDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DescribeExtractionDefinitionCommandInput, DescribeExtractionDefinitionCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeExtractionDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DescribeExtractionDefinitionCommandInput, DescribeExtractionDefinitionCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes an extraction definition 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, DescribeExtractionDefinitionCommand } from "@aws-sdk/client-connect"; // ES Modules import
32
+ * // const { ConnectClient, DescribeExtractionDefinitionCommand } = 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 = { // DescribeExtractionDefinitionRequest
37
+ * InstanceId: "STRING_VALUE", // required
38
+ * ExtractionDefinitionId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DescribeExtractionDefinitionCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeExtractionDefinitionResponse
43
+ * // ExtractionDefinition: { // ExtractionDefinition
44
+ * // Name: "STRING_VALUE", // required
45
+ * // ExtractionDefinitionId: "STRING_VALUE", // required
46
+ * // ExtractionDefinitionArn: "STRING_VALUE", // required
47
+ * // ExtractionConfiguration: { // ExtractionConfiguration
48
+ * // PromptHint: "STRING_VALUE", // required
49
+ * // NotFoundBehavior: { // ExtractionDefinitionNotFoundBehavior
50
+ * // Behavior: "USE_DEFAULT_VALUE" || "OMIT", // required
51
+ * // DefaultValue: "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // Display: { // ExtractionDefinitionDisplay
55
+ * // Label: "STRING_VALUE",
56
+ * // },
57
+ * // CreatedTime: new Date("TIMESTAMP"), // required
58
+ * // LastUpdatedTime: new Date("TIMESTAMP"), // required
59
+ * // LastUpdatedBy: "STRING_VALUE", // required
60
+ * // Tags: { // TagMap
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param DescribeExtractionDefinitionCommandInput - {@link DescribeExtractionDefinitionCommandInput}
69
+ * @returns {@link DescribeExtractionDefinitionCommandOutput}
70
+ * @see {@link DescribeExtractionDefinitionCommandInput} for command's `input` shape.
71
+ * @see {@link DescribeExtractionDefinitionCommandOutput} for command's `response` shape.
72
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You do not have sufficient permissions to perform this action.</p>
76
+ *
77
+ * @throws {@link InternalServiceException} (server fault)
78
+ * <p>Request processing failed because of an error or failure with the service.</p>
79
+ *
80
+ * @throws {@link InvalidRequestException} (client fault)
81
+ * <p>The request is not valid.</p>
82
+ *
83
+ * @throws {@link ResourceNotFoundException} (client fault)
84
+ * <p>The specified resource was not found.</p>
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * <p>The throttling limit has been exceeded.</p>
88
+ *
89
+ * @throws {@link ConnectServiceException}
90
+ * <p>Base exception class for all service exceptions from Connect service.</p>
91
+ *
92
+ *
93
+ * @public
94
+ */
95
+ export declare class DescribeExtractionDefinitionCommand extends DescribeExtractionDefinitionCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: DescribeExtractionDefinitionRequest;
100
+ output: DescribeExtractionDefinitionResponse;
101
+ };
102
+ sdk: {
103
+ input: DescribeExtractionDefinitionCommandInput;
104
+ output: DescribeExtractionDefinitionCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -45,7 +45,7 @@ declare const DescribeRuleCommand_base: {
45
45
  * // RuleId: "STRING_VALUE", // required
46
46
  * // RuleArn: "STRING_VALUE", // required
47
47
  * // TriggerEventSource: { // RuleTriggerEventSource
48
- * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnEmailAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach" || "OnAlertUpdate" || "OnSchedulePublish" || "OnScheduleUpdate" || "OnScheduleTimeOffRequestActivity", // required
48
+ * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnAfterCallWorkAvailable" || "OnAfterChatWorkAvailable" || "OnEmailAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach" || "OnAlertUpdate" || "OnSchedulePublish" || "OnScheduleUpdate" || "OnScheduleTimeOffRequestActivity", // required
49
49
  * // IntegrationAssociationId: "STRING_VALUE",
50
50
  * // },
51
51
  * // RuleCapabilityTiers: [ // RuleCapabilityTiers
@@ -54,7 +54,7 @@ declare const DescribeRuleCommand_base: {
54
54
  * // Function: "STRING_VALUE", // required
55
55
  * // Actions: [ // RuleActions // required
56
56
  * // { // RuleAction
57
- * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
57
+ * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION" || "EXTRACT_INFORMATION", // required
58
58
  * // TaskAction: { // TaskActionDefinition
59
59
  * // Name: "STRING_VALUE", // required
60
60
  * // Description: "STRING_VALUE",
@@ -143,6 +143,13 @@ declare const DescribeRuleCommand_base: {
143
143
  * // SubmitAutoEvaluationAction: { // SubmitAutoEvaluationActionDefinition
144
144
  * // EvaluationFormId: "STRING_VALUE", // required
145
145
  * // },
146
+ * // ExtractInformationAction: { // ExtractInformationActionDefinition
147
+ * // RulesExtractionDefinitions: [ // RulesExtractionDefinitionIdentifierList // required
148
+ * // { // RulesExtractionDefinitionIdentifier
149
+ * // Identifier: "STRING_VALUE", // required
150
+ * // },
151
+ * // ],
152
+ * // },
146
153
  * // },
147
154
  * // ],
148
155
  * // PublishStatus: "DRAFT" || "PUBLISHED", // required
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetCurrentMetricDataRequest, GetCurrentMetricDataResponse } from "../models/models_1";
2
+ import type { GetCurrentMetricDataRequest, GetCurrentMetricDataResponse } from "../models/models_2";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetCurrentUserDataRequest } from "../models/models_1";
3
- import type { GetCurrentUserDataResponse } from "../models/models_2";
2
+ import type { GetCurrentUserDataRequest, GetCurrentUserDataResponse } from "../models/models_2";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -0,0 +1,98 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListExtractionDefinitionsRequest, ListExtractionDefinitionsResponse } from "../models/models_2";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListExtractionDefinitionsCommand}.
11
+ */
12
+ export interface ListExtractionDefinitionsCommandInput extends ListExtractionDefinitionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListExtractionDefinitionsCommand}.
18
+ */
19
+ export interface ListExtractionDefinitionsCommandOutput extends ListExtractionDefinitionsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListExtractionDefinitionsCommand_base: {
22
+ new (input: ListExtractionDefinitionsCommandInput): import("@smithy/core/client").CommandImpl<ListExtractionDefinitionsCommandInput, ListExtractionDefinitionsCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListExtractionDefinitionsCommandInput): import("@smithy/core/client").CommandImpl<ListExtractionDefinitionsCommandInput, ListExtractionDefinitionsCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists extraction definitions 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, ListExtractionDefinitionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
32
+ * // const { ConnectClient, ListExtractionDefinitionsCommand } = 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 = { // ListExtractionDefinitionsRequest
37
+ * InstanceId: "STRING_VALUE", // required
38
+ * MaxResults: Number("int"),
39
+ * NextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListExtractionDefinitionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListExtractionDefinitionsResponse
44
+ * // ExtractionDefinitionSummaryList: [ // ExtractionDefinitionSummaryList // required
45
+ * // { // ExtractionDefinitionSummary
46
+ * // Name: "STRING_VALUE", // required
47
+ * // ExtractionDefinitionId: "STRING_VALUE", // required
48
+ * // ExtractionDefinitionArn: "STRING_VALUE", // required
49
+ * // CreatedTime: new Date("TIMESTAMP"), // required
50
+ * // LastUpdatedTime: new Date("TIMESTAMP"), // required
51
+ * // LastUpdatedBy: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // NextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListExtractionDefinitionsCommandInput - {@link ListExtractionDefinitionsCommandInput}
60
+ * @returns {@link ListExtractionDefinitionsCommandOutput}
61
+ * @see {@link ListExtractionDefinitionsCommandInput} for command's `input` shape.
62
+ * @see {@link ListExtractionDefinitionsCommandOutput} for command's `response` shape.
63
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient permissions to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServiceException} (server fault)
69
+ * <p>Request processing failed because of an error or failure with the service.</p>
70
+ *
71
+ * @throws {@link InvalidRequestException} (client fault)
72
+ * <p>The request is not valid.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The specified resource was not found.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The throttling limit has been exceeded.</p>
79
+ *
80
+ * @throws {@link ConnectServiceException}
81
+ * <p>Base exception class for all service exceptions from Connect service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class ListExtractionDefinitionsCommand extends ListExtractionDefinitionsCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: ListExtractionDefinitionsRequest;
91
+ output: ListExtractionDefinitionsResponse;
92
+ };
93
+ sdk: {
94
+ input: ListExtractionDefinitionsCommandInput;
95
+ output: ListExtractionDefinitionsCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -36,7 +36,7 @@ declare const ListRulesCommand_base: {
36
36
  * const input = { // ListRulesRequest
37
37
  * InstanceId: "STRING_VALUE", // required
38
38
  * PublishStatus: "DRAFT" || "PUBLISHED",
39
- * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnEmailAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach" || "OnAlertUpdate" || "OnSchedulePublish" || "OnScheduleUpdate" || "OnScheduleTimeOffRequestActivity",
39
+ * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnAfterCallWorkAvailable" || "OnAfterChatWorkAvailable" || "OnEmailAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach" || "OnAlertUpdate" || "OnSchedulePublish" || "OnScheduleUpdate" || "OnScheduleTimeOffRequestActivity",
40
40
  * MaxResults: Number("int"),
41
41
  * NextToken: "STRING_VALUE",
42
42
  * };
@@ -48,14 +48,14 @@ declare const ListRulesCommand_base: {
48
48
  * // Name: "STRING_VALUE", // required
49
49
  * // RuleId: "STRING_VALUE", // required
50
50
  * // RuleArn: "STRING_VALUE", // required
51
- * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnEmailAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach" || "OnAlertUpdate" || "OnSchedulePublish" || "OnScheduleUpdate" || "OnScheduleTimeOffRequestActivity", // required
51
+ * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnAfterCallWorkAvailable" || "OnAfterChatWorkAvailable" || "OnEmailAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach" || "OnAlertUpdate" || "OnSchedulePublish" || "OnScheduleUpdate" || "OnScheduleTimeOffRequestActivity", // required
52
52
  * // PublishStatus: "DRAFT" || "PUBLISHED", // required
53
53
  * // RuleCapabilityTiers: [ // RuleCapabilityTiers
54
54
  * // "GenerativeAI",
55
55
  * // ],
56
56
  * // ActionSummaries: [ // ActionSummaries // required
57
57
  * // { // ActionSummary
58
- * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
58
+ * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION" || "EXTRACT_INFORMATION", // required
59
59
  * // },
60
60
  * // ],
61
61
  * // CreatedTime: new Date("TIMESTAMP"), // required
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { SearchContactEvaluationsResponse } from "../models/models_2";
2
+ import type { SearchContactEvaluationsResponse } from "../models/models_3";
3
3
  import type { SearchContactEvaluationsRequest } from "../models/models_4";
4
4
  /**
5
5
  * @public
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { SearchContactFlowModulesResponse } from "../models/models_2";
2
+ import type { SearchContactFlowModulesResponse } from "../models/models_3";
3
3
  import type { SearchContactFlowModulesRequest } from "../models/models_4";
4
4
  /**
5
5
  * @public
@@ -96,12 +96,12 @@ declare const SearchRulesCommand_base: {
96
96
  * // RuleId: "STRING_VALUE", // required
97
97
  * // RuleArn: "STRING_VALUE", // required
98
98
  * // TriggerEventSource: { // RuleTriggerEventSource
99
- * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnEmailAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach" || "OnAlertUpdate" || "OnSchedulePublish" || "OnScheduleUpdate" || "OnScheduleTimeOffRequestActivity", // required
99
+ * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnAfterCallWorkAvailable" || "OnAfterChatWorkAvailable" || "OnEmailAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach" || "OnAlertUpdate" || "OnSchedulePublish" || "OnScheduleUpdate" || "OnScheduleTimeOffRequestActivity", // required
100
100
  * // IntegrationAssociationId: "STRING_VALUE",
101
101
  * // },
102
102
  * // ActionSummaries: [ // ActionSummaries // required
103
103
  * // { // ActionSummary
104
- * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
104
+ * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION" || "EXTRACT_INFORMATION", // required
105
105
  * // },
106
106
  * // ],
107
107
  * // RuleCapabilityTiers: [ // RuleCapabilityTiers
@@ -25,7 +25,7 @@ declare const StartAssistantContactCommand_base: {
25
25
  };
26
26
  /**
27
27
  * <p>Starts a chat contact with an AI agent.</p>
28
- * <p>Use the returned <code>ParticipantToken</code> to call the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> API.</p>
28
+ * <p>Use the returned <code>ParticipantToken</code> with the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> operation.</p>
29
29
  * <p>For more information about chat, see the following topics in the <i>Connect Customer
30
30
  * Administrator Guide</i>: </p>
31
31
  * <ul>
@@ -105,6 +105,9 @@ declare const StartAssistantContactCommand_base: {
105
105
  * @throws {@link ResourceNotFoundException} (client fault)
106
106
  * <p>The specified resource was not found.</p>
107
107
  *
108
+ * @throws {@link ThrottlingException} (client fault)
109
+ * <p>The throttling limit has been exceeded.</p>
110
+ *
108
111
  * @throws {@link ConnectServiceException}
109
112
  * <p>Base exception class for all service exceptions from Connect service.</p>
110
113
  *
@@ -0,0 +1,100 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateExtractionDefinitionRequest, UpdateExtractionDefinitionResponse } from "../models/models_3";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateExtractionDefinitionCommand}.
11
+ */
12
+ export interface UpdateExtractionDefinitionCommandInput extends UpdateExtractionDefinitionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateExtractionDefinitionCommand}.
18
+ */
19
+ export interface UpdateExtractionDefinitionCommandOutput extends UpdateExtractionDefinitionResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateExtractionDefinitionCommand_base: {
22
+ new (input: UpdateExtractionDefinitionCommandInput): import("@smithy/core/client").CommandImpl<UpdateExtractionDefinitionCommandInput, UpdateExtractionDefinitionCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateExtractionDefinitionCommandInput): import("@smithy/core/client").CommandImpl<UpdateExtractionDefinitionCommandInput, UpdateExtractionDefinitionCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates an extraction definition 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, UpdateExtractionDefinitionCommand } from "@aws-sdk/client-connect"; // ES Modules import
32
+ * // const { ConnectClient, UpdateExtractionDefinitionCommand } = 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 = { // UpdateExtractionDefinitionRequest
37
+ * ClientToken: "STRING_VALUE",
38
+ * ExtractionDefinitionId: "STRING_VALUE", // required
39
+ * InstanceId: "STRING_VALUE", // required
40
+ * Name: "STRING_VALUE", // required
41
+ * ExtractionConfiguration: { // ExtractionConfiguration
42
+ * PromptHint: "STRING_VALUE", // required
43
+ * NotFoundBehavior: { // ExtractionDefinitionNotFoundBehavior
44
+ * Behavior: "USE_DEFAULT_VALUE" || "OMIT", // required
45
+ * DefaultValue: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * Display: { // ExtractionDefinitionDisplay
49
+ * Label: "STRING_VALUE",
50
+ * },
51
+ * };
52
+ * const command = new UpdateExtractionDefinitionCommand(input);
53
+ * const response = await client.send(command);
54
+ * // {};
55
+ *
56
+ * ```
57
+ *
58
+ * @param UpdateExtractionDefinitionCommandInput - {@link UpdateExtractionDefinitionCommandInput}
59
+ * @returns {@link UpdateExtractionDefinitionCommandOutput}
60
+ * @see {@link UpdateExtractionDefinitionCommandInput} for command's `input` shape.
61
+ * @see {@link UpdateExtractionDefinitionCommandOutput} for command's `response` shape.
62
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You do not have sufficient permissions to perform this action.</p>
66
+ *
67
+ * @throws {@link InternalServiceException} (server fault)
68
+ * <p>Request processing failed because of an error or failure with the service.</p>
69
+ *
70
+ * @throws {@link InvalidRequestException} (client fault)
71
+ * <p>The request is not valid.</p>
72
+ *
73
+ * @throws {@link ResourceConflictException} (client fault)
74
+ * <p>A resource already has that name.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The specified resource was not found.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The throttling limit has been exceeded.</p>
81
+ *
82
+ * @throws {@link ConnectServiceException}
83
+ * <p>Base exception class for all service exceptions from Connect service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class UpdateExtractionDefinitionCommand extends UpdateExtractionDefinitionCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: UpdateExtractionDefinitionRequest;
93
+ output: {};
94
+ };
95
+ sdk: {
96
+ input: UpdateExtractionDefinitionCommandInput;
97
+ output: UpdateExtractionDefinitionCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -42,7 +42,7 @@ declare const UpdateRuleCommand_base: {
42
42
  * Function: "STRING_VALUE", // required
43
43
  * Actions: [ // RuleActions // required
44
44
  * { // RuleAction
45
- * ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
45
+ * ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION" || "EXTRACT_INFORMATION", // required
46
46
  * TaskAction: { // TaskActionDefinition
47
47
  * Name: "STRING_VALUE", // required
48
48
  * Description: "STRING_VALUE",
@@ -131,6 +131,13 @@ declare const UpdateRuleCommand_base: {
131
131
  * SubmitAutoEvaluationAction: { // SubmitAutoEvaluationActionDefinition
132
132
  * EvaluationFormId: "STRING_VALUE", // required
133
133
  * },
134
+ * ExtractInformationAction: { // ExtractInformationActionDefinition
135
+ * RulesExtractionDefinitions: [ // RulesExtractionDefinitionIdentifierList // required
136
+ * { // RulesExtractionDefinitionIdentifier
137
+ * Identifier: "STRING_VALUE", // required
138
+ * },
139
+ * ],
140
+ * },
134
141
  * },
135
142
  * ],
136
143
  * PublishStatus: "DRAFT" || "PUBLISHED", // required
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateViewMetadataRequest, UpdateViewMetadataResponse } from "../models/models_3";
2
+ import type { UpdateViewMetadataRequest } from "../models/models_3";
3
+ import type { UpdateViewMetadataResponse } from "../models/models_4";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateWorkspaceMetadataRequest, UpdateWorkspaceMetadataResponse } from "../models/models_3";
2
+ import type { UpdateWorkspaceMetadataRequest, UpdateWorkspaceMetadataResponse } 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 { UpdateWorkspacePageRequest, UpdateWorkspacePageResponse } from "../models/models_3";
2
+ import type { UpdateWorkspacePageRequest, UpdateWorkspacePageResponse } 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 { UpdateWorkspaceThemeRequest, UpdateWorkspaceThemeResponse } from "../models/models_3";
2
+ import type { UpdateWorkspaceThemeRequest, UpdateWorkspaceThemeResponse } 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 { UpdateWorkspaceVisibilityRequest, UpdateWorkspaceVisibilityResponse } from "../models/models_3";
2
+ import type { UpdateWorkspaceVisibilityRequest, UpdateWorkspaceVisibilityResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -43,6 +43,7 @@ export * from "./CreateDataTableAttributeCommand";
43
43
  export * from "./CreateDataTableCommand";
44
44
  export * from "./CreateEmailAddressCommand";
45
45
  export * from "./CreateEvaluationFormCommand";
46
+ export * from "./CreateExtractionDefinitionCommand";
46
47
  export * from "./CreateHoursOfOperationCommand";
47
48
  export * from "./CreateHoursOfOperationOverrideCommand";
48
49
  export * from "./CreateInstanceCommand";
@@ -83,6 +84,7 @@ export * from "./DeleteDataTableAttributeCommand";
83
84
  export * from "./DeleteDataTableCommand";
84
85
  export * from "./DeleteEmailAddressCommand";
85
86
  export * from "./DeleteEvaluationFormCommand";
87
+ export * from "./DeleteExtractionDefinitionCommand";
86
88
  export * from "./DeleteHoursOfOperationCommand";
87
89
  export * from "./DeleteHoursOfOperationOverrideCommand";
88
90
  export * from "./DeleteInstanceCommand";
@@ -122,6 +124,7 @@ export * from "./DescribeDataTableAttributeCommand";
122
124
  export * from "./DescribeDataTableCommand";
123
125
  export * from "./DescribeEmailAddressCommand";
124
126
  export * from "./DescribeEvaluationFormCommand";
127
+ export * from "./DescribeExtractionDefinitionCommand";
125
128
  export * from "./DescribeHoursOfOperationCommand";
126
129
  export * from "./DescribeHoursOfOperationOverrideCommand";
127
130
  export * from "./DescribeInstanceAttributeCommand";
@@ -206,6 +209,7 @@ export * from "./ListDefaultVocabulariesCommand";
206
209
  export * from "./ListEntitySecurityProfilesCommand";
207
210
  export * from "./ListEvaluationFormVersionsCommand";
208
211
  export * from "./ListEvaluationFormsCommand";
212
+ export * from "./ListExtractionDefinitionsCommand";
209
213
  export * from "./ListFlowAssociationsCommand";
210
214
  export * from "./ListHoursOfOperationOverridesCommand";
211
215
  export * from "./ListHoursOfOperationsCommand";
@@ -339,6 +343,7 @@ export * from "./UpdateDataTableMetadataCommand";
339
343
  export * from "./UpdateDataTablePrimaryValuesCommand";
340
344
  export * from "./UpdateEmailAddressMetadataCommand";
341
345
  export * from "./UpdateEvaluationFormCommand";
346
+ export * from "./UpdateExtractionDefinitionCommand";
342
347
  export * from "./UpdateHoursOfOperationCommand";
343
348
  export * from "./UpdateHoursOfOperationOverrideCommand";
344
349
  export * from "./UpdateInstanceAttributeCommand";
@@ -19,6 +19,7 @@ export declare const ActionType: {
19
19
  readonly CREATE_CASE: "CREATE_CASE";
20
20
  readonly CREATE_TASK: "CREATE_TASK";
21
21
  readonly END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS";
22
+ readonly EXTRACT_INFORMATION: "EXTRACT_INFORMATION";
22
23
  readonly GENERATE_EVENTBRIDGE_EVENT: "GENERATE_EVENTBRIDGE_EVENT";
23
24
  readonly SEND_NOTIFICATION: "SEND_NOTIFICATION";
24
25
  readonly SUBMIT_AUTO_EVALUATION: "SUBMIT_AUTO_EVALUATION";
@@ -837,6 +838,18 @@ export declare const ContactInteractionType: {
837
838
  * @public
838
839
  */
839
840
  export type ContactInteractionType = (typeof ContactInteractionType)[keyof typeof ContactInteractionType];
841
+ /**
842
+ * @public
843
+ * @enum
844
+ */
845
+ export declare const NotFoundBehaviorType: {
846
+ readonly OMIT: "OMIT";
847
+ readonly USE_DEFAULT_VALUE: "USE_DEFAULT_VALUE";
848
+ };
849
+ /**
850
+ * @public
851
+ */
852
+ export type NotFoundBehaviorType = (typeof NotFoundBehaviorType)[keyof typeof NotFoundBehaviorType];
840
853
  /**
841
854
  * @public
842
855
  * @enum
@@ -1185,6 +1198,8 @@ export type RulePublishStatus = (typeof RulePublishStatus)[keyof typeof RulePubl
1185
1198
  * @enum
1186
1199
  */
1187
1200
  export declare const EventSourceName: {
1201
+ readonly OnAfterCallWorkAvailable: "OnAfterCallWorkAvailable";
1202
+ readonly OnAfterChatWorkAvailable: "OnAfterChatWorkAvailable";
1188
1203
  readonly OnAlertUpdate: "OnAlertUpdate";
1189
1204
  readonly OnCaseCreate: "OnCaseCreate";
1190
1205
  readonly OnCaseUpdate: "OnCaseUpdate";