aws-sdk-connect 1.273.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: d6def0c025a8df96803c126a375249fe0f0cf2c2345791864cfac1ba4679de4c
4
- data.tar.gz: 8cc8e19fcc0b0d2d4fb2960d3e3dd4b85e11d78c359daa31577344c303447ef5
3
+ metadata.gz: 8ea2ddefb29fc73631631d6d83e3424560b51714c1f7ad3e24ab1c8034fdf053
4
+ data.tar.gz: f1676bf67985b35ff0b806e6de69021e489a37e374c7d0cbcbe1746c2507b791
5
5
  SHA512:
6
- metadata.gz: b68a1efade1ba7f754666eeea6c2a7d4116be761bd3fecf5683fa94165c3f5bf6283c0e3fe2eb0d8a13847050681e190fda9b7951713bb4902feae8b1767a126
7
- data.tar.gz: c12a03cf4e6a1262cc95739950b8346724f6d54b5d862bd5182e9dbbe046bb89f383d08930d2c5d337470c466d954377872ac053421016fda941e8795317583d
6
+ metadata.gz: eb9ec276d78d1671689a0b926052120a8e6564a49fd732ce9096133afc8cbb157d3e263a3df758a211ad8d00ae116682b99b973251e63094423ff7f364b96991
7
+ data.tar.gz: 9c031025cc901ad0b46e495d034c96935466eb215b20f9c8e8de7891f2807f731f39bcff1aa52f1f38b882ad74f7a77ec090d17922f19660d4582a94f9c39fa1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.274.0 (2026-08-31)
10
+ ------------------
11
+
12
+ * Feature - Added support for global routing on Amazon Connect Global Resiliency instances. New APIs GetCrossRegionRouting and UpdateCrossRegionRouting allow you to view and control cross-region contact routing between linked instances, so both Regions are active at all times.
13
+
4
14
  1.273.0 (2026-08-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.273.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
@@ -5677,7 +5703,7 @@ module Aws::Connect
5677
5703
  # resp = client.create_traffic_distribution_group({
5678
5704
  # name: "Name128", # required
5679
5705
  # description: "Description250",
5680
- # instance_id: "InstanceIdOrArn", # required
5706
+ # instance_id: "ACGRInstanceIdOrArn", # required
5681
5707
  # client_token: "ClientToken",
5682
5708
  # tags: {
5683
5709
  # "TagKey" => "TagValue",
@@ -8151,6 +8177,7 @@ module Aws::Connect
8151
8177
  # resp.contact.agent_info.state_transitions[0].state_start_timestamp #=> Time
8152
8178
  # resp.contact.agent_info.state_transitions[0].state_end_timestamp #=> Time
8153
8179
  # resp.contact.agent_info.voice_enhancement_mode #=> String, one of "VOICE_ISOLATION", "NOISE_SUPPRESSION", "NONE"
8180
+ # resp.contact.agent_info.active_region #=> String
8154
8181
  # resp.contact.initiation_timestamp #=> Time
8155
8182
  # resp.contact.disconnect_timestamp #=> Time
8156
8183
  # resp.contact.last_update_timestamp #=> Time
@@ -9895,6 +9922,12 @@ module Aws::Connect
9895
9922
  # resp.rule.actions[0].extract_information_action.rules_extraction_definitions #=> Array
9896
9923
  # resp.rule.actions[0].extract_information_action.rules_extraction_definitions[0].identifier #=> String
9897
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"
9898
9931
  # resp.rule.created_time #=> Time
9899
9932
  # resp.rule.last_updated_time #=> Time
9900
9933
  # resp.rule.last_updated_by #=> String
@@ -11723,6 +11756,48 @@ module Aws::Connect
11723
11756
  req.send_request(options)
11724
11757
  end
11725
11758
 
11759
+ # Retrieves the current cross-region routing configuration for an Amazon
11760
+ # Connect Global Resiliency instance enabled for global routing. This
11761
+ # operation returns whether cross-region routing is currently enabled or
11762
+ # disabled (isolated) for the instance.
11763
+ #
11764
+ # <note markdown="1"> This operation is available only for Amazon Connect Global Resiliency
11765
+ # instances enabled for global routing.
11766
+ #
11767
+ # </note>
11768
+ #
11769
+ # @option params [required, String] :instance_id
11770
+ # The identifier of the Connect Customer instance. You can [find the
11771
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
11772
+ #
11773
+ #
11774
+ #
11775
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
11776
+ #
11777
+ # @return [Types::GetCrossRegionRoutingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11778
+ #
11779
+ # * {Types::GetCrossRegionRoutingResponse#isolated_regions #isolated_regions} => Array&lt;String&gt;
11780
+ #
11781
+ # @example Request syntax with placeholder values
11782
+ #
11783
+ # resp = client.get_cross_region_routing({
11784
+ # instance_id: "ACGRInstanceIdOrArn", # required
11785
+ # })
11786
+ #
11787
+ # @example Response structure
11788
+ #
11789
+ # resp.isolated_regions #=> Array
11790
+ # resp.isolated_regions[0] #=> String
11791
+ #
11792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCrossRegionRouting AWS API Documentation
11793
+ #
11794
+ # @overload get_cross_region_routing(params = {})
11795
+ # @param [Hash] params ({})
11796
+ def get_cross_region_routing(params = {}, options = {})
11797
+ req = build_request(:get_cross_region_routing, params)
11798
+ req.send_request(options)
11799
+ end
11800
+
11726
11801
  # Gets the real-time metric data from the specified Connect Customer
11727
11802
  # instance.
11728
11803
  #
@@ -19349,7 +19424,7 @@ module Aws::Connect
19349
19424
  # resp = client.list_traffic_distribution_groups({
19350
19425
  # max_results: 1,
19351
19426
  # next_token: "NextToken",
19352
- # instance_id: "InstanceIdOrArn",
19427
+ # instance_id: "ACGRInstanceIdOrArn",
19353
19428
  # })
19354
19429
  #
19355
19430
  # @example Response structure
@@ -20168,7 +20243,7 @@ module Aws::Connect
20168
20243
  # @example Request syntax with placeholder values
20169
20244
  #
20170
20245
  # resp = client.replicate_instance({
20171
- # instance_id: "InstanceIdOrArn", # required
20246
+ # instance_id: "ACGRInstanceIdOrArn", # required
20172
20247
  # replica_region: "AwsRegion", # required
20173
20248
  # client_token: "ClientToken",
20174
20249
  # replica_alias: "DirectoryAlias", # required
@@ -22815,6 +22890,12 @@ module Aws::Connect
22815
22890
  # resp.rules[0].rule_capability_tiers #=> Array
22816
22891
  # resp.rules[0].rule_capability_tiers[0] #=> String, one of "GenerativeAI"
22817
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"
22818
22899
  # resp.rules[0].created_time #=> Time
22819
22900
  # resp.rules[0].last_updated_time #=> Time
22820
22901
  # resp.rules[0].last_updated_by #=> String
@@ -27789,6 +27870,49 @@ module Aws::Connect
27789
27870
  req.send_request(options)
27790
27871
  end
27791
27872
 
27873
+ # Updates the cross-region routing configuration for an Amazon Connect
27874
+ # Global Resiliency instance enabled for global routing. When invoked
27875
+ # with `IsolatedAll` set to `true`, this operation disables cross-region
27876
+ # routing, meaning contacts originating in one Region will no longer be
27877
+ # routed to agents in another Region.
27878
+ #
27879
+ # <note markdown="1"> This operation is available only for Amazon Connect Global Resiliency
27880
+ # instances enabled for global routing. Reporting and contact search
27881
+ # continue to operate globally after you use this operation.
27882
+ #
27883
+ # </note>
27884
+ #
27885
+ # @option params [required, String] :instance_id
27886
+ # The identifier of the Connect Customer instance. You can [find the
27887
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
27888
+ #
27889
+ #
27890
+ #
27891
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
27892
+ #
27893
+ # @option params [required, Boolean] :isolated_all
27894
+ # Set to `true` to disable cross-region routing for all Regions
27895
+ # associated with this instance. Set to `false` to re-enable
27896
+ # cross-region routing.
27897
+ #
27898
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
27899
+ #
27900
+ # @example Request syntax with placeholder values
27901
+ #
27902
+ # resp = client.update_cross_region_routing({
27903
+ # instance_id: "ACGRInstanceIdOrArn", # required
27904
+ # isolated_all: false, # required
27905
+ # })
27906
+ #
27907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateCrossRegionRouting AWS API Documentation
27908
+ #
27909
+ # @overload update_cross_region_routing(params = {})
27910
+ # @param [Hash] params ({})
27911
+ def update_cross_region_routing(params = {}, options = {})
27912
+ req = build_request(:update_cross_region_routing, params)
27913
+ req.send_request(options)
27914
+ end
27915
+
27792
27916
  # Updates all properties for an attribute using all properties from
27793
27917
  # CreateDataTableAttribute. There are no other granular update
27794
27918
  # endpoints. It does not act as a patch operation - all properties must
@@ -29864,6 +29988,13 @@ module Aws::Connect
29864
29988
  # @option params [required, String] :publish_status
29865
29989
  # The publish status of the rule.
29866
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
+ #
29867
29998
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
29868
29999
  #
29869
30000
  # @example Request syntax with placeholder values
@@ -29975,6 +30106,17 @@ module Aws::Connect
29975
30106
  # },
29976
30107
  # ],
29977
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
+ # },
29978
30120
  # })
29979
30121
  #
29980
30122
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRule AWS API Documentation
@@ -31294,7 +31436,7 @@ module Aws::Connect
31294
31436
  tracer: tracer
31295
31437
  )
