aws-sdk-connect 1.288.0 → 1.289.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: b09ddeca77d427be1ec15f7e72bd163ddd6c6312a418889deb64756487875f72
4
- data.tar.gz: d6536bd0f20a4e3873732fea073d9e7c0efc6cd1def03f4b60d54567b0bc9307
3
+ metadata.gz: a1b5addbb76be7632d79223b84be1709b9c7990fd1cffcbfbd27958c6d2269ea
4
+ data.tar.gz: b7e488787a0e67e7766d4b7d5680b69e92f72d7574118927bac4d30ff20c6d9b
5
5
  SHA512:
6
- metadata.gz: 0efe376e6f7747491899c112fdf9e9e824494fc59aba0112dceb2e04d5373f55e951cfd53d1da965b3ebf41eed9eac933f946552286d1efd18cb4bbe60660090
7
- data.tar.gz: 8ee7e4a8b2f0baea24e9895c7d97db3828d506a1194e9b437f5bff869647d9214124bef8bd435b1672117115dc3f0f22d4d4305e93c5e8c10273a9acc8bc57f2
6
+ metadata.gz: dceb02c5614d48a8d645bee968d0f8e7de55226bdc8dad89606eb115d645cf7a08a990927c93f18f53f0a2aab9122e25f70097a05e960da94e27bf8e8feec247
7
+ data.tar.gz: '0106074569fbb5725ecfe33481a3b97d1296488602f2b3f8887b14864aaadcb9e9e6f596f4ce573cc62941fd02a9736aafde5d7512dee574ce150057dc438c80'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.289.0 (2026-10-22)
5
+ ------------------
6
+
7
+ * Feature - Adds support for customer queryable replication errors.
8
+
4
9
  1.288.0 (2026-10-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.288.0
1
+ 1.289.0
@@ -15656,6 +15656,7 @@ module Aws::Connect
15656
15656
  # * {Types::GetTrafficDistributionResponse#arn #arn} => String
15657
15657
  # * {Types::GetTrafficDistributionResponse#sign_in_config #sign_in_config} => Types::SignInConfig
15658
15658
  # * {Types::GetTrafficDistributionResponse#agent_config #agent_config} => Types::AgentConfig
15659
+ # * {Types::GetTrafficDistributionResponse#last_failover_time #last_failover_time} => Time
15659
15660
  #
15660
15661
  # @example Request syntax with placeholder values
15661
15662
  #
@@ -15676,6 +15677,7 @@ module Aws::Connect
15676
15677
  # resp.agent_config.distributions #=> Array
15677
15678
  # resp.agent_config.distributions[0].region #=> String
15678
15679
  # resp.agent_config.distributions[0].percentage #=> Integer
15680
+ # resp.last_failover_time #=> Time
15679
15681
  #
15680
15682
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetTrafficDistribution AWS API Documentation
15681
15683
  #
@@ -18842,6 +18844,90 @@ module Aws::Connect
18842
18844
  req.send_request(options)
18843
18845
  end
18844
18846
 
18847
+ # Lists replication findings for resources of a specified resource type
18848
+ # in a specified Connect Customer instance. A replication finding
18849
+ # describes a single resource whose replication to one or more Regions
18850
+ # is incomplete or has encountered an error. Results are returned in
18851
+ # pages. This operation is available only for instances that are set up
18852
+ # for Global Resiliency.
18853
+ #
18854
+ # @option params [required, String] :instance_id
18855
+ # The identifier of the Connect Customer instance. You can provide
18856
+ # either the instance ID or the full instance ARN. You can [find the
18857
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
18858
+ #
18859
+ #
18860
+ #
18861
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
18862
+ #
18863
+ # @option params [required, String] :resource_type
18864
+ # The type of resource to list replication findings for. The following
18865
+ # values are currently supported: `AGENT`, `AGENT_GROUP`,
18866
+ # `AGENT_GROUP_LEVEL`, `AGENT_STATE`, `ATTRIBUTE`, `CONTACT_FLOW`,
18867
+ # `DATA_TABLE`, `DATA_TABLE_ATTRIBUTE`, `DATA_TABLE_RECORD`,
18868
+ # `DATA_TABLE_VALUE`, `FLOW_MODULE`, `FLOW_MODULE_ALIAS`,
18869
+ # `FLOW_MODULE_VERSION`, `METRIC`, `NOTIFICATION`, `OPERATING_HOURS`,
18870
+ # `PHONE_NUMBER`, `PROMPT`, `QUEUE`, `REPORT`, `ROUTING_PROFILE`,
18871
+ # `SECURITY_PROFILE`, `TASK_TEMPLATE`, `TEST_CASE`,
18872
+ # `TRANSFER_DESTINATION`, `VIEW`, and `WORKSPACE`. Additional resource
18873
+ # types can be supported over time. Specifying a value that is not
18874
+ # currently supported returns an `InvalidRequestException`.
18875
+ #
18876
+ # @option params [Integer] :max_results
18877
+ # The maximum number of results to return per page.
18878
+ #
18879
+ # @option params [String] :next_token
18880
+ # The token for the next set of results. Use the value returned in the
18881
+ # previous response in the next request to retrieve the next set of
18882
+ # results.
18883
+ #
18884
+ # @return [Types::ListReplicationFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18885
+ #
18886
+ # * {Types::ListReplicationFindingsResponse#replication_findings_list #replication_findings_list} => Array<Types::ReplicationFinding>
18887
+ # * {Types::ListReplicationFindingsResponse#approximate_drifted_resource_counts #approximate_drifted_resource_counts} => Array<Types::ApproximateDriftedResourceCount>
18888
+ # * {Types::ListReplicationFindingsResponse#next_token #next_token} => String
18889
+ # * {Types::ListReplicationFindingsResponse#resource_replication_statuses #resource_replication_statuses} => Array<Types::ResourceReplicationStatus>
18890
+ #
18891
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
18892
+ #
18893
+ # @example Request syntax with placeholder values
18894
+ #
18895
+ # resp = client.list_replication_findings({
18896
+ # instance_id: "InstanceIdOrArn", # required
18897
+ # resource_type: "ReplicationFindingResourceType", # required
18898
+ # max_results: 1,
18899
+ # next_token: "LargeNextToken",
18900
+ # })
18901
+ #
18902
+ # @example Response structure
18903
+ #
18904
+ # resp.replication_findings_list #=> Array
18905
+ # resp.replication_findings_list[0].arn #=> String
18906
+ # resp.replication_findings_list[0].id #=> String
18907
+ # resp.replication_findings_list[0].region #=> String
18908
+ # resp.replication_findings_list[0].resource_type #=> String
18909
+ # resp.replication_findings_list[0].name #=> String
18910
+ # resp.replication_findings_list[0].operation #=> String
18911
+ # resp.replication_findings_list[0].reference_code #=> String
18912
+ # resp.replication_findings_list[0].message #=> String
18913
+ # resp.approximate_drifted_resource_counts #=> Array
18914
+ # resp.approximate_drifted_resource_counts[0].region #=> String
18915
+ # resp.approximate_drifted_resource_counts[0].count #=> Integer
18916
+ # resp.approximate_drifted_resource_counts[0].timestamp #=> Time
18917
+ # resp.next_token #=> String
18918
+ # resp.resource_replication_statuses #=> Array
18919
+ # resp.resource_replication_statuses[0].region #=> String
18920
+ # resp.resource_replication_statuses[0].status #=> String
18921
+ #
18922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListReplicationFindings AWS API Documentation
18923
+ #
18924
+ # @overload list_replication_findings(params = {})
18925
+ # @param [Hash] params ({})
18926
+ def list_replication_findings(params = {}, options = {})
18927
+ req = build_request(:list_replication_findings, params)
18928
+ req.send_request(options)
18929
+ end
18930
+
18845
18931
  # Lists the manual assignment queues associated with a routing profile.
18846
18932
  #
18847
18933
  # **Use cases**
@@ -32030,7 +32116,7 @@ module Aws::Connect
32030
32116
  tracer: tracer
32031
32117
  )
