@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
package/README.md CHANGED
@@ -2131,6 +2131,13 @@ SearchRoutingProfiles
2131
2131
  </details>
2132
2132
  <details>
2133
2133
  <summary>
2134
+ SearchRules
2135
+ </summary>
2136
+
2137
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/SearchRulesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/SearchRulesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/SearchRulesCommandOutput/)
2138
+ </details>
2139
+ <details>
2140
+ <summary>
2134
2141
  SearchSecurityProfiles
2135
2142
  </summary>
2136
2143
 
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1085.0";
72
+ var version = "3.1086.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -2525,6 +2525,9 @@ const _Qu = "Queues";
2525
2525
  const _Que = "Question";
2526
2526
  const _R = "Reason";
2527
2527
  const _RA = "ResourceArns";
2528
+ const _RAAC = "RuleAttributeAndCondition";
2529
+ const _RAF = "RuleAttributeFilter";
2530
+ const _RAOCL = "RuleAttributeOrConditionList";
2528
2531
  const _RAe = "ResourceArn";
2529
2532
  const _RAep = "ReplicaAlias";
2530
2533
  const _RAu = "RuleArn";
@@ -2545,6 +2548,7 @@ const _RCRR = "ResumeContactRecordingRequest";
2545
2548
  const _RCRRe = "ResumeContactRecordingResponse";
2546
2549
  const _RCRe = "ResumeContactResponse";
2547
2550
  const _RCRes = "ResumeContactRecording";
2551
+ const _RCT = "RuleCapabilityTiers";
2548
2552
  const _RCe = "RecommenderConfig";
2549
2553
  const _RCec = "RecurrenceConfig";
2550
2554
  const _RCep = "ReplicationConfiguration";
@@ -2611,15 +2615,20 @@ const _RR = "ReplicaRegion";
2611
2615
  const _RRC = "ReviewRequestComments";
2612
2616
  const _RS = "ReplicationStatus";
2613
2617
  const _RSA = "ResourceShareArn";
2618
+ const _RSC = "RulesSearchCriteria";
2619
+ const _RSCL = "RulesSearchConditionList";
2614
2620
  const _RSE = "RoutingStepExpression";
2615
2621
  const _RSEo = "RoutingStepExpressions";
2622
+ const _RSF = "RulesSearchFilter";
2616
2623
  const _RSI = "ResourceShareId";
2617
2624
  const _RSL = "ReferenceSummaryList";
2618
2625
  const _RSLu = "RuleSummaryList";
2619
2626
  const _RSR = "ReplicationStatusReason";
2620
2627
  const _RSS = "ResourceShareStatus";
2621
2628
  const _RSSL = "ReplicationStatusSummaryList";
2629
+ const _RSSLu = "RuleSearchSummaryList";
2622
2630
  const _RSSe = "ReplicationStatusSummary";
2631
+ const _RSSu = "RuleSearchSummary";
2623
2632
  const _RST = "RingStartTimestamp";
2624
2633
  const _RSe = "ReferenceSummary";
2625
2634
  const _RSu = "RuleSummary";
@@ -2668,6 +2677,7 @@ const _Reg = "Region";
2668
2677
  const _Res = "Results";
2669
2678
  const _Rev = "Review";
2670
2679
  const _Ru = "Rule";
2680
+ const _Rul = "Rules";
2671
2681
  const _S = "State";
2672
2682
  const _SA = "StatusArn";
2673
2683
  const _SACS = "SearchableAgentCriteriaStep";
@@ -2884,9 +2894,12 @@ const _SRL = "SuccessfulRequestList";
2884
2894
  const _SRP = "SearchRoutingProfiles";
2885
2895
  const _SRPR = "SearchRoutingProfilesRequest";
2886
2896
  const _SRPRe = "SearchRoutingProfilesResponse";
2897
+ const _SRR = "SearchRulesRequest";
2898
+ const _SRRe = "SearchRulesResponse";
2887
2899
  const _SRT = "SearchResourceTags";
2888
2900
  const _SRTR = "SearchResourceTagsRequest";
2889
2901
  const _SRTRe = "SearchResourceTagsResponse";
2902
+ const _SRe = "SearchRules";
2890
2903
  const _SRo = "SourceRegion";
2891
2904
  const _SRt = "StatusReason";
2892
2905
  const _SRtr = "StringReference";
