aws-sdk-connect 1.264.0 → 1.265.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a8db1c604cc515d991b3c5af794d28cda49e20a96a2456bd70acdfba97e62e6
4
- data.tar.gz: 13c71fb381cac38fea19b9a3d957352510808aef359a9b2160f9fb27a1cba33a
3
+ metadata.gz: 7c0e3818ce59b7be10b7bdc9d508b8fa988a80984236226942e970ae26ad4459
4
+ data.tar.gz: fa277af88112a25ee4802e94bdbbec955bee25c0de74782dbb3f7e999488d1b9
5
5
  SHA512:
6
- metadata.gz: c8797f50452cb034fcbad2cc3fe1fc3bac4d479a03e5a4d7ad1a87356c6a6e83e2175ccce233aefe1d63832d8ebc0bae465908a332f4a654b37e90c64bfecbdf
7
- data.tar.gz: 8705cb6108ee374e528a858b0814a462f609c29a85f7110e19e306ecdd30925c4de51dc8e715225374b93cfeddcd110a1c149d41b1922480ff74e70ee0ad44c2
6
+ metadata.gz: 5b7aaaddb3d9c5d76ff143a09566787913a77fcd186718a16bc499b99a973d0c87bcaa23d5927b6647376abe223a26576d6e32db238f0351ad77120b0d099fc6
7
+ data.tar.gz: d2d0e89e8ca48459392a817e9dcabe97e7ecf8cf37db2222f3652651170c39188f6a22d6d32e717afd2d6f988a64661e8280c402e0fc3d4de987e99b1ee6c183
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.265.0 (2026-07-14)
5
+ ------------------
6
+
7
+ * Feature - This release adds SearchRules API which can be used to search for rules within an Amazon Connect instance.
8
+
4
9
  1.264.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.264.0
1
+ 1.265.0
@@ -973,8 +973,9 @@ module Aws::Connect
973
973
  end
974
974
 
975
975
  # Associates a set of hours of operations with another hours of
976
- # operation. Refer to Administrator Guide [ here ][1] for more
977
- # information on inheriting overrides from parent hours of operation(s).
976
+ # operation. For more information about inheriting overrides from parent
977
+ # hours of operation, see [Hours of operation overrides][1] in the
978
+ # Administrator Guide.
978
979
  #
979
980
  #
980
981
  #
@@ -3765,7 +3766,7 @@ module Aws::Connect
3765
3766
  #
3766
3767
  #
3767
3768
  #
3768
- # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
3769
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
3769
3770
  #
3770
3771
  # @option params [Hash<String,String>] :tags
3771
3772
  # The tags used to organize, track, or control access for this resource.
@@ -3858,7 +3859,7 @@ module Aws::Connect
3858
3859
  #
3859
3860
  #
3860
3861
  #
3861
- # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
3862
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
3862
3863
  #
3863
3864
  # @return [Types::CreateHoursOfOperationOverrideResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3864
3865
  #
@@ -9418,6 +9419,8 @@ module Aws::Connect
9418
9419
  # resp.rule.rule_arn #=> String
9419
9420
  # resp.rule.trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
9420
9421
  # resp.rule.trigger_event_source.integration_association_id #=> String
9422
+ # resp.rule.rule_capability_tiers #=> Array
9423
+ # resp.rule.rule_capability_tiers[0] #=> String, one of "GenerativeAI"
9421
9424
  # resp.rule.function #=> String
9422
9425
  # resp.rule.actions #=> Array
9423
9426
  # resp.rule.actions[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION"
@@ -10362,8 +10365,9 @@ module Aws::Connect
10362
10365
  end
10363
10366
 
10364
10367
  # Disassociates a set of hours of operations with another hours of
10365
- # operation. Refer to Administrator Guide [ here ][1] for more
10366
- # information on inheriting overrides from parent hours of operation(s).
10368
+ # operation. For more information about inheriting overrides from parent
10369
+ # hours of operation, see [Hours of operation overrides][1] in the
10370
+ # Administrator Guide.
10367
10371
  #
10368
10372
  #
10369
10373
  #
@@ -12503,24 +12507,25 @@ module Aws::Connect
12503
12507
  # `AGENT_HIERARCHY_LEVEL_TWO` \| `AGENT_HIERARCHY_LEVEL_THREE` \|
12504
12508
  # `AGENT_HIERARCHY_LEVEL_FOUR` \| `AGENT_HIERARCHY_LEVEL_FIVE` \|
12505
12509
  # `ANSWERING_MACHINE_DETECTION_STATUS` \| `BOT_ALIAS` \| `BOT_ID` \|
12506
- # `BOT_INTENT_NAME` \| `BOT_LOCALE` \| `BOT_VERSION` \| `CAMPAIGN` \|
12507
- # `CAMPAIGN_DELIVERY_EVENT_TYPE` \| `CAMPAIGN_EXCLUDED_EVENT_TYPE` \|
12508
- # `CASE_STATUS` \| `CASE_TEMPLATE_ARN` \| `CHANNEL` \|
12509
- # `contact/segmentAttributes/connect:Subtype` \|
12510
+ # `BOT_INTENT_NAME` \| `BOT_LOCALE` \| `BOT_VERSION` \| `BROWSER_NAME`
12511
+ # \| `CAMPAIGN` \| `CAMPAIGN_DELIVERY_EVENT_TYPE` \|
12512
+ # `CAMPAIGN_EXCLUDED_EVENT_TYPE` \| `CASE_STATUS` \| `CASE_TEMPLATE_ARN`
12513
+ # \| `CHANNEL` \| `contact/segmentAttributes/connect:Subtype` \|
12510
12514
  # `contact/segmentAttributes/connect:ValidationTestType` \|
12511
- # `DISCONNECT_REASON` \| `EVALUATION_FORM` \| `EVALUATION_QUESTION` \|
12512
- # `EVALUATION_SECTION` \| `EVALUATION_SOURCE` \| `EVALUATOR_ID` \|
12513
- # `FEATURE` \| `FLOW_ACTION_ID` \| `FLOW_TYPE` \|
12514
- # `FLOWS_MODULE_RESOURCE_ID` \| `FLOWS_NEXT_RESOURCE_ID` \|
12515
- # `FLOWS_NEXT_RESOURCE_QUEUE_ID` \| `FLOWS_OUTCOME_TYPE` \|
12516
- # `FLOWS_RESOURCE_ID` \| `FORM_VERSION` \| `INITIATING_FLOW` \|
12517
- # `INITIATION_METHOD` \| `INVOKING_RESOURCE_PUBLISHED_TIMESTAMP` \|
12518
- # `INVOKING_RESOURCE_TYPE` \| `KNOWLEDGE_BASE_NAME` \|
12519
- # `PARENT_FLOWS_RESOURCE_ID` \| `Q_CONNECT_ENABLED` \| `QUEUE` \|
12520
- # `RESOURCE_PUBLISHED_TIMESTAMP` \| `ROUTING_PROFILE` \|
12521
- # `ROUTING_STEP_EXPRESSION` \| `SESSION_ID` \| `TEST_CASE` \|
12522
- # `TEST_CASE_EXECUTION_FAILURE_REASON` \| `TEST_CASE_EXECUTION_RESULT`
12523
- # \| `TEST_CASE_EXECUTION_STATE`
12515
+ # `DEVICE_MODEL` \| `DEVICE_TYPE` \| `DISCONNECT_REASON` \|
12516
+ # `EVALUATION_FORM` \| `EVALUATION_QUESTION` \| `EVALUATION_SECTION` \|
12517
+ # `EVALUATION_SOURCE` \| `EVALUATOR_ID` \| `FEATURE` \| `FLOW_ACTION_ID`
12518
+ # \| `FLOW_TYPE` \| `FLOWS_MODULE_RESOURCE_ID` \|
12519
+ # `FLOWS_NEXT_RESOURCE_ID` \| `FLOWS_NEXT_RESOURCE_QUEUE_ID` \|
12520
+ # `FLOWS_OUTCOME_TYPE` \| `FLOWS_RESOURCE_ID` \| `FORM_VERSION` \|
12521
+ # `INITIATING_FLOW` \| `INITIATION_METHOD` \|
12522
+ # `INVOKING_RESOURCE_PUBLISHED_TIMESTAMP` \| `INVOKING_RESOURCE_TYPE` \|
12523
+ # `KNOWLEDGE_BASE_NAME` \| `PARENT_FLOWS_RESOURCE_ID` \|
12524
+ # `Q_CONNECT_ENABLED` \| `QUEUE` \| `RESOURCE_PUBLISHED_TIMESTAMP` \|
12525
+ # `ROUTING_PROFILE` \| `ROUTING_STEP_EXPRESSION` \| `SESSION_ID` \|
12526
+ # `TEST_CASE` \| `TEST_CASE_EXECUTION_FAILURE_REASON` \|
12527
+ # `TEST_CASE_EXECUTION_RESULT` \| `TEST_CASE_EXECUTION_STATE` \|
12528
+ # `WEB_NOTIFICATION_TYPE`
12524
12529
  #
