aws-sdk-customerprofiles 1.110.0 → 1.111.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: '0359ef852f03ba4d5518ce3690a75f1e0b2509287f4a300424946f363c34a270'
4
- data.tar.gz: '009c571af299ddc97d128f319442d010df471fa66457bb01883eb04b76f50b92'
3
+ metadata.gz: 82afbae712e1babd32709942bee8f2dfd81bdd1bdc4801018d650046f2f1d47f
4
+ data.tar.gz: 8ac209e95168f598a04a899f4979688eadc939a3fd2a6e1ca79312f7b7e98f79
5
5
  SHA512:
6
- metadata.gz: 994cff35598c0ac12d14c39c9b9e370f098a10635e8cf9a33ea5e8c47e5cbdf6e1d429ff0d1773e80fc715525568b829275ea99d90cdde24fa0a6c47b95d171a
7
- data.tar.gz: 3ddde07af48ed45d23d3304f6a8cffe4ce16fb02e756ad6cf68a14e1d36ecd039ea4176591b9915df4509b5b2ab70b0812cbdb452ef6731be315e3ad1b89a1b7
6
+ metadata.gz: 0e2315639b2293baf3d363ea37ce33f3f61e3f378b63127e4dcf98053971e768c2f7f3ac1329e936343882338209265bbf63bd8e5cdbea8b1b4f9b022a138855
7
+ data.tar.gz: c9937b4821ca994836babece5c8d7ac57265bf8a3419200d79ed910ddfd7e4d9aae1e69112689648d0c34b1b527c7e32310f47c21b8ce6db9a9838bb94331a24
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.111.0 (2026-12-04)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect Customer Profiles now supports domain replication for Amazon Connect Global Resiliency. Use CreateDomainReplicaDefinition, GetDomainReplicaDefinition, UpdateDomainReplicaDefinition, and ListDomainReplicaDefinitions to replicate a domain's configuration to the paired Region.
8
+
4
9
  1.110.0 (2026-11-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.110.0
1
+ 1.111.0
@@ -1355,6 +1355,75 @@ module Aws::CustomerProfiles
1355
1355
  req.send_request(options)
1356
1356
  end
1357
1357
 
1358
+ # Creates a replica definition for a domain. The replica definition
1359
+ # enables replication of the domain's Customer Profiles configuration
1360
+ # to the specified replica Region.
1361
+ #
1362
+ # This API is available only to Amazon Connect Global Resiliency
1363
+ # customers. To onboard Customer Profiles to Amazon Connect Global
1364
+ # Resiliency, contact AWS Support.
1365
+ #
1366
+ # A domain can have only one replica definition. Replication is
1367
+ # supported between US East (N. Virginia) and US West (Oregon), so the
1368
+ # replica Region is the other Region of this pair. You can create a
1369
+ # replica definition only for a domain that contains no profiles, and
1370
+ # you cannot create one for a domain that was itself created by
1371
+ # replication. After you create a replica definition, you cannot change
1372
+ # its `KmsKey`.
1373
+ #
1374
+ # If the domain is associated with an Amazon Connect instance, it must
1375
+ # be an Amazon Connect Customer instance, and the caller must have
1376
+ # permission to call `connect:DescribeInstanceAttribute` on it.
1377
+ #
1378
+ # @option params [required, String] :domain_name
1379
+ # The unique name of the domain.
1380
+ #
1381
+ # @option params [required, String] :region
1382
+ # The Region to replicate the domain to. If you call this API in US East
1383
+ # (N. Virginia), this must be US West (Oregon), and the other way
1384
+ # around.
1385
+ #
1386
+ # @option params [required, String] :kms_key
1387
+ # The customer managed AWS Key Management Service key ARN in the replica
1388
+ # Region. Customer Profiles uses this key to encrypt the domain's data
1389
+ # in the replica Region. You cannot change this value after the replica
1390
+ # definition is created.
1391
+ #
1392
+ # @option params [String] :dead_letter_queue_url
1393
+ # The URL of the SQS dead letter queue in the replica Region, which is
1394
+ # used for reporting errors associated with ingesting data from third
1395
+ # party applications.
1396
+ #
1397
+ # @return [Types::CreateDomainReplicaDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1398
+ #
1399
+ # * {Types::CreateDomainReplicaDefinitionResponse#domain_replica_definition #domain_replica_definition} => Types::DomainReplicaDefinition
1400
+ #
1401
+ # @example Request syntax with placeholder values
1402
+ #
1403
+ # resp = client.create_domain_replica_definition({
1404
+ # domain_name: "name", # required
1405
+ # region: "awsRegion", # required
1406
+ # kms_key: "encryptionKey", # required
1407
+ # dead_letter_queue_url: "sqsQueueUrl",
1408
+ # })
1409
+ #
1410
+ # @example Response structure
1411
+ #
1412
+ # resp.domain_replica_definition.region #=> String
1413
+ # resp.domain_replica_definition.kms_key #=> String
1414
+ # resp.domain_replica_definition.dead_letter_queue_url #=> String
1415
+ # resp.domain_replica_definition.created_at #=> Time
1416
+ # resp.domain_replica_definition.last_updated_at #=> Time
1417
+ #
1418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateDomainReplicaDefinition AWS API Documentation
1419
+ #
1420
+ # @overload create_domain_replica_definition(params = {})
1421
+ # @param [Hash] params ({})
1422
+ def create_domain_replica_definition(params = {}, options = {})
1423
+ req = build_request(:create_domain_replica_definition, params)
1424
+ req.send_request(options)
1425
+ end
1426
+
1358
1427
  # Creates an event stream, which is a subscription to real-time events,
1359
1428
  # such as when profiles are created and updated through Connect Customer
1360
1429
  # Customer Profiles.
@@ -3766,6 +3835,47 @@ module Aws::CustomerProfiles
3766
3835
  req.send_request(options)
3767
3836
  end
3768
3837
 
3838
+ # Returns the replica definition of a domain for the specified replica
3839
+ # Region.
3840
+ #
3841
+ # This API is available only to Amazon Connect Global Resiliency
3842
+ # customers. To onboard Customer Profiles to Amazon Connect Global
3843
+ # Resiliency, contact AWS Support.
3844
+ #
3845
+ # @option params [required, String] :domain_name
3846
+ # The unique name of the domain.
3847
+ #
3848
+ # @option params [required, String] :region
3849
+ # The replica Region of the definition to return.
3850
+ #
3851
+ # @return [Types::GetDomainReplicaDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3852
+ #
3853
+ # * {Types::GetDomainReplicaDefinitionResponse#domain_replica_definition #domain_replica_definition} => Types::DomainReplicaDefinition
3854
+ #
3855
+ # @example Request syntax with placeholder values
3856
+ #
3857
+ # resp = client.get_domain_replica_definition({
3858
+ # domain_name: "name", # required
3859
+ # region: "awsRegion", # required
3860
+ # })
3861
+ #
3862
+ # @example Response structure
3863
+ #
3864
+ # resp.domain_replica_definition.region #=> String
3865
+ # resp.domain_replica_definition.kms_key #=> String
3866
+ # resp.domain_replica_definition.dead_letter_queue_url #=> String
3867
+ # resp.domain_replica_definition.created_at #=> Time
3868
+ # resp.domain_replica_definition.last_updated_at #=> Time
3869
+ #
3870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomainReplicaDefinition AWS API Documentation
3871
+ #
3872
+ # @overload get_domain_replica_definition(params = {})
3873
+ # @param [Hash] params ({})
3874
+ def get_domain_replica_definition(params = {}, options = {})
3875
+ req = build_request(:get_domain_replica_definition, params)
3876
+ req.send_request(options)
3877
+ end
3878
+
3769
3879
  # Returns information about the specified event stream in a specific
3770
3880
  # domain.
3771
3881
  #
@@ -5723,6 +5833,57 @@ module Aws::CustomerProfiles
5723
5833
  req.send_request(options)
5724
5834
  end
5725
5835
 
5836
+ # Returns the replica definitions of a domain.
5837
+ #
5838
+ # This API is available only to Amazon Connect Global Resiliency
5839
+ # customers. To onboard Customer Profiles to Amazon Connect Global
5840
+ # Resiliency, contact AWS Support.
5841
+ #
5842
+ # @option params [required, String] :domain_name
5843
+ # The unique name of the domain.
5844
+ #
5845
+ # @option params [Integer] :max_results
5846
+ # The maximum number of results to return per page.
5847
+ #
5848
+ # @option params [String] :next_token
5849
+ # The token for the next set of results. Use the value returned in the
5850
+ # previous response in the next request to retrieve the next set of
5851
+ # results.
5852
+ #
5853
+ # @return [Types::ListDomainReplicaDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5854
+ #
5855
+ # * {Types::ListDomainReplicaDefinitionsResponse#domain_replica_definitions #domain_replica_definitions} => Array<Types::DomainReplicaDefinition>
5856
+ # * {Types::ListDomainReplicaDefinitionsResponse#next_token #next_token} => String
5857
+ #
5858
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5859
+ #
5860
+ # @example Request syntax with placeholder values
5861
+ #
5862
+ # resp = client.list_domain_replica_definitions({
5863
+ # domain_name: "name", # required
5864
+ # max_results: 1,
5865
+ # next_token: "token",
5866
+ # })
5867
+ #
5868
+ # @example Response structure
5869
+ #
5870
+ # resp.domain_replica_definitions #=> Array
5871
+ # resp.domain_replica_definitions[0].region #=> String
5872
+ # resp.domain_replica_definitions[0].kms_key #=> String
5873
+ # resp.domain_replica_definitions[0].dead_letter_queue_url #=> String
5874
+ # resp.domain_replica_definitions[0].created_at #=> Time
5875
+ # resp.domain_replica_definitions[0].last_updated_at #=> Time
5876
+ # resp.next_token #=> String
5877
+ #
5878
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomainReplicaDefinitions AWS API Documentation
5879
+ #
5880
+ # @overload list_domain_replica_definitions(params = {})
5881
+ # @param [Hash] params ({})
5882
+ def list_domain_replica_definitions(params = {}, options = {})
5883
+ req = build_request(:list_domain_replica_definitions, params)
5884
+ req.send_request(options)
5885
+ end
5886
+
5726
5887
  # Returns a list of all the domains for an AWS account that have been
5727
5888
  # created.
5728
5889
  #
@@ -8454,6 +8615,59 @@ module Aws::CustomerProfiles
8454
8615
  req.send_request(options)
8455
8616
  end
8456
8617
 
8618
+ # Updates the replica definition of a domain for the specified replica
8619
+ # Region. Only `DeadLetterQueueUrl` can be updated. `Region` and
8620
+ # `KmsKey` cannot be changed.
8621
+ #
8622
+ # If the domain is associated with an Amazon Connect instance, it must
8623
+ # be an Amazon Connect Customer instance, and the caller must have
8624
+ # permission to call `connect:DescribeInstanceAttribute` on it.
8625
+ #
8626
+ # This API is available only to Amazon Connect Global Resiliency
8627
+ # customers. To onboard Customer Profiles to Amazon Connect Global
8628
+ # Resiliency, contact AWS Support.
8629
+ #
8630
+ # @option params [required, String] :domain_name
8631
+ # The unique name of the domain.
8632
+ #
8633
+ # @option params [required, String] :region
8634
+ # The replica Region of the definition to update.
8635
+ #
8636
+ # @option params [required, String] :dead_letter_queue_url
8637
+ # The URL of the SQS dead letter queue in the replica Region, which is
8638
+ # used for reporting errors associated with ingesting data from third
8639
+ # party applications. To remove the dead letter queue, specify an empty
8640
+ # string.
8641
+ #
8642
+ # @return [Types::UpdateDomainReplicaDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8643
+ #
8644
+ # * {Types::UpdateDomainReplicaDefinitionResponse#domain_replica_definition #domain_replica_definition} => Types::DomainReplicaDefinition
8645
+ #
8646
+ # @example Request syntax with placeholder values
8647
+ #
8648
+ # resp = client.update_domain_replica_definition({
8649
+ # domain_name: "name", # required
8650
+ # region: "awsRegion", # required
8651
+ # dead_letter_queue_url: "sqsQueueUrl", # required
8652
+ # })
8653
+ #
8654
+ # @example Response structure
8655
+ #
8656
+ # resp.domain_replica_definition.region #=> String
8657
+ # resp.domain_replica_definition.kms_key #=> String
8658
+ # resp.domain_replica_definition.dead_letter_queue_url #=> String
8659
+ # resp.domain_replica_definition.created_at #=> Time
8660
+ # resp.domain_replica_definition.last_updated_at #=> Time
8661
+ #
8662
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateDomainReplicaDefinition AWS API Documentation
8663
+ #
8664
+ # @overload update_domain_replica_definition(params = {})
8665
+ # @param [Hash] params ({})
8666
+ def update_domain_replica_definition(params = {}, options = {})
8667
+ req = build_request(:update_domain_replica_definition, params)
8668
+ req.send_request(options)
8669
+ end
8670
+
8457
8671
  # Update the properties of an Event Trigger.
8458
8672
  #
8459
8673
  # @option params [required, String] :domain_name
@@ -8898,7 +9112,7 @@ module Aws::CustomerProfiles
8898
9112
  tracer: tracer
8899
9113
  )
