@Override
    public AssociateAliasResult associateAlias(AssociateAliasRequest request) {
        request = beforeClientExecution(request);
        return executeAssociateAlias(request);
    }
<p>
Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution.
</p>
<p>
With this operation you can move an alias that's already in use on a CloudFront distribution to a different
distribution in one step. This prevents the downtime that could occur if you first remove the alias from one
distribution and then separately add the alias to another distribution.
</p>
<p>
To use this operation to associate an alias with a distribution, you provide the alias and the ID of the target
distribution for the alias. For more information, including how to set up the target distribution, prerequisites
that you must complete, and other restrictions, see <a href=
"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move"
>Moving an alternate domain name to a different distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.
</p>

@param associateAliasRequest
@return Result of the AssociateAlias operation returned by the service.
@throws InvalidArgumentException
        An argument is invalid.
@throws NoSuchDistributionException
        The specified distribution does not exist.
@throws TooManyDistributionCNAMEsException
        Your request contains more CNAMEs than are allowed per distribution.
@throws IllegalUpdateException
        The update contains modifications that are not allowed.
@throws AccessDeniedException
        Access denied.
@sample AmazonCloudFront.AssociateAlias
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAlias" target="_top">AWS API
     Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java