12525
12530
  # <note markdown="1"> The following filter keys correspond to Connect Customer resources and
12526
12531
  # are used for authorizing requests. A `GetMetricDataV2` request
@@ -12598,10 +12603,11 @@ module Aws::Connect
12598
12603
  # `AGENT_HIERARCHY_LEVEL_THREE` \| `AGENT_HIERARCHY_LEVEL_FOUR` \|
12599
12604
  # `AGENT_HIERARCHY_LEVEL_FIVE` \| `ANSWERING_MACHINE_DETECTION_STATUS`
12600
12605
  # \| `BOT_ID` \| `BOT_ALIAS` \| `BOT_VERSION` \| `BOT_LOCALE` \|
12601
- # `BOT_INTENT_NAME` \| `CAMPAIGN` \| `CAMPAIGN_DELIVERY_EVENT_TYPE` \|
12602
- # `CAMPAIGN_EXCLUDED_EVENT_TYPE` \| `CAMPAIGN_EXECUTION_TIMESTAMP` \|
12603
- # `CASE_TEMPLATE_ARN` \| `CASE_STATUS` \| `CHANNEL` \|
12604
- # `contact/segmentAttributes/connect:Subtype` \| `DISCONNECT_REASON` \|
12606
+ # `BOT_INTENT_NAME` \| `BROWSER_NAME` \| `CAMPAIGN` \|
12607
+ # `CAMPAIGN_DELIVERY_EVENT_TYPE` \| `CAMPAIGN_EXCLUDED_EVENT_TYPE` \|
12608
+ # `CAMPAIGN_EXECUTION_TIMESTAMP` \| `CASE_TEMPLATE_ARN` \| `CASE_STATUS`
12609
+ # \| `CHANNEL` \| `contact/segmentAttributes/connect:Subtype` \|
12610
+ # `DEVICE_MODEL` \| `DEVICE_TYPE` \| `DISCONNECT_REASON` \|
12605
12611
  # `EVALUATION_FORM` \| `EVALUATION_SECTION` \| `EVALUATION_QUESTION` \|
12606
12612
  # `EVALUATION_SOURCE` \| `EVALUATOR_ID` \| `FLOWS_RESOURCE_ID` \|
12607
12613
  # `FLOWS_MODULE_RESOURCE_ID` \| `FLOW_ACTION_ID` \| `FLOW_TYPE` \|
@@ -12612,6 +12618,7 @@ module Aws::Connect
12612
12618
  # `RESOURCE_PUBLISHED_TIMESTAMP` \| `ROUTING_PROFILE` \|
12613
12619
  # `ROUTING_STEP_EXPRESSION` \| `SESSION_ID` \| `TEST_CASE` \|
12614
12620
  # `TEST_CASE_EXECUTION_FAILURE_REASON` \| `TEST_CASE_INVOCATION_METHOD`
12621
+ # \| `WEB_NOTIFICATION_TYPE`
12615
12622
  #
12616
12623
  # <note markdown="1"> `AI_AGENT_NAME_VERSION`, `AI_PROMPT_NAME_VERSION`, and
12617
12624
  # `KNOWLEDGE_ARTICLE_NAME` are valid groupings but not valid filters.
@@ -13692,14 +13699,16 @@ module Aws::Connect
13692
13699
  #
13693
13700
  # CAMPAIGN\_INTERACTIONS
13694
13701
  #
13695
- # : This metric is available only for outbound campaigns using the email
13696
- # delivery mode.
13702
+ # : This metric is available only for outbound campaigns using the
13703
+ # email, WhatsApp, and web notification delivery modes.
13697
13704
  #
13698
13705
  # Unit: Count
13699
13706
  #
13700
13707
  # Valid metric filter key: CAMPAIGN\_INTERACTION\_EVENT\_TYPE
13701
13708
  #
13702
- # Valid groupings and filters: Campaign
13709
+ # Valid groupings and filters: Browser Name, Campaign, Channel,
13710
+ # contact/segmentAttributes/connect:Subtype, Device Model, Device
13711
+ # Type, Web Notification Type
13703
13712
  #
13704
13713
  # UI name: [Campaign interactions][93]
13705
13714
  #
@@ -13956,17 +13965,18 @@ module Aws::Connect
13956
13965
  # `CAMPAIGN_DELIVERY_EVENT_TYPE`, `DISCONNECT_REASON`
13957
13966
  #
13958
13967
  # Valid groupings and filters: Agent, Answering Machine Detection
13959
- # Status, Campaign, Campaign Delivery EventType, Channel,
13960
- # contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue,
13961
- # Routing Profile
13968
+ # Status, Browser Name, Campaign, Campaign Delivery EventType,
13969
+ # Channel, contact/segmentAttributes/connect:Subtype, Device Model,
13970
+ # Device Type, Disconnect Reason, Queue, Routing Profile, Web
13971
+ # Notification Type
13962
13972
  #
13963
13973
  # UI name: [Delivery attempts][116]
13964
13974
  #
13965
13975
  # <note markdown="1"> Campaign Delivery EventType filter and grouping are only available
13966
- # for SMS and Email campaign delivery modes. Agent, Queue, Routing
13967
- # Profile, Answering Machine Detection Status and Disconnect Reason
13968
- # are only available for agent assisted voice and automated voice
13969
- # delivery modes.
13976
+ # for SMS, Email, WhatsApp, and web notification campaign delivery
13977
+ # modes. Agent, Queue, Routing Profile, Answering Machine Detection
13978
+ # Status and Disconnect Reason are only available for agent assisted
13979
+ # voice and automated voice delivery modes.
13970
13980
  #
13971
13981
  # </note>
13972
13982
  #
@@ -13982,17 +13992,18 @@ module Aws::Connect
13982
13992
  # `CAMPAIGN_DELIVERY_EVENT_TYPE`, `DISCONNECT_REASON`
13983
13993
  #
13984
13994
  # Valid groupings and filters: Agent, Answering Machine Detection
13985
- # Status, Campaign, Channel,
13986
- # contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue,
13987
- # Routing Profile
13995
+ # Status, Browser Name, Campaign, Channel,
13996
+ # contact/segmentAttributes/connect:Subtype, Device Model, Device
13997
+ # Type, Disconnect Reason, Queue, Routing Profile, Web Notification
13998
+ # Type
13988
13999
  #
13989
14000
  # UI name: [Delivery attempt disposition rate][117]
13990
14001
  #
13991
14002
  # <note markdown="1"> Campaign Delivery Event Type filter and grouping are only available
13992
- # for SMS and Email campaign delivery modes. Agent, Queue, Routing
13993
- # Profile, Answering Machine Detection Status and Disconnect Reason
13994
- # are only available for agent assisted voice and automated voice
13995
- # delivery modes.
14003
+ # for SMS, Email, WhatsApp, and web notification campaign delivery
14004
+ # modes. Agent, Queue, Routing Profile, Answering Machine Detection
14005
+ # Status and Disconnect Reason are only available for agent assisted
14006
+ # voice and automated voice delivery modes.
13996
14007
  #
13997
14008
  # </note>
13998
14009
  #
@@ -15524,7 +15535,7 @@ module Aws::Connect
15524
15535
  #
15525
15536
  #
15526
15537
  #
15527
- # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/
15538
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
15528
15539
  #
15529
15540
  # @option params [required, String] :instance_id
15530
15541
  # The identifier of the Amazon Connect instance. You can [find the
@@ -18100,6 +18111,8 @@ module Aws::Connect
18100
18111
  # resp.rule_summary_list[0].rule_arn #=> String
18101
18112
  # resp.rule_summary_list[0].event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
18102
18113
  # resp.rule_summary_list[0].publish_status #=> String, one of "DRAFT", "PUBLISHED"
18114
+ # resp.rule_summary_list[0].rule_capability_tiers #=> Array
18115
+ # resp.rule_summary_list[0].rule_capability_tiers[0] #=> String, one of "GenerativeAI"
18103
18116
  # resp.rule_summary_list[0].action_summaries #=> Array
18104
18117
  # resp.rule_summary_list[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION"
18105
18118
  # resp.rule_summary_list[0].created_time #=> Time
