@aws-sdk/client-connect 3.1086.0 → 3.1087.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 (52) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +86 -5
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/SearchRulesCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +3 -0
  7. package/dist-es/pagination/SearchRulesPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +65 -4
  10. package/dist-types/Connect.d.ts +14 -0
  11. package/dist-types/ConnectClient.d.ts +3 -2
  12. package/dist-types/commands/AssociateHoursOfOperationsCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeRuleCommand.d.ts +3 -0
  14. package/dist-types/commands/DisassociateHoursOfOperationsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListChildHoursOfOperationsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListRulesCommand.d.ts +3 -0
  17. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +2 -1
  18. package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +2 -1
  19. package/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +2 -1
  20. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -1
  21. package/dist-types/commands/SearchNotificationsCommand.d.ts +2 -1
  22. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +2 -1
  23. package/dist-types/commands/SearchRulesCommand.d.ts +210 -0
  24. package/dist-types/commands/index.d.ts +1 -0
  25. package/dist-types/models/enums.d.ts +11 -0
  26. package/dist-types/models/models_0.d.ts +2 -2
  27. package/dist-types/models/models_1.d.ts +8 -2
  28. package/dist-types/models/models_2.d.ts +34 -20
  29. package/dist-types/models/models_3.d.ts +166 -184
  30. package/dist-types/models/models_4.d.ts +213 -1
  31. package/dist-types/pagination/SearchRulesPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +1 -0
  33. package/dist-types/schemas/schemas_0.d.ts +8 -0
  34. package/dist-types/ts3.4/Connect.d.ts +24 -0
  35. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  36. package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +2 -4
  37. package/dist-types/ts3.4/commands/SearchEvaluationFormsCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +2 -4
  40. package/dist-types/ts3.4/commands/SearchNotificationsCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/SearchRulesCommand.d.ts +41 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  46. package/dist-types/ts3.4/models/models_2.d.ts +2 -0
  47. package/dist-types/ts3.4/models/models_3.d.ts +37 -41
  48. package/dist-types/ts3.4/models/models_4.d.ts +60 -0
  49. package/dist-types/ts3.4/pagination/SearchRulesPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  52. package/package.json +8 -8
@@ -1,7 +1,188 @@
1
1
  import type { AnsweringMachineDetectionStatus, Channel, ContactInitiationMethod, DisconnectOnCustomerExitParticipantType, EvaluationFormValidationStatus, EvaluationFormVersionStatus, InitiateAs, RoutingCriteriaStepStatus } from "./enums";
2
2
  import type { AdditionalEmailRecipients, AgentInfo, Campaign, Endpoint, EvaluationFormAutoEvaluationConfiguration, EvaluationFormLanguageConfiguration, EvaluationFormScoreThreshold, EvaluationFormScoringStrategy, EvaluationFormTargetConfiguration, EvaluationReviewConfiguration, OutboundStrategy, Reference, UserInfo } from "./models_0";
3
3
  import type { ChatMetrics, ContactDetails, ContactEvaluation, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, Expiry, GlobalResiliencyMetadata, NextContactEntry, QualityMetrics, QueueInfo, RecordingInfo, TaskTemplateInfoV2, WisdomInfo } from "./models_1";