32032
32118
  context[:gem_name] = 'aws-sdk-connect'
32033
- context[:gem_version] = '1.288.0'
32119
+ context[:gem_version] = '1.289.0'
32034
32120
  Seahorse::Client::Request.new(handlers, context)
32035
32121
  end
32036
32122
 
@@ -109,6 +109,8 @@ module Aws::Connect
109
109
  ApplicationPermissions = Shapes::ListShape.new(name: 'ApplicationPermissions')
110
110
  ApplicationType = Shapes::StringShape.new(name: 'ApplicationType')
111
111
  Applications = Shapes::ListShape.new(name: 'Applications')
112
+ ApproximateDriftedResourceCount = Shapes::StructureShape.new(name: 'ApproximateDriftedResourceCount')
113
+ ApproximateDriftedResourceCounts = Shapes::ListShape.new(name: 'ApproximateDriftedResourceCounts')
112
114
  ApproximateTotalCount = Shapes::IntegerShape.new(name: 'ApproximateTotalCount')
113
115
  ArtifactId = Shapes::StringShape.new(name: 'ArtifactId')
114
116
  ArtifactStatus = Shapes::StringShape.new(name: 'ArtifactStatus')
@@ -1275,6 +1277,8 @@ module Aws::Connect
1275
1277
  ListQuickConnectsResponse = Shapes::StructureShape.new(name: 'ListQuickConnectsResponse')