@@ -21958,6 +21971,163 @@ module Aws::Connect
21958
21971
  req.send_request(options)
21959
21972
  end
21960
21973
 
21974
+ # Searches rules in an Connect Customer instance, with optional
21975
+ # filtering.
21976
+ #
21977
+ # @option params [required, String] :instance_id
21978
+ # The identifier of the Connect Customer instance. You can [find the
21979
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
21980
+ #
21981
+ #
21982
+ #
21983
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
21984
+ #
21985
+ # @option params [Integer] :max_results
21986
+ # The maximum number of results to return per page.
21987
+ #
21988
+ # @option params [String] :next_token
21989
+ # The token for the next set of results. Use the value returned in the
21990
+ # previous response in the next request to retrieve the next set of
21991
+ # results.
21992
+ #
21993
+ # @option params [Types::RulesSearchCriteria] :search_criteria
21994
+ # The search criteria to be used to return rules.
21995
+ #
21996
+ # @option params [Types::RulesSearchFilter] :search_filter
21997
+ # Filters to be applied to search results, such as tag-based filters.
21998
+ #
21999
+ # @return [Types::SearchRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
22000
+ #
22001
+ # * {Types::SearchRulesResponse#rules #rules} => Array&lt;Types::RuleSearchSummary&gt;
22002
+ # * {Types::SearchRulesResponse#approximate_total_count #approximate_total_count} => Integer
22003
+ # * {Types::SearchRulesResponse#next_token #next_token} => String
22004
+ #
22005
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
22006
+ #
22007
+ #
22008
+ # @example Example: SearchRules
22009
+ #
22010
+ # # Searches for published rules in an Amazon Connect instance.
22011
+ #
22012
+ # resp = client.search_rules({
22013
+ # instance_id: "12345678-1234-1234-1234-123456789012",
22014
+ # max_results: 10,
22015
+ # search_criteria: {
22016
+ # string_condition: {
22017
+ # comparison_type: "EXACT",
22018
+ # field_name: "PublishStatus",
22019
+ # value: "PUBLISHED",
22020
+ # },
22021
+ # },
22022
+ # })
22023
+ #
22024
+ # resp.to_h outputs the following:
22025
+ # {
22026
+ # approximate_total_count: 1,
22027
+ # rules: [
22028
+ # {
22029
+ # action_summaries: [
22030
+ # {
22031
+ # action_type: "CREATE_TASK",
22032
+ # },
22033
+ # ],
22034
+ # created_time: Time.parse("2026-01-15T10:00:00Z"),
22035
+ # last_updated_by: "arn:aws:connect:us-west-2:123456789012:instance/12345678-1234-1234-1234-123456789012/agent/agent-id",
22036
+ # last_updated_time: Time.parse("2026-03-20T14:30:00Z"),
22037
+ # name: "MyRule",
22038
+ # publish_status: "PUBLISHED",
22039
+ # rule_arn: "arn:aws:connect:us-west-2:123456789012:instance/12345678-1234-1234-1234-123456789012/rule/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
22040
+ # rule_capability_tiers: [
22041
+ # ],
22042
+ # rule_id: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
22043
+ # trigger_event_source: {
22044
+ # event_source_name: "OnPostCallAnalysisAvailable",
22045
+ # },
22046
+ # },
22047
+ # ],
22048
+ # }
22049
+ #
22050
+ # @example Request syntax with placeholder values
22051
+ #
22052
+ # resp = client.search_rules({
22053
+ # instance_id: "InstanceId", # required
22054
+ # max_results: 1,
22055
+ # next_token: "NextToken2500",
22056
+ # search_criteria: {
22057
+ # or_conditions: [
22058
+ # {
22059
+ # # recursive RulesSearchCriteria
22060
+ # },
22061
+ # ],
22062
+ # and_conditions: [
22063
+ # {
22064
+ # # recursive RulesSearchCriteria
22065
+ # },
22066
+ # ],
22067
+ # string_condition: {
22068
+ # field_name: "String",
22069
+ # value: "String",
22070
+ # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
22071
+ # },
22072
+ # },
22073
+ # search_filter: {
22074
+ # attribute_filter: {
22075
+ # or_conditions: [
22076
+ # {
22077
+ # tag_conditions: [
22078
+ # {
22079
+ # tag_key: "String",
22080
+ # tag_value: "String",
22081
+ # },
22082
+ # ],
22083
+ # },
22084
+ # ],
22085
+ # and_condition: {
22086
+ # tag_conditions: [
22087
+ # {
22088
+ # tag_key: "String",
22089
+ # tag_value: "String",
22090
+ # },
22091
+ # ],
22092
+ # },
22093
+ # tag_condition: {
22094
+ # tag_key: "String",
22095
+ # tag_value: "String",
22096
+ # },
22097
+ # },
22098
+ # },
22099
+ # })
22100
+ #
22101
+ # @example Response structure
22102
+ #
22103
+ # resp.rules #=> Array
22104
+ # resp.rules[0].name #=> String
22105
+ # resp.rules[0].rule_id #=> String
22106
+ # resp.rules[0].rule_arn #=> String
22107
+ # resp.rules[0].trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
22108
+ # resp.rules[0].trigger_event_source.integration_association_id #=> String
22109
+ # resp.rules[0].action_summaries #=> Array
22110
+ # resp.rules[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION"
22111
+ # resp.rules[0].rule_capability_tiers #=> Array
22112
+ # resp.rules[0].rule_capability_tiers[0] #=> String, one of "GenerativeAI"
22113
+ # resp.rules[0].publish_status #=> String, one of "DRAFT", "PUBLISHED"
22114
+ # resp.rules[0].created_time #=> Time
22115
+ # resp.rules[0].last_updated_time #=> Time
22116
+ # resp.rules[0].last_updated_by #=> String
22117
+ # resp.rules[0].tags #=> Hash
22118
+ # resp.rules[0].tags["TagKey"] #=> String
22119
+ # resp.approximate_total_count #=> Integer
22120
+ # resp.next_token #=> String
22121
+ #
22122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchRules AWS API Documentation
22123
+ #
22124
+ # @overload search_rules(params = {})
22125
+ # @param [Hash] params ({})
22126
+ def search_rules(params = {}, options = {})
22127
+ req = build_request(:search_rules, params)
22128
+ req.send_request(options)
22129
+ end
22130
+
21961
22131
  # Searches security profiles in an Connect Customer instance, with
21962
22132
  # optional filtering.
21963
22133
  #
@@ -27376,7 +27546,7 @@ module Aws::Connect
27376
27546
  #
27377
27547
  #
27378
27548
  #
27379
- # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
27549
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
27380
27550
  #
27381
27551
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
27382
27552
  #
@@ -29991,7 +30161,7 @@ module Aws::Connect
29991
30161
  tracer: tracer
29992
30162
  )
29993
30163
  context[:gem_name] = 'aws-sdk-connect'
29994
- context[:gem_version] = '1.264.0'
30164
+ context[:gem_version] = '1.265.0'
29995
30165
  Seahorse::Client::Request.new(handlers, context)
29996
30166
  end
29997
30167
 
@@ -1670,14 +1670,24 @@ module Aws::Connect
1670
1670
  Rule = Shapes::StructureShape.new(name: 'Rule')
1671
1671
  RuleAction = Shapes::StructureShape.new(name: 'RuleAction')
1672
1672
  RuleActions = Shapes::ListShape.new(name: 'RuleActions')
1673
+ RuleAttributeAndCondition = Shapes::StructureShape.new(name: 'RuleAttributeAndCondition')
1674
+ RuleAttributeFilter = Shapes::StructureShape.new(name: 'RuleAttributeFilter')
1675
+ RuleAttributeOrConditionList = Shapes::ListShape.new(name: 'RuleAttributeOrConditionList')
1676
+ RuleCapabilityTier = Shapes::StringShape.new(name: 'RuleCapabilityTier')
1677
+ RuleCapabilityTiers = Shapes::ListShape.new(name: 'RuleCapabilityTiers')
1673
1678
  RuleFunction = Shapes::StringShape.new(name: 'RuleFunction')
1674
1679
  RuleId = Shapes::StringShape.new(name: 'RuleId')
1675
1680
  RuleName = Shapes::StringShape.new(name: 'RuleName')
1676
1681
  RulePublishStatus = Shapes::StringShape.new(name: 'RulePublishStatus')
1682
+ RuleSearchSummary = Shapes::StructureShape.new(name: 'RuleSearchSummary')
1683
+ RuleSearchSummaryList = Shapes::ListShape.new(name: 'RuleSearchSummaryList')
1677
1684
  RuleSummary = Shapes::StructureShape.new(name: 'RuleSummary')
