65966596%% API
65976597%%====================================================================
65986598
6599- %% @doc Associates an alias (also known as a CNAME or an alternate domain
6600- %% name) with a CloudFront distribution .
6599+ %% @doc The `AssociateAlias' API operation only supports standard
6600+ %% distributions .
66016601%%
6602- %% With this operation you can move an alias that's already in use on a
6603- %% CloudFront distribution to a different distribution in one step. This
6604- %% prevents the downtime that could occur if you first remove the alias from
6605- %% one distribution and then separately add the alias to another
6602+ %% To move domains between distribution tenants and/or standard
6603+ %% distributions, we recommend that you use the UpdateDomainAssociation:
6604+ %% https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDomainAssociation.html
6605+ %% API operation instead.
6606+ %%
6607+ %% Associates an alias with a CloudFront standard distribution. An alias is
6608+ %% commonly known as a custom domain or vanity domain. It can also be called
6609+ %% a CNAME or alternate domain name.
6610+ %%
6611+ %% With this operation, you can move an alias that's already used for a
6612+ %% standard distribution to a different standard distribution. This prevents
6613+ %% the downtime that could occur if you first remove the alias from one
6614+ %% standard distribution and then separately add the alias to another
6615+ %% standard distribution.
6616+ %%
6617+ %% To use this operation, specify the alias and the ID of the target standard
66066618%% distribution.
66076619%%
6608- %% To use this operation to associate an alias with a distribution, you
6609- %% provide the alias and the ID of the target distribution for the alias. For
6610- %% more information, including how to set up the target distribution,
6611- %% prerequisites that you must complete, and other restrictions, see Moving
6612- %% an alternate domain name to a different distribution:
6620+ %% For more information, including how to set up the target standard
6621+ %% distribution, prerequisites that you must complete, and other
6622+ %% restrictions, see Moving an alternate domain name to a different standard
6623+ %% distribution or distribution tenant:
66136624%% https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
66146625%% in the Amazon CloudFront Developer Guide.
66156626-spec associate_alias(aws_client:aws_client(), binary() | list(), associate_alias_request()) ->
@@ -11303,15 +11314,24 @@ list_cloud_front_origin_access_identities(Client, QueryMap, HeadersMap, Options0
1130311314
1130411315 request(Client, get, Path, Query_, Headers, undefined, Options, SuccessStatusCode).
1130511316
11306- %% @doc Gets a list of aliases (also called CNAMEs or alternate domain names)
11307- %% that conflict or overlap with the provided alias, and the associated
11308- %% CloudFront distributions and Amazon Web Services accounts for each
11309- %% conflicting alias.
11317+ %% @doc The `ListConflictingAliases' API operation only supports standard
11318+ %% distributions.
11319+ %%
11320+ %% To list domain conflicts for both standard distributions and distribution
11321+ %% tenants, we recommend that you use the ListDomainConflicts:
11322+ %% https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDomainConflicts.html
11323+ %% API operation instead.
1131011324%%
11311- %% In the returned list, the distribution and account IDs are partially
11312- %% hidden, which allows you to identify the distributions and accounts that
11313- %% you own, but helps to protect the information of ones that you don't
11314- %% own.
11325+ %% Gets a list of aliases that conflict or overlap with the provided alias,
11326+ %% and the associated CloudFront standard distribution and Amazon Web
11327+ %% Services accounts for each conflicting alias. An alias is commonly known
11328+ %% as a custom domain or vanity domain. It can also be called a CNAME or
11329+ %% alternate domain name.
11330+ %%
11331+ %% In the returned list, the standard distribution and account IDs are
11332+ %% partially hidden, which allows you to identify the standard distribution
11333+ %% and accounts that you own, and helps to protect the information of ones
11334+ %% that you don't own.
1131511335%%
1131611336%% Use this operation to find aliases that are in use in CloudFront that
1131711337%% conflict or overlap with the provided alias. For example, if you provide
@@ -11323,11 +11343,11 @@ list_cloud_front_origin_access_identities(Client, QueryMap, HeadersMap, Options0
1132311343%% `www.example.com', `test.example.com', `dev.example.com', and
1132411344%% so on), if they exist.
1132511345%%
11326- %% To list conflicting aliases, you provide the alias to search and the ID of
11327- %% a distribution in your account that has an attached SSL/ TLS certificate
11346+ %% To list conflicting aliases, specify the alias to search and the ID of a
11347+ %% standard distribution in your account that has an attached TLS certificate
1132811348%% that includes the provided alias. For more information, including how to
11329- %% set up the distribution and certificate, see Moving an alternate domain
11330- %% name to a different distribution:
11349+ %% set up the standard distribution and certificate, see Moving an alternate
11350+ %% domain name to a different standard distribution or distribution tenant :
1133111351%% https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
1133211352%% in the Amazon CloudFront Developer Guide.
1133311353%%
@@ -11994,12 +12014,48 @@ list_distributions_by_web_acl_id(Client, WebACLId, QueryMap, HeadersMap, Options
1199412014
1199512015 request(Client, get, Path, Query_, Headers, undefined, Options, SuccessStatusCode).
1199612016
11997- %% @doc Lists existing domain associations that conflict with the domain that
11998- %% you specify.
12017+ %% @doc We recommend that you use the `ListDomainConflicts' API operation
12018+ %% to check for domain conflicts, as it supports both standard distributions
12019+ %% and distribution tenants.
12020+ %%
12021+ %% ListConflictingAliases:
12022+ %% https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListConflictingAliases.html
12023+ %% performs similar checks but only supports standard distributions.
12024+ %%
12025+ %% Lists existing domain associations that conflict with the domain that you
12026+ %% specify.
12027+ %%
12028+ %% You can use this API operation to identify potential domain conflicts when
12029+ %% moving domains between standard distributions and/or distribution tenants.
12030+ %% Domain conflicts must be resolved first before they can be moved.
12031+ %%
12032+ %% For example, if you provide `www.example.com' as input, the returned
12033+ %% list can include `www.example.com' and the overlapping wildcard
12034+ %% alternate domain name (`*.example.com'), if they exist. If you provide
12035+ %% `*.example.com' as input, the returned list can include
12036+ %% `*.example.com' and any alternate domain names covered by that
12037+ %% wildcard (for example, `www.example.com', `test.example.com',
12038+ %% `dev.example.com', and so on), if they exist.
12039+ %%
12040+ %% To list conflicting domains, specify the following:
12041+ %%
12042+ %% The domain to search for
12043+ %%
12044+ %% The ID of a standard distribution or distribution tenant in your account
12045+ %% that has an attached TLS certificate, which covers the specified domain
12046+ %%
12047+ %% For more information, including how to set up the standard distribution or
12048+ %% distribution tenant, and the certificate, see Moving an alternate domain
12049+ %% name to a different standard distribution or distribution tenant:
12050+ %% https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
12051+ %% in the Amazon CloudFront Developer Guide.
1199912052%%
12000- %% You can use this API operation when transferring domains to identify
12001- %% potential domain conflicts. Domain conflicts must be resolved first before
12002- %% they can be moved.
12053+ %% You can optionally specify the maximum number of items to receive in the
12054+ %% response. If the total number of items in the list exceeds the maximum
12055+ %% that you specify, or the default maximum, the response is paginated. To
12056+ %% get the next page of items, send a subsequent request that specifies the
12057+ %% `NextMarker' value from the current response as the `Marker' value
12058+ %% in the subsequent request.
1200312059-spec list_domain_conflicts(aws_client:aws_client(), list_domain_conflicts_request()) ->
1200412060 {ok, list_domain_conflicts_result(), tuple()} |
1200512061 {error, any()} |
@@ -13355,8 +13411,29 @@ update_distribution_with_staging_config(Client, Id, Input0, Options0) ->
1335513411 Result
1335613412 end.
1335713413
13358- %% @doc Moves a domain from its current distribution or distribution tenant
13359- %% to another one.
13414+ %% @doc We recommend that you use the `UpdateDomainAssociation' API
13415+ %% operation to move a domain association, as it supports both standard
13416+ %% distributions and distribution tenants.
13417+ %%
13418+ %% AssociateAlias:
13419+ %% https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_AssociateAlias.html
13420+ %% performs similar checks but only supports standard distributions.
13421+ %%
13422+ %% Moves a domain from its current standard distribution or distribution
13423+ %% tenant to another one.
13424+ %%
13425+ %% You must first disable the source distribution (standard distribution or
13426+ %% distribution tenant) and then separately call this operation to move the
13427+ %% domain to another target distribution (standard distribution or
13428+ %% distribution tenant).
13429+ %%
13430+ %% To use this operation, specify the domain and the ID of the target
13431+ %% resource (standard distribution or distribution tenant). For more
13432+ %% information, including how to set up the target resource, prerequisites
13433+ %% that you must complete, and other restrictions, see Moving an alternate
13434+ %% domain name to a different standard distribution or distribution tenant:
13435+ %% https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
13436+ %% in the Amazon CloudFront Developer Guide.
1336013437-spec update_domain_association(aws_client:aws_client(), update_domain_association_request()) ->
1336113438 {ok, update_domain_association_result(), tuple()} |
1336213439 {error, any()} |
0 commit comments