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

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 (107) hide show
  1. package/.jsii +9 -9
  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 +2 -2
  6. package/node_modules/@aws-sdk/client-connect/README.md +14 -0
  7. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +99 -17
  8. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +4 -0
  9. package/node_modules/@aws-sdk/client-connect/dist-es/commands/GetCrossRegionRoutingCommand.js +4 -0
  10. package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateCrossRegionRoutingCommand.js +4 -0
  11. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +2 -0
  12. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +9 -0
  13. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +69 -16
  14. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +14 -0
  15. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +4 -2
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRuleCommand.d.ts +14 -0
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactCommand.d.ts +1 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRuleCommand.d.ts +11 -0
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCrossRegionRoutingCommand.d.ts +94 -0
  20. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -1
  21. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRulesCommand.d.ts +11 -0
  22. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateCrossRegionRoutingCommand.d.ts +95 -0
  23. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateRuleCommand.d.ts +11 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserNotificationStatusCommand.d.ts +2 -1
  25. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateViewContentCommand.d.ts +1 -2
  30. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +2 -0
  31. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +33 -0
  32. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +66 -33
  33. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +44 -85
  34. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +105 -81
  35. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +116 -120
  36. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +120 -4
  37. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +8 -0
  38. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +34 -0
  39. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  40. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCrossRegionRoutingCommand.d.ts +40 -0
  41. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -4
  42. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateCrossRegionRoutingCommand.d.ts +42 -0
  43. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserNotificationStatusCommand.d.ts +2 -4
  44. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +1 -2
  49. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +2 -0
  50. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +15 -0
  51. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +16 -8
  52. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +12 -22
  53. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +23 -24
  54. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +31 -30
  55. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +32 -1
  56. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  57. package/node_modules/@aws-sdk/client-connect/package.json +2 -2
  58. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +1 -1
  59. package/node_modules/@aws-sdk/client-glue/package.json +2 -2
  60. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
  61. package/node_modules/@aws-sdk/client-lakeformation/package.json +2 -2
  62. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
  63. package/node_modules/@aws-sdk/client-ram/package.json +2 -2
  64. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  65. package/node_modules/@aws-sdk/client-sts/package.json +2 -2
  66. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
  67. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
  68. package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
  69. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
  70. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
  71. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  72. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +1 -0
  73. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
  74. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  75. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
  76. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
  77. package/node_modules/@smithy/types/package.json +1 -1
  78. package/node_modules/@types/aws-lambda/README.md +1 -1
  79. package/node_modules/@types/aws-lambda/package.json +3 -3
  80. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +1 -1
  81. package/package.json +10 -10
  82. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/LICENSE +0 -0
  83. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/README.md +0 -0
  84. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/index.js +0 -0
  85. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/append/constant.js +0 -0
  86. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/append.js +0 -0
  87. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/count.js +0 -0
  88. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/help.js +0 -0
  89. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store/constant.js +0 -0
  90. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store/false.js +0 -0
  91. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store/true.js +0 -0
  92. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store.js +0 -0
  93. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/subparsers.js +0 -0
  94. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/version.js +0 -0
  95. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action.js +0 -0
  96. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action_container.js +0 -0
  97. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argparse.js +0 -0
  98. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argument/error.js +0 -0
  99. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argument/exclusive.js +0 -0
  100. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argument/group.js +0 -0
  101. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argument_parser.js +0 -0
  102. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/const.js +0 -0
  103. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/help/added_formatters.js +0 -0
  104. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/help/formatter.js +0 -0
  105. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/namespace.js +0 -0
  106. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/utils.js +0 -0
  107. /package/node_modules/{argparse → js-yaml/node_modules/argparse}/package.json +0 -0