31296
31438
  context[:gem_name] = 'aws-sdk-connect'
31297
- context[:gem_version] = '1.273.0'
31439
+ context[:gem_version] = '1.275.0'
31298
31440
  Seahorse::Client::Request.new(handlers, context)
31299
31441
  end
31300
31442
 
@@ -14,6 +14,10 @@ module Aws::Connect
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ ACGRInstanceArn = Shapes::StringShape.new(name: 'ACGRInstanceArn')
18
+ ACGRInstanceIdOrArn = Shapes::StringShape.new(name: 'ACGRInstanceIdOrArn')
19
+ ACGRTrafficDistributionGroupArn = Shapes::StringShape.new(name: 'ACGRTrafficDistributionGroupArn')
20
+ ACGRTrafficDistributionGroupId = Shapes::StringShape.new(name: 'ACGRTrafficDistributionGroupId')
17
21
  ARN = Shapes::StringShape.new(name: 'ARN')
18
22
  AWSAccountId = Shapes::StringShape.new(name: 'AWSAccountId')
19
23
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
@@ -985,6 +989,8 @@ module Aws::Connect
985
989
  GetContactAttributesResponse = Shapes::StructureShape.new(name: 'GetContactAttributesResponse')
986
990
  GetContactMetricsRequest = Shapes::StructureShape.new(name: 'GetContactMetricsRequest')