8900
9114
  context[:gem_name] = 'aws-sdk-customerprofiles'
8901
- context[:gem_version] = '1.110.0'
9115
+ context[:gem_version] = '1.111.0'
8902
9116
  Seahorse::Client::Request.new(handlers, context)
8903
9117
  end
8904
9118
 
@@ -82,6 +82,7 @@ module Aws::CustomerProfiles
82
82
  ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
83
83
  ConditionOverrides = Shapes::StructureShape.new(name: 'ConditionOverrides')
84
84
  Conditions = Shapes::StructureShape.new(name: 'Conditions')
85
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
85
86
  ConflictResolution = Shapes::StructureShape.new(name: 'ConflictResolution')
86
87
  ConflictResolvingModel = Shapes::StringShape.new(name: 'ConflictResolvingModel')
87
88
  ConnectorOperator = Shapes::StructureShape.new(name: 'ConnectorOperator')
@@ -95,6 +96,8 @@ module Aws::CustomerProfiles
95
96
  CreateCalculatedAttributeDefinitionResponse = Shapes::StructureShape.new(name: 'CreateCalculatedAttributeDefinitionResponse')
96
97
  CreateDomainLayoutRequest = Shapes::StructureShape.new(name: 'CreateDomainLayoutRequest')
97
98
  CreateDomainLayoutResponse = Shapes::StructureShape.new(name: 'CreateDomainLayoutResponse')