@@ -108,6 +108,17 @@ declare const SearchRulesCommand_base: {
108
108
  * // "GenerativeAI",
109
109
  * // ],
110
110
  * // PublishStatus: "DRAFT" || "PUBLISHED", // required
111
+ * // PreEvaluationFilters: { // PreEvaluationFilters
112
+ * // AndConditions: [ // PreEvaluationFilterList
113
+ * // { // PreEvaluationFilter
114
+ * // ResourceType: "CONTACT", // required
115
+ * // FilterType: "TAG", // required
116
+ * // FilterKey: "STRING_VALUE", // required
117
+ * // FilterValue: "STRING_VALUE", // required
118
+ * // Operator: "EQUALS", // required
119
+ * // },
120
+ * // ],
121
+ * // },
111
122
  * // CreatedTime: new Date("TIMESTAMP"), // required
112
123
  * // LastUpdatedTime: new Date("TIMESTAMP"), // required
113
124
  * // LastUpdatedBy: "STRING_VALUE", // required
@@ -0,0 +1,95 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateCrossRegionRoutingRequest, UpdateCrossRegionRoutingResponse } from "../models/models_3";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateCrossRegionRoutingCommand}.
11
+ */
12
+ export interface UpdateCrossRegionRoutingCommandInput extends UpdateCrossRegionRoutingRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateCrossRegionRoutingCommand}.
18
+ */
19
+ export interface UpdateCrossRegionRoutingCommandOutput extends UpdateCrossRegionRoutingResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateCrossRegionRoutingCommand_base: {
22
+ new (input: UpdateCrossRegionRoutingCommandInput): import("@smithy/core/client").CommandImpl<UpdateCrossRegionRoutingCommandInput, UpdateCrossRegionRoutingCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateCrossRegionRoutingCommandInput): import("@smithy/core/client").CommandImpl<UpdateCrossRegionRoutingCommandInput, UpdateCrossRegionRoutingCommandOutput, import("..").ConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the cross-region routing configuration for an Amazon Connect Global Resiliency instance enabled
28
+ * for global routing. When invoked with <code>IsolatedAll</code> set to <code>true</code>, this operation disables
29
+ * cross-region routing, meaning contacts originating in one Region will no longer be routed to agents in
30
+ * another Region.</p>
31
+ * <note>
32
+ * <p>This operation is available only for Amazon Connect Global Resiliency instances enabled for global routing. Reporting and contact
33
+ * search continue to operate globally after you use this operation.</p>
34
+ * </note>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { ConnectClient, UpdateCrossRegionRoutingCommand } from "@aws-sdk/client-connect"; // ES Modules import
39
+ * // const { ConnectClient, UpdateCrossRegionRoutingCommand } = require("@aws-sdk/client-connect"); // CommonJS import
40
+ * // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
41
+ * const config = {}; // type is ConnectClientConfig
42
+ * const client = new ConnectClient(config);
43
+ * const input = { // UpdateCrossRegionRoutingRequest
44
+ * InstanceId: "STRING_VALUE", // required
45
+ * IsolatedAll: true || false, // required
46
+ * };
47
+ * const command = new UpdateCrossRegionRoutingCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param UpdateCrossRegionRoutingCommandInput - {@link UpdateCrossRegionRoutingCommandInput}
54
+ * @returns {@link UpdateCrossRegionRoutingCommandOutput}
55
+ * @see {@link UpdateCrossRegionRoutingCommandInput} for command's `input` shape.
56
+ * @see {@link UpdateCrossRegionRoutingCommandOutput} for command's `response` shape.
57
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You do not have sufficient permissions to perform this action.</p>
61
+ *
62
+ * @throws {@link InternalServiceException} (server fault)
63
+ * <p>Request processing failed because of an error or failure with the service.</p>
64
+ *
65
+ * @throws {@link InvalidRequestException} (client fault)
66
+ * <p>The request is not valid.</p>
67
+ *
68
+ * @throws {@link ResourceConflictException} (client fault)
69
+ * <p>A resource already has that name.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The specified resource was not found.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The throttling limit has been exceeded.</p>
76
+ *
77
+ * @throws {@link ConnectServiceException}
78
+ * <p>Base exception class for all service exceptions from Connect service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class UpdateCrossRegionRoutingCommand extends UpdateCrossRegionRoutingCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: UpdateCrossRegionRoutingRequest;
88
+ output: {};
89
+ };
90
+ sdk: {
91
+ input: UpdateCrossRegionRoutingCommandInput;
92
+ output: UpdateCrossRegionRoutingCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -141,6 +141,17 @@ declare const UpdateRuleCommand_base: {
141
141
  * },
142
142
  * ],