1276
1278
  ListRealtimeContactAnalysisSegmentsV2Request = Shapes::StructureShape.new(name: 'ListRealtimeContactAnalysisSegmentsV2Request')
1277
1279
  ListRealtimeContactAnalysisSegmentsV2Response = Shapes::StructureShape.new(name: 'ListRealtimeContactAnalysisSegmentsV2Response')
1280
+ ListReplicationFindingsRequest = Shapes::StructureShape.new(name: 'ListReplicationFindingsRequest')
1281
+ ListReplicationFindingsResponse = Shapes::StructureShape.new(name: 'ListReplicationFindingsResponse')
1278
1282
  ListRoutingProfileManualAssignmentQueuesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfileManualAssignmentQueuesRequest')
1279
1283
  ListRoutingProfileManualAssignmentQueuesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfileManualAssignmentQueuesResponse')
1280
1284
  ListRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesRequest')
@@ -1734,6 +1738,13 @@ module Aws::Connect
1734
1738
  ReplicateInstanceRequest = Shapes::StructureShape.new(name: 'ReplicateInstanceRequest')
1735
1739
  ReplicateInstanceResponse = Shapes::StructureShape.new(name: 'ReplicateInstanceResponse')
1736
1740
  ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
1741
+ ReplicationFinding = Shapes::StructureShape.new(name: 'ReplicationFinding')
1742
+ ReplicationFindingMessage = Shapes::StringShape.new(name: 'ReplicationFindingMessage')
1743
+ ReplicationFindingOperation = Shapes::StringShape.new(name: 'ReplicationFindingOperation')
1744
+ ReplicationFindingReferenceCode = Shapes::StringShape.new(name: 'ReplicationFindingReferenceCode')
1745
+ ReplicationFindingResourceName = Shapes::StringShape.new(name: 'ReplicationFindingResourceName')
1746
+ ReplicationFindingResourceType = Shapes::StringShape.new(name: 'ReplicationFindingResourceType')
1747
+ ReplicationFindingsList = Shapes::ListShape.new(name: 'ReplicationFindingsList')
1737
1748
  ReplicationStatusReason = Shapes::StringShape.new(name: 'ReplicationStatusReason')
1738
1749
  ReplicationStatusSummary = Shapes::StructureShape.new(name: 'ReplicationStatusSummary')
1739
1750
  ReplicationStatusSummaryList = Shapes::ListShape.new(name: 'ReplicationStatusSummaryList')
@@ -1746,6 +1757,9 @@ module Aws::Connect
1746
1757
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
1747
1758
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
1748
1759
  ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
1760
+ ResourceReplicationStatus = Shapes::StructureShape.new(name: 'ResourceReplicationStatus')
1761
+ ResourceReplicationStatusValue = Shapes::StringShape.new(name: 'ResourceReplicationStatusValue')
1762
+ ResourceReplicationStatuses = Shapes::ListShape.new(name: 'ResourceReplicationStatuses')
1749
1763
  ResourceTagsSearchCriteria = Shapes::StructureShape.new(name: 'ResourceTagsSearchCriteria')
1750
1764
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
1751
1765
  ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
@@ -2623,6 +2637,13 @@ module Aws::Connect
2623
2637
 
2624
2638
  Applications.member = Shapes::ShapeRef.new(shape: Application)
2625
2639
 
2640
+ ApproximateDriftedResourceCount.add_member(:region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "Region"))
2641
+ ApproximateDriftedResourceCount.add_member(:count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, required: true, location_name: "Count"))
2642
+ ApproximateDriftedResourceCount.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
2643
+ ApproximateDriftedResourceCount.struct_class = Types::ApproximateDriftedResourceCount
2644
+
2645
+ ApproximateDriftedResourceCounts.member = Shapes::ShapeRef.new(shape: ApproximateDriftedResourceCount)
2646
+
2626
2647
  AssignContactCategoryActionDefinition.struct_class = Types::AssignContactCategoryActionDefinition
2627
2648
 
2628
2649
  AssignSlaActionDefinition.add_member(:sla_assignment_type, Shapes::ShapeRef.new(shape: SlaAssignmentType, required: true, location_name: "SlaAssignmentType"))
@@ -5968,6 +5989,7 @@ module Aws::Connect
5968
5989
  GetTrafficDistributionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ACGRTrafficDistributionGroupArn, location_name: "Arn"))
5969
5990
  GetTrafficDistributionResponse.add_member(:sign_in_config, Shapes::ShapeRef.new(shape: SignInConfig, location_name: "SignInConfig"))