99
+ CreateDomainReplicaDefinitionRequest = Shapes::StructureShape.new(name: 'CreateDomainReplicaDefinitionRequest')
100
+ CreateDomainReplicaDefinitionResponse = Shapes::StructureShape.new(name: 'CreateDomainReplicaDefinitionResponse')
98
101
  CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
99
102
  CreateDomainResponse = Shapes::StructureShape.new(name: 'CreateDomainResponse')
100
103
  CreateEventStreamRequest = Shapes::StructureShape.new(name: 'CreateEventStreamRequest')
@@ -191,6 +194,8 @@ module Aws::CustomerProfiles
191
194
  DomainObjectTypeFields = Shapes::MapShape.new(name: 'DomainObjectTypeFields')
192
195
  DomainObjectTypesList = Shapes::ListShape.new(name: 'DomainObjectTypesList')
193
196
  DomainObjectTypesListItem = Shapes::StructureShape.new(name: 'DomainObjectTypesListItem')
197
+ DomainReplicaDefinition = Shapes::StructureShape.new(name: 'DomainReplicaDefinition')
198
+ DomainReplicaDefinitionList = Shapes::ListShape.new(name: 'DomainReplicaDefinitionList')
194
199
  DomainStats = Shapes::StructureShape.new(name: 'DomainStats')
195
200
  Double = Shapes::FloatShape.new(name: 'Double')
196
201
  Double0To1 = Shapes::FloatShape.new(name: 'Double0To1')
@@ -252,6 +257,8 @@ module Aws::CustomerProfiles
252
257
  GetDomainLayoutResponse = Shapes::StructureShape.new(name: 'GetDomainLayoutResponse')
253
258
  GetDomainObjectTypeRequest = Shapes::StructureShape.new(name: 'GetDomainObjectTypeRequest')
254
259
  GetDomainObjectTypeResponse = Shapes::StructureShape.new(name: 'GetDomainObjectTypeResponse')
260
+ GetDomainReplicaDefinitionRequest = Shapes::StructureShape.new(name: 'GetDomainReplicaDefinitionRequest')
261
+ GetDomainReplicaDefinitionResponse = Shapes::StructureShape.new(name: 'GetDomainReplicaDefinitionResponse')
255
262
  GetDomainRequest = Shapes::StructureShape.new(name: 'GetDomainRequest')
256
263
  GetDomainResponse = Shapes::StructureShape.new(name: 'GetDomainResponse')
257
264
  GetEventStreamRequest = Shapes::StructureShape.new(name: 'GetEventStreamRequest')
@@ -373,6 +380,8 @@ module Aws::CustomerProfiles
373
380
  ListDomainLayoutsResponse = Shapes::StructureShape.new(name: 'ListDomainLayoutsResponse')
374
381
  ListDomainObjectTypesRequest = Shapes::StructureShape.new(name: 'ListDomainObjectTypesRequest')
375
382
  ListDomainObjectTypesResponse = Shapes::StructureShape.new(name: 'ListDomainObjectTypesResponse')
383
+ ListDomainReplicaDefinitionsRequest = Shapes::StructureShape.new(name: 'ListDomainReplicaDefinitionsRequest')
384
+ ListDomainReplicaDefinitionsResponse = Shapes::StructureShape.new(name: 'ListDomainReplicaDefinitionsResponse')
376
385
  ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest')
377
386
  ListDomainsResponse = Shapes::StructureShape.new(name: 'ListDomainsResponse')
378
387
  ListEventStreamsRequest = Shapes::StructureShape.new(name: 'ListEventStreamsRequest')
@@ -644,6 +653,8 @@ module Aws::CustomerProfiles
644
653
  UpdateCalculatedAttributeDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateCalculatedAttributeDefinitionResponse')
645
654
  UpdateDomainLayoutRequest = Shapes::StructureShape.new(name: 'UpdateDomainLayoutRequest')
646
655
  UpdateDomainLayoutResponse = Shapes::StructureShape.new(name: 'UpdateDomainLayoutResponse')
656
+ UpdateDomainReplicaDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateDomainReplicaDefinitionRequest')
657
+ UpdateDomainReplicaDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateDomainReplicaDefinitionResponse')
647
658
  UpdateDomainRequest = Shapes::StructureShape.new(name: 'UpdateDomainRequest')
648
659
  UpdateDomainResponse = Shapes::StructureShape.new(name: 'UpdateDomainResponse')
649
660
  UpdateEventTriggerRequest = Shapes::StructureShape.new(name: 'UpdateEventTriggerRequest')
@@ -673,6 +684,7 @@ module Aws::CustomerProfiles
673
684
  ZendeskSourceProperties = Shapes::StructureShape.new(name: 'ZendeskSourceProperties')
674
685
  additionalSearchKeysList = Shapes::ListShape.new(name: 'additionalSearchKeysList')
675
686
  attributeName = Shapes::StringShape.new(name: 'attributeName')
687
+ awsRegion = Shapes::StringShape.new(name: 'awsRegion')
676
688
  boolean = Shapes::BooleanShape.new(name: 'boolean')