143
143
  * PublishStatus: "DRAFT" || "PUBLISHED", // required
144
+ * PreEvaluationFilters: { // PreEvaluationFilters
145
+ * AndConditions: [ // PreEvaluationFilterList
146
+ * { // PreEvaluationFilter
147
+ * ResourceType: "CONTACT", // required
148
+ * FilterType: "TAG", // required
149
+ * FilterKey: "STRING_VALUE", // required
150
+ * FilterValue: "STRING_VALUE", // required
151
+ * Operator: "EQUALS", // required
152
+ * },
153
+ * ],
154
+ * },
144
155
  * };
145
156
  * const command = new UpdateRuleCommand(input);
146
157
  * const response = await client.send(command);
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateUserNotificationStatusRequest, UpdateUserNotificationStatusResponse } from "../models/models_3";
2
+ import type { UpdateUserNotificationStatusRequest } from "../models/models_3";
3
+ import type { UpdateUserNotificationStatusResponse } 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 { UpdateUserPhoneConfigRequest } from "../models/models_3";
2
+ import type { UpdateUserPhoneConfigRequest } 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 { UpdateUserProficienciesRequest } from "../models/models_3";
2
+ import type { UpdateUserProficienciesRequest } 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 { UpdateUserRoutingProfileRequest } from "../models/models_3";
2
+ import type { UpdateUserRoutingProfileRequest } 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 { UpdateUserSecurityProfilesRequest } from "../models/models_3";
2
+ import type { UpdateUserSecurityProfilesRequest } 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 { UpdateViewContentRequest } from "../models/models_3";
3
- import type { UpdateViewContentResponse } from "../models/models_4";
2
+ import type { UpdateViewContentRequest, UpdateViewContentResponse } from "../models/models_4";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -171,6 +171,7 @@ export * from "./EvaluateDataTableValuesCommand";
171
171
  export * from "./GetAttachedFileCommand";
172
172
  export * from "./GetContactAttributesCommand";
173
173
  export * from "./GetContactMetricsCommand";
174
+ export * from "./GetCrossRegionRoutingCommand";
174
175
  export * from "./GetCurrentMetricDataCommand";
175
176
  export * from "./GetCurrentUserDataCommand";
176
177
  export * from "./GetEffectiveHoursOfOperationsCommand";
@@ -338,6 +339,7 @@ export * from "./UpdateContactFlowNameCommand";
338
339
  export * from "./UpdateContactRoutingDataCommand";
339
340
  export * from "./UpdateContactScheduleCommand";
340
341
  export * from "./UpdateContactTaskTemplateCommand";
342
+ export * from "./UpdateCrossRegionRoutingCommand";
341
343
  export * from "./UpdateDataTableAttributeCommand";
342
344
  export * from "./UpdateDataTableMetadataCommand";
343
345
  export * from "./UpdateDataTablePrimaryValuesCommand";