5970
5991
  GetTrafficDistributionResponse.add_member(:agent_config, Shapes::ShapeRef.new(shape: AgentConfig, location_name: "AgentConfig"))
5992
+ GetTrafficDistributionResponse.add_member(:last_failover_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastFailoverTime"))
5971
5993
  GetTrafficDistributionResponse.struct_class = Types::GetTrafficDistributionResponse
5972
5994
 
5973
5995
  GlobalResiliencyMetadata.add_member(:active_region, Shapes::ShapeRef.new(shape: ActiveRegion, location_name: "ActiveRegion"))
@@ -6820,6 +6842,18 @@ module Aws::Connect
6820
6842
  ListRealtimeContactAnalysisSegmentsV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
6821
6843
  ListRealtimeContactAnalysisSegmentsV2Response.struct_class = Types::ListRealtimeContactAnalysisSegmentsV2Response
6822
6844
 
6845
+ ListReplicationFindingsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, required: true, location: "uri", location_name: "InstanceId"))
6846
+ ListReplicationFindingsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ReplicationFindingResourceType, required: true, location: "querystring", location_name: "resourceType"))
6847
+ ListReplicationFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
6848
+ ListReplicationFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location: "querystring", location_name: "nextToken"))
6849
+ ListReplicationFindingsRequest.struct_class = Types::ListReplicationFindingsRequest
6850
+
6851
+ ListReplicationFindingsResponse.add_member(:replication_findings_list, Shapes::ShapeRef.new(shape: ReplicationFindingsList, required: true, location_name: "ReplicationFindingsList"))
6852
+ ListReplicationFindingsResponse.add_member(:approximate_drifted_resource_counts, Shapes::ShapeRef.new(shape: ApproximateDriftedResourceCounts, location_name: "ApproximateDriftedResourceCounts"))
6853
+ ListReplicationFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
6854
+ ListReplicationFindingsResponse.add_member(:resource_replication_statuses, Shapes::ShapeRef.new(shape: ResourceReplicationStatuses, location_name: "ResourceReplicationStatuses"))
6855
+ ListReplicationFindingsResponse.struct_class = Types::ListReplicationFindingsResponse
6856
+
6823
6857
  ListRoutingProfileManualAssignmentQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
6824
6858
  ListRoutingProfileManualAssignmentQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
6825
6859
  ListRoutingProfileManualAssignmentQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -8040,6 +8074,18 @@ module Aws::Connect
8040
8074
  ReplicationConfiguration.add_member(:global_sign_in_endpoint, Shapes::ShapeRef.new(shape: GlobalSignInEndpoint, location_name: "GlobalSignInEndpoint"))
8041
8075
  ReplicationConfiguration.struct_class = Types::ReplicationConfiguration
8042
8076
 
8077
+ ReplicationFinding.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "Arn"))
8078
+ ReplicationFinding.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id"))
8079
+ ReplicationFinding.add_member(:region, Shapes::ShapeRef.new(shape: AwsRegion, location_name: "Region"))
8080
+ ReplicationFinding.add_member(:resource_type, Shapes::ShapeRef.new(shape: ReplicationFindingResourceType, required: true, location_name: "ResourceType"))
8081
+ ReplicationFinding.add_member(:name, Shapes::ShapeRef.new(shape: ReplicationFindingResourceName, location_name: "Name"))
8082
+ ReplicationFinding.add_member(:operation, Shapes::ShapeRef.new(shape: ReplicationFindingOperation, location_name: "Operation"))
8083
+ ReplicationFinding.add_member(:reference_code, Shapes::ShapeRef.new(shape: ReplicationFindingReferenceCode, location_name: "ReferenceCode"))
8084
+ ReplicationFinding.add_member(:message, Shapes::ShapeRef.new(shape: ReplicationFindingMessage, location_name: "Message"))
8085
+ ReplicationFinding.struct_class = Types::ReplicationFinding
8086
+
8087
+ ReplicationFindingsList.member = Shapes::ShapeRef.new(shape: ReplicationFinding)
8088
+
8043
8089
  ReplicationStatusSummary.add_member(:region, Shapes::ShapeRef.new(shape: AwsRegion, location_name: "Region"))
8044
8090
  ReplicationStatusSummary.add_member(:replication_status, Shapes::ShapeRef.new(shape: InstanceReplicationStatus, location_name: "ReplicationStatus"))
8045
8091
  ReplicationStatusSummary.add_member(:replication_status_reason, Shapes::ShapeRef.new(shape: ReplicationStatusReason, location_name: "ReplicationStatusReason"))
@@ -8066,6 +8112,12 @@ module Aws::Connect
8066
8112
  ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
8067
8113
  ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
8068
8114
 
8115
+ ResourceReplicationStatus.add_member(:region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "Region"))
8116
+ ResourceReplicationStatus.add_member(:status, Shapes::ShapeRef.new(shape: ResourceReplicationStatusValue, required: true, location_name: "Status"))
8117
+ ResourceReplicationStatus.struct_class = Types::ResourceReplicationStatus
8118
+
8119
+ ResourceReplicationStatuses.member = Shapes::ShapeRef.new(shape: ResourceReplicationStatus)
8120
+
8069
8121
  ResourceTagsSearchCriteria.add_member(:tag_search_condition, Shapes::ShapeRef.new(shape: TagSearchCondition, location_name: "TagSearchCondition"))
8070
8122
  ResourceTagsSearchCriteria.struct_class = Types::ResourceTagsSearchCriteria
8071
8123
 
@@ -14044,6 +14096,25 @@ module Aws::Connect
14044
14096
  )
14045
14097
  end)
14046
14098
 
14099
+ api.add_operation(:list_replication_findings, Seahorse::Model::Operation.new.tap do |o|
14100
+ o.name = "ListReplicationFindings"
14101
+ o.http_method = "GET"
14102
+ o.http_request_uri = "/replication-findings/{InstanceId}"
14103
+ o.input = Shapes::ShapeRef.new(shape: ListReplicationFindingsRequest)
14104
+ o.output = Shapes::ShapeRef.new(shape: ListReplicationFindingsResponse)
14105
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
14106
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
14107
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
14108
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
14109
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
14110
+ o[:pager] = Aws::Pager.new(
14111
+ limit_key: "max_results",
14112
+ tokens: {
14113
+ "next_token" => "next_token"
14114
+ }
14115
+ )
14116
+ end)
14117
+
14047
14118
  api.add_operation(:list_routing_profile_manual_assignment_queues, Seahorse::Model::Operation.new.tap do |o|
14048
14119
  o.name = "ListRoutingProfileManualAssignmentQueues"
14049
14120
  o.http_method = "GET"
@@ -932,6 +932,34 @@ module Aws::Connect
932
932
  include Aws::Structure
933
933
  end
934
934
 
935
+ # Contains an approximate count of the resources of a given type that
936
+ # are not yet in sync in a Region, along with the time the count was
937
+ # last calculated.
938
+ #
939
+ # @!attribute [rw] region
940
+ # The Amazon Web Services Region that the count applies to.
941
+ # @return [String]
942
+ #
943
+ # @!attribute [rw] count
944
+ # The approximate number of resources of the requested type that are
945
+ # not yet in sync in the Region. A value of zero means the resources
946
+ # are in sync.
947
+ # @return [Integer]
948
+ #
949
+ # @!attribute [rw] timestamp
950
+ # The time, in Unix epoch time, when the count was last calculated.
951
+ # @return [Time]
952
+ #
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ApproximateDriftedResourceCount AWS API Documentation
954
+ #
955
+ class ApproximateDriftedResourceCount < Struct.new(
956
+ :region,
957
+ :count,
958
+ :timestamp)
959
+ SENSITIVE = []
960
+ include Aws::Structure
961
+ end
962
+
935
963
  # This action must be set if `TriggerEventSource` is one of the
936
964
  # following values: `OnPostCallAnalysisAvailable` \|
937
965
  # `OnRealTimeCallAnalysisAvailable` \| `OnRealTimeChatAnalysisAvailable`
@@ -20244,6 +20272,13 @@ module Aws::Connect
20244
20272
  # The distribution of agents between the instance and its replica(s).
20245
20273
  # @return [Types::AgentConfig]
20246
20274
  #
20275
+ # @!attribute [rw] last_failover_time
20276
+ # The timestamp of the most recent failover for the traffic
20277
+ # distribution group. This value is updated each time
20278
+ # `UpdateTrafficDistribution` is called to change the traffic
20279
+ # distribution.
20280
+ # @return [Time]
20281
+ #
20247
20282
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetTrafficDistributionResponse AWS API Documentation
20248
20283
  #
20249
20284
  class GetTrafficDistributionResponse < Struct.new(
@@ -20251,7 +20286,8 @@ module Aws::Connect
20251
20286
  :id,
20252
20287
  :arn,
20253
20288
  :sign_in_config,
20254
- :agent_config)
20289
+ :agent_config,
20290
+ :last_failover_time)
20255
20291
  SENSITIVE = []
20256
20292
  include Aws::Structure
20257
20293
  end
@@ -24710,6 +24746,92 @@ module Aws::Connect
24710
24746
  include Aws::Structure
24711
24747
  end
24712
24748
 
24749
+ # @!attribute [rw] instance_id
24750
+ # The identifier of the Connect Customer instance. You can provide
24751
+ # either the instance ID or the full instance ARN. You can [find the
24752
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
24753
+ #
24754
+ #
24755
+ #
24756
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
24757
+ # @return [String]
24758
+ #
24759
+ # @!attribute [rw] resource_type
24760
+ # The type of resource to list replication findings for. The following
24761
+ # values are currently supported: `AGENT`, `AGENT_GROUP`,
24762
+ # `AGENT_GROUP_LEVEL`, `AGENT_STATE`, `ATTRIBUTE`, `CONTACT_FLOW`,
24763
+ # `DATA_TABLE`, `DATA_TABLE_ATTRIBUTE`, `DATA_TABLE_RECORD`,
24764
+ # `DATA_TABLE_VALUE`, `FLOW_MODULE`, `FLOW_MODULE_ALIAS`,
24765
+ # `FLOW_MODULE_VERSION`, `METRIC`, `NOTIFICATION`, `OPERATING_HOURS`,
24766
+ # `PHONE_NUMBER`, `PROMPT`, `QUEUE`, `REPORT`, `ROUTING_PROFILE`,
24767
+ # `SECURITY_PROFILE`, `TASK_TEMPLATE`, `TEST_CASE`,
24768
+ # `TRANSFER_DESTINATION`, `VIEW`, and `WORKSPACE`. Additional resource
24769
+ # types can be supported over time. Specifying a value that is not
24770
+ # currently supported returns an `InvalidRequestException`.
24771
+ # @return [String]
24772
+ #
24773
+ # @!attribute [rw] max_results
24774
+ # The maximum number of results to return per page.
24775
+ # @return [Integer]
24776
+ #
24777
+ # @!attribute [rw] next_token
24778
+ # The token for the next set of results. Use the value returned in the
24779
+ # previous response in the next request to retrieve the next set of
24780
+ # results.
24781
+ # @return [String]
24782
+ #
24783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListReplicationFindingsRequest AWS API Documentation
24784
+ #
24785
+ class ListReplicationFindingsRequest < Struct.new(
24786
+ :instance_id,
24787
+ :resource_type,
24788
+ :max_results,
24789
+ :next_token)
24790
+ SENSITIVE = []
24791
+ include Aws::Structure
24792
+ end
24793
+
24794
+ # @!attribute [rw] replication_findings_list
24795
+ # A list of replication findings for the requested resource type. Only
24796
+ # findings that require your action are returned, so this list can be
24797
+ # empty even when a drift count is nonzero. Results are paginated.
24798
+ # @return [Array<Types::ReplicationFinding>]
24799
+ #
24800
+ # @!attribute [rw] approximate_drifted_resource_counts
24801
+ # The approximate number of resources of the requested type that are
24802
+ # not yet in sync, reported per Amazon Web Services Region. This count
24803
+ # is independent of `ReplicationFindingsList` and can be higher than
24804
+ # the number of findings returned. It is eventually consistent and can
24805
+ # lag the current state of the instance. Each entry is the
24806
+ # `ApproximateDriftedResourceCount` for one Region; a Region appears
24807
+ # only when its count has been computed.
24808
+ # @return [Array<Types::ApproximateDriftedResourceCount>]
24809
+ #
24810
+ # @!attribute [rw] next_token
24811
+ # If there are additional results, this is the token for retrieving
24812
+ # the next page of `ReplicationFindingsList`.
24813
+ # @return [String]
24814
+ #
24815
+ # @!attribute [rw] resource_replication_statuses
24816
+ # The replication status of the requested resource type in each Amazon
24817
+ # Web Services Region across which the Connect Customer instance is
24818
+ # deployed for Global Resiliency, with one entry per Region. This set
24819
+ # describes the overall replication state for the request and is
24820
+ # returned in full on every page of results, so it does not change as
24821
+ # you paginate.
24822
+ # @return [Array<Types::ResourceReplicationStatus>]
24823
+ #
24824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListReplicationFindingsResponse AWS API Documentation
24825
+ #
24826
+ class ListReplicationFindingsResponse < Struct.new(
24827
+ :replication_findings_list,
24828
+ :approximate_drifted_resource_counts,
24829
+ :next_token,
24830
+ :resource_replication_statuses)
24831
+ SENSITIVE = []
24832
+ include Aws::Structure
24833
+ end
24834
+
24713
24835
  # @!attribute [rw] instance_id
24714
24836
  # The identifier of the Connect Customer instance. You can [find the
24715
24837
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -30412,6 +30534,62 @@ module Aws::Connect
30412
30534
  include Aws::Structure
30413
30535
  end
30414
30536
 
30537
+ # Contains information about a resource that could not be replicated
30538
+ # across the Regions of a Global Resiliency deployment, including the
30539
+ # reason and any action required to resolve it.
30540
+ #
30541
+ # @!attribute [rw] arn
30542
+ # The Amazon Resource Name (ARN) of the resource that the finding is
30543
+ # for.
30544
+ # @return [String]
30545
+ #
30546
+ # @!attribute [rw] id
30547
+ # The identifier of the resource that the finding is for.
30548
+ # @return [String]
30549
+ #
30550
+ # @!attribute [rw] region
30551
+ # The Amazon Web Services Region that the finding was detected in.
30552
+ # @return [String]
30553
+ #
30554
+ # @!attribute [rw] resource_type
30555
+ # The type of resource that the finding is for, such as `QUEUE` or
30556
+ # `ROUTING_PROFILE`.
30557
+ # @return [String]
30558
+ #
30559
+ # @!attribute [rw] name
30560
+ # The name of the resource that the finding is for.
30561
+ # @return [String]
30562
+ #
30563
+ # @!attribute [rw] operation
30564
+ # The replication operation that produced the finding, such as a
30565
+ # create, update, or delete of the resource.
30566
+ # @return [String]
30567
+ #
30568
+ # @!attribute [rw] reference_code
30569
+ # A stable code that identifies the class of the finding. Use this
30570
+ # code to look up the recommended steps to resolve the finding.
30571
+ # @return [String]
30572
+ #
30573
+ # @!attribute [rw] message
30574
+ # A human-readable description of the finding and the action, if any,
30575
+ # required to resolve it.
30576
+ # @return [String]
30577
+ #
30578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ReplicationFinding AWS API Documentation
30579
+ #
30580
+ class ReplicationFinding < Struct.new(
30581
+ :arn,
30582
+ :id,
30583
+ :region,
30584
+ :resource_type,
30585
+ :name,
30586
+ :operation,
30587
+ :reference_code,
30588
+ :message)
30589
+ SENSITIVE = []
30590
+ include Aws::Structure
30591
+ end
30592
+
30415
30593
  # Status information about the replication process, where you use the
30416
30594
  # [ReplicateInstance][1] API to create a replica of your Connect
30417
30595
  # Customer instance in another Amazon Web Services Region. For more
@@ -30529,6 +30707,29 @@ module Aws::Connect
30529
30707
  include Aws::Structure
30530
30708
  end
30531
30709
 
30710
+ # Indicates whether a resource type is being replicated and kept in sync
30711
+ # in a specific Amazon Web Services Region of a Global Resiliency
30712
+ # deployment.
30713
+ #
30714
+ # @!attribute [rw] region
30715
+ # The Amazon Web Services Region that the replication status applies
30716
+ # to.
30717
+ # @return [String]
30718
+ #
30719
+ # @!attribute [rw] status
30720
+ # The replication status of the resource type in the Region, such as
30721
+ # `ENABLED`, `BLOCKED`, or `DISABLED`.
30722
+ # @return [String]
30723
+ #
30724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResourceReplicationStatus AWS API Documentation
30725
+ #
30726
+ class ResourceReplicationStatus < Struct.new(
30727
+ :region,
30728
+ :status)
30729
+ SENSITIVE = []
30730
+ include Aws::Structure
30731
+ end
30732
+
30532
30733
  # The search criteria to be used to search tags.
30533
30734
  #
30534
30735
  # @!attribute [rw] tag_search_condition
@@ -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.288.0'
57
+ GEM_VERSION = '1.289.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -2728,6 +2728,7 @@ module Aws
2728
2728
  def arn: () -> ::String
2729
2729
  def sign_in_config: () -> Types::SignInConfig
2730
2730
  def agent_config: () -> Types::AgentConfig
2731
+ def last_failover_time: () -> ::Time
2731
2732
  end
2732
2733
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#get_traffic_distribution-instance_method
2733
2734
  def get_traffic_distribution: (
@@ -3436,6 +3437,22 @@ module Aws
3436
3437
  ) -> _ListRealtimeContactAnalysisSegmentsV2ResponseSuccess
3437
3438
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRealtimeContactAnalysisSegmentsV2ResponseSuccess
3438
3439
 