987
991
  GetContactMetricsResponse = Shapes::StructureShape.new(name: 'GetContactMetricsResponse')
992
+ GetCrossRegionRoutingRequest = Shapes::StructureShape.new(name: 'GetCrossRegionRoutingRequest')
993
+ GetCrossRegionRoutingResponse = Shapes::StructureShape.new(name: 'GetCrossRegionRoutingResponse')
988
994
  GetCurrentMetricDataRequest = Shapes::StructureShape.new(name: 'GetCurrentMetricDataRequest')
989
995
  GetCurrentMetricDataResponse = Shapes::StructureShape.new(name: 'GetCurrentMetricDataResponse')
990
996
  GetCurrentUserDataRequest = Shapes::StructureShape.new(name: 'GetCurrentUserDataRequest')
@@ -1090,7 +1096,6 @@ module Aws::Connect
1090
1096
  InputData = Shapes::StringShape.new(name: 'InputData')
1091
1097
  InputPredefinedAttributeConfiguration = Shapes::StructureShape.new(name: 'InputPredefinedAttributeConfiguration')
1092
1098
  Instance = Shapes::StructureShape.new(name: 'Instance')
1093
- InstanceArn = Shapes::StringShape.new(name: 'InstanceArn')
1094
1099
  InstanceAttributeType = Shapes::StringShape.new(name: 'InstanceAttributeType')
1095
1100
  InstanceAttributeValue = Shapes::StringShape.new(name: 'InstanceAttributeValue')
1096
1101
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
@@ -1125,6 +1130,7 @@ module Aws::Connect
1125
1130
  IpCidr = Shapes::StringShape.new(name: 'IpCidr')
1126
1131
  IpCidrList = Shapes::ListShape.new(name: 'IpCidrList')
1127
1132
  IsReadOnly = Shapes::BooleanShape.new(name: 'IsReadOnly')
1133
+ IsolatedRegionsList = Shapes::ListShape.new(name: 'IsolatedRegionsList')
1128
1134
  IvrRecordingTrack = Shapes::StringShape.new(name: 'IvrRecordingTrack')
1129
1135
  JoinToken = Shapes::StringShape.new(name: 'JoinToken')
1130
1136
  KeyId = Shapes::StringShape.new(name: 'KeyId')
@@ -1507,6 +1513,12 @@ module Aws::Connect
1507
1513
  PotentialAudioQualityIssue = Shapes::StringShape.new(name: 'PotentialAudioQualityIssue')
1508
1514
  PotentialAudioQualityIssues = Shapes::ListShape.new(name: 'PotentialAudioQualityIssues')
1509
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')
1510
1522
  PreSignedAttachmentUrl = Shapes::StringShape.new(name: 'PreSignedAttachmentUrl')
1511
1523
  PredefinedAttribute = Shapes::StructureShape.new(name: 'PredefinedAttribute')
1512
1524
  PredefinedAttributeConfiguration = Shapes::StructureShape.new(name: 'PredefinedAttributeConfiguration')
@@ -2073,7 +2085,6 @@ module Aws::Connect
2073
2085
  TotalPauseCount = Shapes::IntegerShape.new(name: 'TotalPauseCount')
2074
2086
  TotalPauseDurationInSeconds = Shapes::IntegerShape.new(name: 'TotalPauseDurationInSeconds')
2075
2087
  TrafficDistributionGroup = Shapes::StructureShape.new(name: 'TrafficDistributionGroup')
2076
- TrafficDistributionGroupArn = Shapes::StringShape.new(name: 'TrafficDistributionGroupArn')
2077
2088
  TrafficDistributionGroupId = Shapes::StringShape.new(name: 'TrafficDistributionGroupId')
2078
2089
  TrafficDistributionGroupIdOrArn = Shapes::StringShape.new(name: 'TrafficDistributionGroupIdOrArn')
2079
2090
  TrafficDistributionGroupStatus = Shapes::StringShape.new(name: 'TrafficDistributionGroupStatus')
@@ -2125,6 +2136,8 @@ module Aws::Connect
2125
2136
  UpdateContactScheduleResponse = Shapes::StructureShape.new(name: 'UpdateContactScheduleResponse')
2126
2137
  UpdateContactTaskTemplateRequest = Shapes::StructureShape.new(name: 'UpdateContactTaskTemplateRequest')
2127
2138
  UpdateContactTaskTemplateResponse = Shapes::StructureShape.new(name: 'UpdateContactTaskTemplateResponse')
2139
+ UpdateCrossRegionRoutingRequest = Shapes::StructureShape.new(name: 'UpdateCrossRegionRoutingRequest')
2140
+ UpdateCrossRegionRoutingResponse = Shapes::StructureShape.new(name: 'UpdateCrossRegionRoutingResponse')
2128
2141
  UpdateDataTableAttributeRequest = Shapes::StructureShape.new(name: 'UpdateDataTableAttributeRequest')
2129
2142
  UpdateDataTableAttributeResponse = Shapes::StructureShape.new(name: 'UpdateDataTableAttributeResponse')
2130
2143
  UpdateDataTableMetadataRequest = Shapes::StructureShape.new(name: 'UpdateDataTableMetadataRequest')
@@ -2420,6 +2433,7 @@ module Aws::Connect
2420
2433
  AgentInfo.add_member(:agent_initiated_hold_duration, Shapes::ShapeRef.new(shape: Duration, location_name: "AgentInitiatedHoldDuration"))
2421
2434
  AgentInfo.add_member(:state_transitions, Shapes::ShapeRef.new(shape: StateTransitions, location_name: "StateTransitions"))