4
- import type { ChatMessage, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, EmailAddressInfo, EmailAttachment, EvaluationFormQuestion, Expression, InboundAdditionalRecipients, InboundEmailContent, ParticipantConfiguration, ParticipantDetails, PersistentChat, PromptSearchCriteria, PromptSearchFilter, QueueInfoInput, QueueSearchCriteria, QueueSearchFilter, QuickConnectSearchCriteria, QuickConnectSearchFilter, RoutingCriteriaInputStep, RoutingProfileSearchCriteria, RoutingProfileSearchFilter, SecurityProfileSearchCriteria, SecurityProfilesSearchFilter, SegmentAttributeValue, TaskAttachment, TemplatedMessageConfig, TestCaseSearchCriteria, TestCaseSearchFilter, UserHierarchyGroupSearchCriteria, UserHierarchyGroupSearchFilter, UserSearchCriteria, UserSearchFilter, ViewSearchCriteria, ViewSearchFilter, WorkspaceAssociationSearchCriteria, WorkspaceAssociationSearchFilter, WorkspaceSearchCriteria, WorkspaceSearchFilter } from "./models_3";
4
+ import type { ChatMessage, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, EmailAddressInfo, EmailAddressSearchCriteria, EmailAddressSearchFilter, EmailAttachment, EvaluationFormQuestion, EvaluationFormSearchCriteria, EvaluationFormSearchFilter, Expression, HoursOfOperationOverrideSearchCriteria, HoursOfOperationSearchCriteria, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, NotificationSearchCriteria, NotificationSearchFilter, ParticipantConfiguration, ParticipantDetails, PersistentChat, PredefinedAttributeSearchCriteria, PromptSearchCriteria, PromptSearchFilter, QueueInfoInput, QueueSearchCriteria, QueueSearchFilter, QuickConnectSearchCriteria, QuickConnectSearchFilter, RoutingCriteriaInputStep, RoutingProfileSearchCriteria, RoutingProfileSearchFilter, RulesSearchCriteria, RulesSearchFilter, SecurityProfileSearchCriteria, SecurityProfilesSearchFilter, SegmentAttributeValue, TaskAttachment, TemplatedMessageConfig, TestCaseSearchCriteria, TestCaseSearchFilter, UserHierarchyGroupSearchCriteria, UserHierarchyGroupSearchFilter, UserSearchCriteria, UserSearchFilter, ViewSearchCriteria, ViewSearchFilter, WorkspaceAssociationSearchCriteria, WorkspaceAssociationSearchFilter, WorkspaceSearchCriteria, WorkspaceSearchFilter } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface SearchEmailAddressesRequest {
9
+ /**
10
+ * <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>
11
+ * @public
12
+ */
13
+ InstanceId: string | undefined;
14
+ /**
15
+ * <p>The maximum number of results to return per page.</p>
16
+ * @public
17
+ */
18
+ MaxResults?: number | undefined;
19
+ /**
20
+ * <p>The token for the next set of results. Use the value returned in the previous
21
+ * response in the next request to retrieve the next set of results.</p>
22
+ * @public
23
+ */
24
+ NextToken?: string | undefined;
25
+ /**
26
+ * <p>The search criteria to be used to return email addresses.</p>
27
+ * @public
28
+ */
29
+ SearchCriteria?: EmailAddressSearchCriteria | undefined;
30
+ /**
31
+ * <p>Filters to be applied to search results.</p>
32
+ * @public
33
+ */
34
+ SearchFilter?: EmailAddressSearchFilter | undefined;
35
+ }
36
+ /**
37
+ * @public
38
+ */
39
+ export interface SearchEvaluationFormsRequest {
40
+ /**
41
+ * <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>
42
+ * @public
43
+ */
44
+ InstanceId: string | undefined;
45
+ /**
46
+ * <p>The token for the next set of results. Use the value returned in the previous
47
+ * response in the next request to retrieve the next set of results.</p>
48
+ * @public
49
+ */
50
+ NextToken?: string | undefined;
51
+ /**
52
+ * <p>The maximum number of results to return per page.</p>
53
+ * @public
54
+ */
55
+ MaxResults?: number | undefined;
56
+ /**
57
+ * <p>The search criteria to be used to return evaluation forms.</p>
58
+ * @public
59
+ */
60
+ SearchCriteria?: EvaluationFormSearchCriteria | undefined;
61
+ /**
62
+ * <p>Filters to be applied to search results.</p>
63
+ * @public
64
+ */
65
+ SearchFilter?: EvaluationFormSearchFilter | undefined;
66
+ }
67
+ /**
68
+ * @public
69
+ */
70
+ export interface SearchHoursOfOperationOverridesRequest {
71
+ /**
72
+ * <p>The identifier of the Connect Customer instance.</p>
73
+ * @public
74
+ */
75
+ InstanceId: string | undefined;
76
+ /**
77
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
78
+ * retrieve the next set of results. </p>
79
+ * @public
80
+ */
81
+ NextToken?: string | undefined;
82
+ /**
83
+ * <p>The maximum number of results to return per page.</p>
84
+ * @public
85
+ */
86
+ MaxResults?: number | undefined;
87
+ /**
88
+ * <p>Filters to be applied to search results.</p>
89
+ * @public
90
+ */
91
+ SearchFilter?: HoursOfOperationSearchFilter | undefined;
92
+ /**
93
+ * <p>The search criteria to be used to return hours of operations overrides.</p>
94
+ * @public
95
+ */
96
+ SearchCriteria?: HoursOfOperationOverrideSearchCriteria | undefined;
97
+ }
98
+ /**
99
+ * @public
100
+ */
101
+ export interface SearchHoursOfOperationsRequest {
102
+ /**
103
+ * <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>
104
+ * @public
105
+ */
106
+ InstanceId: string | undefined;
107
+ /**
108
+ * <p>The token for the next set of results. Use the value returned in the previous
109
+ * response in the next request to retrieve the next set of results.</p>
110
+ * @public
111
+ */
112
+ NextToken?: string | undefined;
113
+ /**
114
+ * <p>The maximum number of results to return per page.</p>
115
+ * @public
116
+ */
117
+ MaxResults?: number | undefined;
118
+ /**
119
+ * <p>Filters to be applied to search results.</p>
120
+ * @public
121
+ */
122
+ SearchFilter?: HoursOfOperationSearchFilter | undefined;
123
+ /**
124
+ * <p>The search criteria to be used to return hours of operations.</p>
125
+ * @public
126
+ */
127
+ SearchCriteria?: HoursOfOperationSearchCriteria | undefined;
128
+ }
129
+ /**
130
+ * @public
131
+ */
132
+ export interface SearchNotificationsRequest {
133
+ /**
134
+ * <p>The identifier of the Amazon Connect 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>
135
+ * @public
136
+ */
137
+ InstanceId: string | undefined;
138
+ /**
139
+ * <p>The token for the next set of results. Use the value returned in the previous response to retrieve the next page of results.</p>
140
+ * @public
141
+ */
142
+ NextToken?: string | undefined;
143
+ /**
144
+ * <p>The maximum number of results to return per page. Valid range is 1-100.</p>
145
+ * @public
146
+ */
147
+ MaxResults?: number | undefined;
148
+ /**
149
+ * <p>Filters to apply to the search results, such as tag-based filters.</p>
150
+ * @public
151
+ */
152
+ SearchFilter?: NotificationSearchFilter | undefined;
153
+ /**
154
+ * <p>The search criteria to apply when searching for notifications. Supports filtering by notification ID and message content using comparison types such as STARTS_WITH, CONTAINS, and EXACT.</p>
155
+ * @public
156
+ */
157
+ SearchCriteria?: NotificationSearchCriteria | undefined;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export interface SearchPredefinedAttributesRequest {
163
+ /**
164
+ * <p>The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the
165
+ * instance.</p>
166
+ * @public
167
+ */
168
+ InstanceId: string | undefined;
169
+ /**
170
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
171
+ * retrieve the next set of results.</p>
172
+ * @public
173
+ */
174
+ NextToken?: string | undefined;
175
+ /**
176
+ * <p>The maximum number of results to return per page.</p>
177
+ * @public
178
+ */
179
+ MaxResults?: number | undefined;
180
+ /**
181
+ * <p>The search criteria to be used to return predefined attributes.</p>
182
+ * @public
183
+ */
184
+ SearchCriteria?: PredefinedAttributeSearchCriteria | undefined;
185
+ }
5
186
  /**
6
187
  * @public
7
188
  */
@@ -136,6 +317,37 @@ export interface SearchRoutingProfilesRequest {
136
317
  */
137
318
  SearchCriteria?: RoutingProfileSearchCriteria | undefined;
138
319
  }
320
+ /**
321
+ * @public
322
+ */
323
+ export interface SearchRulesRequest {
324
+ /**
325
+ * <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>
326
+ * @public
327
+ */
328
+ InstanceId: string | undefined;
329
+ /**
330
+ * <p>The maximum number of results to return per page.</p>
331
+ * @public
332
+ */
333
+ MaxResults?: number | undefined;
334
+ /**
335
+ * <p>The token for the next set of results. Use the value returned in the previous
336
+ * response in the next request to retrieve the next set of results.</p>
337
+ * @public
338
+ */
339
+ NextToken?: string | undefined;
340
+ /**
341
+ * <p>The search criteria to be used to return rules.</p>
342
+ * @public
343
+ */
344
+ SearchCriteria?: RulesSearchCriteria | undefined;
345
+ /**
346
+ * <p>Filters to be applied to search results, such as tag-based filters.</p>
347
+ * @public
348
+ */
349
+ SearchFilter?: RulesSearchFilter | undefined;
350
+ }
139
351
  /**
140
352
  * @public
141
353
  */
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { SearchRulesCommandInput, SearchRulesCommandOutput } from "../commands/SearchRulesCommand";
3
+ import type { ConnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateSearchRules: (config: ConnectPaginationConfiguration, input: SearchRulesCommandInput, ...rest: any[]) => Paginator<SearchRulesCommandOutput>;
@@ -77,6 +77,7 @@ export * from "./SearchQueuesPaginator";
77
77
  export * from "./SearchQuickConnectsPaginator";
78
78
  export * from "./SearchResourceTagsPaginator";
79
79
  export * from "./SearchRoutingProfilesPaginator";
80
+ export * from "./SearchRulesPaginator";
80
81
  export * from "./SearchSecurityProfilesPaginator";
81
82
  export * from "./SearchTestCasesPaginator";
82
83
  export * from "./SearchUserHierarchyGroupsPaginator";
@@ -921,7 +921,12 @@ export declare var RoutingProfileSearchFilter$: StaticStructureSchema;
921
921
  export declare var RoutingProfileSummary$: StaticStructureSchema;
922
922
  export declare var Rule$: StaticStructureSchema;
923
923
  export declare var RuleAction$: StaticStructureSchema;
924
+ export declare var RuleAttributeAndCondition$: StaticStructureSchema;
925
+ export declare var RuleAttributeFilter$: StaticStructureSchema;
924
926
  export declare var RulesConfiguration$: StaticStructureSchema;
927
+ export declare var RuleSearchSummary$: StaticStructureSchema;
928
+ export declare var RulesSearchCriteria$: StaticStructureSchema;
929
+ export declare var RulesSearchFilter$: StaticStructureSchema;
925
930
  export declare var RuleSummary$: StaticStructureSchema;
926
931
  export declare var RuleTriggerEventSource$: StaticStructureSchema;
927
932
  export declare var S3Config$: StaticStructureSchema;
@@ -973,6 +978,8 @@ export declare var SearchResourceTagsRequest$: StaticStructureSchema;
973
978
  export declare var SearchResourceTagsResponse$: StaticStructureSchema;
974
979
  export declare var SearchRoutingProfilesRequest$: StaticStructureSchema;
975
980
  export declare var SearchRoutingProfilesResponse$: StaticStructureSchema;
981
+ export declare var SearchRulesRequest$: StaticStructureSchema;
982
+ export declare var SearchRulesResponse$: StaticStructureSchema;
976
983
  export declare var SearchSecurityProfilesRequest$: StaticStructureSchema;
977
984
  export declare var SearchSecurityProfilesResponse$: StaticStructureSchema;
978
985
  export declare var SearchTestCasesRequest$: StaticStructureSchema;
@@ -1545,6 +1552,7 @@ export declare var SearchQueues$: StaticOperationSchema;
1545
1552
  export declare var SearchQuickConnects$: StaticOperationSchema;
1546
1553
  export declare var SearchResourceTags$: StaticOperationSchema;
1547
1554
  export declare var SearchRoutingProfiles$: StaticOperationSchema;
1555
+ export declare var SearchRules$: StaticOperationSchema;
1548
1556
  export declare var SearchSecurityProfiles$: StaticOperationSchema;
1549
1557
  export declare var SearchTestCases$: StaticOperationSchema;
1550
1558
  export declare var SearchUserHierarchyGroups$: StaticOperationSchema;
@@ -1103,6 +1103,10 @@ import {
1103
1103
  SearchRoutingProfilesCommandInput,
1104
1104
  SearchRoutingProfilesCommandOutput,
1105
1105
  } from "./commands/SearchRoutingProfilesCommand";
1106
+ import {
1107
+ SearchRulesCommandInput,
1108
+ SearchRulesCommandOutput,
1109
+ } from "./commands/SearchRulesCommand";
1106
1110
  import {
1107
1111
  SearchSecurityProfilesCommandInput,
1108
1112
  SearchSecurityProfilesCommandOutput,
@@ -5167,6 +5171,19 @@ export interface Connect {
5167
5171
  options: __HttpHandlerOptions,
5168
5172
  cb: (err: any, data?: SearchRoutingProfilesCommandOutput) => void
5169
5173
  ): void;
5174
+ searchRules(
5175
+ args: SearchRulesCommandInput,
5176
+ options?: __HttpHandlerOptions
5177
+ ): Promise<SearchRulesCommandOutput>;
5178
+ searchRules(
5179
+ args: SearchRulesCommandInput,
5180
+ cb: (err: any, data?: SearchRulesCommandOutput) => void
5181
+ ): void;
5182
+ searchRules(
5183
+ args: SearchRulesCommandInput,
5184
+ options: __HttpHandlerOptions,
5185
+ cb: (err: any, data?: SearchRulesCommandOutput) => void
5186
+ ): void;
5170
5187
  searchSecurityProfiles(
5171
5188
  args: SearchSecurityProfilesCommandInput,
5172
5189
  options?: __HttpHandlerOptions
@@ -7072,6 +7089,13 @@ export interface Connect {
7072
7089
  Exclude<keyof PaginationConfiguration, "client">
7073
7090
  >
7074
7091
  ): Paginator<SearchRoutingProfilesCommandOutput>;
7092
+ paginateSearchRules(
7093
+ args: SearchRulesCommandInput,
7094
+ paginationConfig?: Pick<
7095
+ PaginationConfiguration,
7096
+ Exclude<keyof PaginationConfiguration, "client">
7097
+ >
7098
+ ): Paginator<SearchRulesCommandOutput>;
7075
7099
  paginateSearchSecurityProfiles(
7076
7100
  args: SearchSecurityProfilesCommandInput,
7077
7101
  paginationConfig?: Pick<
@@ -1136,6 +1136,10 @@ import {
1136
1136
  SearchRoutingProfilesCommandInput,
1137
1137
  SearchRoutingProfilesCommandOutput,
1138
1138
  } from "./commands/SearchRoutingProfilesCommand";
1139
+ import {
1140
+ SearchRulesCommandInput,
1141
+ SearchRulesCommandOutput,
1142
+ } from "./commands/SearchRulesCommand";
1139
1143
  import {
1140
1144
  SearchSecurityProfilesCommandInput,
1141
1145
  SearchSecurityProfilesCommandOutput,
@@ -1831,6 +1835,7 @@ export type ServiceInputTypes =
1831
1835
  | SearchQuickConnectsCommandInput
1832
1836
  | SearchResourceTagsCommandInput
1833
1837
  | SearchRoutingProfilesCommandInput
1838
+ | SearchRulesCommandInput
1834
1839
  | SearchSecurityProfilesCommandInput
1835
1840
  | SearchTestCasesCommandInput
1836
1841
  | SearchUserHierarchyGroupsCommandInput
@@ -2210,6 +2215,7 @@ export type ServiceOutputTypes =
2210
2215
  | SearchQuickConnectsCommandOutput
2211
2216
  | SearchResourceTagsCommandOutput
2212
2217
  | SearchRoutingProfilesCommandOutput
2218
+ | SearchRulesCommandOutput
2213
2219
  | SearchSecurityProfilesCommandOutput
2214
2220
  | SearchTestCasesCommandOutput
2215
2221
  | SearchUserHierarchyGroupsCommandOutput
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- SearchEmailAddressesRequest,
4
- SearchEmailAddressesResponse,
5
- } from "../models/models_3";
2
+ import { SearchEmailAddressesResponse } from "../models/models_3";
3
+ import { SearchEmailAddressesRequest } from "../models/models_4";
6
4
  export { __MetadataBearer };
7
5
  export interface SearchEmailAddressesCommandInput
8
6
  extends SearchEmailAddressesRequest {}
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- SearchEvaluationFormsRequest,
4
- SearchEvaluationFormsResponse,
5
- } from "../models/models_3";
2
+ import { SearchEvaluationFormsResponse } from "../models/models_3";
3
+ import { SearchEvaluationFormsRequest } from "../models/models_4";
6
4
  export { __MetadataBearer };
7
5
  export interface SearchEvaluationFormsCommandInput
8
6
  extends SearchEvaluationFormsRequest {}
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- SearchHoursOfOperationOverridesRequest,
4
- SearchHoursOfOperationOverridesResponse,
5
- } from "../models/models_3";
2
+ import { SearchHoursOfOperationOverridesResponse } from "../models/models_3";
3
+ import { SearchHoursOfOperationOverridesRequest } from "../models/models_4";
6
4
  export { __MetadataBearer };
7
5
  export interface SearchHoursOfOperationOverridesCommandInput
8
6
  extends SearchHoursOfOperationOverridesRequest {}
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- SearchHoursOfOperationsRequest,
4
- SearchHoursOfOperationsResponse,
5
- } from "../models/models_3";
2
+ import { SearchHoursOfOperationsResponse } from "../models/models_3";
3
+ import { SearchHoursOfOperationsRequest } from "../models/models_4";
6
4
  export { __MetadataBearer };
7
5
  export interface SearchHoursOfOperationsCommandInput
8
6
  extends SearchHoursOfOperationsRequest {}
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- SearchNotificationsRequest,
4
- SearchNotificationsResponse,
5
- } from "../models/models_3";
2
+ import { SearchNotificationsResponse } from "../models/models_3";
3
+ import { SearchNotificationsRequest } from "../models/models_4";
6
4
  export { __MetadataBearer };
7
5
  export interface SearchNotificationsCommandInput
8
6
  extends SearchNotificationsRequest {}
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- SearchPredefinedAttributesRequest,
4
- SearchPredefinedAttributesResponse,
5
- } from "../models/models_3";
2
+ import { SearchPredefinedAttributesResponse } from "../models/models_3";
3
+ import { SearchPredefinedAttributesRequest } from "../models/models_4";
6
4
  export { __MetadataBearer };
