aws-sdk-connect 1.274.0 → 1.275.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: a325a1b2346f14332c0d7e9527ad7962f3c0d6777fb6ad6738ce57032c93f432
4
- data.tar.gz: bdbe3ff9259b60910f403ff6e943ce42a155bd70f0c46b19cf145376e9c3a561
3
+ metadata.gz: 8ea2ddefb29fc73631631d6d83e3424560b51714c1f7ad3e24ab1c8034fdf053
4
+ data.tar.gz: f1676bf67985b35ff0b806e6de69021e489a37e374c7d0cbcbe1746c2507b791
5
5
  SHA512:
6
- metadata.gz: 07542321fd202a2c8bdd5dbd835b406938591963229e1b5277f3308ecb1566a295ef08de98232e979d15c9c2cd2c781ccb4a4437f57803fb518b2f5fe46b2d64
7
- data.tar.gz: f979d424350e29abb9bd57c4ca8ba1fcde89579ea04bb7b5f34878bd17834af6c5b759ef62786f528b969ead6b19d6b58b519be64af1b821750092c39ea07ba1
6
+ metadata.gz: eb9ec276d78d1671689a0b926052120a8e6564a49fd732ce9096133afc8cbb157d3e263a3df758a211ad8d00ae116682b99b973251e63094423ff7f364b96991
7
+ data.tar.gz: 9c031025cc901ad0b46e495d034c96935466eb215b20f9c8e8de7891f2807f731f39bcff1aa52f1f38b882ad74f7a77ec090d17922f19660d4582a94f9c39fa1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.275.0 (2026-09-03)
5
+ ------------------
6
+
7
+ * Feature - This release enables TagOnCreate for Rule resource on CreateRule API. It also introduces a new field called PreEvaluationFilters to Rule resource, thereby impacting all Create, Update, Describe and Search APIs for Rules
8
+
4
9
  1.274.0 (2026-08-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.274.0
1
+ 1.275.0
@@ -5110,6 +5110,13 @@ module Aws::Connect
5110
5110
  # @option params [required, String] :publish_status
5111
5111
  # The publish status of the rule.
5112
5112
  #
5113
+ # @option params [Types::PreEvaluationFilters] :pre_evaluation_filters
5114
+ # The pre-evaluation filters for the rule, that restrict the rule to be
5115
+ # applied to only certain resources based on the resource's attributes,
5116
+ # such as tags assigned to a contact. The pre-evaluation filters are
5117
+ # applied even before rule conditions are evaluated and are used to
5118
+ # enforce tag-based-access-control while applying rules.
5119
+ #
5113
5120
  # @option params [String] :client_token
5114
5121
  # A unique, case-sensitive identifier that you provide to ensure the
5115
5122
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -5123,6 +5130,11 @@ module Aws::Connect
5123
5130
  #
5124
5131
  # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
5125
5132
  #
5133
+ # @option params [Hash<String,String>] :tags
5134
+ # The tags used to organize, track, or control access for this resource.
5135
+ # For example, \{ "Tags": \{"key1":"value1", "key2":"value2"}
5136
+ # }.
5137
+ #
5126
5138
  # @return [Types::CreateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5127
5139
  #
5128
5140
  # * {Types::CreateRuleResponse#rule_arn #rule_arn} => String
@@ -5240,7 +5252,21 @@ module Aws::Connect
5240
5252
  # },
5241
5253
  # ],
5242
5254
  # publish_status: "DRAFT", # required, accepts DRAFT, PUBLISHED
5255
+ # pre_evaluation_filters: {
5256
+ # and_conditions: [
5257
+ # {
5258
+ # resource_type: "CONTACT", # required, accepts CONTACT
5259
+ # filter_type: "TAG", # required, accepts TAG
5260
+ # filter_key: "String", # required
5261
+ # filter_value: "String", # required
5262
+ # operator: "EQUALS", # required, accepts EQUALS
5263
+ # },
5264
+ # ],
5265
+ # },
5243
5266
  # client_token: "ClientToken",
5267
+ # tags: {
5268
+ # "TagKey" => "TagValue",
5269
+ # },
5244
5270
  # })
5245
5271
  #
5246
5272
  # @example Response structure
@@ -9896,6 +9922,12 @@ module Aws::Connect
9896
9922
  # resp.rule.actions[0].extract_information_action.rules_extraction_definitions #=> Array
9897
9923
  # resp.rule.actions[0].extract_information_action.rules_extraction_definitions[0].identifier #=> String
9898
9924
  # resp.rule.publish_status #=> String, one of "DRAFT", "PUBLISHED"
9925
+ # resp.rule.pre_evaluation_filters.and_conditions #=> Array
9926
+ # resp.rule.pre_evaluation_filters.and_conditions[0].resource_type #=> String, one of "CONTACT"
9927
+ # resp.rule.pre_evaluation_filters.and_conditions[0].filter_type #=> String, one of "TAG"
9928
+ # resp.rule.pre_evaluation_filters.and_conditions[0].filter_key #=> String
9929
+ # resp.rule.pre_evaluation_filters.and_conditions[0].filter_value #=> String
9930
+ # resp.rule.pre_evaluation_filters.and_conditions[0].operator #=> String, one of "EQUALS"
9899
9931
  # resp.rule.created_time #=> Time
9900
9932
  # resp.rule.last_updated_time #=> Time
9901
9933
  # resp.rule.last_updated_by #=> String
@@ -22858,6 +22890,12 @@ module Aws::Connect
22858
22890
  # resp.rules[0].rule_capability_tiers #=> Array
22859
22891
  # resp.rules[0].rule_capability_tiers[0] #=> String, one of "GenerativeAI"
22860
22892
  # resp.rules[0].publish_status #=> String, one of "DRAFT", "PUBLISHED"
22893
+ # resp.rules[0].pre_evaluation_filters.and_conditions #=> Array
22894
+ # resp.rules[0].pre_evaluation_filters.and_conditions[0].resource_type #=> String, one of "CONTACT"
22895
+ # resp.rules[0].pre_evaluation_filters.and_conditions[0].filter_type #=> String, one of "TAG"
22896
+ # resp.rules[0].pre_evaluation_filters.and_conditions[0].filter_key #=> String
22897
+ # resp.rules[0].pre_evaluation_filters.and_conditions[0].filter_value #=> String
22898
+ # resp.rules[0].pre_evaluation_filters.and_conditions[0].operator #=> String, one of "EQUALS"
22861
22899
  # resp.rules[0].created_time #=> Time
22862
22900
  # resp.rules[0].last_updated_time #=> Time
22863
22901
  # resp.rules[0].last_updated_by #=> String
@@ -29950,6 +29988,13 @@ module Aws::Connect
29950
29988
  # @option params [required, String] :publish_status
29951
29989
  # The publish status of the rule.
29952
29990
  #
29991
+ # @option params [Types::PreEvaluationFilters] :pre_evaluation_filters
29992
+ # The pre-evaluation filters for the rule, that restrict the rule to be
29993
+ # applied to only certain resources based on the resource's attributes,
29994
+ # such as tags assigned to a contact. The pre-evaluation filters are
29995
+ # applied even before rule conditions are evaluated and are used to
29996
+ # enforce tag-based-access-control while applying rules.
29997
+ #
29953
29998
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
29954
29999
  #
29955
30000
  # @example Request syntax with placeholder values
@@ -30061,6 +30106,17 @@ module Aws::Connect
30061
30106
  # },
30062
30107
  # ],
30063
30108
  # publish_status: "DRAFT", # required, accepts DRAFT, PUBLISHED
30109
+ # pre_evaluation_filters: {
30110
+ # and_conditions: [
30111
+ # {
30112
+ # resource_type: "CONTACT", # required, accepts CONTACT
30113
+ # filter_type: "TAG", # required, accepts TAG
30114
+ # filter_key: "String", # required
30115
+ # filter_value: "String", # required
30116
+ # operator: "EQUALS", # required, accepts EQUALS
30117
+ # },
30118
+ # ],
30119
+ # },
30064
30120
  # })
30065
30121
  #
30066
30122
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRule AWS API Documentation
@@ -31380,7 +31436,7 @@ module Aws::Connect
31380
31436
  tracer: tracer
31381
31437
  )