@@ -8095,23 +8108,48 @@ var RoutingProfileSummary$ = [3, n0, _RPS,
8095
8108
  ];
8096
8109
  var Rule$ = [3, n0, _Ru,
8097
8110
  0,
8098
- [_N, _RIu, _RAu, _TES, _Fu, _Ac, _PS, _CTre, _LUTa, _LUB, _Ta],
8099
- [0, 0, 0, () => RuleTriggerEventSource$, 0, () => RuleActions, 0, 4, 4, 0, 128 | 0], 10
8111
+ [_N, _RIu, _RAu, _TES, _Fu, _Ac, _PS, _CTre, _LUTa, _LUB, _RCT, _Ta],
8112
+ [0, 0, 0, () => RuleTriggerEventSource$, 0, () => RuleActions, 0, 4, 4, 0, 64 | 0, 128 | 0], 10
8100
8113
  ];
8101
8114
  var RuleAction$ = [3, n0, _RAul,
8102
8115
  0,
8103
8116
  [_AT, _TAa, _EBA, _ACCA, _SNAe, _CCA, _UCAp, _ASA, _EATA, _SAEA],
8104
8117
  [0, () => TaskActionDefinition$, () => EventBridgeActionDefinition$, () => AssignContactCategoryActionDefinition$, () => SendNotificationActionDefinition$, () => CreateCaseActionDefinition$, () => UpdateCaseActionDefinition$, () => AssignSlaActionDefinition$, () => EndAssociatedTasksActionDefinition$, () => SubmitAutoEvaluationActionDefinition$], 1
8105
8118
  ];
8119
+ var RuleAttributeAndCondition$ = [3, n0, _RAAC,
8120
+ 0,
8121
+ [_TC],
8122
+ [() => TagAndConditionList]
8123
+ ];
8124
+ var RuleAttributeFilter$ = [3, n0, _RAF,
8125
+ 0,
8126
+ [_OC, _ACnd, _TCa],
8127
+ [() => RuleAttributeOrConditionList, () => RuleAttributeAndCondition$, () => TagCondition$]
8128
+ ];
8106
8129
  var RulesConfiguration$ = [3, n0, _RCu,
8107
8130
  0,
8108
8131
  [_Be],
8109
8132
  [0]
8110
8133
  ];
8134
+ var RuleSearchSummary$ = [3, n0, _RSSu,
8135
+ 0,
8136
+ [_N, _RIu, _RAu, _TES, _ASc, _PS, _CTre, _LUTa, _LUB, _RCT, _Ta],
8137
+ [0, 0, 0, () => RuleTriggerEventSource$, () => ActionSummaries, 0, 4, 4, 0, 64 | 0, 128 | 0], 9
8138
+ ];
8139
+ var RulesSearchCriteria$ = [3, n0, _RSC,
8140
+ 0,
8141
+ [_OC, _ACn, _SC],
8142
+ [() => RulesSearchConditionList, () => RulesSearchConditionList, () => StringCondition$]
8143
+ ];
8144
+ var RulesSearchFilter$ = [3, n0, _RSF,
8145
+ 0,
8146
+ [_AFt],
8147
+ [() => RuleAttributeFilter$]
8148
+ ];
8111
8149
  var RuleSummary$ = [3, n0, _RSu,
8112
8150
  0,
8113
- [_N, _RIu, _RAu, _ESN, _PS, _ASc, _CTre, _LUTa],
8114
- [0, 0, 0, 0, 0, () => ActionSummaries, 4, 4], 8
8151
+ [_N, _RIu, _RAu, _ESN, _PS, _ASc, _CTre, _LUTa, _RCT],
8152
+ [0, 0, 0, 0, 0, () => ActionSummaries, 4, 4, 64 | 0], 8
8115
8153
  ];
