update_domain
async
¶
update_domain(
domain_name: name,
*,
config_overrides: Optional[AsyncCustomerProfilesClientConfig] = None,
default_expiration_days: Optional[expirationDaysInteger] = None,
default_encryption_key: Optional[encryptionKey] = None,
dead_letter_queue_url: Optional[sqsQueueUrl] = None,
matching: Optional[MatchingRequest] = None,
rule_based_matching: Optional[RuleBasedMatchingRequest] = None,
data_store: Optional[DataStoreRequest] = None,
tags: Optional[TagMap] = None,
) -> UpdateDomainResponse
Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key.
After a domain is created, the name can’t be changed.
Use this API or CreateDomain to enable identity resolution: set Matching to true.
To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.
To add or remove tags on an existing Domain, see TagResource/UntagResource.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
default_expiration_days(Optional[expirationDaysInteger], default:None) –The default number of days until the data within the domain expires.
-
default_encryption_key(Optional[encryptionKey], default:None) –The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. If specified as an empty string, it will clear any existing value.
-
dead_letter_queue_url(Optional[sqsQueueUrl], default:None) –The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. If specified as an empty string, it will clear any existing value. You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue.
-
matching(Optional[MatchingRequest], default:None) –The process of matching duplicate profiles. If
Matching=true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains.After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured
ExportingConfigin theMatchingRequest, you can download the results from S3. -
rule_based_matching(Optional[RuleBasedMatchingRequest], default:None) –The process of matching duplicate profiles using the rule-Based matching. If
RuleBasedMatching= true, Connect Customer Customer Profiles will start to match and merge your profiles according to your configuration in theRuleBasedMatchingRequest. You can use theListRuleBasedMatchesandGetSimilarProfilesAPI to return and review the results. Also, if you have configuredExportingConfigin theRuleBasedMatchingRequest, you can download the results from S3. -
data_store(Optional[DataStoreRequest], default:None) –Set to true to enabled data store for this domain.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
BadRequestException–The input you provided is invalid.
-
InternalServerException–An internal service error occurred.
-
ResourceNotFoundException–The requested resource does not exist, or access was denied.
-
ThrottlingException–You exceeded the maximum number of requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_customer_profiles/_services/async_customer_profiles.py
8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 | |