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
8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 | |