3440
+ interface _ListReplicationFindingsResponseSuccess
3441
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReplicationFindingsResponse]
3442
+ def replication_findings_list: () -> ::Array[Types::ReplicationFinding]
3443
+ def approximate_drifted_resource_counts: () -> ::Array[Types::ApproximateDriftedResourceCount]
3444
+ def next_token: () -> ::String
3445
+ def resource_replication_statuses: () -> ::Array[Types::ResourceReplicationStatus]
3446
+ end
3447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#list_replication_findings-instance_method
3448
+ def list_replication_findings: (
3449
+ instance_id: ::String,
3450
+ resource_type: ::String,
3451
+ ?max_results: ::Integer,
3452
+ ?next_token: ::String
3453
+ ) -> _ListReplicationFindingsResponseSuccess
3454
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReplicationFindingsResponseSuccess
3455
+
3439
3456
  interface _ListRoutingProfileManualAssignmentQueuesResponseSuccess
3440
3457
  include ::Seahorse::Client::_ResponseSuccess[Types::ListRoutingProfileManualAssignmentQueuesResponse]
3441
3458
  def next_token: () -> ::String
data/sig/types.rbs CHANGED
@@ -247,6 +247,13 @@ module Aws::Connect
247
247
  SENSITIVE: []
248
248
  end
249
249
 
250
+ class ApproximateDriftedResourceCount
251
+ attr_accessor region: ::String
252
+ attr_accessor count: ::Integer
253
+ attr_accessor timestamp: ::Time
254
+ SENSITIVE: []
255
+ end
256
+
250
257
  class AssignContactCategoryActionDefinition < Aws::EmptyStructure
251
258
  end
252
259
 
@@ -4485,6 +4492,7 @@ module Aws::Connect
4485
4492
  attr_accessor arn: ::String
4486
4493
  attr_accessor sign_in_config: Types::SignInConfig
4487
4494
  attr_accessor agent_config: Types::AgentConfig
4495
+ attr_accessor last_failover_time: ::Time
4488
4496
  SENSITIVE: []
4489
4497
  end
4490
4498
 
@@ -5600,6 +5608,22 @@ module Aws::Connect
5600
5608
  SENSITIVE: []
5601
5609
  end
5602
5610
 
5611
+ class ListReplicationFindingsRequest
5612
+ attr_accessor instance_id: ::String
5613
+ attr_accessor resource_type: ::String
5614
+ attr_accessor max_results: ::Integer
5615
+ attr_accessor next_token: ::String
5616
+ SENSITIVE: []
5617
+ end
5618
+
5619
+ class ListReplicationFindingsResponse
5620
+ attr_accessor replication_findings_list: ::Array[Types::ReplicationFinding]
5621
+ attr_accessor approximate_drifted_resource_counts: ::Array[Types::ApproximateDriftedResourceCount]
5622
+ attr_accessor next_token: ::String
5623
+ attr_accessor resource_replication_statuses: ::Array[Types::ResourceReplicationStatus]
5624
+ SENSITIVE: []
5625
+ end
5626
+
5603
5627
  class ListRoutingProfileManualAssignmentQueuesRequest
5604
5628
  attr_accessor instance_id: ::String
5605
5629
  attr_accessor routing_profile_id: ::String
@@ -7082,6 +7106,18 @@ module Aws::Connect
7082
7106
  SENSITIVE: []
7083
7107
  end
7084
7108
 
7109
+ class ReplicationFinding
7110
+ attr_accessor arn: ::String
7111
+ attr_accessor id: ::String
7112
+ attr_accessor region: ::String
7113
+ attr_accessor resource_type: ::String
7114
+ attr_accessor name: ::String
7115
+ attr_accessor operation: ::String
7116
+ attr_accessor reference_code: ::String
7117
+ attr_accessor message: ::String
7118
+ SENSITIVE: []
7119
+ end
7120
+
7085
7121
  class ReplicationStatusSummary
7086
7122
  attr_accessor region: ::String
7087
7123
  attr_accessor replication_status: ("INSTANCE_REPLICATION_COMPLETE" | "INSTANCE_REPLICATION_IN_PROGRESS" | "INSTANCE_REPLICATION_FAILED" | "INSTANCE_REPLICA_DELETING" | "INSTANCE_REPLICATION_DELETION_FAILED" | "RESOURCE_REPLICATION_NOT_STARTED")
@@ -7116,6 +7152,12 @@ module Aws::Connect
7116
7152
  SENSITIVE: []
7117
7153
  end
7118
7154
 
7155
+ class ResourceReplicationStatus
7156
+ attr_accessor region: ::String
7157
+ attr_accessor status: ::String
7158
+ SENSITIVE: []
7159
+ end
7160
+
7119
7161
  class ResourceTagsSearchCriteria
7120
7162
  attr_accessor tag_search_condition: Types::TagSearchCondition
7121
7163
  SENSITIVE: []
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.288.0
4
+ version: 1.289.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services