@@ -1181,6 +1181,39 @@ export declare const NotificationDeliveryType: {
1181
1181
  * @public
1182
1182
  */
1183
1183
  export type NotificationDeliveryType = (typeof NotificationDeliveryType)[keyof typeof NotificationDeliveryType];
1184
+ /**
1185
+ * @public
1186
+ * @enum
1187
+ */
1188
+ export declare const PreEvaluationFilterType: {
1189
+ readonly TAG: "TAG";
1190
+ };
1191
+ /**
1192
+ * @public
1193
+ */
1194
+ export type PreEvaluationFilterType = (typeof PreEvaluationFilterType)[keyof typeof PreEvaluationFilterType];
1195
+ /**
1196
+ * @public
1197
+ * @enum
1198
+ */
1199
+ export declare const PreEvaluationFilterOperator: {
1200
+ readonly EQUALS: "EQUALS";
1201
+ };
1202
+ /**
1203
+ * @public
1204
+ */
1205
+ export type PreEvaluationFilterOperator = (typeof PreEvaluationFilterOperator)[keyof typeof PreEvaluationFilterOperator];
1206
+ /**
1207
+ * @public
1208
+ * @enum
1209
+ */
1210
+ export declare const PreEvaluationFilterResourceType: {
1211
+ readonly CONTACT: "CONTACT";
1212
+ };
1213
+ /**
1214
+ * @public
1215
+ */
1216
+ export type PreEvaluationFilterResourceType = (typeof PreEvaluationFilterResourceType)[keyof typeof PreEvaluationFilterResourceType];
1184
1217
  /**
1185
1218
  * @public
1186
1219
  * @enum
@@ -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, 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, 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";
2
2
  /**
3
3
  * <p>Information about an action.</p>
4
4
  * @public
@@ -464,6 +464,13 @@ export interface AgentInfo {
464
464
  * @public
465
465
  */
466
466
  VoiceEnhancementMode?: VoiceEnhancementMode | undefined;
467
+ /**
468
+ * <p>The Region where the agent was active when they handled the contact. For Amazon Connect Global Resiliency
469
+ * instances enabled for global routing, this indicates the Region in which the agent's session was established
470
+ * at the time of the contact.</p>
471
+ * @public
472
+ */
473
+ ActiveRegion?: string | undefined;
467
474
  }
468
475
  /**
469
476
  * <p>Contains information for score and potential quality issues for Audio</p>
@@ -6360,6 +6367,52 @@ export interface RuleAction {
6360
6367
  */
6361
6368
  ExtractInformationAction?: ExtractInformationActionDefinition | undefined;
6362
6369
  }
6370
+ /**
6371
+ * <p>A single pre-evaluation filter condition. Specifies a resource type, filter type, key, value, and operator
6372
+ * to match against a resource attribute.</p>
6373
+ * @public
6374
+ */
6375
+ export interface PreEvaluationFilter {
6376
+ /**
6377
+ * <p>The type of resource to filter on. Valid values: <code>CONTACT</code>.</p>
6378
+ * @public
6379
+ */
6380
+ ResourceType: PreEvaluationFilterResourceType | undefined;
6381
+ /**
6382
+ * <p>The type of filter to apply. Valid values: <code>TAG</code>.</p>
6383
+ * @public
6384
+ */
6385
+ FilterType: PreEvaluationFilterType | undefined;
6386
+ /**
6387
+ * <p>The key of the attribute to filter on. For tag filters, this is the tag key.</p>
6388
+ * @public
6389
+ */
6390
+ FilterKey: string | undefined;
6391
+ /**
6392
+ * <p>The value to match against. For tag filters, this is the tag value.</p>
6393
+ * @public
6394
+ */
6395
+ FilterValue: string | undefined;
6396
+ /**
6397
+ * <p>The comparison operator for the filter condition. Valid values: <code>EQUALS</code>.</p>
6398
+ * @public
6399
+ */
6400
+ Operator: PreEvaluationFilterOperator | undefined;
6401
+ }
6402
+ /**
6403
+ * <p>The pre-evaluation filters for a rule, that restrict a rule to be applied to only certain resources based on
6404
+ * the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before
6405
+ * rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.</p>
6406
+ * @public
6407
+ */
6408
+ export interface PreEvaluationFilters {
6409
+ /**
6410
+ * <p>A list of conditions that the rule evaluates together using AND logic. All conditions must be met for
6411
+ * the event to be evaluated by the rule.</p>
6412
+ * @public
6413
+ */
6414
+ AndConditions?: PreEvaluationFilter[] | undefined;
6415
+ }
6363
6416
  /**
6364
6417
  * <p>The name of the event source. This field is required if <code>TriggerEventSource</code> is one of the following values:
6365
6418
  * <code>OnZendeskTicketCreate</code> | <code>OnZendeskTicketStatusUpdate</code> | <code>OnSalesforceCaseCreate</code>
@@ -6412,6 +6465,13 @@ export interface CreateRuleRequest {
6412
6465
  * @public
6413
6466
  */