2422
2435
  AgentInfo.add_member(:voice_enhancement_mode, Shapes::ShapeRef.new(shape: VoiceEnhancementMode, location_name: "VoiceEnhancementMode"))
2436
+ AgentInfo.add_member(:active_region, Shapes::ShapeRef.new(shape: ActiveRegion, location_name: "ActiveRegion"))
2423
2437
  AgentInfo.struct_class = Types::AgentInfo
2424
2438
 
2425
2439
  AgentQualityMetrics.add_member(:audio, Shapes::ShapeRef.new(shape: AudioQualityMetricsInfo, location_name: "Audio"))
@@ -3830,7 +3844,9 @@ module Aws::Connect
3830
3844
  CreateRuleRequest.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
3831
3845
  CreateRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
3832
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"))
3833
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"))
3834
3850
  CreateRuleRequest.struct_class = Types::CreateRuleRequest
3835
3851
 
3836
3852
  CreateRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
@@ -3890,13 +3906,13 @@ module Aws::Connect
3890
3906
 
3891
3907
  CreateTrafficDistributionGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name128, required: true, location_name: "Name"))
3892
3908
  CreateTrafficDistributionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description250, location_name: "Description"))
3893
- CreateTrafficDistributionGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, required: true, location_name: "InstanceId"))
3909
+ CreateTrafficDistributionGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ACGRInstanceIdOrArn, required: true, location_name: "InstanceId"))
3894
3910
  CreateTrafficDistributionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
3895
3911
  CreateTrafficDistributionGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
3896
3912
  CreateTrafficDistributionGroupRequest.struct_class = Types::CreateTrafficDistributionGroupRequest
3897
3913
 
3898
- CreateTrafficDistributionGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
3899
- CreateTrafficDistributionGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
3914
+ CreateTrafficDistributionGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupId, location_name: "Id"))
3915
+ CreateTrafficDistributionGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupArn, location_name: "Arn"))
3900
3916
  CreateTrafficDistributionGroupResponse.struct_class = Types::CreateTrafficDistributionGroupResponse
3901
3917
 
3902
3918
  CreateUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -5662,6 +5678,12 @@ module Aws::Connect
5662
5678
  GetContactMetricsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
5663
5679
  GetContactMetricsResponse.struct_class = Types::GetContactMetricsResponse
5664
5680
 
5681
+ GetCrossRegionRoutingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ACGRInstanceIdOrArn, required: true, location: "uri", location_name: "InstanceId"))
5682
+ GetCrossRegionRoutingRequest.struct_class = Types::GetCrossRegionRoutingRequest
5683
+
5684
+ GetCrossRegionRoutingResponse.add_member(:isolated_regions, Shapes::ShapeRef.new(shape: IsolatedRegionsList, location_name: "IsolatedRegions"))
5685
+ GetCrossRegionRoutingResponse.struct_class = Types::GetCrossRegionRoutingResponse
5686
+
5665
5687
  GetCurrentMetricDataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
5666
5688
  GetCurrentMetricDataRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, required: true, location_name: "Filters"))
5667
5689
  GetCurrentMetricDataRequest.add_member(:groupings, Shapes::ShapeRef.new(shape: Groupings, location_name: "Groupings"))
@@ -5805,8 +5827,8 @@ module Aws::Connect
5805
5827
  GetTrafficDistributionRequest.struct_class = Types::GetTrafficDistributionRequest
5806
5828
 
5807
5829
  GetTrafficDistributionResponse.add_member(:telephony_config, Shapes::ShapeRef.new(shape: TelephonyConfig, location_name: "TelephonyConfig"))
5808
- GetTrafficDistributionResponse.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
5809
- GetTrafficDistributionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
5830
+ GetTrafficDistributionResponse.add_member(:id, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupId, location_name: "Id"))
5831
+ GetTrafficDistributionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupArn, location_name: "Arn"))
5810
5832
  GetTrafficDistributionResponse.add_member(:sign_in_config, Shapes::ShapeRef.new(shape: SignInConfig, location_name: "SignInConfig"))
5811
5833
  GetTrafficDistributionResponse.add_member(:agent_config, Shapes::ShapeRef.new(shape: AgentConfig, location_name: "AgentConfig"))
5812
5834
  GetTrafficDistributionResponse.struct_class = Types::GetTrafficDistributionResponse
@@ -6134,6 +6156,8 @@ module Aws::Connect
6134
6156
 
6135
6157
  IpCidrList.member = Shapes::ShapeRef.new(shape: IpCidr)
6136
6158
 
6159
+ IsolatedRegionsList.member = Shapes::ShapeRef.new(shape: AwsRegion)
6160
+
6137
6161
  KinesisFirehoseConfig.add_member(:firehose_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "FirehoseArn"))
6138
6162
  KinesisFirehoseConfig.struct_class = Types::KinesisFirehoseConfig
6139
6163
 
@@ -6790,7 +6814,7 @@ module Aws::Connect
6790
6814
  ListTestCasesResponse.struct_class = Types::ListTestCasesResponse
6791
6815
 
6792
6816
  ListTrafficDistributionGroupUsersRequest.add_member(:traffic_distribution_group_id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "TrafficDistributionGroupId"))
6793
- ListTrafficDistributionGroupUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
6817
+ ListTrafficDistributionGroupUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
6794
6818
  ListTrafficDistributionGroupUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
6795
6819
  ListTrafficDistributionGroupUsersRequest.struct_class = Types::ListTrafficDistributionGroupUsersRequest
6796
6820
 
@@ -6800,7 +6824,7 @@ module Aws::Connect
6800
6824
 
6801
6825
  ListTrafficDistributionGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults"))