677
689
  displayName = Shapes::StringShape.new(name: 'displayName')
678
690
  encryptionKey = Shapes::StringShape.new(name: 'encryptionKey')
@@ -969,6 +981,11 @@ module Aws::CustomerProfiles
969
981
  Conditions.add_member(:threshold, Shapes::ShapeRef.new(shape: Threshold, location_name: "Threshold"))
970
982
  Conditions.struct_class = Types::Conditions
971
983
 
984
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: message, required: true, location_name: "Message"))
985
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: string1To255, location_name: "ResourceId"))
986
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: string1To255, location_name: "ResourceType"))
987
+ ConflictException.struct_class = Types::ConflictException
988
+
972
989
  ConflictResolution.add_member(:conflict_resolving_model, Shapes::ShapeRef.new(shape: ConflictResolvingModel, required: true, location_name: "ConflictResolvingModel"))
973
990
  ConflictResolution.add_member(:source_name, Shapes::ShapeRef.new(shape: string1To255, location_name: "SourceName"))
974
991
  ConflictResolution.struct_class = Types::ConflictResolution
@@ -1038,6 +1055,15 @@ module Aws::CustomerProfiles
1038
1055
  CreateDomainLayoutResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedAt"))
1039
1056
  CreateDomainLayoutResponse.struct_class = Types::CreateDomainLayoutResponse
1040
1057
 
1058
+ CreateDomainReplicaDefinitionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1059
+ CreateDomainReplicaDefinitionRequest.add_member(:region, Shapes::ShapeRef.new(shape: awsRegion, required: true, location_name: "Region"))
1060
+ CreateDomainReplicaDefinitionRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: encryptionKey, required: true, location_name: "KmsKey"))
1061
+ CreateDomainReplicaDefinitionRequest.add_member(:dead_letter_queue_url, Shapes::ShapeRef.new(shape: sqsQueueUrl, location_name: "DeadLetterQueueUrl"))
1062
+ CreateDomainReplicaDefinitionRequest.struct_class = Types::CreateDomainReplicaDefinitionRequest
1063
+
1064
+ CreateDomainReplicaDefinitionResponse.add_member(:domain_replica_definition, Shapes::ShapeRef.new(shape: DomainReplicaDefinition, required: true, location_name: "DomainReplicaDefinition"))
1065
+ CreateDomainReplicaDefinitionResponse.struct_class = Types::CreateDomainReplicaDefinitionResponse
1066
+
1041
1067
  CreateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1042
1068
  CreateDomainRequest.add_member(:default_expiration_days, Shapes::ShapeRef.new(shape: expirationDaysInteger, required: true, location_name: "DefaultExpirationDays"))
1043
1069
  CreateDomainRequest.add_member(:default_encryption_key, Shapes::ShapeRef.new(shape: encryptionKey, location_name: "DefaultEncryptionKey"))
@@ -1430,6 +1456,15 @@ module Aws::CustomerProfiles
1430
1456
  DomainObjectTypesListItem.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1431
1457
  DomainObjectTypesListItem.struct_class = Types::DomainObjectTypesListItem
1432
1458
 
1459
+ DomainReplicaDefinition.add_member(:region, Shapes::ShapeRef.new(shape: awsRegion, required: true, location_name: "Region"))
1460
+ DomainReplicaDefinition.add_member(:kms_key, Shapes::ShapeRef.new(shape: encryptionKey, required: true, location_name: "KmsKey"))
1461
+ DomainReplicaDefinition.add_member(:dead_letter_queue_url, Shapes::ShapeRef.new(shape: sqsQueueUrl, location_name: "DeadLetterQueueUrl"))
1462
+ DomainReplicaDefinition.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedAt"))
1463
+ DomainReplicaDefinition.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastUpdatedAt"))
1464
+ DomainReplicaDefinition.struct_class = Types::DomainReplicaDefinition
1465
+
1466
+ DomainReplicaDefinitionList.member = Shapes::ShapeRef.new(shape: DomainReplicaDefinition)
1467
+
1433
1468
  DomainStats.add_member(:profile_count, Shapes::ShapeRef.new(shape: long, location_name: "ProfileCount"))
1434
1469
  DomainStats.add_member(:metering_profile_count, Shapes::ShapeRef.new(shape: long, location_name: "MeteringProfileCount"))
1435
1470
  DomainStats.add_member(:object_count, Shapes::ShapeRef.new(shape: long, location_name: "ObjectCount"))
@@ -1645,6 +1680,13 @@ module Aws::CustomerProfiles
1645
1680
  GetDomainObjectTypeResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1646
1681
  GetDomainObjectTypeResponse.struct_class = Types::GetDomainObjectTypeResponse
1647
1682
 
1683
+ GetDomainReplicaDefinitionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1684
+ GetDomainReplicaDefinitionRequest.add_member(:region, Shapes::ShapeRef.new(shape: awsRegion, required: true, location: "uri", location_name: "Region"))
1685
+ GetDomainReplicaDefinitionRequest.struct_class = Types::GetDomainReplicaDefinitionRequest
1686
+
1687
+ GetDomainReplicaDefinitionResponse.add_member(:domain_replica_definition, Shapes::ShapeRef.new(shape: DomainReplicaDefinition, required: true, location_name: "DomainReplicaDefinition"))
1688
+ GetDomainReplicaDefinitionResponse.struct_class = Types::GetDomainReplicaDefinitionResponse
1689
+
1648
1690
  GetDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1649
1691
  GetDomainRequest.struct_class = Types::GetDomainRequest
1650
1692
 
@@ -2228,6 +2270,15 @@ module Aws::CustomerProfiles
2228
2270
  ListDomainObjectTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
2229
2271
  ListDomainObjectTypesResponse.struct_class = Types::ListDomainObjectTypesResponse
2230
2272
 
2273
+ ListDomainReplicaDefinitionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
2274
+ ListDomainReplicaDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxSize100, location: "querystring", location_name: "max-results"))
2275
+ ListDomainReplicaDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location: "querystring", location_name: "next-token"))
2276
+ ListDomainReplicaDefinitionsRequest.struct_class = Types::ListDomainReplicaDefinitionsRequest
2277
+
2278
+ ListDomainReplicaDefinitionsResponse.add_member(:domain_replica_definitions, Shapes::ShapeRef.new(shape: DomainReplicaDefinitionList, required: true, location_name: "DomainReplicaDefinitions"))
2279
+ ListDomainReplicaDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
2280
+ ListDomainReplicaDefinitionsResponse.struct_class = Types::ListDomainReplicaDefinitionsResponse
2281
+
2231
2282
  ListDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location: "querystring", location_name: "next-token"))