6414
6467
  PublishStatus: RulePublishStatus | undefined;
6468
+ /**
6469
+ * <p>The pre-evaluation filters for the rule, that restrict the rule to be applied to only certain resources based
6470
+ * on the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before
6471
+ * rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.</p>
6472
+ * @public
6473
+ */
6474
+ PreEvaluationFilters?: PreEvaluationFilters | undefined;
6415
6475
  /**
6416
6476
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6417
6477
  * request. If not provided, the Amazon Web Services
@@ -6420,6 +6480,11 @@ export interface CreateRuleRequest {
6420
6480
  * @public
6421
6481
  */
6422
6482
  ClientToken?: string | undefined;
6483
+ /**
6484
+ * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
6485
+ * @public
6486
+ */
6487
+ Tags?: Record<string, string> | undefined;
6423
6488
  }
6424
6489
  /**
6425
6490
  * @public
@@ -6814,35 +6879,3 @@ export interface PropertyValidationExceptionProperty {
6814
6879
  */
6815
6880
  Message: string | undefined;
6816
6881
  }
6817
- /**
6818
- * <p>Parameters for initiating a chat test.</p>
6819
- * @public
6820
- */
6821
- export interface ChatEntryPointParameters {
6822
- /**
6823
- * <p>The flow identifier for the test.</p>
6824
- * @public
6825
- */
6826
- FlowId?: string | undefined;
6827
- }
6828
- /**
6829
- * <p>Parameters for initiating a voice call test.</p>
6830
- * @public
6831
- */
6832
- export interface VoiceCallEntryPointParameters {
6833
- /**
6834
- * <p>The source phone number for the test.</p>
6835
- * @public
6836
- */
6837
- SourcePhoneNumber?: string | undefined;
6838
- /**
6839
- * <p>The destination phone number for the test.</p>
6840
- * @public
6841
- */
6842
- DestinationPhoneNumber?: string | undefined;
6843
- /**
6844
- * <p>The flow identifier for the test.</p>
6845
- * @public
6846
- */
6847
- FlowId?: string | undefined;
6848
- }
@@ -1,5 +1,37 @@
1
- import type { AgentAvailabilityTimer, AttachmentScope, AutoEvaluationStatus, AvailableFilterType, Channel, ContactField, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactMetricName, ContactParticipantRole, CurrentMetricName, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DirectoryType, EndpointType, EntityType, EvaluationQuestionAnswerAnalysisType, EvaluationStatus, EvaluationSuggestedAnswerStatus, EvaluationTranscriptType, EvaluationType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, InstanceAttributeType, InstanceReplicationStatus, InstanceStatus, InstanceStorageResourceType, LocaleCode, MediaStreamType, MediaType, MetricCreationMethod, MetricStatus, MetricType, MetricUnit, NextContactType, NotificationPriority, OverrideType, ParticipantType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, PhoneNumberWorkflowStatus, PhoneType, QuestionRuleCategoryAutomationCondition, QueueStatus, QuickConnectType, RecordingStatus, RuleCapabilityTier, RulePublishStatus, SortOrder, Status, StorageType, TestCaseEntryPointType, TestCaseStatus, TrafficDistributionGroupStatus, TrendIndicator, Unit, UseCaseType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceEnhancementMode, WorkspaceFontFamily } from "./enums";
2
- import type { AfterContactWorkConfigPerChannel, AgentQualityMetrics, AgentsCriteria, AgentStatus, AiAgentInfo, AliasConfiguration, AllowedExtension, AudioQualityMetricsInfo, ChatEntryPointParameters, CreatedByInfo, DataTableLockVersion, DeviceInfo, ExternalInvocationConfiguration, ExtractionConfiguration, ExtractionDefinitionDisplay, FailedBatchAssociationSummary, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, LexBot, LexV2Bot, MediaConcurrency, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, ParticipantCapabilities, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, RoutingProfileQueueReference, RuleAction, RuleTriggerEventSource, SecurityProfileItem, SuccessfulBatchAssociationSummary, Validation, VoiceCallEntryPointParameters } from "./models_0";
1
+ import type { AgentAvailabilityTimer, AttachmentScope, AutoEvaluationStatus, AvailableFilterType, Channel, ContactField, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactMetricName, ContactParticipantRole, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DirectoryType, EndpointType, EntityType, EvaluationQuestionAnswerAnalysisType, EvaluationStatus, EvaluationSuggestedAnswerStatus, EvaluationTranscriptType, EvaluationType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, InstanceAttributeType, InstanceReplicationStatus, InstanceStatus, InstanceStorageResourceType, LocaleCode, MediaStreamType, MediaType, MetricCreationMethod, MetricStatus, MetricType, MetricUnit, NextContactType, NotificationPriority, OverrideType, ParticipantType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, PhoneNumberWorkflowStatus, PhoneType, QuestionRuleCategoryAutomationCondition, QueueStatus, QuickConnectType, RecordingStatus, RuleCapabilityTier, RulePublishStatus, Status, StorageType, TestCaseEntryPointType, TestCaseStatus, TrafficDistributionGroupStatus, TrendIndicator, UseCaseType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceEnhancementMode, WorkspaceFontFamily } from "./enums";
2
+ import type { AfterContactWorkConfigPerChannel, AgentQualityMetrics, AgentsCriteria, AgentStatus, AiAgentInfo, AliasConfiguration, AllowedExtension, AudioQualityMetricsInfo, CreatedByInfo, DataTableLockVersion, DeviceInfo, ExternalInvocationConfiguration, ExtractionConfiguration, ExtractionDefinitionDisplay, FailedBatchAssociationSummary, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, LexBot, LexV2Bot, MediaConcurrency, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, ParticipantCapabilities, PredefinedAttributeValues, PreEvaluationFilters, PrimaryValue, QuickConnectConfig, RecurrenceConfig, RoutingProfileQueueReference, RuleAction, RuleTriggerEventSource, SecurityProfileItem, SuccessfulBatchAssociationSummary, Validation } from "./models_0";
3
+ /**
4
+ * <p>Parameters for initiating a chat test.</p>
5
+ * @public
6
+ */
7
+ export interface ChatEntryPointParameters {
8
+ /**
9
+ * <p>The flow identifier for the test.</p>
10
+ * @public
11
+ */
12
+ FlowId?: string | undefined;
13
+ }
14
+ /**
15
+ * <p>Parameters for initiating a voice call test.</p>
16
+ * @public
17
+ */
18
+ export interface VoiceCallEntryPointParameters {
19
+ /**
20
+ * <p>The source phone number for the test.</p>
21
+ * @public
22
+ */
23
+ SourcePhoneNumber?: string | undefined;
24
+ /**
25
+ * <p>The destination phone number for the test.</p>
26
+ * @public
27
+ */
28
+ DestinationPhoneNumber?: string | undefined;
29
+ /**
30
+ * <p>The flow identifier for the test.</p>
31
+ * @public
32
+ */
33
+ FlowId?: string | undefined;
34
+ }
3
35
  /**
4
36
  * <p>Defines the starting point for a test case.</p>
5
37
  * @public
@@ -5325,6 +5357,13 @@ export interface Rule {
5325
5357
  * @public
5326
5358
  */