6802
6826
  ListTrafficDistributionGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
6803
- ListTrafficDistributionGroupsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, location: "querystring", location_name: "instanceId"))
6827
+ ListTrafficDistributionGroupsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ACGRInstanceIdOrArn, location: "querystring", location_name: "instanceId"))
6804
6828
  ListTrafficDistributionGroupsRequest.struct_class = Types::ListTrafficDistributionGroupsRequest
6805
6829
 
6806
6830
  ListTrafficDistributionGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -7344,6 +7368,18 @@ module Aws::Connect
7344
7368
 
7345
7369
  PotentialAudioQualityIssues.member = Shapes::ShapeRef.new(shape: PotentialAudioQualityIssue)
7346
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
+
7347
7383
  PredefinedAttribute.add_member(:name, Shapes::ShapeRef.new(shape: PredefinedAttributeName, location_name: "Name"))
7348
7384
  PredefinedAttribute.add_member(:values, Shapes::ShapeRef.new(shape: PredefinedAttributeValues, location_name: "Values"))
7349
7385
  PredefinedAttribute.add_member(:purposes, Shapes::ShapeRef.new(shape: PredefinedAttributePurposeNameList, location_name: "Purposes"))
@@ -7817,7 +7853,7 @@ module Aws::Connect
7817
7853
  ReleasePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
7818
7854
  ReleasePhoneNumberRequest.struct_class = Types::ReleasePhoneNumberRequest
7819
7855
 
7820
- ReplicateInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, required: true, location: "uri", location_name: "InstanceId"))
7856
+ ReplicateInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ACGRInstanceIdOrArn, required: true, location: "uri", location_name: "InstanceId"))
7821
7857
  ReplicateInstanceRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "ReplicaRegion"))
7822
7858
  ReplicateInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
7823
7859
  ReplicateInstanceRequest.add_member(:replica_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, required: true, location_name: "ReplicaAlias"))
@@ -7987,6 +8023,7 @@ module Aws::Connect
7987
8023
  Rule.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
7988
8024
  Rule.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
7989
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"))
7990
8027
  Rule.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
7991
8028
  Rule.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
7992
8029
  Rule.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "LastUpdatedBy"))
@@ -8027,6 +8064,7 @@ module Aws::Connect
8027
8064
  RuleSearchSummary.add_member(:action_summaries, Shapes::ShapeRef.new(shape: ActionSummaries, required: true, location_name: "ActionSummaries"))
8028
8065
  RuleSearchSummary.add_member(:rule_capability_tiers, Shapes::ShapeRef.new(shape: RuleCapabilityTiers, location_name: "RuleCapabilityTiers"))
8029
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"))
8030
8068
  RuleSearchSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
8031
8069
  RuleSearchSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
8032
8070
  RuleSearchSummary.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "LastUpdatedBy"))
@@ -9155,20 +9193,20 @@ module Aws::Connect
9155
9193
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
9156
9194
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
9157
9195
 
9158
- TrafficDistributionGroup.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
9159
- TrafficDistributionGroup.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
9196
+ TrafficDistributionGroup.add_member(:id, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupId, location_name: "Id"))
9197
+ TrafficDistributionGroup.add_member(:arn, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupArn, location_name: "Arn"))
9160
9198
  TrafficDistributionGroup.add_member(:name, Shapes::ShapeRef.new(shape: Name128, location_name: "Name"))
9161
9199
  TrafficDistributionGroup.add_member(:description, Shapes::ShapeRef.new(shape: Description250, location_name: "Description"))
9162
- TrafficDistributionGroup.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
9200
+ TrafficDistributionGroup.add_member(:instance_arn, Shapes::ShapeRef.new(shape: ACGRInstanceArn, location_name: "InstanceArn"))
9163
9201
  TrafficDistributionGroup.add_member(:status, Shapes::ShapeRef.new(shape: TrafficDistributionGroupStatus, location_name: "Status"))
9164
9202
  TrafficDistributionGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
9165
9203
  TrafficDistributionGroup.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
9166
9204
  TrafficDistributionGroup.struct_class = Types::TrafficDistributionGroup
9167
9205
 
9168
- TrafficDistributionGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
9169
- TrafficDistributionGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
9206
+ TrafficDistributionGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupId, location_name: "Id"))
9207
+ TrafficDistributionGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupArn, location_name: "Arn"))
9170
9208
  TrafficDistributionGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name128, location_name: "Name"))
9171
- TrafficDistributionGroupSummary.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
9209
+ TrafficDistributionGroupSummary.add_member(:instance_arn, Shapes::ShapeRef.new(shape: ACGRInstanceArn, location_name: "InstanceArn"))
9172
9210
  TrafficDistributionGroupSummary.add_member(:status, Shapes::ShapeRef.new(shape: TrafficDistributionGroupStatus, location_name: "Status"))
9173
9211
  TrafficDistributionGroupSummary.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
9174
9212
  TrafficDistributionGroupSummary.struct_class = Types::TrafficDistributionGroupSummary
@@ -9356,6 +9394,12 @@ module Aws::Connect
9356
9394
 
9357
9395
  UpdateContactTaskTemplateResponse.struct_class = Types::UpdateContactTaskTemplateResponse
9358
9396
 
9397
+ UpdateCrossRegionRoutingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ACGRInstanceIdOrArn, required: true, location: "uri", location_name: "InstanceId"))
9398
+ UpdateCrossRegionRoutingRequest.add_member(:isolated_all, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "IsolatedAll"))
9399
+ UpdateCrossRegionRoutingRequest.struct_class = Types::UpdateCrossRegionRoutingRequest
9400
+
9401
+ UpdateCrossRegionRoutingResponse.struct_class = Types::UpdateCrossRegionRoutingResponse
9402
+
9359
9403
  UpdateDataTableAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
