update_domain
¶
update_domain(
domain_name: name,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = 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/customer_profiles.py
8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 | |