8116
8154
  var RuleTriggerEventSource$ = [3, n0, _RTES,
8117
8155
  0,
@@ -8363,6 +8401,16 @@ var SearchRoutingProfilesResponse$ = [3, n0, _SRPRe,
8363
8401
  [_RPo, _NT, _ATC],
8364
8402
  [() => RoutingProfileList, 0, 1]
8365
8403
  ];
8404
+ var SearchRulesRequest$ = [3, n0, _SRR,
8405
+ 0,
8406
+ [_II, _MR, _NT, _SCea, _SF],
8407
+ [0, 1, 0, () => RulesSearchCriteria$, () => RulesSearchFilter$], 1
8408
+ ];
8409
+ var SearchRulesResponse$ = [3, n0, _SRRe,
8410
+ 0,
8411
+ [_Rul, _ATC, _NT],
8412
+ [() => RuleSearchSummaryList, 1, 0], 1
8413
+ ];
8366
8414
  var SearchSecurityProfilesRequest$ = [3, n0, _SSPR,
8367
8415
  0,
8368
8416
  [_II, _NT, _MR, _SCea, _SF],
@@ -10306,6 +10354,15 @@ var RoutingProfileSummaryList = [1, n0, _RPSL,
10306
10354
  var RuleActions = [1, n0, _RAule,
10307
10355
  0, () => RuleAction$
10308
10356
  ];
10357
+ var RuleAttributeOrConditionList = [1, n0, _RAOCL,
10358
+ 0, () => RuleAttributeAndCondition$
10359
+ ];
10360
+ var RuleSearchSummaryList = [1, n0, _RSSLu,
10361
+ 0, () => RuleSearchSummary$
10362
+ ];
10363
+ var RulesSearchConditionList = [1, n0, _RSCL,
10364
+ 0, () => RulesSearchCriteria$
10365
+ ];
10309
10366
  var RuleSummaryList = [1, n0, _RSLu,
10310
10367
  0, () => RuleSummary$
10311
10368
  ];
@@ -11449,6 +11506,9 @@ var SearchResourceTags$ = [9, n0, _SRT,
11449
11506
  var SearchRoutingProfiles$ = [9, n0, _SRP,
11450
11507
  { [_h]: ["POST", "/search-routing-profiles", 200] }, () => SearchRoutingProfilesRequest$, () => SearchRoutingProfilesResponse$
11451
11508
  ];
11509
+ var SearchRules$ = [9, n0, _SRe,
11510
+ { [_h]: ["POST", "/search-rules", 200] }, () => SearchRulesRequest$, () => SearchRulesResponse$
11511
+ ];
11452
11512
  var SearchSecurityProfiles$ = [9, n0, _SSP,
11453
11513
  { [_h]: ["POST", "/search-security-profiles", 200] }, () => SearchSecurityProfilesRequest$, () => SearchSecurityProfilesResponse$
11454
11514
  ];
@@ -12734,6 +12794,9 @@ class SearchResourceTagsCommand extends command(_ep0, _mw0, "SearchResourceTags"
12734
12794
  class SearchRoutingProfilesCommand extends command(_ep0, _mw0, "SearchRoutingProfiles", SearchRoutingProfiles$) {
12735
12795
  }
12736
12796
 
12797
+ class SearchRulesCommand extends command(_ep0, _mw0, "SearchRules", SearchRules$) {
12798
+ }
12799
+
12737
12800
  class SearchSecurityProfilesCommand extends command(_ep0, _mw0, "SearchSecurityProfiles", SearchSecurityProfiles$) {
12738
12801
  }
12739
12802
 
@@ -13199,6 +13262,8 @@ const paginateSearchResourceTags = createPaginator(ConnectClient, SearchResource
13199
13262
 
13200
13263
  const paginateSearchRoutingProfiles = createPaginator(ConnectClient, SearchRoutingProfilesCommand, "NextToken", "NextToken", "MaxResults");
13201
13264
 
13265
+ const paginateSearchRules = createPaginator(ConnectClient, SearchRulesCommand, "NextToken", "NextToken", "MaxResults");
13266
+
13202
13267
  const paginateSearchSecurityProfiles = createPaginator(ConnectClient, SearchSecurityProfilesCommand, "NextToken", "NextToken", "MaxResults");
13203
13268
 
13204
13269
  const paginateSearchTestCases = createPaginator(ConnectClient, SearchTestCasesCommand, "NextToken", "NextToken", "MaxResults");
@@ -13491,6 +13556,7 @@ const commands = {
13491
13556
  SearchQuickConnectsCommand,
13492
13557
  SearchResourceTagsCommand,
13493
13558
  SearchRoutingProfilesCommand,
13559
+ SearchRulesCommand,
13494
13560
  SearchSecurityProfilesCommand,
13495
13561
  SearchTestCasesCommand,
13496
13562
  SearchUserHierarchyGroupsCommand,
@@ -13674,6 +13740,7 @@ const paginators = {
13674
13740
  paginateSearchQuickConnects,
13675
13741
  paginateSearchResourceTags,
13676
13742
  paginateSearchRoutingProfiles,
13743
+ paginateSearchRules,
13677
13744
  paginateSearchSecurityProfiles,
13678
13745
  paginateSearchTestCases,
13679
13746
  paginateSearchUserHierarchyGroups,
@@ -14685,6 +14752,9 @@ const QueueStatus = {
14685
14752
  DISABLED: "DISABLED",
14686
14753
  ENABLED: "ENABLED",
14687
14754
  };
14755
+ const RuleCapabilityTier = {
14756
+ GenerativeAI: "GenerativeAI",
14757
+ };
14688
14758
  const TrafficDistributionGroupStatus = {
14689
14759
  ACTIVE: "ACTIVE",
14690
14760
  CREATION_FAILED: "CREATION_FAILED",
@@ -16651,10 +16721,16 @@ exports.RoutingProfileSearchFilter$ = RoutingProfileSearchFilter$;
16651
16721
  exports.RoutingProfileSummary$ = RoutingProfileSummary$;
16652
16722
  exports.Rule$ = Rule$;
16653
16723
  exports.RuleAction$ = RuleAction$;
16724
+ exports.RuleAttributeAndCondition$ = RuleAttributeAndCondition$;
16725
+ exports.RuleAttributeFilter$ = RuleAttributeFilter$;
16726
+ exports.RuleCapabilityTier = RuleCapabilityTier;
16654
16727
  exports.RulePublishStatus = RulePublishStatus;
16728
+ exports.RuleSearchSummary$ = RuleSearchSummary$;
16655
16729
  exports.RuleSummary$ = RuleSummary$;
16656
16730
  exports.RuleTriggerEventSource$ = RuleTriggerEventSource$;
16657
16731
  exports.RulesConfiguration$ = RulesConfiguration$;
16732
+ exports.RulesSearchCriteria$ = RulesSearchCriteria$;
16733
+ exports.RulesSearchFilter$ = RulesSearchFilter$;
16658
16734
  exports.S3Config$ = S3Config$;
16659
16735
  exports.ScreenShareCapability = ScreenShareCapability;
16660
16736
  exports.SearchAgentStatuses$ = SearchAgentStatuses$;
@@ -16737,6 +16813,10 @@ exports.SearchRoutingProfiles$ = SearchRoutingProfiles$;
16737
16813
  exports.SearchRoutingProfilesCommand = SearchRoutingProfilesCommand;
16738
16814
  exports.SearchRoutingProfilesRequest$ = SearchRoutingProfilesRequest$;
16739
16815
  exports.SearchRoutingProfilesResponse$ = SearchRoutingProfilesResponse$;
16816
+ exports.SearchRules$ = SearchRules$;
16817
+ exports.SearchRulesCommand = SearchRulesCommand;
16818
+ exports.SearchRulesRequest$ = SearchRulesRequest$;
16819
+ exports.SearchRulesResponse$ = SearchRulesResponse$;
16740
16820
  exports.SearchSecurityProfiles$ = SearchSecurityProfiles$;
16741
16821
  exports.SearchSecurityProfilesCommand = SearchSecurityProfilesCommand;
16742
16822
  exports.SearchSecurityProfilesRequest$ = SearchSecurityProfilesRequest$;
@@ -17348,6 +17428,7 @@ exports.paginateSearchQueues = paginateSearchQueues;
17348
17428
  exports.paginateSearchQuickConnects = paginateSearchQuickConnects;
17349
17429
  exports.paginateSearchResourceTags = paginateSearchResourceTags;
17350
17430
  exports.paginateSearchRoutingProfiles = paginateSearchRoutingProfiles;
17431
+ exports.paginateSearchRules = paginateSearchRules;
17351
17432
  exports.paginateSearchSecurityProfiles = paginateSearchSecurityProfiles;
17352
17433
  exports.paginateSearchTestCases = paginateSearchTestCases;
17353
17434
  exports.paginateSearchUserHierarchyGroups = paginateSearchUserHierarchyGroups;
@@ -274,6 +274,7 @@ import { SearchQueuesCommand, } from "./commands/SearchQueuesCommand";
274
274
  import { SearchQuickConnectsCommand, } from "./commands/SearchQuickConnectsCommand";
275
275
  import { SearchResourceTagsCommand, } from "./commands/SearchResourceTagsCommand";
276
276
  import { SearchRoutingProfilesCommand, } from "./commands/SearchRoutingProfilesCommand";
277
+ import { SearchRulesCommand, } from "./commands/SearchRulesCommand";
277
278
  import { SearchSecurityProfilesCommand, } from "./commands/SearchSecurityProfilesCommand";
278
279
  import { SearchTestCasesCommand, } from "./commands/SearchTestCasesCommand";
279
280
  import { SearchUserHierarchyGroupsCommand, } from "./commands/SearchUserHierarchyGroupsCommand";
@@ -456,6 +457,7 @@ import { paginateSearchQueues } from "./pagination/SearchQueuesPaginator";
456
457
  import { paginateSearchQuickConnects } from "./pagination/SearchQuickConnectsPaginator";
457
458
  import { paginateSearchResourceTags } from "./pagination/SearchResourceTagsPaginator";
458
459
  import { paginateSearchRoutingProfiles } from "./pagination/SearchRoutingProfilesPaginator";
460
+ import { paginateSearchRules } from "./pagination/SearchRulesPaginator";
459
461
  import { paginateSearchSecurityProfiles } from "./pagination/SearchSecurityProfilesPaginator";
460
462
  import { paginateSearchTestCases } from "./pagination/SearchTestCasesPaginator";
461
463
  import { paginateSearchUserHierarchyGroups } from "./pagination/SearchUserHierarchyGroupsPaginator";
@@ -740,6 +742,7 @@ const commands = {
740
742
  SearchQuickConnectsCommand,
741
743
  SearchResourceTagsCommand,
742
744
  SearchRoutingProfilesCommand,
745
+ SearchRulesCommand,
743
746
  SearchSecurityProfilesCommand,
744
747
  SearchTestCasesCommand,
745
748
  SearchUserHierarchyGroupsCommand,
@@ -923,6 +926,7 @@ const paginators = {
923
926
  paginateSearchQuickConnects,
924
927
  paginateSearchResourceTags,
925
928
  paginateSearchRoutingProfiles,
929
+ paginateSearchRules,
926
930
  paginateSearchSecurityProfiles,
927
931
  paginateSearchTestCases,
928
932
  paginateSearchUserHierarchyGroups,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { SearchRules$ } from "../schemas/schemas_0";
3
+ export class SearchRulesCommand extends command(_ep0, _mw0, "SearchRules", SearchRules$) {
4
+ }
@@ -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";
@@ -996,6 +996,9 @@ export const QueueStatus = {
996
996
  DISABLED: "DISABLED",
997
997
  ENABLED: "ENABLED",
998
998
  };
999
+ export const RuleCapabilityTier = {
1000
+ GenerativeAI: "GenerativeAI",
1001
+ };
999
1002
  export const TrafficDistributionGroupStatus = {
1000
1003
  ACTIVE: "ACTIVE",
1001
1004
  CREATION_FAILED: "CREATION_FAILED",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { SearchRulesCommand } from "../commands/SearchRulesCommand";
3
+ import { ConnectClient } from "../ConnectClient";
4
+ export const paginateSearchRules = createPaginator(ConnectClient, SearchRulesCommand, "NextToken", "NextToken", "MaxResults");
@@ -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";
@@ -1965,6 +1965,9 @@ const _Qu = "Queues";
1965
1965
  const _Que = "Question";
1966
1966
  const _R = "Reason";
1967
1967
  const _RA = "ResourceArns";
1968
+ const _RAAC = "RuleAttributeAndCondition";
1969
+ const _RAF = "RuleAttributeFilter";
1970
+ const _RAOCL = "RuleAttributeOrConditionList";
1968
1971
  const _RAe = "ResourceArn";
1969
1972
  const _RAep = "ReplicaAlias";
1970
1973
  const _RAu = "RuleArn";
@@ -1985,6 +1988,7 @@ const _RCRR = "ResumeContactRecordingRequest";
1985
1988
  const _RCRRe = "ResumeContactRecordingResponse";
1986
1989
  const _RCRe = "ResumeContactResponse";
1987
1990
  const _RCRes = "ResumeContactRecording";
1991
+ const _RCT = "RuleCapabilityTiers";
1988
1992
  const _RCe = "RecommenderConfig";
1989
1993
  const _RCec = "RecurrenceConfig";
1990
1994
  const _RCep = "ReplicationConfiguration";
@@ -2051,15 +2055,20 @@ const _RR = "ReplicaRegion";
2051
2055
  const _RRC = "ReviewRequestComments";
2052
2056
  const _RS = "ReplicationStatus";
2053
2057
  const _RSA = "ResourceShareArn";
2058
+ const _RSC = "RulesSearchCriteria";
2059
+ const _RSCL = "RulesSearchConditionList";
2054
2060
  const _RSE = "RoutingStepExpression";
2055
2061
  const _RSEo = "RoutingStepExpressions";
2062
+ const _RSF = "RulesSearchFilter";
2056
2063
  const _RSI = "ResourceShareId";
2057
2064
  const _RSL = "ReferenceSummaryList";
2058
2065
  const _RSLu = "RuleSummaryList";
2059
2066
  const _RSR = "ReplicationStatusReason";
2060
2067
  const _RSS = "ResourceShareStatus";
2061
2068
  const _RSSL = "ReplicationStatusSummaryList";
2069
+ const _RSSLu = "RuleSearchSummaryList";
2062
2070
  const _RSSe = "ReplicationStatusSummary";
2071
+ const _RSSu = "RuleSearchSummary";
2063
2072
  const _RST = "RingStartTimestamp";
2064
2073
  const _RSe = "ReferenceSummary";
2065
2074
  const _RSu = "RuleSummary";
@@ -2108,6 +2117,7 @@ const _Reg = "Region";
2108
2117
  const _Res = "Results";
2109
2118
  const _Rev = "Review";
2110
2119
  const _Ru = "Rule";
2120
+ const _Rul = "Rules";
2111
2121
  const _S = "State";
2112
2122
  const _SA = "StatusArn";
2113
2123
  const _SACS = "SearchableAgentCriteriaStep";
@@ -2324,9 +2334,12 @@ const _SRL = "SuccessfulRequestList";
2324
2334
  const _SRP = "SearchRoutingProfiles";
2325
2335
  const _SRPR = "SearchRoutingProfilesRequest";
2326
2336
  const _SRPRe = "SearchRoutingProfilesResponse";
2337
+ const _SRR = "SearchRulesRequest";
2338
+ const _SRRe = "SearchRulesResponse";
2327
2339
  const _SRT = "SearchResourceTags";
2328
2340
  const _SRTR = "SearchResourceTagsRequest";
2329
2341
  const _SRTRe = "SearchResourceTagsResponse";
2342
+ const _SRe = "SearchRules";
2330
2343
  const _SRo = "SourceRegion";
2331
2344
  const _SRt = "StatusReason";
2332
2345
  const _SRtr = "StringReference";
@@ -7538,23 +7551,48 @@ export var RoutingProfileSummary$ = [3, n0, _RPS,
7538
7551
  ];
7539
7552
  export var Rule$ = [3, n0, _Ru,
7540
7553
  0,
7541
- [_N, _RIu, _RAu, _TES, _Fu, _Ac, _PS, _CTre, _LUTa, _LUB, _Ta],
7542
- [0, 0, 0, () => RuleTriggerEventSource$, 0, () => RuleActions, 0, 4, 4, 0, 128 | 0], 10
7554
+ [_N, _RIu, _RAu, _TES, _Fu, _Ac, _PS, _CTre, _LUTa, _LUB, _RCT, _Ta],
7555
+ [0, 0, 0, () => RuleTriggerEventSource$, 0, () => RuleActions, 0, 4, 4, 0, 64 | 0, 128 | 0], 10
7543
7556
  ];
7544
7557
  export var RuleAction$ = [3, n0, _RAul,
7545
7558
  0,
7546
7559
  [_AT, _TAa, _EBA, _ACCA, _SNAe, _CCA, _UCAp, _ASA, _EATA, _SAEA],
7547
7560
  [0, () => TaskActionDefinition$, () => EventBridgeActionDefinition$, () => AssignContactCategoryActionDefinition$, () => SendNotificationActionDefinition$, () => CreateCaseActionDefinition$, () => UpdateCaseActionDefinition$, () => AssignSlaActionDefinition$, () => EndAssociatedTasksActionDefinition$, () => SubmitAutoEvaluationActionDefinition$], 1
7548
7561
  ];
7562
+ export var RuleAttributeAndCondition$ = [3, n0, _RAAC,
7563
+ 0,
7564
+ [_TC],
7565
+ [() => TagAndConditionList]
7566
+ ];
7567
+ export var RuleAttributeFilter$ = [3, n0, _RAF,
7568
+ 0,
7569
+ [_OC, _ACnd, _TCa],
7570
+ [() => RuleAttributeOrConditionList, () => RuleAttributeAndCondition$, () => TagCondition$]
7571
+ ];
7549
7572
  export var RulesConfiguration$ = [3, n0, _RCu,
7550
7573
  0,
7551
7574
  [_Be],
7552
7575
  [0]
7553
7576
  ];
7577
+ export var RuleSearchSummary$ = [3, n0, _RSSu,
7578
+ 0,
7579
+ [_N, _RIu, _RAu, _TES, _ASc, _PS, _CTre, _LUTa, _LUB, _RCT, _Ta],
7580
+ [0, 0, 0, () => RuleTriggerEventSource$, () => ActionSummaries, 0, 4, 4, 0, 64 | 0, 128 | 0], 9
7581
+ ];
7582
+ export var RulesSearchCriteria$ = [3, n0, _RSC,
7583
+ 0,
7584
+ [_OC, _ACn, _SC],
7585
+ [() => RulesSearchConditionList, () => RulesSearchConditionList, () => StringCondition$]
7586
+ ];
7587
+ export var RulesSearchFilter$ = [3, n0, _RSF,
7588
+ 0,
7589
+ [_AFt],
7590
+ [() => RuleAttributeFilter$]
7591
+ ];
7554
7592
  export var RuleSummary$ = [3, n0, _RSu,
7555
7593
  0,
7556
- [_N, _RIu, _RAu, _ESN, _PS, _ASc, _CTre, _LUTa],
7557
- [0, 0, 0, 0, 0, () => ActionSummaries, 4, 4], 8
7594
+ [_N, _RIu, _RAu, _ESN, _PS, _ASc, _CTre, _LUTa, _RCT],
7595
+ [0, 0, 0, 0, 0, () => ActionSummaries, 4, 4, 64 | 0], 8
7558
7596
  ];
7559
7597
  export var RuleTriggerEventSource$ = [3, n0, _RTES,
7560
7598
  0,
@@ -7806,6 +7844,16 @@ export var SearchRoutingProfilesResponse$ = [3, n0, _SRPRe,
7806
7844
  [_RPo, _NT, _ATC],
7807
7845
  [() => RoutingProfileList, 0, 1]
7808
7846
  ];
7847
+ export var SearchRulesRequest$ = [3, n0, _SRR,
7848
+ 0,
7849
+ [_II, _MR, _NT, _SCea, _SF],
7850
+ [0, 1, 0, () => RulesSearchCriteria$, () => RulesSearchFilter$], 1
7851
+ ];
7852
+ export var SearchRulesResponse$ = [3, n0, _SRRe,
7853
+ 0,
7854
+ [_Rul, _ATC, _NT],
7855
+ [() => RuleSearchSummaryList, 1, 0], 1
7856
+ ];
7809
7857
  export var SearchSecurityProfilesRequest$ = [3, n0, _SSPR,
7810
7858
  0,
7811
7859
  [_II, _NT, _MR, _SCea, _SF],
@@ -9808,6 +9856,16 @@ var RoutingProfileSummaryList = [1, n0, _RPSL,
9808
9856
  var RuleActions = [1, n0, _RAule,
9809
9857
  0, () => RuleAction$
9810
9858
  ];
9859
+ var RuleAttributeOrConditionList = [1, n0, _RAOCL,
9860
+ 0, () => RuleAttributeAndCondition$
9861
+ ];
9862
+ var RuleCapabilityTiers = 64 | 0;
9863
+ var RuleSearchSummaryList = [1, n0, _RSSLu,
9864
+ 0, () => RuleSearchSummary$
9865
+ ];
9866
+ var RulesSearchConditionList = [1, n0, _RSCL,
9867
+ 0, () => RulesSearchCriteria$
9868
+ ];
9811
9869
  var RuleSummaryList = [1, n0, _RSLu,
9812
9870
  0, () => RuleSummary$
9813
9871
  ];
@@ -10976,6 +11034,9 @@ export var SearchResourceTags$ = [9, n0, _SRT,
10976
11034
  export var SearchRoutingProfiles$ = [9, n0, _SRP,
10977
11035
  { [_h]: ["POST", "/search-routing-profiles", 200] }, () => SearchRoutingProfilesRequest$, () => SearchRoutingProfilesResponse$
10978
11036
  ];
11037
+ export var SearchRules$ = [9, n0, _SRe,
11038
+ { [_h]: ["POST", "/search-rules", 200] }, () => SearchRulesRequest$, () => SearchRulesResponse$
11039
+ ];
10979
11040
  export var SearchSecurityProfiles$ = [9, n0, _SSP,
10980
11041
  { [_h]: ["POST", "/search-security-profiles", 200] }, () => SearchSecurityProfilesRequest$, () => SearchSecurityProfilesResponse$
10981
11042
  ];
@@ -274,6 +274,7 @@ import { type SearchQueuesCommandInput, type SearchQueuesCommandOutput } from ".
274
274
  import { type SearchQuickConnectsCommandInput, type SearchQuickConnectsCommandOutput } from "./commands/SearchQuickConnectsCommand";
275
275
  import { type SearchResourceTagsCommandInput, type SearchResourceTagsCommandOutput } from "./commands/SearchResourceTagsCommand";
276
276
  import { type SearchRoutingProfilesCommandInput, type SearchRoutingProfilesCommandOutput } from "./commands/SearchRoutingProfilesCommand";
277
+ import { type SearchRulesCommandInput, type SearchRulesCommandOutput } from "./commands/SearchRulesCommand";
277
278
  import { type SearchSecurityProfilesCommandInput, type SearchSecurityProfilesCommandOutput } from "./commands/SearchSecurityProfilesCommand";
278
279
  import { type SearchTestCasesCommandInput, type SearchTestCasesCommandOutput } from "./commands/SearchTestCasesCommand";
279
280
  import { type SearchUserHierarchyGroupsCommandInput, type SearchUserHierarchyGroupsCommandOutput } from "./commands/SearchUserHierarchyGroupsCommand";
@@ -2032,6 +2033,12 @@ export interface Connect {
2032
2033
  searchRoutingProfiles(args: SearchRoutingProfilesCommandInput, options?: __HttpHandlerOptions): Promise<SearchRoutingProfilesCommandOutput>;
2033
2034
  searchRoutingProfiles(args: SearchRoutingProfilesCommandInput, cb: (err: any, data?: SearchRoutingProfilesCommandOutput) => void): void;
2034
2035
  searchRoutingProfiles(args: SearchRoutingProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchRoutingProfilesCommandOutput) => void): void;
2036
+ /**
2037
+ * @see {@link SearchRulesCommand}
2038
+ */
2039
+ searchRules(args: SearchRulesCommandInput, options?: __HttpHandlerOptions): Promise<SearchRulesCommandOutput>;
2040
+ searchRules(args: SearchRulesCommandInput, cb: (err: any, data?: SearchRulesCommandOutput) => void): void;
2041
+ searchRules(args: SearchRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchRulesCommandOutput) => void): void;
2035
2042
  /**
2036
2043
  * @see {@link SearchSecurityProfilesCommand}
2037
2044
  */
@@ -3198,6 +3205,13 @@ export interface Connect {
3198
3205
  * @returns AsyncIterable of {@link SearchRoutingProfilesCommandOutput}.
3199
3206
  */
3200
3207
  paginateSearchRoutingProfiles(args: SearchRoutingProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchRoutingProfilesCommandOutput>;
3208
+ /**
3209
+ * @see {@link SearchRulesCommand}
3210
+ * @param args - command input.
3211
+ * @param paginationConfig - optional pagination config.
3212
+ * @returns AsyncIterable of {@link SearchRulesCommandOutput}.
3213
+ */
3214
+ paginateSearchRules(args: SearchRulesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchRulesCommandOutput>;
3201
3215
  /**
3202
3216
  * @see {@link SearchSecurityProfilesCommand}
3203
3217
  * @param args - command input.