9360
9404
  UpdateDataTableAttributeRequest.add_member(:data_table_id, Shapes::ShapeRef.new(shape: DataTableId, required: true, location: "uri", location_name: "DataTableId"))
9361
9405
  UpdateDataTableAttributeRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: DataTableName, required: true, location: "uri", location_name: "AttributeName"))
@@ -9619,6 +9663,7 @@ module Aws::Connect
9619
9663
  UpdateRuleRequest.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
9620
9664
  UpdateRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
9621
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"))
9622
9667
  UpdateRuleRequest.struct_class = Types::UpdateRuleRequest
9623
9668
 
9624
9669
  UpdateSecurityProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
@@ -12657,6 +12702,19 @@ module Aws::Connect
12657
12702
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12658
12703
  end)
12659
12704
 
12705
+ api.add_operation(:get_cross_region_routing, Seahorse::Model::Operation.new.tap do |o|
12706
+ o.name = "GetCrossRegionRouting"
12707
+ o.http_method = "GET"
12708
+ o.http_request_uri = "/cross-region-routing/{InstanceId}"
12709
+ o.input = Shapes::ShapeRef.new(shape: GetCrossRegionRoutingRequest)
12710
+ o.output = Shapes::ShapeRef.new(shape: GetCrossRegionRoutingResponse)
12711
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
12712
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
12713
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
12714
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12715
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
12716
+ end)
12717
+
12660
12718
  api.add_operation(:get_current_metric_data, Seahorse::Model::Operation.new.tap do |o|
12661
12719
  o.name = "GetCurrentMetricData"
12662
12720
  o.http_method = "POST"
@@ -15440,6 +15498,20 @@ module Aws::Connect
15440
15498
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
15441
15499
  end)
15442
15500
 
15501
+ api.add_operation(:update_cross_region_routing, Seahorse::Model::Operation.new.tap do |o|
15502
+ o.name = "UpdateCrossRegionRouting"
15503
+ o.http_method = "PUT"
15504
+ o.http_request_uri = "/cross-region-routing/{InstanceId}"
15505
+ o.input = Shapes::ShapeRef.new(shape: UpdateCrossRegionRoutingRequest)
15506
+ o.output = Shapes::ShapeRef.new(shape: UpdateCrossRegionRoutingResponse)
15507
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
15508
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
15509
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
15510
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
15511
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
15512
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
15513
+ end)
15514
+
15443
15515
  api.add_operation(:update_data_table_attribute, Seahorse::Model::Operation.new.tap do |o|
15444
15516
  o.name = "UpdateDataTableAttribute"
15445
15517
  o.http_method = "POST"
@@ -367,6 +367,13 @@ module Aws::Connect
367
367
  # user.
368
368
  # @return [String]
369
369
  #
370
+ # @!attribute [rw] active_region
371
+ # The Region where the agent was active when they handled the contact.
372
+ # For Amazon Connect Global Resiliency instances enabled for global
373
+ # routing, this indicates the Region in which the agent's session was
374
+ # established at the time of the contact.
375
+ # @return [String]
376
+ #
370
377
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AgentInfo AWS API Documentation
371
378
  #
372
379
  class AgentInfo < Struct.new(
@@ -383,7 +390,8 @@ module Aws::Connect
383
390
  :after_contact_work_end_timestamp,
384
391
  :agent_initiated_hold_duration,
385
392
  :state_transitions,
386
- :voice_enhancement_mode)
393
+ :voice_enhancement_mode,
394
+ :active_region)
387
395
  SENSITIVE = []
388
396
  include Aws::Structure
389
397
  end
@@ -7574,6 +7582,14 @@ module Aws::Connect
7574
7582
  # The publish status of the rule.
7575
7583
  # @return [String]
7576
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
+ #
7577
7593
  # @!attribute [rw] client_token
7578
7594
  # A unique, case-sensitive identifier that you provide to ensure the
7579
7595
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -7588,6 +7604,12 @@ module Aws::Connect
7588
7604
  # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
7589
7605
  # @return [String]
7590
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
+ #
7591
7613
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRuleRequest AWS API Documentation
7592
7614
  #
7593
7615
  class CreateRuleRequest < Struct.new(
@@ -7597,7 +7619,9 @@ module Aws::Connect
7597
7619
  :function,
7598
7620
  :actions,
7599
7621
  :publish_status,
7600
- :client_token)
7622
+ :pre_evaluation_filters,
7623
+ :client_token,
7624
+ :tags)
7601
7625
  SENSITIVE = []
7602
7626
  include Aws::Structure
7603
7627
  end
@@ -16214,6 +16238,39 @@ module Aws::Connect
16214
16238
  include Aws::Structure
16215
16239
  end
16216
16240
 