7
5
  export interface SearchPredefinedAttributesCommandInput
8
6
  extends SearchPredefinedAttributesRequest {}
@@ -0,0 +1,41 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { SearchRulesResponse } from "../models/models_3";
3
+ import { SearchRulesRequest } from "../models/models_4";
4
+ export { __MetadataBearer };
5
+ export interface SearchRulesCommandInput extends SearchRulesRequest {}
6
+ export interface SearchRulesCommandOutput
7
+ extends SearchRulesResponse,
8
+ __MetadataBearer {}
9
+ declare const SearchRulesCommand_base: {
10
+ new (
11
+ input: SearchRulesCommandInput
12
+ ): import("@smithy/core/client").CommandImpl<
13
+ SearchRulesCommandInput,
14
+ SearchRulesCommandOutput,
15
+ import("..").ConnectClientResolvedConfig,
16
+ import("..").ServiceInputTypes,
17
+ import("..").ServiceOutputTypes
18
+ >;
19
+ new (
20
+ input: SearchRulesCommandInput
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ SearchRulesCommandInput,
23
+ SearchRulesCommandOutput,
24
+ import("..").ConnectClientResolvedConfig,
25
+ import("..").ServiceInputTypes,
26
+ import("..").ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
29
+ };
30
+ export declare class SearchRulesCommand extends SearchRulesCommand_base {
31
+ protected static __types: {
32
+ api: {
33
+ input: SearchRulesRequest;
34
+ output: SearchRulesResponse;
35
+ };
36
+ sdk: {
37
+ input: SearchRulesCommandInput;
38
+ output: SearchRulesCommandOutput;
39
+ };
40
+ };
41
+ }
@@ -273,6 +273,7 @@ export * from "./SearchQueuesCommand";
273
273
  export * from "./SearchQuickConnectsCommand";
274
274
  export * from "./SearchResourceTagsCommand";
275
275
  export * from "./SearchRoutingProfilesCommand";
276
+ export * from "./SearchRulesCommand";
276
277
  export * from "./SearchSecurityProfilesCommand";
277
278
  export * from "./SearchTestCasesCommand";
278
279
  export * from "./SearchUserHierarchyGroupsCommand";
@@ -1213,6 +1213,11 @@ export declare const QueueStatus: {
1213
1213
  readonly ENABLED: "ENABLED";
1214
1214
  };
1215
1215
  export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus];