5327
5359
  PublishStatus: RulePublishStatus | undefined;
5360
+ /**
5361
+ * <p>The pre-evaluation filters for the rule, that restrict the rule to be applied to only certain resources based
5362
+ * on the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before
5363
+ * rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.</p>
5364
+ * @public
5365
+ */
5366
+ PreEvaluationFilters?: PreEvaluationFilters | undefined;
5328
5367
  /**
5329
5368
  * <p>The timestamp for when the rule was created.</p>
5330
5369
  * @public
@@ -7044,92 +7083,12 @@ export interface GetContactMetricsResponse {
7044
7083
  Arn?: string | undefined;
7045
7084
  }
7046
7085
  /**
7047
- * <p>Contains information about a real-time metric. For a description of each metric, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html">Metrics definitions</a> in the <i>Connect Customer Administrator Guide</i>.</p>
7048
- * <important>
7049
- * <p>Only one of either the Name or MetricId is required.</p>
7050
- * </important>
7051
- * @public
7052
- */
7053
- export interface CurrentMetric {
7054
- /**
7055
- * <p>The name of the metric.</p>
7056
- * @public
7057
- */
7058
- Name?: CurrentMetricName | undefined;
7059
- /**
7060
- * <p>Out of the box current metrics or custom metrics can be referenced via this field. This field is a valid AWS Connect Arn or a UUID.</p>
7061
- * @public
7062
- */
7063
- MetricId?: string | undefined;
7064
- /**
7065
- * <note>
7066
- * <p>The Unit parameter is not supported for custom metrics.</p>
7067
- * </note>
7068
- * <p>The unit for the metric.</p>
7069
- * @public
7070
- */
7071
- Unit?: Unit | undefined;
7072
- }
7073
- /**
7074
- * <p>Contains the filter to apply when retrieving metrics.</p>
7075
7086
  * @public
7076
7087
  */