16241
+ # @!attribute [rw] instance_id
16242
+ # The identifier of the Connect Customer instance. You can [find the
16243
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
16244
+ #
16245
+ #
16246
+ #
16247
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
16248
+ # @return [String]
16249
+ #
16250
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCrossRegionRoutingRequest AWS API Documentation
16251
+ #
16252
+ class GetCrossRegionRoutingRequest < Struct.new(
16253
+ :instance_id)
16254
+ SENSITIVE = []
16255
+ include Aws::Structure
16256
+ end
16257
+
16258
+ # @!attribute [rw] isolated_regions
16259
+ # The list of Regions for which cross-region routing is currently
16260
+ # disabled (isolated). When a Region appears in this list, contacts
16261
+ # originating in that Region will not be routed to agents in other
16262
+ # Regions, and agents in that Region will not receive contacts from
16263
+ # other Regions.
16264
+ # @return [Array<String>]
16265
+ #
16266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCrossRegionRoutingResponse AWS API Documentation
16267
+ #
16268
+ class GetCrossRegionRoutingResponse < Struct.new(
16269
+ :isolated_regions)
16270
+ SENSITIVE = []
16271
+ include Aws::Structure
16272
+ end
16273
+
16217
16274
  # @!attribute [rw] instance_id
16218
16275
  # The identifier of the Connect Customer instance. You can [find the
16219
16276
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -27493,6 +27550,64 @@ module Aws::Connect
27493
27550
  include Aws::Structure
27494
27551
  end
27495
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
+
27496
27611
  # Information about a predefined attribute.
27497
27612
  #
27498
27613
  # @!attribute [rw] name
@@ -30326,6 +30441,14 @@ module Aws::Connect
30326
30441
  # The publish status of the rule.
30327
30442
  # @return [String]
30328
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
+ #
30329
30452
  # @!attribute [rw] created_time
30330
30453
  # The timestamp for when the rule was created.
30331
30454
  # @return [Time]
@@ -30356,6 +30479,7 @@ module Aws::Connect
30356
30479
  :function,
30357
30480
  :actions,
30358
30481
  :publish_status,
30482
+ :pre_evaluation_filters,
30359
30483
  :created_time,
30360
30484
  :last_updated_time,
30361
30485
  :last_updated_by,
@@ -30540,6 +30664,14 @@ module Aws::Connect
30540
30664
  # The publish status of the rule.
30541
30665
  # @return [String]
30542
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
+ #
30543
30675
  # @!attribute [rw] created_time
30544
30676
  # The timestamp for when the rule was created.
30545
30677
  # @return [Time]
@@ -30569,6 +30701,7 @@ module Aws::Connect
30569
30701
  :action_summaries,
30570
30702
  :rule_capability_tiers,
30571
30703
  :publish_status,
30704
+ :pre_evaluation_filters,
30572
30705
  :created_time,
30573
30706
  :last_updated_time,
30574
30707
  :last_updated_by,
@@ -36490,7 +36623,7 @@ module Aws::Connect
36490
36623
  # @return [String]
36491
36624
  #
36492
36625
  # @!attribute [rw] instance_arn
36493
- # The Amazon Resource Name (ARN) of the traffic distribution group.
36626
+ # The Amazon Resource Name (ARN) of the instance.
36494
36627
  # @return [String]
36495
36628
  #
36496
36629
  # @!attribute [rw] status
@@ -37508,6 +37641,34 @@ module Aws::Connect
37508
37641
  #
37509
37642
  class UpdateContactTaskTemplateResponse < Aws::EmptyStructure; end
37510
37643
 
37644
+ # @!attribute [rw] instance_id
37645
+ # The identifier of the Connect Customer instance. You can [find the
37646
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
37647
+ #
37648
+ #
37649
+ #
37650
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
37651
+ # @return [String]
37652
+ #
37653
+ # @!attribute [rw] isolated_all
37654
+ # Set to `true` to disable cross-region routing for all Regions
37655
+ # associated with this instance. Set to `false` to re-enable
37656
+ # cross-region routing.
37657
+ # @return [Boolean]
37658
+ #
37659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateCrossRegionRoutingRequest AWS API Documentation
37660
+ #
37661
+ class UpdateCrossRegionRoutingRequest < Struct.new(
37662
+ :instance_id,
37663
+ :isolated_all)
37664
+ SENSITIVE = []
37665
+ include Aws::Structure
37666
+ end
37667
+
37668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateCrossRegionRoutingResponse AWS API Documentation
37669
+ #
37670
+ class UpdateCrossRegionRoutingResponse < Aws::EmptyStructure; end
37671
+
37511
37672
  # @!attribute [rw] instance_id
37512
37673
  # The unique identifier for the Amazon Connect instance.
37513
37674
  # @return [String]
@@ -38950,6 +39111,14 @@ module Aws::Connect
38950
39111
  # The publish status of the rule.
38951
39112
  # @return [String]
38952
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
+ #
38953
39122
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRuleRequest AWS API Documentation
38954
39123
  #
38955
39124
  class UpdateRuleRequest < Struct.new(
@@ -38958,7 +39127,8 @@ module Aws::Connect
38958
39127
  :name,
38959
39128
  :function,
38960
39129
  :actions,
38961
- :publish_status)
39130
+ :publish_status,
39131
+ :pre_evaluation_filters)
38962
39132
  SENSITIVE = []
38963
39133
  include Aws::Structure
38964
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.273.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
 
@@ -2427,6 +2429,16 @@ module Aws
2427
2429
  ) -> _GetContactMetricsResponseSuccess
2428
2430
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContactMetricsResponseSuccess
2429
2431
 
2432
+ interface _GetCrossRegionRoutingResponseSuccess
2433
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCrossRegionRoutingResponse]
2434
+ def isolated_regions: () -> ::Array[::String]
2435
+ end
2436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#get_cross_region_routing-instance_method
2437
+ def get_cross_region_routing: (
2438
+ instance_id: ::String
2439
+ ) -> _GetCrossRegionRoutingResponseSuccess
2440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCrossRegionRoutingResponseSuccess
2441
+
2430
2442
  interface _GetCurrentMetricDataResponseSuccess