1678
1685
  RuleSummaryList = Shapes::ListShape.new(name: 'RuleSummaryList')
1679
1686
  RuleTriggerEventSource = Shapes::StructureShape.new(name: 'RuleTriggerEventSource')
1680
1687
  RulesConfiguration = Shapes::StructureShape.new(name: 'RulesConfiguration')
1688
+ RulesSearchConditionList = Shapes::ListShape.new(name: 'RulesSearchConditionList')
1689
+ RulesSearchCriteria = Shapes::StructureShape.new(name: 'RulesSearchCriteria')
1690
+ RulesSearchFilter = Shapes::StructureShape.new(name: 'RulesSearchFilter')
1681
1691
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
1682
1692
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
1683
1693
  ScreenShareCapability = Shapes::StringShape.new(name: 'ScreenShareCapability')
@@ -1726,6 +1736,8 @@ module Aws::Connect
1726
1736
  SearchResourceTagsResponse = Shapes::StructureShape.new(name: 'SearchResourceTagsResponse')
1727
1737
  SearchRoutingProfilesRequest = Shapes::StructureShape.new(name: 'SearchRoutingProfilesRequest')
1728
1738
  SearchRoutingProfilesResponse = Shapes::StructureShape.new(name: 'SearchRoutingProfilesResponse')
1739
+ SearchRulesRequest = Shapes::StructureShape.new(name: 'SearchRulesRequest')
1740
+ SearchRulesResponse = Shapes::StructureShape.new(name: 'SearchRulesResponse')
1729
1741
  SearchSecurityProfilesRequest = Shapes::StructureShape.new(name: 'SearchSecurityProfilesRequest')
1730
1742
  SearchSecurityProfilesResponse = Shapes::StructureShape.new(name: 'SearchSecurityProfilesResponse')
1731
1743
  SearchTestCasesRequest = Shapes::StructureShape.new(name: 'SearchTestCasesRequest')
@@ -7658,6 +7670,7 @@ module Aws::Connect
7658
7670
  Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
7659
7671
  Rule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
7660
7672
  Rule.add_member(:trigger_event_source, Shapes::ShapeRef.new(shape: RuleTriggerEventSource, required: true, location_name: "TriggerEventSource"))
7673
+ Rule.add_member(:rule_capability_tiers, Shapes::ShapeRef.new(shape: RuleCapabilityTiers, location_name: "RuleCapabilityTiers"))
7661
7674
  Rule.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
7662
7675
  Rule.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
7663
7676
  Rule.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
@@ -7681,11 +7694,39 @@ module Aws::Connect
7681
7694
 
7682
7695
  RuleActions.member = Shapes::ShapeRef.new(shape: RuleAction)
7683
7696
 
7697
+ RuleAttributeAndCondition.add_member(:tag_conditions, Shapes::ShapeRef.new(shape: TagAndConditionList, location_name: "TagConditions"))
7698
+ RuleAttributeAndCondition.struct_class = Types::RuleAttributeAndCondition
7699
+
7700
+ RuleAttributeFilter.add_member(:or_conditions, Shapes::ShapeRef.new(shape: RuleAttributeOrConditionList, location_name: "OrConditions"))
7701
+ RuleAttributeFilter.add_member(:and_condition, Shapes::ShapeRef.new(shape: RuleAttributeAndCondition, location_name: "AndCondition"))
7702
+ RuleAttributeFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition"))
7703
+ RuleAttributeFilter.struct_class = Types::RuleAttributeFilter
7704
+
7705
+ RuleAttributeOrConditionList.member = Shapes::ShapeRef.new(shape: RuleAttributeAndCondition)
7706
+
7707
+ RuleCapabilityTiers.member = Shapes::ShapeRef.new(shape: RuleCapabilityTier)
7708
+
7709
+ RuleSearchSummary.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
7710
+ RuleSearchSummary.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
7711
+ RuleSearchSummary.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
7712
+ RuleSearchSummary.add_member(:trigger_event_source, Shapes::ShapeRef.new(shape: RuleTriggerEventSource, required: true, location_name: "TriggerEventSource"))
7713
+ RuleSearchSummary.add_member(:action_summaries, Shapes::ShapeRef.new(shape: ActionSummaries, required: true, location_name: "ActionSummaries"))
7714
+ RuleSearchSummary.add_member(:rule_capability_tiers, Shapes::ShapeRef.new(shape: RuleCapabilityTiers, location_name: "RuleCapabilityTiers"))
7715
+ RuleSearchSummary.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
7716
+ RuleSearchSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
7717
+ RuleSearchSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
7718
+ RuleSearchSummary.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "LastUpdatedBy"))
7719
+ RuleSearchSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
7720
+ RuleSearchSummary.struct_class = Types::RuleSearchSummary
7721
+
7722
+ RuleSearchSummaryList.member = Shapes::ShapeRef.new(shape: RuleSearchSummary)
7723
+
7684
7724
  RuleSummary.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
7685
7725
  RuleSummary.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
7686
7726
  RuleSummary.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
7687
7727
  RuleSummary.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "EventSourceName"))
7688
7728
  RuleSummary.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
7729
+ RuleSummary.add_member(:rule_capability_tiers, Shapes::ShapeRef.new(shape: RuleCapabilityTiers, location_name: "RuleCapabilityTiers"))
7689
7730
  RuleSummary.add_member(:action_summaries, Shapes::ShapeRef.new(shape: ActionSummaries, required: true, location_name: "ActionSummaries"))
7690
7731
  RuleSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
7691
7732
  RuleSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
@@ -7700,6 +7741,16 @@ module Aws::Connect
7700
7741
  RulesConfiguration.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, location_name: "Behavior"))
7701
7742
  RulesConfiguration.struct_class = Types::RulesConfiguration
7702
7743
 
7744
+ RulesSearchConditionList.member = Shapes::ShapeRef.new(shape: RulesSearchCriteria)
7745
+
7746
+ RulesSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: RulesSearchConditionList, location_name: "OrConditions"))
7747
+ RulesSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: RulesSearchConditionList, location_name: "AndConditions"))
7748
+ RulesSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition"))
7749
+ RulesSearchCriteria.struct_class = Types::RulesSearchCriteria
7750
+
7751
+ RulesSearchFilter.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: RuleAttributeFilter, location_name: "AttributeFilter"))
7752
+ RulesSearchFilter.struct_class = Types::RulesSearchFilter
7753
+
7703
7754
  S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "BucketName"))
7704
7755
  S3Config.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "BucketPrefix"))
7705
7756
  S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
@@ -7956,6 +8007,18 @@ module Aws::Connect
7956
8007
  SearchRoutingProfilesResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
7957
8008
  SearchRoutingProfilesResponse.struct_class = Types::SearchRoutingProfilesResponse
7958
8009
 
8010
+ SearchRulesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
8011
+ SearchRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult200, location_name: "MaxResults", metadata: {"box" => true}))
8012
+ SearchRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
8013
+ SearchRulesRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: RulesSearchCriteria, location_name: "SearchCriteria"))
8014
+ SearchRulesRequest.add_member(:search_filter, Shapes::ShapeRef.new(shape: RulesSearchFilter, location_name: "SearchFilter"))
8015
+ SearchRulesRequest.struct_class = Types::SearchRulesRequest
8016
+
8017
+ SearchRulesResponse.add_member(:rules, Shapes::ShapeRef.new(shape: RuleSearchSummaryList, required: true, location_name: "Rules"))
8018
+ SearchRulesResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
8019
+ SearchRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
8020
+ SearchRulesResponse.struct_class = Types::SearchRulesResponse
8021
+
7959
8022
  SearchSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
7960
8023
  SearchSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
7961
8024
  SearchSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box" => true}))
@@ -14014,6 +14077,26 @@ module Aws::Connect
14014
14077
  )
14015
14078
  end)
14016
14079
 