7077
- export interface Filters {
7078
- /**
7079
- * <p>The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues
7080
- * per request. The <code>GetCurrentMetricsData</code> API in particular requires a queue when you include a
7081
- * <code>Filter</code> in your request. </p>
7082
- * @public
7083
- */
7084
- Queues?: string[] | undefined;
7085
- /**
7086
- * <p>The channel to use to filter the metrics.</p>
7087
- * @public
7088
- */
7089
- Channels?: Channel[] | undefined;
7090
- /**
7091
- * <p>A list of up to 100 routing profile IDs or ARNs.</p>
7092
- * @public
7093
- */
7094
- RoutingProfiles?: string[] | undefined;
7088
+ export interface GetCrossRegionRoutingRequest {
7095
7089
  /**
7096
- * <p>A list of expressions as a filter, in which an expression is an object of a step in a routing
7097
- * criteria. Accepts filter values up to 3,000 characters in length. Filter values are case-sensitive.
7098
- * JSON object key order and whitespace may be arbitrary; array order and tree structure must be preserved.</p>
7099
- * @public
7100
- */
7101
- RoutingStepExpressions?: string[] | undefined;
7102
- /**
7103
- * <p>A list of up to 50 agent status IDs or ARNs.</p>
7104
- * @public
7105
- */
7106
- AgentStatuses?: string[] | undefined;
7107
- /**
7108
- * <p>A list of up to 10 subtypes can be provided.</p>
7109
- * @public
7110
- */
7111
- Subtypes?: string[] | undefined;
7112
- /**
7113
- * <p>A list of up to 10 validationTestTypes can be provided.</p>
7114
- * @public
7115
- */
7116
- ValidationTestTypes?: string[] | undefined;
7117
- }
7118
- /**
7119
- * <p>The way to sort the resulting response based on metrics. By default resources are sorted based on
7120
- * <code>AGENTS_ONLINE</code>, <code>DESCENDING</code>. The metric collection is sorted based on the input
7121
- * metrics.</p>
7122
- * @public
7123
- */
7124
- export interface CurrentMetricSortCriteria {
7125
- /**
7126
- * <p>The current metric names.</p>
7127
- * @public
7128
- */
7129
- SortByMetric?: CurrentMetricName | undefined;
7130
- /**
7131
- * <p>The way to sort.</p>
7090
+ * <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>
7132
7091
  * @public
7133
7092
  */
7134
- SortOrder?: SortOrder | undefined;
7093
+ InstanceId: string | undefined;
7135
7094
  }