CloudFront / Client / update_domain_association
update_domain_association¶
- CloudFront.Client.update_domain_association(**kwargs)¶
Moves a domain from its current distribution or distribution tenant to another one.
See also: AWS API Documentation
Request Syntax
response = client.update_domain_association( Domain='string', TargetResource={ 'DistributionId': 'string', 'DistributionTenantId': 'string' }, IfMatch='string' )
- Parameters:
Domain (string) –
[REQUIRED]
The domain to update.
TargetResource (dict) –
[REQUIRED]
The target distribution resource for the domain. You can specify either
DistributionId
orDistributionTenantId
, but not both.DistributionId (string) –
The ID of the multi-tenant distribution.
DistributionTenantId (string) –
The ID of the distribution tenant.
IfMatch (string) – The value of the
ETag
identifier for the distribution or distribution tenant that will be associated with the domain.
- Return type:
dict
- Returns:
Response Syntax
{ 'Domain': 'string', 'ResourceId': 'string', 'ETag': 'string' }
Response Structure
(dict) –
Domain (string) –
The domain that you’re moving.
ResourceId (string) –
The intended destination for the domain.
ETag (string) –
The current version of the target distribution or distribution tenant that was associated with the domain.
Exceptions