14080
+ api.add_operation(:search_rules, Seahorse::Model::Operation.new.tap do |o|
14081
+ o.name = "SearchRules"
14082
+ o.http_method = "POST"
14083
+ o.http_request_uri = "/search-rules"
14084
+ o.input = Shapes::ShapeRef.new(shape: SearchRulesRequest)
14085
+ o.output = Shapes::ShapeRef.new(shape: SearchRulesResponse)
14086
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
14087
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
14088
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
14089
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
14090
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
14091
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
14092
+ o[:pager] = Aws::Pager.new(
14093
+ limit_key: "max_results",
14094
+ tokens: {
14095
+ "next_token" => "next_token"
14096
+ }
14097
+ )
14098
+ end)
14099
+
14017
14100
  api.add_operation(:search_security_profiles, Seahorse::Model::Operation.new.tap do |o|
14018
14101
  o.name = "SearchSecurityProfiles"
14019
14102
  o.http_method = "POST"
@@ -6377,7 +6377,7 @@ module Aws::Connect
6377
6377
  #
6378
6378
  #
6379
6379
  #
6380
- # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
6380
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
6381
6381
  # @return [String]
6382
6382
  #
6383
6383
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateHoursOfOperationOverrideRequest AWS API Documentation
@@ -6443,7 +6443,7 @@ module Aws::Connect
6443
6443
  #
6444
6444
  #
6445
6445
  #
6446
- # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
6446
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
6447
6447
  # @return [Array<Types::ParentHoursOfOperationConfig>]
6448
6448
  #
6449
6449
  # @!attribute [rw] tags
@@ -16069,7 +16069,7 @@ module Aws::Connect
16069
16069
  #
16070
16070
  #
16071
16071
  #
16072
- # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
16072
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
16073
16073
  # @return [Array<Types::EffectiveOverrideHours>]
16074
16074
  #
16075
16075
  # @!attribute [rw] time_zone
@@ -16683,24 +16683,26 @@ module Aws::Connect
16683
16683
  # `AGENT_HIERARCHY_LEVEL_TWO` \| `AGENT_HIERARCHY_LEVEL_THREE` \|
16684
16684
  # `AGENT_HIERARCHY_LEVEL_FOUR` \| `AGENT_HIERARCHY_LEVEL_FIVE` \|
16685
16685
  # `ANSWERING_MACHINE_DETECTION_STATUS` \| `BOT_ALIAS` \| `BOT_ID` \|
16686
- # `BOT_INTENT_NAME` \| `BOT_LOCALE` \| `BOT_VERSION` \| `CAMPAIGN` \|
16687
- # `CAMPAIGN_DELIVERY_EVENT_TYPE` \| `CAMPAIGN_EXCLUDED_EVENT_TYPE` \|
16688
- # `CASE_STATUS` \| `CASE_TEMPLATE_ARN` \| `CHANNEL` \|
16686
+ # `BOT_INTENT_NAME` \| `BOT_LOCALE` \| `BOT_VERSION` \| `BROWSER_NAME`
16687
+ # \| `CAMPAIGN` \| `CAMPAIGN_DELIVERY_EVENT_TYPE` \|
16688
+ # `CAMPAIGN_EXCLUDED_EVENT_TYPE` \| `CASE_STATUS` \|
16689
+ # `CASE_TEMPLATE_ARN` \| `CHANNEL` \|
16689
16690
  # `contact/segmentAttributes/connect:Subtype` \|
16690
16691
  # `contact/segmentAttributes/connect:ValidationTestType` \|
16691
- # `DISCONNECT_REASON` \| `EVALUATION_FORM` \| `EVALUATION_QUESTION` \|
16692
- # `EVALUATION_SECTION` \| `EVALUATION_SOURCE` \| `EVALUATOR_ID` \|
16693
- # `FEATURE` \| `FLOW_ACTION_ID` \| `FLOW_TYPE` \|
16694
- # `FLOWS_MODULE_RESOURCE_ID` \| `FLOWS_NEXT_RESOURCE_ID` \|
16695
- # `FLOWS_NEXT_RESOURCE_QUEUE_ID` \| `FLOWS_OUTCOME_TYPE` \|
16696
- # `FLOWS_RESOURCE_ID` \| `FORM_VERSION` \| `INITIATING_FLOW` \|
16697
- # `INITIATION_METHOD` \| `INVOKING_RESOURCE_PUBLISHED_TIMESTAMP` \|
16698
- # `INVOKING_RESOURCE_TYPE` \| `KNOWLEDGE_BASE_NAME` \|
16699
- # `PARENT_FLOWS_RESOURCE_ID` \| `Q_CONNECT_ENABLED` \| `QUEUE` \|
16700
- # `RESOURCE_PUBLISHED_TIMESTAMP` \| `ROUTING_PROFILE` \|
16701
- # `ROUTING_STEP_EXPRESSION` \| `SESSION_ID` \| `TEST_CASE` \|
16702
- # `TEST_CASE_EXECUTION_FAILURE_REASON` \| `TEST_CASE_EXECUTION_RESULT`
16703
- # \| `TEST_CASE_EXECUTION_STATE`
16692
+ # `DEVICE_MODEL` \| `DEVICE_TYPE` \| `DISCONNECT_REASON` \|
16693
+ # `EVALUATION_FORM` \| `EVALUATION_QUESTION` \| `EVALUATION_SECTION`
16694
+ # \| `EVALUATION_SOURCE` \| `EVALUATOR_ID` \| `FEATURE` \|
16695
+ # `FLOW_ACTION_ID` \| `FLOW_TYPE` \| `FLOWS_MODULE_RESOURCE_ID` \|
16696
+ # `FLOWS_NEXT_RESOURCE_ID` \| `FLOWS_NEXT_RESOURCE_QUEUE_ID` \|
16697
+ # `FLOWS_OUTCOME_TYPE` \| `FLOWS_RESOURCE_ID` \| `FORM_VERSION` \|
16698
+ # `INITIATING_FLOW` \| `INITIATION_METHOD` \|
16699
+ # `INVOKING_RESOURCE_PUBLISHED_TIMESTAMP` \| `INVOKING_RESOURCE_TYPE`
16700
+ # \| `KNOWLEDGE_BASE_NAME` \| `PARENT_FLOWS_RESOURCE_ID` \|
16701
+ # `Q_CONNECT_ENABLED` \| `QUEUE` \| `RESOURCE_PUBLISHED_TIMESTAMP` \|
16702
+ # `ROUTING_PROFILE` \| `ROUTING_STEP_EXPRESSION` \| `SESSION_ID` \|
16703
+ # `TEST_CASE` \| `TEST_CASE_EXECUTION_FAILURE_REASON` \|
16704
+ # `TEST_CASE_EXECUTION_RESULT` \| `TEST_CASE_EXECUTION_STATE` \|
16705
+ # `WEB_NOTIFICATION_TYPE`
16704
16706
  #
16705
16707
  # <note markdown="1"> The following filter keys correspond to Connect Customer resources
16706
16708
  # and are used for authorizing requests. A `GetMetricDataV2` request
@@ -16779,22 +16781,23 @@ module Aws::Connect
16779
16781
  # `AGENT_HIERARCHY_LEVEL_THREE` \| `AGENT_HIERARCHY_LEVEL_FOUR` \|
16780
16782
  # `AGENT_HIERARCHY_LEVEL_FIVE` \| `ANSWERING_MACHINE_DETECTION_STATUS`
16781
16783
  # \| `BOT_ID` \| `BOT_ALIAS` \| `BOT_VERSION` \| `BOT_LOCALE` \|
16782
- # `BOT_INTENT_NAME` \| `CAMPAIGN` \| `CAMPAIGN_DELIVERY_EVENT_TYPE` \|
16783
- # `CAMPAIGN_EXCLUDED_EVENT_TYPE` \| `CAMPAIGN_EXECUTION_TIMESTAMP` \|
16784
- # `CASE_TEMPLATE_ARN` \| `CASE_STATUS` \| `CHANNEL` \|
16785
- # `contact/segmentAttributes/connect:Subtype` \| `DISCONNECT_REASON`
16786
- # \| `EVALUATION_FORM` \| `EVALUATION_SECTION` \|
16787
- # `EVALUATION_QUESTION` \| `EVALUATION_SOURCE` \| `EVALUATOR_ID` \|
16788
- # `FLOWS_RESOURCE_ID` \| `FLOWS_MODULE_RESOURCE_ID` \|
16789
- # `FLOW_ACTION_ID` \| `FLOW_TYPE` \| `FLOWS_OUTCOME_TYPE` \|
16790
- # `FORM_VERSION` \| `INITIATION_METHOD` \|
16784
+ # `BOT_INTENT_NAME` \| `BROWSER_NAME` \| `CAMPAIGN` \|
16785
+ # `CAMPAIGN_DELIVERY_EVENT_TYPE` \| `CAMPAIGN_EXCLUDED_EVENT_TYPE` \|
16786
+ # `CAMPAIGN_EXECUTION_TIMESTAMP` \| `CASE_TEMPLATE_ARN` \|
16787
+ # `CASE_STATUS` \| `CHANNEL` \|
16788
+ # `contact/segmentAttributes/connect:Subtype` \| `DEVICE_MODEL` \|
16789
+ # `DEVICE_TYPE` \| `DISCONNECT_REASON` \| `EVALUATION_FORM` \|
16790
+ # `EVALUATION_SECTION` \| `EVALUATION_QUESTION` \| `EVALUATION_SOURCE`
16791
+ # \| `EVALUATOR_ID` \| `FLOWS_RESOURCE_ID` \|
16792
+ # `FLOWS_MODULE_RESOURCE_ID` \| `FLOW_ACTION_ID` \| `FLOW_TYPE` \|
16793
+ # `FLOWS_OUTCOME_TYPE` \| `FORM_VERSION` \| `INITIATION_METHOD` \|
16791
16794
  # `INVOKING_RESOURCE_PUBLISHED_TIMESTAMP` \| `INVOKING_RESOURCE_TYPE`
16792
16795
  # \| `KNOWLEDGE_ARTICLE_NAME` \| `KNOWLEDGE_BASE_NAME` \|
16793
16796
  # `PARENT_FLOWS_RESOURCE_ID` \| `Q_CONNECT_ENABLED` \| `QUEUE` \|
16794
16797
  # `RESOURCE_PUBLISHED_TIMESTAMP` \| `ROUTING_PROFILE` \|
16795
16798
  # `ROUTING_STEP_EXPRESSION` \| `SESSION_ID` \| `TEST_CASE` \|
16796
16799
  # `TEST_CASE_EXECUTION_FAILURE_REASON` \|
16797
- # `TEST_CASE_INVOCATION_METHOD`
16800
+ # `TEST_CASE_INVOCATION_METHOD` \| `WEB_NOTIFICATION_TYPE`
16798
16801
  #
16799
16802
  # <note markdown="1"> `AI_AGENT_NAME_VERSION`, `AI_PROMPT_NAME_VERSION`, and
16800
16803
  # `KNOWLEDGE_ARTICLE_NAME` are valid groupings but not valid filters.
@@ -17888,13 +17891,15 @@ module Aws::Connect
17888
17891
  # CAMPAIGN\_INTERACTIONS
17889
17892
  #
17890
17893
  # : This metric is available only for outbound campaigns using the
17891
- # email delivery mode.
17894
+ # email, WhatsApp, and web notification delivery modes.
17892
17895
  #
17893
17896
  # Unit: Count
17894
17897
  #
17895
17898
  # Valid metric filter key: CAMPAIGN\_INTERACTION\_EVENT\_TYPE
17896
17899
  #
17897
- # Valid groupings and filters: Campaign
17900
+ # Valid groupings and filters: Browser Name, Campaign, Channel,
17901
+ # contact/segmentAttributes/connect:Subtype, Device Model, Device
17902
+ # Type, Web Notification Type
17898
17903
  #
17899
17904
  # UI name: [Campaign interactions][93]
17900
17905
  #
@@ -18153,17 +18158,18 @@ module Aws::Connect
18153
18158
  # `CAMPAIGN_DELIVERY_EVENT_TYPE`, `DISCONNECT_REASON`
18154
18159
  #
18155
18160
  # Valid groupings and filters: Agent, Answering Machine Detection
18156
- # Status, Campaign, Campaign Delivery EventType, Channel,
18157
- # contact/segmentAttributes/connect:Subtype, Disconnect Reason,
18158
- # Queue, Routing Profile
18161
+ # Status, Browser Name, Campaign, Campaign Delivery EventType,
18162
+ # Channel, contact/segmentAttributes/connect:Subtype, Device Model,
18163
+ # Device Type, Disconnect Reason, Queue, Routing Profile, Web
18164
+ # Notification Type
18159
18165
  #
18160
18166
  # UI name: [Delivery attempts][116]
18161
18167
  #
18162
18168
  # <note markdown="1"> Campaign Delivery EventType filter and grouping are only available
18163
- # for SMS and Email campaign delivery modes. Agent, Queue, Routing
18164
- # Profile, Answering Machine Detection Status and Disconnect Reason
18165
- # are only available for agent assisted voice and automated voice
18166
- # delivery modes.
18169
+ # for SMS, Email, WhatsApp, and web notification campaign delivery
18170
+ # modes. Agent, Queue, Routing Profile, Answering Machine Detection
18171
+ # Status and Disconnect Reason are only available for agent assisted
18172
+ # voice and automated voice delivery modes.
18167
18173
  #
18168
18174
  # </note>
18169
18175
  #
@@ -18179,17 +18185,18 @@ module Aws::Connect
18179
18185
  # `CAMPAIGN_DELIVERY_EVENT_TYPE`, `DISCONNECT_REASON`
18180
18186
  #
18181
18187
  # Valid groupings and filters: Agent, Answering Machine Detection
18182
- # Status, Campaign, Channel,
18183
- # contact/segmentAttributes/connect:Subtype, Disconnect Reason,
18184
- # Queue, Routing Profile
18188
+ # Status, Browser Name, Campaign, Channel,
18189
+ # contact/segmentAttributes/connect:Subtype, Device Model, Device
18190
+ # Type, Disconnect Reason, Queue, Routing Profile, Web Notification
18191
+ # Type
18185
18192
  #
18186
18193
  # UI name: [Delivery attempt disposition rate][117]
18187
18194
  #
18188
18195
  # <note markdown="1"> Campaign Delivery Event Type filter and grouping are only
18189
- # available for SMS and Email campaign delivery modes. Agent, Queue,
18190
- # Routing Profile, Answering Machine Detection Status and Disconnect
18191
- # Reason are only available for agent assisted voice and automated
18192
- # voice delivery modes.
18196
+ # available for SMS, Email, WhatsApp, and web notification campaign
18197
+ # delivery modes. Agent, Queue, Routing Profile, Answering Machine
18198
+ # Detection Status and Disconnect Reason are only available for
18199
+ # agent assisted voice and automated voice delivery modes.
18193
18200
  #
18194
18201
  # </note>
18195
18202
  #
@@ -29185,6 +29192,11 @@ module Aws::Connect
29185
29192
  # The event source to trigger the rule.
29186
29193
  # @return [Types::RuleTriggerEventSource]
29187
29194
  #
29195
+ # @!attribute [rw] rule_capability_tiers
29196
+ # The list of capability tiers associated with the rule. Used for
29197
+ # categorizing rules by capability (for example, `GenerativeAI`).
29198
+ # @return [Array<String>]
29199
+ #
29188
29200
  # @!attribute [rw] function
29189
29201
  # The conditions of the rule.
29190
29202
  # @return [String]
@@ -29223,6 +29235,7 @@ module Aws::Connect
29223
29235
  :rule_id,
29224
29236
  :rule_arn,
29225
29237
  :trigger_event_source,
29238
+ :rule_capability_tiers,
29226
29239
  :function,
29227
29240
  :actions,
29228
29241
  :publish_status,
@@ -29322,6 +29335,126 @@ module Aws::Connect
29322
29335
  include Aws::Structure
29323
29336
  end
29324
29337
 
29338
+ # A list of conditions which would be applied together with an `AND`
29339
+ # condition.
29340
+ #
29341
+ # @!attribute [rw] tag_conditions
29342
+ # A list of tag conditions that need to be applied with `AND`
29343
+ # condition.
29344
+ # @return [Array<Types::TagCondition>]
29345
+ #
29346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RuleAttributeAndCondition AWS API Documentation
29347
+ #
29348
+ class RuleAttributeAndCondition < Struct.new(
29349
+ :tag_conditions)
29350
+ SENSITIVE = []
29351
+ include Aws::Structure
29352
+ end
29353
+
29354
+ # An object that can be used to specify tag conditions inside the
29355
+ # `SearchFilter`. This accepts an `OR` of `AND` (List of List) input
29356
+ # where:
29357
+ #
29358
+ # * The top level list specifies conditions that need to be applied with
29359
+ # `OR` operator.
29360
+ #
29361
+ # * The inner list specifies conditions that need to be applied with
29362
+ # `AND` operator.
29363
+ #
29364
+ # @!attribute [rw] or_conditions
29365
+ # A list of conditions which would be applied together with an `OR`
29366
+ # condition.
29367
+ # @return [Array<Types::RuleAttributeAndCondition>]
29368
+ #
29369
+ # @!attribute [rw] and_condition
29370
+ # A list of conditions which would be applied together with an `AND`
29371
+ # condition.
29372
+ # @return [Types::RuleAttributeAndCondition]
29373
+ #
29374
+ # @!attribute [rw] tag_condition
29375
+ # A leaf node condition which can be used to specify a tag condition,
29376
+ # for example, `HAVE BPO = 123`.
29377
+ # @return [Types::TagCondition]
29378
+ #
29379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RuleAttributeFilter AWS API Documentation
29380
+ #
29381
+ class RuleAttributeFilter < Struct.new(
29382
+ :or_conditions,
29383
+ :and_condition,
29384
+ :tag_condition)
29385
+ SENSITIVE = []
29386
+ include Aws::Structure
29387
+ end
29388
+
29389
+ # A summary of information about a rule, returned as part of the
29390
+ # response to a `SearchRules` operation.
29391
+ #
29392
+ # @!attribute [rw] name
29393
+ # The name of the rule.
29394
+ # @return [String]
29395
+ #
29396
+ # @!attribute [rw] rule_id
29397
+ # A unique identifier for the rule.
29398
+ # @return [String]
29399
+ #
29400
+ # @!attribute [rw] rule_arn
29401
+ # The Amazon Resource Name (ARN) of the rule.
29402
+ # @return [String]
29403
+ #
29404
+ # @!attribute [rw] trigger_event_source
29405
+ # The event source to trigger the rule.
29406
+ # @return [Types::RuleTriggerEventSource]
29407
+ #
29408
+ # @!attribute [rw] action_summaries
29409
+ # A list of `ActionTypes` associated with a rule.
29410
+ # @return [Array<Types::ActionSummary>]
29411
+ #
29412
+ # @!attribute [rw] rule_capability_tiers
29413
+ # The list of capability tiers associated with the rule. Used for
29414
+ # categorizing rules by capability (for example, `GenerativeAI`).
29415
+ # @return [Array<String>]
29416
+ #
29417
+ # @!attribute [rw] publish_status
29418
+ # The publish status of the rule.
29419
+ # @return [String]
29420
+ #
29421
+ # @!attribute [rw] created_time
29422
+ # The timestamp for when the rule was created.
29423
+ # @return [Time]
29424
+ #
29425
+ # @!attribute [rw] last_updated_time
29426
+ # The timestamp for when the rule was last updated.
29427
+ # @return [Time]
29428
+ #
29429
+ # @!attribute [rw] last_updated_by
29430
+ # The Amazon Resource Name (ARN) of the user who last updated the
29431
+ # rule.
29432
+ # @return [String]
29433
+ #
29434
+ # @!attribute [rw] tags
29435
+ # The tags used to organize, track, or control access for this
29436
+ # resource. For example, \{ "Tags": \{"key1":"value1",
29437
+ # "key2":"value2"} }.
29438
+ # @return [Hash<String,String>]
29439
+ #
29440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RuleSearchSummary AWS API Documentation
29441
+ #
29442
+ class RuleSearchSummary < Struct.new(
29443
+ :name,
29444
+ :rule_id,
29445
+ :rule_arn,
29446
+ :trigger_event_source,
29447
+ :action_summaries,
29448
+ :rule_capability_tiers,
29449
+ :publish_status,
29450
+ :created_time,
29451
+ :last_updated_time,
29452
+ :last_updated_by,
29453
+ :tags)
29454
+ SENSITIVE = []
29455
+ include Aws::Structure
29456
+ end
29457
+
29325
29458
  # A list of `ActionTypes` associated with a rule.
29326
29459
  #
29327
29460
  # @!attribute [rw] name
@@ -29344,6 +29477,11 @@ module Aws::Connect
29344
29477
  # The publish status of the rule.
29345
29478
  # @return [String]
29346
29479
  #
29480
+ # @!attribute [rw] rule_capability_tiers
29481
+ # The list of capability tiers associated with the rule. Used for
29482
+ # categorizing rules by capability (for example, `GenerativeAI`).
29483
+ # @return [Array<String>]
29484
+ #
29347
29485
  # @!attribute [rw] action_summaries
29348
29486
  # A list of ActionTypes associated with a rule.
29349
29487
  # @return [Array<Types::ActionSummary>]
@@ -29364,6 +29502,7 @@ module Aws::Connect
29364
29502
  :rule_arn,
29365
29503
  :event_source_name,
29366
29504
  :publish_status,
29505
+ :rule_capability_tiers,
29367
29506
  :action_summaries,
29368
29507
  :created_time,
29369
29508
  :last_updated_time)