31382
31438
  context[:gem_name] = 'aws-sdk-connect'
31383
- context[:gem_version] = '1.274.0'
31439
+ context[:gem_version] = '1.275.0'
31384
31440
  Seahorse::Client::Request.new(handlers, context)
31385
31441
  end
31386
31442
 
@@ -1513,6 +1513,12 @@ module Aws::Connect
1513
1513
  PotentialAudioQualityIssue = Shapes::StringShape.new(name: 'PotentialAudioQualityIssue')
1514
1514
  PotentialAudioQualityIssues = Shapes::ListShape.new(name: 'PotentialAudioQualityIssues')
1515
1515
  PotentialDisconnectIssue = Shapes::StringShape.new(name: 'PotentialDisconnectIssue')
1516
+ PreEvaluationFilter = Shapes::StructureShape.new(name: 'PreEvaluationFilter')
1517
+ PreEvaluationFilterList = Shapes::ListShape.new(name: 'PreEvaluationFilterList')
1518
+ PreEvaluationFilterOperator = Shapes::StringShape.new(name: 'PreEvaluationFilterOperator')
1519
+ PreEvaluationFilterResourceType = Shapes::StringShape.new(name: 'PreEvaluationFilterResourceType')
1520
+ PreEvaluationFilterType = Shapes::StringShape.new(name: 'PreEvaluationFilterType')
1521
+ PreEvaluationFilters = Shapes::StructureShape.new(name: 'PreEvaluationFilters')
1516
1522
  PreSignedAttachmentUrl = Shapes::StringShape.new(name: 'PreSignedAttachmentUrl')