1216
+ export declare const RuleCapabilityTier: {
1217
+ readonly GenerativeAI: "GenerativeAI";
1218
+ };
1219
+ export type RuleCapabilityTier =
1220
+ (typeof RuleCapabilityTier)[keyof typeof RuleCapabilityTier];
1216
1221
  export declare const TrafficDistributionGroupStatus: {
1217
1222
  readonly ACTIVE: "ACTIVE";
1218
1223
  readonly CREATION_FAILED: "CREATION_FAILED";
@@ -50,6 +50,7 @@ import {
50
50
  QueueStatus,
51
51
  QuickConnectType,
52
52
  RecordingStatus,
53
+ RuleCapabilityTier,
53
54
  RulePublishStatus,
54
55
  SortOrder,
55
56
  Status,
@@ -1208,6 +1209,7 @@ export interface Rule {
1208
1209
  RuleId: string | undefined;
1209
1210
  RuleArn: string | undefined;
1210
1211
  TriggerEventSource: RuleTriggerEventSource | undefined;
1212
+ RuleCapabilityTiers?: RuleCapabilityTier[] | undefined;
1211
1213
  Function: string | undefined;
1212
1214
  Actions: RuleAction[] | undefined;
1213
1215
  PublishStatus: RulePublishStatus | undefined;
@@ -57,6 +57,7 @@ import {
57
57
  RealTimeContactAnalysisSupportedChannel,
58
58
  ReferenceStatus,
59
59
  ReferenceType,
60
+ RuleCapabilityTier,
60
61
  RulePublishStatus,
61
62
  SearchContactsMatchType,
62
63
  SearchContactsTimeRangeConditionType,
@@ -1414,6 +1415,7 @@ export interface RuleSummary {
1414
1415
  RuleArn: string | undefined;
1415
1416
  EventSourceName: EventSourceName | undefined;
1416
1417
  PublishStatus: RulePublishStatus | undefined;
1418
+ RuleCapabilityTiers?: RuleCapabilityTier[] | undefined;
1417
1419
  ActionSummaries: ActionSummary[] | undefined;
1418
1420
  CreatedTime: Date | undefined;
1419
1421
  LastUpdatedTime: Date | undefined;
@@ -44,6 +44,7 @@ import {
44
44
  QueueStatus,
45
45
  RehydrationType,
46
46
  ResponseMode,
47
+ RuleCapabilityTier,
47
48
  RulePublishStatus,
48
49
  SearchableQueueType,
49
50
  StringComparisonType,
@@ -62,6 +63,7 @@ import {
62
63
  VoiceRecordingTrack,
63
64
  } from "./enums";
64
65
  import {
66
+ ActionSummary,
65
67
  AfterContactWorkConfigPerChannel,
66
68
  AgentConfig,
67
69
  AgentStatusSearchFilter,
@@ -94,6 +96,7 @@ import {
94
96
  Reference,
95
97
  RoutingProfileQueueConfig,
96
98
  RuleAction,
99
+ RuleTriggerEventSource,
97
100
  StringCondition,
98
101
  TagCondition,
99
102
  TaskTemplateConstraints,
@@ -312,6 +315,35 @@ export interface SearchRoutingProfilesResponse {
312
315
  NextToken?: string | undefined;
313
316
  ApproximateTotalCount?: number | undefined;
314
317
  }
318
+ export interface RuleAttributeAndCondition {
319
+ TagConditions?: TagCondition[] | undefined;
320
+ }
321
+ export interface RuleAttributeFilter {
322
+ OrConditions?: RuleAttributeAndCondition[] | undefined;
323
+ AndCondition?: RuleAttributeAndCondition | undefined;
324
+ TagCondition?: TagCondition | undefined;
325
+ }
326
+ export interface RulesSearchFilter {
327
+ AttributeFilter?: RuleAttributeFilter | undefined;
328
+ }
329
+ export interface RuleSearchSummary {
330
+ Name: string | undefined;
331
+ RuleId: string | undefined;
332
+ RuleArn: string | undefined;
333
+ TriggerEventSource: RuleTriggerEventSource | undefined;
334
+ ActionSummaries: ActionSummary[] | undefined;
335
+ RuleCapabilityTiers?: RuleCapabilityTier[] | undefined;
336
+ PublishStatus: RulePublishStatus | undefined;
337
+ CreatedTime: Date | undefined;
338
+ LastUpdatedTime: Date | undefined;
339
+ LastUpdatedBy: string | undefined;
340
+ Tags?: Record<string, string> | undefined;
341
+ }
342
+ export interface SearchRulesResponse {
343
+ Rules: RuleSearchSummary[] | undefined;
344
+ ApproximateTotalCount?: number | undefined;
345
+ NextToken?: string | undefined;
346
+ }
315
347
  export interface SecurityProfilesSearchFilter {
316
348
  TagFilter?: ControlPlaneTagFilter | undefined;
317
349
  }
@@ -1598,6 +1630,11 @@ export interface RoutingProfileSearchCriteria {
1598
1630
  AndConditions?: RoutingProfileSearchCriteria[] | undefined;
1599
1631
  StringCondition?: StringCondition | undefined;
1600
1632
  }
1633
+ export interface RulesSearchCriteria {
1634
+ OrConditions?: RulesSearchCriteria[] | undefined;
1635
+ AndConditions?: RulesSearchCriteria[] | undefined;
1636
+ StringCondition?: StringCondition | undefined;
1637
+ }
1601
1638
  export interface SecurityProfileSearchCriteria {
1602
1639
  OrConditions?: SecurityProfileSearchCriteria[] | undefined;
1603
1640
  AndConditions?: SecurityProfileSearchCriteria[] | undefined;
@@ -1695,44 +1732,3 @@ export interface SearchDataTablesRequest {
1695
1732
  SearchFilter?: DataTableSearchFilter | undefined;
1696
1733
  SearchCriteria?: DataTableSearchCriteria | undefined;
1697
1734
  }
1698
- export interface SearchEmailAddressesRequest {
1699
- InstanceId: string | undefined;
1700
- MaxResults?: number | undefined;
1701
- NextToken?: string | undefined;
1702
- SearchCriteria?: EmailAddressSearchCriteria | undefined;
1703
- SearchFilter?: EmailAddressSearchFilter | undefined;
1704
- }
1705
- export interface SearchEvaluationFormsRequest {
1706
- InstanceId: string | undefined;
1707
- NextToken?: string | undefined;
1708
- MaxResults?: number | undefined;
1709
- SearchCriteria?: EvaluationFormSearchCriteria | undefined;
1710
- SearchFilter?: EvaluationFormSearchFilter | undefined;
1711
- }
1712
- export interface SearchHoursOfOperationOverridesRequest {
1713
- InstanceId: string | undefined;
1714
- NextToken?: string | undefined;
1715
- MaxResults?: number | undefined;
1716
- SearchFilter?: HoursOfOperationSearchFilter | undefined;
1717
- SearchCriteria?: HoursOfOperationOverrideSearchCriteria | undefined;
1718
- }
1719
- export interface SearchHoursOfOperationsRequest {
1720
- InstanceId: string | undefined;
1721
- NextToken?: string | undefined;
1722
- MaxResults?: number | undefined;
1723
- SearchFilter?: HoursOfOperationSearchFilter | undefined;
1724
- SearchCriteria?: HoursOfOperationSearchCriteria | undefined;
1725
- }
1726
- export interface SearchNotificationsRequest {
1727
- InstanceId: string | undefined;
1728
- NextToken?: string | undefined;
1729
- MaxResults?: number | undefined;
1730
- SearchFilter?: NotificationSearchFilter | undefined;
1731
- SearchCriteria?: NotificationSearchCriteria | undefined;
1732
- }
1733
- export interface SearchPredefinedAttributesRequest {
1734
- InstanceId: string | undefined;
1735
- NextToken?: string | undefined;
1736
- MaxResults?: number | undefined;
1737
- SearchCriteria?: PredefinedAttributeSearchCriteria | undefined;
1738
- }