2232
2283
  ListDomainsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxSize100, location: "querystring", location_name: "max-results"))
2233
2284
  ListDomainsRequest.struct_class = Types::ListDomainsRequest
@@ -3208,6 +3259,14 @@ module Aws::CustomerProfiles
3208
3259
  UpdateDomainLayoutResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
3209
3260
  UpdateDomainLayoutResponse.struct_class = Types::UpdateDomainLayoutResponse
3210
3261
 
3262
+ UpdateDomainReplicaDefinitionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
3263
+ UpdateDomainReplicaDefinitionRequest.add_member(:region, Shapes::ShapeRef.new(shape: awsRegion, required: true, location: "uri", location_name: "Region"))
3264
+ UpdateDomainReplicaDefinitionRequest.add_member(:dead_letter_queue_url, Shapes::ShapeRef.new(shape: sqsQueueUrl, required: true, location_name: "DeadLetterQueueUrl"))
3265
+ UpdateDomainReplicaDefinitionRequest.struct_class = Types::UpdateDomainReplicaDefinitionRequest
3266
+
3267
+ UpdateDomainReplicaDefinitionResponse.add_member(:domain_replica_definition, Shapes::ShapeRef.new(shape: DomainReplicaDefinition, required: true, location_name: "DomainReplicaDefinition"))
3268
+ UpdateDomainReplicaDefinitionResponse.struct_class = Types::UpdateDomainReplicaDefinitionResponse
3269
+
3211
3270
  UpdateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
3212
3271
  UpdateDomainRequest.add_member(:default_expiration_days, Shapes::ShapeRef.new(shape: expirationDaysInteger, location_name: "DefaultExpirationDays"))
3213
3272
  UpdateDomainRequest.add_member(:default_encryption_key, Shapes::ShapeRef.new(shape: encryptionKey, location_name: "DefaultEncryptionKey"))
@@ -3479,6 +3538,20 @@ module Aws::CustomerProfiles
3479
3538
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3480
3539
  end)
3481
3540
 
3541
+ api.add_operation(:create_domain_replica_definition, Seahorse::Model::Operation.new.tap do |o|
3542
+ o.name = "CreateDomainReplicaDefinition"
3543
+ o.http_method = "POST"
3544
+ o.http_request_uri = "/domains/{DomainName}/replica-definitions"
3545
+ o.input = Shapes::ShapeRef.new(shape: CreateDomainReplicaDefinitionRequest)
3546
+ o.output = Shapes::ShapeRef.new(shape: CreateDomainReplicaDefinitionResponse)
3547
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3548
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3549
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3550
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3551
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3552
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3553
+ end)
3554
+
3482
3555
  api.add_operation(:create_event_stream, Seahorse::Model::Operation.new.tap do |o|
3483
3556
  o.name = "CreateEventStream"
3484
3557
  o.http_method = "POST"
@@ -3960,6 +4033,19 @@ module Aws::CustomerProfiles
3960
4033
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3961
4034
  end)
3962
4035
 
4036
+ api.add_operation(:get_domain_replica_definition, Seahorse::Model::Operation.new.tap do |o|
4037
+ o.name = "GetDomainReplicaDefinition"
4038
+ o.http_method = "GET"
4039
+ o.http_request_uri = "/domains/{DomainName}/replica-definitions/{Region}"
4040
+ o.input = Shapes::ShapeRef.new(shape: GetDomainReplicaDefinitionRequest)
4041
+ o.output = Shapes::ShapeRef.new(shape: GetDomainReplicaDefinitionResponse)
4042
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
4043
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4044
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4045
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4046
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4047
+ end)
4048
+
3963
4049
  api.add_operation(:get_event_stream, Seahorse::Model::Operation.new.tap do |o|
3964
4050
  o.name = "GetEventStream"
3965
4051
  o.http_method = "GET"
@@ -4368,6 +4454,25 @@ module Aws::CustomerProfiles
4368
4454
  )
4369
4455
  end)
4370
4456
 
4457
+ api.add_operation(:list_domain_replica_definitions, Seahorse::Model::Operation.new.tap do |o|
4458
+ o.name = "ListDomainReplicaDefinitions"
4459
+ o.http_method = "GET"
4460
+ o.http_request_uri = "/domains/{DomainName}/replica-definitions"
4461
+ o.input = Shapes::ShapeRef.new(shape: ListDomainReplicaDefinitionsRequest)
4462
+ o.output = Shapes::ShapeRef.new(shape: ListDomainReplicaDefinitionsResponse)
4463
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
4464
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4465
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4466
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4467
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4468
+ o[:pager] = Aws::Pager.new(
4469
+ limit_key: "max_results",
4470
+ tokens: {
4471
+ "next_token" => "next_token"
4472
+ }
4473
+ )
4474
+ end)
4475
+
4371
4476
  api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o|
4372
4477
  o.name = "ListDomains"
4373
4478
  o.http_method = "GET"
@@ -4964,6 +5069,19 @@ module Aws::CustomerProfiles
4964
5069
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4965
5070
  end)
4966
5071
 