@@ -29410,6 +29549,55 @@ module Aws::Connect
29410
29549
  include Aws::Structure
29411
29550
  end
29412
29551
 
29552
+ # The search criteria to be used to return rules.
29553
+ #
29554
+ # @!attribute [rw] or_conditions
29555
+ # A list of conditions which would be applied together with an OR
29556
+ # condition.
29557
+ # @return [Array<Types::RulesSearchCriteria>]
29558
+ #
29559
+ # @!attribute [rw] and_conditions
29560
+ # A list of conditions which would be applied together with an AND
29561
+ # condition.
29562
+ # @return [Array<Types::RulesSearchCriteria>]
29563
+ #
29564
+ # @!attribute [rw] string_condition
29565
+ # A leaf node condition which can be used to specify a string
29566
+ # condition.
29567
+ #
29568
+ # <note markdown="1"> The currently supported values for `FieldName` are `Name`,
29569
+ # `PublishStatus`, `EventSourceName`, `RuleId`,
29570
+ # `IntegrationAssociationId`, `ActionSummaries`, and
29571
+ # `RuleCapabilityTiers`.
29572
+ #
29573
+ # </note>
29574
+ # @return [Types::StringCondition]
29575
+ #
29576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RulesSearchCriteria AWS API Documentation
29577
+ #
29578
+ class RulesSearchCriteria < Struct.new(
29579
+ :or_conditions,
29580
+ :and_conditions,
29581
+ :string_condition)
29582
+ SENSITIVE = []
29583
+ include Aws::Structure
29584
+ end
29585
+
29586
+ # Filters to be applied to search results.
29587
+ #
29588
+ # @!attribute [rw] attribute_filter
29589
+ # An object that can be used to specify tag conditions inside the
29590
+ # `SearchFilter`.
29591
+ # @return [Types::RuleAttributeFilter]
29592
+ #
29593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RulesSearchFilter AWS API Documentation
29594
+ #
29595
+ class RulesSearchFilter < Struct.new(
29596
+ :attribute_filter)
29597
+ SENSITIVE = []
29598
+ include Aws::Structure
29599
+ end
29600
+
29413
29601
  # Information about the Amazon Simple Storage Service (Amazon S3)