2431
2443
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCurrentMetricDataResponse]
2432
2444
  def next_token: () -> ::String
@@ -5378,6 +5390,16 @@ module Aws
5378
5390
  ) -> _UpdateContactTaskTemplateResponseSuccess
5379
5391
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContactTaskTemplateResponseSuccess
5380
5392
 
5393
+ interface _UpdateCrossRegionRoutingResponseSuccess
5394
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCrossRegionRoutingResponse]
5395
+ end
5396
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#update_cross_region_routing-instance_method
5397
+ def update_cross_region_routing: (
5398
+ instance_id: ::String,
5399
+ isolated_all: bool
5400
+ ) -> _UpdateCrossRegionRoutingResponseSuccess
5401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCrossRegionRoutingResponseSuccess
5402
+
5381
5403
  interface _UpdateDataTableAttributeResponseSuccess
5382
5404
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataTableAttributeResponse]
5383
5405
  def name: () -> ::String
@@ -5815,7 +5837,8 @@ module Aws
5815
5837
  actions: Array[
5816
5838
  Params::rule_action
5817
5839
  ],
5818
- publish_status: ("DRAFT" | "PUBLISHED")
5840
+ publish_status: ("DRAFT" | "PUBLISHED"),
5841
+ ?pre_evaluation_filters: Params::pre_evaluation_filters
5819
5842
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5820
5843
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5821
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
@@ -100,6 +100,7 @@ module Aws::Connect
100
100
  attr_accessor agent_initiated_hold_duration: ::Integer
101
101
  attr_accessor state_transitions: ::Array[Types::StateTransition]
102
102
  attr_accessor voice_enhancement_mode: ("VOICE_ISOLATION" | "NOISE_SUPPRESSION" | "NONE")
103
+ attr_accessor active_region: ::String
103
104
  SENSITIVE: []
104
105
  end
105
106
 
@@ -1783,7 +1784,9 @@ module Aws::Connect
1783
1784
  attr_accessor function: ::String
1784
1785
  attr_accessor actions: ::Array[Types::RuleAction]
1785
1786
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
1787
+ attr_accessor pre_evaluation_filters: Types::PreEvaluationFilters
1786
1788
  attr_accessor client_token: ::String
1789
+ attr_accessor tags: ::Hash[::String, ::String]
1787
1790
  SENSITIVE: []
1788
1791
  end
1789
1792
 
@@ -4163,6 +4166,16 @@ module Aws::Connect
4163
4166
  SENSITIVE: []
4164
4167
  end
4165
4168
 
4169
+ class GetCrossRegionRoutingRequest
4170
+ attr_accessor instance_id: ::String
4171
+ SENSITIVE: []
4172
+ end
4173
+
4174
+ class GetCrossRegionRoutingResponse
4175
+ attr_accessor isolated_regions: ::Array[::String]
4176
+ SENSITIVE: []
4177
+ end
4178
+
4166
4179
  class GetCurrentMetricDataRequest
4167
4180
  attr_accessor instance_id: ::String
4168
4181
  attr_accessor filters: Types::Filters
@@ -6332,6 +6345,20 @@ module Aws::Connect
6332
6345
  SENSITIVE: []
6333
6346
  end
6334
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
+
6335
6362
  class PredefinedAttribute
6336
6363
  attr_accessor name: ::String
6337
6364
  attr_accessor values: Types::PredefinedAttributeValues
@@ -7068,6 +7095,7 @@ module Aws::Connect
7068
7095
  attr_accessor function: ::String
7069
7096
  attr_accessor actions: ::Array[Types::RuleAction]
7070
7097
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
7098
+ attr_accessor pre_evaluation_filters: Types::PreEvaluationFilters
7071
7099
  attr_accessor created_time: ::Time
7072
7100
  attr_accessor last_updated_time: ::Time
7073
7101
  attr_accessor last_updated_by: ::String
@@ -7110,6 +7138,7 @@ module Aws::Connect
7110
7138
  attr_accessor action_summaries: ::Array[Types::ActionSummary]
7111
7139
  attr_accessor rule_capability_tiers: ::Array[("GenerativeAI")]
7112
7140
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
7141
+ attr_accessor pre_evaluation_filters: Types::PreEvaluationFilters
7113
7142
  attr_accessor created_time: ::Time
7114
7143
  attr_accessor last_updated_time: ::Time
7115
7144
  attr_accessor last_updated_by: ::String
@@ -8756,6 +8785,15 @@ module Aws::Connect
8756
8785
  class UpdateContactTaskTemplateResponse < Aws::EmptyStructure
8757
8786
  end
8758
8787
 
8788
+ class UpdateCrossRegionRoutingRequest
8789
+ attr_accessor instance_id: ::String
8790
+ attr_accessor isolated_all: bool
8791
+ SENSITIVE: []
8792
+ end
8793
+
8794
+ class UpdateCrossRegionRoutingResponse < Aws::EmptyStructure
8795
+ end
8796
+
8759
8797
  class UpdateDataTableAttributeRequest
8760
8798
  attr_accessor instance_id: ::String
8761
8799
  attr_accessor data_table_id: ::String
@@ -9109,6 +9147,7 @@ module Aws::Connect
9109
9147
  attr_accessor function: ::String
9110
9148
  attr_accessor actions: ::Array[Types::RuleAction]
9111
9149
  attr_accessor publish_status: ("DRAFT" | "PUBLISHED")
9150
+ attr_accessor pre_evaluation_filters: Types::PreEvaluationFilters
9112
9151
  SENSITIVE: []
9113
9152
  end
9114
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.273.0
4
+ version: 1.275.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services