5072
+ api.add_operation(:update_domain_replica_definition, Seahorse::Model::Operation.new.tap do |o|
5073
+ o.name = "UpdateDomainReplicaDefinition"
5074
+ o.http_method = "POST"
5075
+ o.http_request_uri = "/domains/{DomainName}/replica-definitions/{Region}"
5076
+ o.input = Shapes::ShapeRef.new(shape: UpdateDomainReplicaDefinitionRequest)
5077
+ o.output = Shapes::ShapeRef.new(shape: UpdateDomainReplicaDefinitionResponse)
5078
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
5079
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5080
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5081
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5082
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
5083
+ end)
5084
+
4967
5085
  api.add_operation(:update_event_trigger, Seahorse::Model::Operation.new.tap do |o|
4968
5086
  o.name = "UpdateEventTrigger"
4969
5087
  o.http_method = "PUT"
@@ -29,6 +29,7 @@ module Aws::CustomerProfiles
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
31
  # * {BadRequestException}
32
+ # * {ConflictException}
32
33
  # * {InternalServerException}
33
34
  # * {ResourceNotFoundException}
34
35
  # * {ThrottlingException}
@@ -69,6 +70,31 @@ module Aws::CustomerProfiles
69
70
  end
70
71
  end
71
72
 
73
+ class ConflictException < ServiceError
74
+
75
+ # @param [Seahorse::Client::RequestContext] context
76
+ # @param [String] message
77
+ # @param [Aws::CustomerProfiles::Types::ConflictException] data
78
+ def initialize(context, message, data = Aws::EmptyStructure.new)
79
+ super(context, message, data)
80
+ end
81
+
82
+ # @return [String]
83
+ def message
84
+ @message || @data[:message]
85
+ end
86
+
87
+ # @return [String]
88
+ def resource_id
89
+ @data[:resource_id]
90
+ end
91
+
92
+ # @return [String]
93
+ def resource_type
94
+ @data[:resource_type]
95
+ end
96
+ end
97
+
72
98
  class InternalServerException < ServiceError
73
99
 
74
100
  # @param [Seahorse::Client::RequestContext] context
@@ -1130,6 +1130,30 @@ module Aws::CustomerProfiles
1130
1130
  include Aws::Structure
1131
1131
  end
1132
1132
 
1133
+ # The request conflicts with the current state of the resource.
1134
+ #
1135
+ # @!attribute [rw] message
1136
+ # @return [String]
1137
+ #
1138
+ # @!attribute [rw] resource_id
1139
+ # The identifier of the resource that caused the conflict, if
1140
+ # available.
1141
+ # @return [String]
1142
+ #
1143
+ # @!attribute [rw] resource_type
1144
+ # The type of the resource that caused the conflict, if available.
1145
+ # @return [String]
1146
+ #
1147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ConflictException AWS API Documentation
1148
+ #
1149
+ class ConflictException < Struct.new(
1150
+ :message,
1151
+ :resource_id,
1152
+ :resource_type)
1153
+ SENSITIVE = []
1154
+ include Aws::Structure
1155
+ end
1156
+
1133
1157
  # How the auto-merging process should resolve conflicts between
1134
1158
  # different profiles.
1135
1159
  #
@@ -1498,6 +1522,52 @@ module Aws::CustomerProfiles
1498
1522
  include Aws::Structure
1499
1523
  end
1500
1524
 
1525
+ # @!attribute [rw] domain_name
1526
+ # The unique name of the domain.
1527
+ # @return [String]
1528
+ #
1529
+ # @!attribute [rw] region
1530
+ # The Region to replicate the domain to. If you call this API in US
1531
+ # East (N. Virginia), this must be US West (Oregon), and the other way
1532
+ # around.
1533
+ # @return [String]
1534
+ #
1535
+ # @!attribute [rw] kms_key
1536
+ # The customer managed AWS Key Management Service key ARN in the
1537
+ # replica Region. Customer Profiles uses this key to encrypt the
1538
+ # domain's data in the replica Region. You cannot change this value
1539
+ # after the replica definition is created.
1540
+ # @return [String]
1541
+ #
1542
+ # @!attribute [rw] dead_letter_queue_url
1543
+ # The URL of the SQS dead letter queue in the replica Region, which is
1544
+ # used for reporting errors associated with ingesting data from third
1545
+ # party applications.
1546
+ # @return [String]
1547
+ #
1548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateDomainReplicaDefinitionRequest AWS API Documentation
1549
+ #
1550
+ class CreateDomainReplicaDefinitionRequest < Struct.new(
1551
+ :domain_name,
1552
+ :region,
1553
+ :kms_key,
1554
+ :dead_letter_queue_url)
1555
+ SENSITIVE = []
1556
+ include Aws::Structure
1557
+ end
1558
+
1559
+ # @!attribute [rw] domain_replica_definition
1560
+ # The replica definition that was created.
1561
+ # @return [Types::DomainReplicaDefinition]
1562
+ #
1563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateDomainReplicaDefinitionResponse AWS API Documentation
1564
+ #
1565
+ class CreateDomainReplicaDefinitionResponse < Struct.new(
1566
+ :domain_replica_definition)
1567
+ SENSITIVE = []
1568
+ include Aws::Structure
1569
+ end
1570
+
1501
1571
  # @!attribute [rw] domain_name
1502
1572
  # The unique name of the domain.
1503
1573
  # @return [String]
@@ -3254,6 +3324,45 @@ module Aws::CustomerProfiles
3254
3324
  include Aws::Structure
3255
3325
  end
3256
3326
 
3327
+ # The configuration for replicating a domain to a replica Region.
3328
+ #
3329
+ # @!attribute [rw] region
3330
+ # The Region that the domain is replicated to.
3331
+ # @return [String]
3332
+ #
3333
+ # @!attribute [rw] kms_key
3334
+ # The customer managed AWS Key Management Service key ARN in the
3335
+ # replica Region that is used to encrypt the domain's data in the
3336
+ # replica Region.
3337
+ # @return [String]
3338
+ #
3339
+ # @!attribute [rw] dead_letter_queue_url
3340
+ # The URL of the SQS dead letter queue in the replica Region, which is
3341
+ # used for reporting errors associated with ingesting data from third
3342
+ # party applications.
3343
+ # @return [String]
3344
+ #
3345
+ # @!attribute [rw] created_at
3346
+ # The timestamp of when the replica definition was created.
3347
+ # @return [Time]
3348
+ #
3349
+ # @!attribute [rw] last_updated_at
3350
+ # The timestamp of when the replica definition was most recently
3351
+ # updated.
3352
+ # @return [Time]
3353
+ #
3354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DomainReplicaDefinition AWS API Documentation
3355
+ #
3356
+ class DomainReplicaDefinition < Struct.new(
3357
+ :region,
3358
+ :kms_key,
3359
+ :dead_letter_queue_url,
3360
+ :created_at,
3361
+ :last_updated_at)
3362
+ SENSITIVE = []
3363
+ include Aws::Structure
3364
+ end
3365
+
3257
3366
  # Usage-specific statistics about the domain.
3258
3367
  #
3259
3368
  # @!attribute [rw] profile_count
@@ -4210,6 +4319,35 @@ module Aws::CustomerProfiles
4210
4319
  include Aws::Structure
4211
4320
  end
4212
4321
 
4322
+ # @!attribute [rw] domain_name
4323
+ # The unique name of the domain.
4324
+ # @return [String]
4325
+ #
4326
+ # @!attribute [rw] region
4327
+ # The replica Region of the definition to return.
4328
+ # @return [String]
4329
+ #
4330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomainReplicaDefinitionRequest AWS API Documentation
4331
+ #
4332
+ class GetDomainReplicaDefinitionRequest < Struct.new(
4333
+ :domain_name,
4334
+ :region)
4335
+ SENSITIVE = []
4336
+ include Aws::Structure
4337
+ end
4338
+
4339
+ # @!attribute [rw] domain_replica_definition
4340
+ # The replica definition for the specified Region.
4341
+ # @return [Types::DomainReplicaDefinition]
4342
+ #
4343
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomainReplicaDefinitionResponse AWS API Documentation
4344
+ #
4345
+ class GetDomainReplicaDefinitionResponse < Struct.new(
4346
+ :domain_replica_definition)
4347
+ SENSITIVE = []
4348
+ include Aws::Structure
4349
+ end
4350
+
4213
4351
  # @!attribute [rw] domain_name
4214
4352
  # The unique name of the domain.
4215
4353
  # @return [String]
@@ -7018,6 +7156,48 @@ module Aws::CustomerProfiles
7018
7156
  include Aws::Structure
7019
7157
  end
7020
7158
 
7159
+ # @!attribute [rw] domain_name
7160
+ # The unique name of the domain.
7161
+ # @return [String]
7162
+ #
7163
+ # @!attribute [rw] max_results
7164
+ # The maximum number of results to return per page.
7165
+ # @return [Integer]
7166
+ #
7167
+ # @!attribute [rw] next_token
7168
+ # The token for the next set of results. Use the value returned in the
7169
+ # previous response in the next request to retrieve the next set of
7170
+ # results.
7171
+ # @return [String]
7172
+ #
7173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomainReplicaDefinitionsRequest AWS API Documentation
7174
+ #
7175
+ class ListDomainReplicaDefinitionsRequest < Struct.new(
7176
+ :domain_name,
7177
+ :max_results,
7178
+ :next_token)
7179
+ SENSITIVE = []
7180
+ include Aws::Structure
7181
+ end
7182
+
7183
+ # @!attribute [rw] domain_replica_definitions
7184
+ # The replica definitions of the domain.
7185
+ # @return [Array<Types::DomainReplicaDefinition>]
7186
+ #
7187
+ # @!attribute [rw] next_token
7188
+ # If there are additional results, this is the token for the next set
7189
+ # of results.
7190
+ # @return [String]
7191
+ #
7192
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomainReplicaDefinitionsResponse AWS API Documentation
7193
+ #
7194
+ class ListDomainReplicaDefinitionsResponse < Struct.new(
7195
+ :domain_replica_definitions,
7196
+ :next_token)
7197
+ SENSITIVE = []
7198
+ include Aws::Structure
7199
+ end
7200
+
7021
7201
  # @!attribute [rw] next_token
7022
7202
  # The pagination token from the previous ListDomain API call.
7023
7203
  # @return [String]
@@ -11583,6 +11763,43 @@ module Aws::CustomerProfiles
11583
11763
  include Aws::Structure
11584
11764
  end
11585
11765
 
11766
+ # @!attribute [rw] domain_name
11767
+ # The unique name of the domain.
11768
+ # @return [String]
11769
+ #
11770
+ # @!attribute [rw] region
11771
+ # The replica Region of the definition to update.
11772
+ # @return [String]
11773
+ #
11774
+ # @!attribute [rw] dead_letter_queue_url
11775
+ # The URL of the SQS dead letter queue in the replica Region, which is
11776
+ # used for reporting errors associated with ingesting data from third
11777
+ # party applications. To remove the dead letter queue, specify an
11778
+ # empty string.
11779
+ # @return [String]
11780
+ #
11781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateDomainReplicaDefinitionRequest AWS API Documentation
11782
+ #
11783
+ class UpdateDomainReplicaDefinitionRequest < Struct.new(
11784
+ :domain_name,
11785
+ :region,
11786
+ :dead_letter_queue_url)
11787
+ SENSITIVE = []
11788
+ include Aws::Structure
11789
+ end
11790
+
11791
+ # @!attribute [rw] domain_replica_definition
11792
+ # The updated replica definition.
11793
+ # @return [Types::DomainReplicaDefinition]
11794
+ #
11795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateDomainReplicaDefinitionResponse AWS API Documentation
11796
+ #
11797
+ class UpdateDomainReplicaDefinitionResponse < Struct.new(
11798
+ :domain_replica_definition)
11799
+ SENSITIVE = []
11800
+ include Aws::Structure
11801
+ end
11802
+
11586
11803
  # @!attribute [rw] domain_name
11587
11804
  # The unique name of the domain.
11588
11805
  # @return [String]
@@ -54,7 +54,7 @@ module Aws::CustomerProfiles
54
54
  autoload :EndpointProvider, 'aws-sdk-customerprofiles/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-customerprofiles/endpoints'
56
56
 
57
- GEM_VERSION = '1.110.0'
57
+ GEM_VERSION = '1.111.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -277,6 +277,19 @@ module Aws
277
277
  ) -> _CreateDomainLayoutResponseSuccess