29414
29602
  # storage type.
29415
29603
  #
@@ -30788,6 +30976,68 @@ module Aws::Connect
30788
30976
  include Aws::Structure
30789
30977
  end
30790
30978
 
30979
+ # @!attribute [rw] instance_id
30980
+ # The identifier of the Connect Customer instance. You can [find the
30981
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
30982
+ #
30983
+ #
30984
+ #
30985
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
30986
+ # @return [String]
30987
+ #
30988
+ # @!attribute [rw] max_results
30989
+ # The maximum number of results to return per page.
30990
+ # @return [Integer]
30991
+ #
30992
+ # @!attribute [rw] next_token
30993
+ # The token for the next set of results. Use the value returned in the
30994
+ # previous response in the next request to retrieve the next set of
30995
+ # results.
30996
+ # @return [String]
30997
+ #
30998
+ # @!attribute [rw] search_criteria
30999
+ # The search criteria to be used to return rules.
31000
+ # @return [Types::RulesSearchCriteria]
31001
+ #
31002
+ # @!attribute [rw] search_filter
31003
+ # Filters to be applied to search results, such as tag-based filters.
31004
+ # @return [Types::RulesSearchFilter]
31005
+ #
31006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchRulesRequest AWS API Documentation
31007
+ #
31008
+ class SearchRulesRequest < Struct.new(
31009
+ :instance_id,
31010
+ :max_results,
31011
+ :next_token,
31012
+ :search_criteria,
31013
+ :search_filter)
31014
+ SENSITIVE = []
31015
+ include Aws::Structure
31016
+ end
31017
+
31018
+ # @!attribute [rw] rules
31019
+ # Information about the rules.
31020
+ # @return [Array<Types::RuleSearchSummary>]
31021
+ #
31022
+ # @!attribute [rw] approximate_total_count
31023
+ # The total number of rules which matched your search query.
31024
+ # @return [Integer]
31025
+ #
31026
+ # @!attribute [rw] next_token
31027
+ # If there are additional results, this is the token for the next set
31028
+ # of results.
31029
+ # @return [String]
31030
+ #
31031
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchRulesResponse AWS API Documentation
31032
+ #
31033
+ class SearchRulesResponse < Struct.new(
31034
+ :rules,
31035
+ :approximate_total_count,
31036
+ :next_token)
31037
+ SENSITIVE = []
31038
+ include Aws::Structure
31039
+ end
31040
+
30791
31041
  # @!attribute [rw] instance_id
30792
31042
  # The identifier of the Connect Customer instance. You can [find the
30793
31043
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -36307,7 +36557,7 @@ module Aws::Connect
36307
36557
  #
36308
36558
  #
36309
36559
  #
36310
- # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
36560
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html
36311
36561
  # @return [String]
36312
36562
  #
36313
36563
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateHoursOfOperationOverrideRequest AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::Connect
54
54
  autoload :EndpointProvider, 'aws-sdk-connect/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connect/endpoints'
56
56
 
57
- GEM_VERSION = '1.264.0'
57
+ GEM_VERSION = '1.265.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -4132,6 +4132,47 @@ module Aws
4132
4132
  ) -> _SearchRoutingProfilesResponseSuccess
4133
4133
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchRoutingProfilesResponseSuccess
4134
4134
 
4135
+ interface _SearchRulesResponseSuccess
4136
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchRulesResponse]
4137
+ def rules: () -> ::Array[Types::RuleSearchSummary]
4138
+ def approximate_total_count: () -> ::Integer
4139
+ def next_token: () -> ::String
4140
+ end
4141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#search_rules-instance_method
4142
+ def search_rules: (
4143
+ instance_id: ::String,
4144
+ ?max_results: ::Integer,
4145
+ ?next_token: ::String,
4146
+ ?search_criteria: Params::rules_search_criteria,
4147
+ ?search_filter: {
4148
+ attribute_filter: {
4149
+ or_conditions: Array[
4150
+ {
4151
+ tag_conditions: Array[
4152
+ {
4153
+ tag_key: ::String?,
4154
+ tag_value: ::String?
4155
+ }
4156
+ ]?
4157
+ }
4158
+ ]?,
4159
+ and_condition: {
4160
+ tag_conditions: Array[
4161
+ {
4162
+ tag_key: ::String?,
4163
+ tag_value: ::String?
4164
+ }
4165
+ ]?
4166
+ }?,
4167
+ tag_condition: {
4168
+ tag_key: ::String?,
4169
+ tag_value: ::String?
4170
+ }?
4171
+ }?
4172
+ }
4173
+ ) -> _SearchRulesResponseSuccess
4174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchRulesResponseSuccess
4175
+
4135
4176
  interface _SearchSecurityProfilesResponseSuccess
4136
4177
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchSecurityProfilesResponse]
4137
4178
  def security_profiles: () -> ::Array[Types::SecurityProfileSearchSummary]
data/sig/params.rbs CHANGED
@@ -1317,6 +1317,36 @@ module Aws
1317
1317
  }?
1318
1318
  }
1319
1319
 
1320
+ type rules_search_criteria = {
1321
+ or_conditions: Array[
1322
+ {
1323
+ or_conditions: untyped?,
1324
+ and_conditions: untyped?,
1325
+ string_condition: {
1326
+ field_name: ::String?,
1327
+ value: ::String?,
1328
+ comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
1329
+ }?
1330
+ }
1331
+ ]?,
1332
+ and_conditions: Array[
1333
+ {
1334
+ or_conditions: untyped?,
1335
+ and_conditions: untyped?,
1336
+ string_condition: {
1337
+ field_name: ::String?,
1338
+ value: ::String?,
1339
+ comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
1340
+ }?
1341
+ }
1342
+ ]?,
1343
+ string_condition: {
1344
+ field_name: ::String?,
1345
+ value: ::String?,
1346
+ comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
1347
+ }?
1348
+ }
1349
+
1320
1350
  type security_profile_search_criteria = {
1321
1351
  or_conditions: Array[
1322
1352
  {
data/sig/types.rbs CHANGED
@@ -6793,6 +6793,7 @@ module Aws::Connect
6793
6793
  attr_accessor rule_id: ::String
6794
6794
  attr_accessor rule_arn: ::String
6795
6795
  attr_accessor trigger_event_source: Types::RuleTriggerEventSource
6796
+ attr_accessor rule_capability_tiers: ::Array[("GenerativeAI")]
6796
6797
  attr_accessor function: ::String
6797
6798
  attr_accessor actions: ::Array[Types::RuleAction]
6798
6799
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
@@ -6817,12 +6818,40 @@ module Aws::Connect
6817
6818
  SENSITIVE: []
6818
6819
  end
6819
6820
 
6821
+ class RuleAttributeAndCondition
6822
+ attr_accessor tag_conditions: ::Array[Types::TagCondition]
6823
+ SENSITIVE: []
6824
+ end
6825
+
6826
+ class RuleAttributeFilter
6827
+ attr_accessor or_conditions: ::Array[Types::RuleAttributeAndCondition]
6828
+ attr_accessor and_condition: Types::RuleAttributeAndCondition
6829
+ attr_accessor tag_condition: Types::TagCondition
6830
+ SENSITIVE: []
6831
+ end
6832
+
6833
+ class RuleSearchSummary
6834
+ attr_accessor name: ::String
6835
+ attr_accessor rule_id: ::String
6836
+ attr_accessor rule_arn: ::String
6837
+ attr_accessor trigger_event_source: Types::RuleTriggerEventSource
6838
+ attr_accessor action_summaries: ::Array[Types::ActionSummary]
6839
+ attr_accessor rule_capability_tiers: ::Array[("GenerativeAI")]
6840
+ attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
6841
+ attr_accessor created_time: ::Time
6842
+ attr_accessor last_updated_time: ::Time
6843
+ attr_accessor last_updated_by: ::String
6844
+ attr_accessor tags: ::Hash[::String, ::String]
6845
+ SENSITIVE: []
6846
+ end
6847
+
6820
6848
  class RuleSummary
6821
6849
  attr_accessor name: ::String
6822
6850
  attr_accessor rule_id: ::String
6823
6851
  attr_accessor rule_arn: ::String
6824
6852
  attr_accessor event_source_name: ("OnPostCallAnalysisAvailable" | "OnRealTimeCallAnalysisAvailable" | "OnRealTimeChatAnalysisAvailable" | "OnPostChatAnalysisAvailable" | "OnEmailAnalysisAvailable" | "OnZendeskTicketCreate" | "OnZendeskTicketStatusUpdate" | "OnSalesforceCaseCreate" | "OnContactEvaluationSubmit" | "OnMetricDataUpdate" | "OnCaseCreate" | "OnCaseUpdate" | "OnSlaBreach" | "OnAlertUpdate" | "OnSchedulePublish" | "OnScheduleUpdate" | "OnScheduleTimeOffRequestActivity")
6825
6853
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
6854
+ attr_accessor rule_capability_tiers: ::Array[("GenerativeAI")]
6826
6855
  attr_accessor action_summaries: ::Array[Types::ActionSummary]
6827
6856
  attr_accessor created_time: ::Time
6828
6857
  attr_accessor last_updated_time: ::Time
@@ -6840,6 +6869,18 @@ module Aws::Connect
6840
6869
  SENSITIVE: []
6841
6870
  end
6842
6871
 
6872
+ class RulesSearchCriteria
6873
+ attr_accessor or_conditions: ::Array[Types::RulesSearchCriteria]
6874
+ attr_accessor and_conditions: ::Array[Types::RulesSearchCriteria]
6875
+ attr_accessor string_condition: Types::StringCondition
6876
+ SENSITIVE: []
6877
+ end
6878
+
6879
+ class RulesSearchFilter
6880
+ attr_accessor attribute_filter: Types::RuleAttributeFilter
6881
+ SENSITIVE: []
6882
+ end
6883
+
6843
6884
  class S3Config
6844
6885
  attr_accessor bucket_name: ::String
6845
6886
  attr_accessor bucket_prefix: ::String
@@ -7178,6 +7219,22 @@ module Aws::Connect
7178
7219
  SENSITIVE: []
7179
7220
  end
7180
7221
 
7222
+ class SearchRulesRequest
7223
+ attr_accessor instance_id: ::String
7224
+ attr_accessor max_results: ::Integer
7225
+ attr_accessor next_token: ::String
7226
+ attr_accessor search_criteria: Types::RulesSearchCriteria
7227
+ attr_accessor search_filter: Types::RulesSearchFilter
7228
+ SENSITIVE: []
7229
+ end
7230
+
7231
+ class SearchRulesResponse
7232
+ attr_accessor rules: ::Array[Types::RuleSearchSummary]
7233
+ attr_accessor approximate_total_count: ::Integer
7234
+ attr_accessor next_token: ::String
7235
+ SENSITIVE: []
7236
+ end
7237
+
7181
7238
  class SearchSecurityProfilesRequest
7182
7239
  attr_accessor instance_id: ::String
7183
7240
  attr_accessor next_token: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.264.0
4
+ version: 1.265.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services