1517
1523
  PredefinedAttribute = Shapes::StructureShape.new(name: 'PredefinedAttribute')
1518
1524
  PredefinedAttributeConfiguration = Shapes::StructureShape.new(name: 'PredefinedAttributeConfiguration')
@@ -3838,7 +3844,9 @@ module Aws::Connect
3838
3844
  CreateRuleRequest.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
3839
3845
  CreateRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
3840
3846
  CreateRuleRequest.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
3847
+ CreateRuleRequest.add_member(:pre_evaluation_filters, Shapes::ShapeRef.new(shape: PreEvaluationFilters, location_name: "PreEvaluationFilters"))
3841
3848
  CreateRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
3849
+ CreateRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
3842
3850
  CreateRuleRequest.struct_class = Types::CreateRuleRequest
3843
3851
 
3844
3852
  CreateRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
@@ -7360,6 +7368,18 @@ module Aws::Connect
7360
7368
 
7361
7369
  PotentialAudioQualityIssues.member = Shapes::ShapeRef.new(shape: PotentialAudioQualityIssue)
7362
7370
 
7371
+ PreEvaluationFilter.add_member(:resource_type, Shapes::ShapeRef.new(shape: PreEvaluationFilterResourceType, required: true, location_name: "ResourceType"))
7372
+ PreEvaluationFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: PreEvaluationFilterType, required: true, location_name: "FilterType"))
7373
+ PreEvaluationFilter.add_member(:filter_key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FilterKey"))
7374
+ PreEvaluationFilter.add_member(:filter_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FilterValue"))
7375
+ PreEvaluationFilter.add_member(:operator, Shapes::ShapeRef.new(shape: PreEvaluationFilterOperator, required: true, location_name: "Operator"))
7376
+ PreEvaluationFilter.struct_class = Types::PreEvaluationFilter
7377
+
7378
+ PreEvaluationFilterList.member = Shapes::ShapeRef.new(shape: PreEvaluationFilter)
7379
+
7380
+ PreEvaluationFilters.add_member(:and_conditions, Shapes::ShapeRef.new(shape: PreEvaluationFilterList, location_name: "AndConditions"))
7381
+ PreEvaluationFilters.struct_class = Types::PreEvaluationFilters
7382
+
7363
7383
  PredefinedAttribute.add_member(:name, Shapes::ShapeRef.new(shape: PredefinedAttributeName, location_name: "Name"))
7364
7384
  PredefinedAttribute.add_member(:values, Shapes::ShapeRef.new(shape: PredefinedAttributeValues, location_name: "Values"))
7365
7385
  PredefinedAttribute.add_member(:purposes, Shapes::ShapeRef.new(shape: PredefinedAttributePurposeNameList, location_name: "Purposes"))
@@ -8003,6 +8023,7 @@ module Aws::Connect
8003
8023
  Rule.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
8004
8024
  Rule.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
8005
8025
  Rule.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
8026
+ Rule.add_member(:pre_evaluation_filters, Shapes::ShapeRef.new(shape: PreEvaluationFilters, location_name: "PreEvaluationFilters"))
8006
8027
  Rule.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
8007
8028
  Rule.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
8008
8029
  Rule.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "LastUpdatedBy"))
@@ -8043,6 +8064,7 @@ module Aws::Connect
8043
8064
  RuleSearchSummary.add_member(:action_summaries, Shapes::ShapeRef.new(shape: ActionSummaries, required: true, location_name: "ActionSummaries"))
8044
8065
  RuleSearchSummary.add_member(:rule_capability_tiers, Shapes::ShapeRef.new(shape: RuleCapabilityTiers, location_name: "RuleCapabilityTiers"))