278
278
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainLayoutResponseSuccess
279
279
 
280
+ interface _CreateDomainReplicaDefinitionResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDomainReplicaDefinitionResponse]
282
+ def domain_replica_definition: () -> Types::DomainReplicaDefinition
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#create_domain_replica_definition-instance_method
285
+ def create_domain_replica_definition: (
286
+ domain_name: ::String,
287
+ region: ::String,
288
+ kms_key: ::String,
289
+ ?dead_letter_queue_url: ::String
290
+ ) -> _CreateDomainReplicaDefinitionResponseSuccess
291
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainReplicaDefinitionResponseSuccess
292
+
280
293
  interface _CreateEventStreamResponseSuccess
281
294
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventStreamResponse]
282
295
  def event_stream_arn: () -> ::String
@@ -860,6 +873,17 @@ module Aws
860
873
  ) -> _GetDomainObjectTypeResponseSuccess
861
874
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainObjectTypeResponseSuccess
862
875
 
876
+ interface _GetDomainReplicaDefinitionResponseSuccess
877
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDomainReplicaDefinitionResponse]
878
+ def domain_replica_definition: () -> Types::DomainReplicaDefinition
879
+ end
880
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#get_domain_replica_definition-instance_method
881
+ def get_domain_replica_definition: (
882
+ domain_name: ::String,
883
+ region: ::String
884
+ ) -> _GetDomainReplicaDefinitionResponseSuccess
885
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainReplicaDefinitionResponseSuccess
886
+
863
887
  interface _GetEventStreamResponseSuccess
864
888
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEventStreamResponse]
865
889
  def domain_name: () -> ::String
@@ -1394,6 +1418,19 @@ module Aws
1394
1418
  ) -> _ListDomainObjectTypesResponseSuccess
1395
1419
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainObjectTypesResponseSuccess
1396
1420
 
1421
+ interface _ListDomainReplicaDefinitionsResponseSuccess
1422
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainReplicaDefinitionsResponse]
1423
+ def domain_replica_definitions: () -> ::Array[Types::DomainReplicaDefinition]
1424
+ def next_token: () -> ::String
1425
+ end
1426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#list_domain_replica_definitions-instance_method
1427
+ def list_domain_replica_definitions: (
1428
+ domain_name: ::String,
1429
+ ?max_results: ::Integer,
1430
+ ?next_token: ::String
1431
+ ) -> _ListDomainReplicaDefinitionsResponseSuccess
1432
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainReplicaDefinitionsResponseSuccess
1433
+
1397
1434
  interface _ListDomainsResponseSuccess