8045
8066
  RuleSearchSummary.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
8067
+ RuleSearchSummary.add_member(:pre_evaluation_filters, Shapes::ShapeRef.new(shape: PreEvaluationFilters, location_name: "PreEvaluationFilters"))
8046
8068
  RuleSearchSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
8047
8069
  RuleSearchSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
8048
8070
  RuleSearchSummary.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "LastUpdatedBy"))
@@ -9641,6 +9663,7 @@ module Aws::Connect
9641
9663
  UpdateRuleRequest.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
9642
9664
  UpdateRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
9643
9665
  UpdateRuleRequest.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
9666
+ UpdateRuleRequest.add_member(:pre_evaluation_filters, Shapes::ShapeRef.new(shape: PreEvaluationFilters, location_name: "PreEvaluationFilters"))
9644
9667
  UpdateRuleRequest.struct_class = Types::UpdateRuleRequest
9645
9668
 
9646
9669
  UpdateSecurityProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
@@ -7582,6 +7582,14 @@ module Aws::Connect
7582
7582
  # The publish status of the rule.
7583
7583
  # @return [String]
7584
7584
  #
7585
+ # @!attribute [rw] pre_evaluation_filters
7586
+ # The pre-evaluation filters for the rule, that restrict the rule to
7587
+ # be applied to only certain resources based on the resource's
7588
+ # attributes, such as tags assigned to a contact. The pre-evaluation
7589
+ # filters are applied even before rule conditions are evaluated and
7590
+ # are used to enforce tag-based-access-control while applying rules.
7591
+ # @return [Types::PreEvaluationFilters]
7592
+ #
7585
7593
  # @!attribute [rw] client_token
7586
7594
  # A unique, case-sensitive identifier that you provide to ensure the
7587
7595
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -7596,6 +7604,12 @@ module Aws::Connect
7596
7604
  # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
7597
7605
  # @return [String]
7598
7606
  #
7607
+ # @!attribute [rw] tags
7608
+ # The tags used to organize, track, or control access for this
7609
+ # resource. For example, \{ "Tags": \{"key1":"value1",
7610
+ # "key2":"value2"} }.
7611
+ # @return [Hash<String,String>]
7612
+ #
7599
7613
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRuleRequest AWS API Documentation
7600
7614
  #
7601
7615
  class CreateRuleRequest < Struct.new(
@@ -7605,7 +7619,9 @@ module Aws::Connect
7605
7619
  :function,
7606
7620
  :actions,
7607
7621
  :publish_status,
7608
- :client_token)
7622
+ :pre_evaluation_filters,
7623
+ :client_token,
7624
+ :tags)
7609
7625
  SENSITIVE = []
7610
7626
  include Aws::Structure
7611
7627
  end
@@ -27534,6 +27550,64 @@ module Aws::Connect
27534
27550
  include Aws::Structure
27535
27551
  end
27536
27552
 
27553
+ # A single pre-evaluation filter condition. Specifies a resource type,
27554
+ # filter type, key, value, and operator to match against a resource
27555
+ # attribute.
27556
+ #
27557
+ # @!attribute [rw] resource_type
27558
+ # The type of resource to filter on. Valid values: `CONTACT`.
27559
+ # @return [String]
27560
+ #
27561
+ # @!attribute [rw] filter_type
27562
+ # The type of filter to apply. Valid values: `TAG`.
27563
+ # @return [String]
27564
+ #
27565
+ # @!attribute [rw] filter_key
27566
+ # The key of the attribute to filter on. For tag filters, this is the
27567
+ # tag key.
27568
+ # @return [String]
27569
+ #
27570
+ # @!attribute [rw] filter_value
27571
+ # The value to match against. For tag filters, this is the tag value.
27572
+ # @return [String]
27573
+ #
27574
+ # @!attribute [rw] operator
27575
+ # The comparison operator for the filter condition. Valid values:
27576
+ # `EQUALS`.
27577
+ # @return [String]
27578
+ #
27579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PreEvaluationFilter AWS API Documentation
27580
+ #
27581
+ class PreEvaluationFilter < Struct.new(
27582
+ :resource_type,
27583
+ :filter_type,
27584
+ :filter_key,
27585
+ :filter_value,
27586
+ :operator)
27587
+ SENSITIVE = []
27588
+ include Aws::Structure
27589
+ end
27590
+
27591
+ # The pre-evaluation filters for a rule, that restrict a rule to be
27592
+ # applied to only certain resources based on the resource's attributes,
27593
+ # such as tags assigned to a contact. The pre-evaluation filters are
27594
+ # applied even before rule conditions are evaluated and are used to
27595
+ # enforce tag-based-access-control while applying rules.
27596
+ #
27597
+ # @!attribute [rw] and_conditions
27598
+ # A list of conditions that the rule evaluates together using AND
27599
+ # logic. All conditions must be met for the event to be evaluated by
27600
+ # the rule.
27601
+ # @return [Array<Types::PreEvaluationFilter>]
27602
+ #
27603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PreEvaluationFilters AWS API Documentation
27604
+ #
27605
+ class PreEvaluationFilters < Struct.new(
27606
+ :and_conditions)
27607
+ SENSITIVE = []
27608
+ include Aws::Structure
27609
+ end
27610
+
27537
27611
  # Information about a predefined attribute.
27538
27612
  #
27539
27613
  # @!attribute [rw] name
@@ -30367,6 +30441,14 @@ module Aws::Connect
30367
30441
  # The publish status of the rule.
30368
30442
  # @return [String]
30369
30443
  #
30444
+ # @!attribute [rw] pre_evaluation_filters
30445
+ # The pre-evaluation filters for the rule, that restrict the rule to
30446
+ # be applied to only certain resources based on the resource's
30447
+ # attributes, such as tags assigned to a contact. The pre-evaluation
30448
+ # filters are applied even before rule conditions are evaluated and
30449
+ # are used to enforce tag-based-access-control while applying rules.
30450
+ # @return [Types::PreEvaluationFilters]
30451
+ #
30370
30452
  # @!attribute [rw] created_time
30371
30453
  # The timestamp for when the rule was created.
30372
30454
  # @return [Time]
@@ -30397,6 +30479,7 @@ module Aws::Connect
30397
30479
  :function,
30398
30480
  :actions,
30399
30481
  :publish_status,
30482
+ :pre_evaluation_filters,
30400
30483
  :created_time,
30401
30484
  :last_updated_time,
30402
30485
  :last_updated_by,
@@ -30581,6 +30664,14 @@ module Aws::Connect
30581
30664
  # The publish status of the rule.
30582
30665
  # @return [String]
30583
30666
  #
30667
+ # @!attribute [rw] pre_evaluation_filters
30668
+ # The pre-evaluation filters for the rule, that restrict the rule to
30669
+ # be applied to only certain resources based on the resource's
30670
+ # attributes, such as tags assigned to a contact. The pre-evaluation
30671
+ # filters are applied even before rule conditions are evaluated and
30672
+ # are used to enforce tag-based-access-control while applying rules.
30673
+ # @return [Types::PreEvaluationFilters]
30674
+ #
30584
30675
  # @!attribute [rw] created_time
30585
30676
  # The timestamp for when the rule was created.
30586
30677
  # @return [Time]
@@ -30610,6 +30701,7 @@ module Aws::Connect
30610
30701
  :action_summaries,
30611
30702
  :rule_capability_tiers,
30612
30703
  :publish_status,
30704
+ :pre_evaluation_filters,
30613
30705
  :created_time,
30614
30706
  :last_updated_time,
30615
30707
  :last_updated_by,
@@ -39019,6 +39111,14 @@ module Aws::Connect
39019
39111
  # The publish status of the rule.
39020
39112
  # @return [String]
39021
39113
  #
39114
+ # @!attribute [rw] pre_evaluation_filters
39115
+ # The pre-evaluation filters for the rule, that restrict the rule to
39116
+ # be applied to only certain resources based on the resource's
39117
+ # attributes, such as tags assigned to a contact. The pre-evaluation
39118
+ # filters are applied even before rule conditions are evaluated and
39119
+ # are used to enforce tag-based-access-control while applying rules.
39120
+ # @return [Types::PreEvaluationFilters]
39121
+ #
39022
39122
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRuleRequest AWS API Documentation
39023
39123
  #
39024
39124
  class UpdateRuleRequest < Struct.new(
@@ -39027,7 +39127,8 @@ module Aws::Connect
39027
39127
  :name,
39028
39128
  :function,
39029
39129
  :actions,
39030
- :publish_status)
39130
+ :publish_status,
39131
+ :pre_evaluation_filters)
39031
39132
  SENSITIVE = []
39032
39133
  include Aws::Structure
39033
39134
  end
@@ -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.274.0'
57
+ GEM_VERSION = '1.275.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1095,7 +1095,9 @@ module Aws
1095
1095
  Params::rule_action
1096
1096
  ],
1097
1097
  publish_status: ("DRAFT" | "PUBLISHED"),
1098
- ?client_token: ::String
1098
+ ?pre_evaluation_filters: Params::pre_evaluation_filters,
1099
+ ?client_token: ::String,
1100
+ ?tags: Hash[::String, ::String]
1099
1101
  ) -> _CreateRuleResponseSuccess
1100
1102
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
1101
1103
 
@@ -5835,7 +5837,8 @@ module Aws
5835
5837
  actions: Array[
5836
5838
  Params::rule_action
5837
5839
  ],
5838
- publish_status: ("DRAFT" | "PUBLISHED")
5840
+ publish_status: ("DRAFT" | "PUBLISHED"),
5841
+ ?pre_evaluation_filters: Params::pre_evaluation_filters
5839
5842
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5840
5843
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5841
5844
 
data/sig/params.rbs CHANGED
@@ -537,6 +537,18 @@ module Aws
537
537
  }
538
538
  }
539
539
 
540
+ type pre_evaluation_filters = {
541
+ and_conditions: Array[
542
+ {
543
+ resource_type: ("CONTACT"),
544
+ filter_type: ("TAG"),
545
+ filter_key: ::String,
546
+ filter_value: ::String,
547
+ operator: ("EQUALS")
548
+ }
549
+ ]?
550
+ }
551
+
540
552
  type data_table_access_control_configuration = {
541
553
  primary_attribute_access_control_configuration: {
542
554
  primary_attribute_values: Array[
data/sig/types.rbs CHANGED
@@ -1784,7 +1784,9 @@ module Aws::Connect
1784
1784
  attr_accessor function: ::String
1785
1785
  attr_accessor actions: ::Array[Types::RuleAction]
1786
1786
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
1787
+ attr_accessor pre_evaluation_filters: Types::PreEvaluationFilters
1787
1788
  attr_accessor client_token: ::String
1789
+ attr_accessor tags: ::Hash[::String, ::String]
1788
1790
  SENSITIVE: []
1789
1791
  end
1790
1792
 
@@ -6343,6 +6345,20 @@ module Aws::Connect
6343
6345
  SENSITIVE: []
6344
6346
  end
6345
6347
 
6348
+ class PreEvaluationFilter
6349
+ attr_accessor resource_type: ("CONTACT")
6350
+ attr_accessor filter_type: ("TAG")
6351
+ attr_accessor filter_key: ::String
6352
+ attr_accessor filter_value: ::String
6353
+ attr_accessor operator: ("EQUALS")
6354
+ SENSITIVE: []
6355
+ end
6356
+
6357
+ class PreEvaluationFilters
6358
+ attr_accessor and_conditions: ::Array[Types::PreEvaluationFilter]
6359
+ SENSITIVE: []
6360
+ end
6361
+
6346
6362
  class PredefinedAttribute
6347
6363
  attr_accessor name: ::String
6348
6364
  attr_accessor values: Types::PredefinedAttributeValues
@@ -7079,6 +7095,7 @@ module Aws::Connect
7079
7095
  attr_accessor function: ::String
7080
7096
  attr_accessor actions: ::Array[Types::RuleAction]
7081
7097
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
7098
+ attr_accessor pre_evaluation_filters: Types::PreEvaluationFilters
7082
7099
  attr_accessor created_time: ::Time
7083
7100
  attr_accessor last_updated_time: ::Time
7084
7101
  attr_accessor last_updated_by: ::String
@@ -7121,6 +7138,7 @@ module Aws::Connect
7121
7138
  attr_accessor action_summaries: ::Array[Types::ActionSummary]
7122
7139
  attr_accessor rule_capability_tiers: ::Array[("GenerativeAI")]
7123
7140
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
7141
+ attr_accessor pre_evaluation_filters: Types::PreEvaluationFilters
7124
7142
  attr_accessor created_time: ::Time
7125
7143
  attr_accessor last_updated_time: ::Time
7126
7144
  attr_accessor last_updated_by: ::String
@@ -9129,6 +9147,7 @@ module Aws::Connect
9129
9147
  attr_accessor function: ::String
9130
9148
  attr_accessor actions: ::Array[Types::RuleAction]
9131
9149
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
9150
+ attr_accessor pre_evaluation_filters: Types::PreEvaluationFilters
9132
9151
  SENSITIVE: []
9133
9152
  end
9134
9153
 
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.274.0
4
+ version: 1.275.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services