1398
1435
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainsResponse]
1399
1436
  def items: () -> ::Array[Types::ListDomainItem]
@@ -2107,6 +2144,18 @@ module Aws
2107
2144
  ) -> _UpdateDomainLayoutResponseSuccess
2108
2145
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainLayoutResponseSuccess
2109
2146
 
2147
+ interface _UpdateDomainReplicaDefinitionResponseSuccess
2148
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDomainReplicaDefinitionResponse]
2149
+ def domain_replica_definition: () -> Types::DomainReplicaDefinition
2150
+ end
2151
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#update_domain_replica_definition-instance_method
2152
+ def update_domain_replica_definition: (
2153
+ domain_name: ::String,
2154
+ region: ::String,
2155
+ dead_letter_queue_url: ::String
2156
+ ) -> _UpdateDomainReplicaDefinitionResponseSuccess
2157
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainReplicaDefinitionResponseSuccess
2158
+
2110
2159
  interface _UpdateEventTriggerResponseSuccess
2111
2160
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventTriggerResponse]
2112
2161
  def event_trigger_name: () -> ::String
data/sig/errors.rbs CHANGED
@@ -17,6 +17,11 @@ module Aws
17
17
  class BadRequestException < ServiceError
18
18
  def message: () -> ::String
19
19
  end
20
+ class ConflictException < ServiceError
21
+ def message: () -> ::String
22
+ def resource_id: () -> ::String
23
+ def resource_type: () -> ::String
24
+ end
20
25
  class InternalServerException < ServiceError
21
26
  def message: () -> ::String
22
27
  end
data/sig/types.rbs CHANGED
@@ -289,6 +289,13 @@ module Aws::CustomerProfiles
289
289
  SENSITIVE: []
290
290
  end
291
291
 
292
+ class ConflictException
293
+ attr_accessor message: ::String
294
+ attr_accessor resource_id: ::String
295
+ attr_accessor resource_type: ::String
296
+ SENSITIVE: []
297
+ end
298
+
292
299
  class ConflictResolution
293
300
  attr_accessor conflict_resolving_model: ("RECENCY" | "SOURCE")
294
301
  attr_accessor source_name: ::String
@@ -374,6 +381,19 @@ module Aws::CustomerProfiles
374
381
  SENSITIVE: [:description, :layout]
375
382
  end
376
383
 
384
+ class CreateDomainReplicaDefinitionRequest
385
+ attr_accessor domain_name: ::String
386
+ attr_accessor region: ::String
387
+ attr_accessor kms_key: ::String
388
+ attr_accessor dead_letter_queue_url: ::String
389
+ SENSITIVE: []
390
+ end
391
+
392
+ class CreateDomainReplicaDefinitionResponse
393
+ attr_accessor domain_replica_definition: Types::DomainReplicaDefinition
394
+ SENSITIVE: []
395
+ end
396
+
377
397
  class CreateDomainRequest
378
398
  attr_accessor domain_name: ::String
379
399
  attr_accessor default_expiration_days: ::Integer
@@ -890,6 +910,15 @@ module Aws::CustomerProfiles
890
910
  SENSITIVE: [:description]
891
911
  end
892
912
 
913
+ class DomainReplicaDefinition
914
+ attr_accessor region: ::String
915
+ attr_accessor kms_key: ::String
916
+ attr_accessor dead_letter_queue_url: ::String
917
+ attr_accessor created_at: ::Time
918
+ attr_accessor last_updated_at: ::Time
919
+ SENSITIVE: []
920
+ end
921
+
893
922
  class DomainStats
894
923
  attr_accessor profile_count: ::Integer
895
924
  attr_accessor metering_profile_count: ::Integer
@@ -1136,6 +1165,17 @@ module Aws::CustomerProfiles
1136
1165
  SENSITIVE: [:description]
1137
1166
  end
1138
1167
 
1168
+ class GetDomainReplicaDefinitionRequest
1169
+ attr_accessor domain_name: ::String
1170
+ attr_accessor region: ::String
1171
+ SENSITIVE: []
1172
+ end
1173
+
1174
+ class GetDomainReplicaDefinitionResponse
1175
+ attr_accessor domain_replica_definition: Types::DomainReplicaDefinition
1176
+ SENSITIVE: []
1177
+ end
1178
+
1139
1179
  class GetDomainRequest
1140
1180
  attr_accessor domain_name: ::String
1141
1181
  SENSITIVE: []
@@ -1861,6 +1901,19 @@ module Aws::CustomerProfiles
1861
1901
  SENSITIVE: [:items]
1862
1902
  end
1863
1903
 
1904
+ class ListDomainReplicaDefinitionsRequest
1905
+ attr_accessor domain_name: ::String
1906
+ attr_accessor max_results: ::Integer
1907
+ attr_accessor next_token: ::String
1908
+ SENSITIVE: []
1909
+ end
1910
+
1911
+ class ListDomainReplicaDefinitionsResponse
1912
+ attr_accessor domain_replica_definitions: ::Array[Types::DomainReplicaDefinition]
1913
+ attr_accessor next_token: ::String
1914
+ SENSITIVE: []
1915
+ end
1916
+
1864
1917
  class ListDomainsRequest
1865
1918
  attr_accessor next_token: ::String
1866
1919
  attr_accessor max_results: ::Integer
@@ -3025,6 +3078,18 @@ module Aws::CustomerProfiles
3025
3078
  SENSITIVE: [:description, :layout]
3026
3079
  end
3027
3080
 
3081
+ class UpdateDomainReplicaDefinitionRequest
3082
+ attr_accessor domain_name: ::String
3083
+ attr_accessor region: ::String
3084
+ attr_accessor dead_letter_queue_url: ::String
3085
+ SENSITIVE: []
3086
+ end
3087
+
3088
+ class UpdateDomainReplicaDefinitionResponse
3089
+ attr_accessor domain_replica_definition: Types::DomainReplicaDefinition
3090
+ SENSITIVE: []
3091
+ end
3092
+
3028
3093
  class UpdateDomainRequest
3029
3094
  attr_accessor domain_name: ::String
3030
3095
  attr_accessor default_expiration_days: ::Integer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-customerprofiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.110.0
4
+ version: 1.111.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.270.0
21
+ version: 3.274.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.270.0
31
+ version: 3.274.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement