@aws-sdk/client-cloudfront 3.804.0 → 3.808.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -6
- package/dist-cjs/runtimeConfig.js +6 -6
- package/dist-es/runtimeConfig.js +6 -6
- package/dist-types/CloudFront.d.ts +1 -5
- package/dist-types/CloudFrontClient.d.ts +1 -5
- package/dist-types/commands/AssociateAliasCommand.d.ts +1 -11
- package/dist-types/commands/AssociateDistributionTenantWebACLCommand.d.ts +1 -2
- package/dist-types/commands/AssociateDistributionWebACLCommand.d.ts +1 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +26 -90
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +1 -2
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +7 -39
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +5 -16
- package/dist-types/commands/CreateConnectionGroupCommand.d.ts +1 -2
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +3 -13
- package/dist-types/commands/CreateDistributionCommand.d.ts +27 -69
- package/dist-types/commands/CreateDistributionTenantCommand.d.ts +1 -2
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +28 -83
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +4 -8
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +3 -6
- package/dist-types/commands/CreateFunctionCommand.d.ts +4 -19
- package/dist-types/commands/CreateInvalidationCommand.d.ts +3 -6
- package/dist-types/commands/CreateInvalidationForDistributionTenantCommand.d.ts +3 -6
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +4 -17
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +1 -2
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +1 -4
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +2 -11
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +7 -44
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -2
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +3 -11
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +7 -32
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +5 -11
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +5 -11
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +2 -4
- package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +1 -2
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +3 -11
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -2
- package/dist-types/commands/DeleteConnectionGroupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDistributionCommand.d.ts +2 -4
- package/dist-types/commands/DeleteDistributionTenantCommand.d.ts +2 -4
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -2
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -2
- package/dist-types/commands/DeleteFunctionCommand.d.ts +3 -11
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +2 -9
- package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +1 -2
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +3 -8
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +3 -11
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +1 -2
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -9
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +3 -11
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +3 -53
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -5
- package/dist-types/commands/DisassociateDistributionTenantWebACLCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateDistributionWebACLCommand.d.ts +1 -2
- package/dist-types/commands/GetCachePolicyCommand.d.ts +1 -14
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +1 -6
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +1 -2
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -4
- package/dist-types/commands/GetKeyGroupCommand.d.ts +1 -7
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -6
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -2
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -15
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -7
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -4
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +1 -8
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +1 -7
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -2
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +1 -8
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +1 -23
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +1 -6
- package/dist-types/commands/ListDistributionTenantsByCustomizationCommand.d.ts +1 -2
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +1 -7
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +1 -7
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +1 -7
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -10
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +1 -7
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -5
- package/dist-types/commands/ListDomainConflictsCommand.d.ts +1 -2
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +1 -2
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +1 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -8
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +1 -6
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +1 -11
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +1 -8
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +1 -6
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -8
- package/dist-types/commands/PublishFunctionCommand.d.ts +2 -12
- package/dist-types/commands/TestFunctionCommand.d.ts +1 -10
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +7 -33
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +3 -6
- package/dist-types/commands/UpdateConnectionGroupCommand.d.ts +2 -4
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +3 -26
- package/dist-types/commands/UpdateDistributionCommand.d.ts +26 -99
- package/dist-types/commands/UpdateDistributionTenantCommand.d.ts +2 -4
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +23 -82
- package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +1 -2
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +4 -8
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +4 -8
- package/dist-types/commands/UpdateFunctionCommand.d.ts +3 -10
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +4 -25
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -2
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +1 -2
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +7 -35
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +2 -4
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -21
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +7 -38
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +3 -6
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +3 -6
- package/dist-types/index.d.ts +1 -5
- package/dist-types/models/models_0.d.ts +324 -2005
- package/dist-types/models/models_1.d.ts +297 -1243
- package/dist-types/models/models_2.d.ts +45 -119
- package/package.json +15 -15
|
@@ -27,40 +27,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates the configuration for a CloudFront distribution.</p>
|
|
31
|
-
* <p>The update process includes getting the current distribution configuration, updating
|
|
32
|
-
* it to make your changes, and then submitting an <code>UpdateDistribution</code> request
|
|
33
|
-
* to make the updates.</p>
|
|
34
|
-
* <p>
|
|
35
|
-
* <b>To update a web distribution using the CloudFront
|
|
36
|
-
* API</b>
|
|
37
|
-
* </p>
|
|
38
|
-
* <ol>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>Use <code>GetDistributionConfig</code> to get the current configuration,
|
|
41
|
-
* including the version identifier (<code>ETag</code>).</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>Update the distribution configuration that was returned in the response. Note
|
|
45
|
-
* the following important requirements and restrictions:</p>
|
|
46
|
-
* <ul>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>You must copy the <code>ETag</code> field value from the response. (You'll use it for the <code>IfMatch</code> parameter in your request.) Then, remove the <code>ETag</code>
|
|
49
|
-
* field from the distribution configuration.</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>You can't change the value of <code>CallerReference</code>.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
55
|
-
* </li>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>Submit an <code>UpdateDistribution</code> request, providing the updated distribution
|
|
58
|
-
* configuration. The new configuration replaces the existing configuration. The
|
|
59
|
-
* values that you specify in an <code>UpdateDistribution</code> request are not
|
|
60
|
-
* merged into your existing configuration. Make sure to include all fields: the
|
|
61
|
-
* ones that you modified and also the ones that you didn't.</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* </ol>
|
|
30
|
+
* <p>Updates the configuration for a CloudFront distribution.</p> <p>The update process includes getting the current distribution configuration, updating it to make your changes, and then submitting an <code>UpdateDistribution</code> request to make the updates.</p> <p> <b>To update a web distribution using the CloudFront API</b> </p> <ol> <li> <p>Use <code>GetDistributionConfig</code> to get the current configuration, including the version identifier (<code>ETag</code>).</p> </li> <li> <p>Update the distribution configuration that was returned in the response. Note the following important requirements and restrictions:</p> <ul> <li> <p>You must copy the <code>ETag</code> field value from the response. (You'll use it for the <code>IfMatch</code> parameter in your request.) Then, remove the <code>ETag</code> field from the distribution configuration.</p> </li> <li> <p>You can't change the value of <code>CallerReference</code>.</p> </li> </ul> </li> <li> <p>Submit an <code>UpdateDistribution</code> request, providing the updated distribution configuration. The new configuration replaces the existing configuration. The values that you specify in an <code>UpdateDistribution</code> request are not merged into your existing configuration. Make sure to include all fields: the ones that you modified and also the ones that you didn't.</p> </li> </ol>
|
|
64
31
|
* @example
|
|
65
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
66
33
|
* ```javascript
|
|
@@ -766,26 +733,22 @@ declare const UpdateDistributionCommand_base: {
|
|
|
766
733
|
* <p>The CNAME specified is already defined for CloudFront.</p>
|
|
767
734
|
*
|
|
768
735
|
* @throws {@link ContinuousDeploymentPolicyInUse} (client fault)
|
|
769
|
-
* <p>You cannot delete a continuous deployment policy that is associated with a primary
|
|
770
|
-
* distribution.</p>
|
|
736
|
+
* <p>You cannot delete a continuous deployment policy that is associated with a primary distribution.</p>
|
|
771
737
|
*
|
|
772
738
|
* @throws {@link EntityNotFound} (client fault)
|
|
773
739
|
* <p>The entity was not found.</p>
|
|
774
740
|
*
|
|
775
741
|
* @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
|
|
776
|
-
* <p>The specified configuration for field-level encryption can't be associated with the
|
|
777
|
-
* specified cache behavior.</p>
|
|
742
|
+
* <p>The specified configuration for field-level encryption can't be associated with the specified cache behavior.</p>
|
|
778
743
|
*
|
|
779
744
|
* @throws {@link IllegalOriginAccessConfiguration} (client fault)
|
|
780
|
-
* <p>An origin cannot contain both an origin access control (OAC) and an origin access
|
|
781
|
-
* identity (OAI).</p>
|
|
745
|
+
* <p>An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI).</p>
|
|
782
746
|
*
|
|
783
747
|
* @throws {@link IllegalUpdate} (client fault)
|
|
784
748
|
* <p>The update contains modifications that are not allowed.</p>
|
|
785
749
|
*
|
|
786
750
|
* @throws {@link InconsistentQuantities} (client fault)
|
|
787
|
-
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
788
|
-
* match.</p>
|
|
751
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't match.</p>
|
|
789
752
|
*
|
|
790
753
|
* @throws {@link InvalidArgument} (client fault)
|
|
791
754
|
* <p>An argument is invalid.</p>
|
|
@@ -794,16 +757,13 @@ declare const UpdateDistributionCommand_base: {
|
|
|
794
757
|
* <p>The default root object file name is too big or contains an invalid character.</p>
|
|
795
758
|
*
|
|
796
759
|
* @throws {@link InvalidDomainNameForOriginAccessControl} (client fault)
|
|
797
|
-
* <p>An origin access control is associated with an origin whose domain name is not
|
|
798
|
-
* supported.</p>
|
|
760
|
+
* <p>An origin access control is associated with an origin whose domain name is not supported.</p>
|
|
799
761
|
*
|
|
800
762
|
* @throws {@link InvalidErrorCode} (client fault)
|
|
801
763
|
* <p>An invalid error code was specified.</p>
|
|
802
764
|
*
|
|
803
765
|
* @throws {@link InvalidForwardCookies} (client fault)
|
|
804
|
-
* <p>Your request contains forward cookies option which doesn't match with the expectation
|
|
805
|
-
* for the <code>whitelisted</code> list of cookie names. Either list of cookie names has
|
|
806
|
-
* been specified when not allowed or list of cookie names is missing when expected.</p>
|
|
766
|
+
* <p>Your request contains forward cookies option which doesn't match with the expectation for the <code>whitelisted</code> list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.</p>
|
|
807
767
|
*
|
|
808
768
|
* @throws {@link InvalidFunctionAssociation} (client fault)
|
|
809
769
|
* <p>A CloudFront function association is invalid.</p>
|
|
@@ -842,13 +802,10 @@ declare const UpdateDistributionCommand_base: {
|
|
|
842
802
|
* <p>The query string parameters specified are not valid.</p>
|
|
843
803
|
*
|
|
844
804
|
* @throws {@link InvalidRelativePath} (client fault)
|
|
845
|
-
* <p>The relative path is too big, is not URL-encoded, or does not begin with a slash
|
|
846
|
-
* (/).</p>
|
|
805
|
+
* <p>The relative path is too big, is not URL-encoded, or does not begin with a slash (/).</p>
|
|
847
806
|
*
|
|
848
807
|
* @throws {@link InvalidRequiredProtocol} (client fault)
|
|
849
|
-
* <p>This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
|
|
850
|
-
* in your request, or omit the <code>RequiredProtocols</code> element from your
|
|
851
|
-
* distribution configuration.</p>
|
|
808
|
+
* <p>This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the <code>RequiredProtocols</code> element from your distribution configuration.</p>
|
|
852
809
|
*
|
|
853
810
|
* @throws {@link InvalidResponseCode} (client fault)
|
|
854
811
|
* <p>A response code is not valid.</p>
|
|
@@ -860,15 +817,10 @@ declare const UpdateDistributionCommand_base: {
|
|
|
860
817
|
* <p>A viewer certificate specified is not valid.</p>
|
|
861
818
|
*
|
|
862
819
|
* @throws {@link InvalidWebACLId} (client fault)
|
|
863
|
-
* <p>A web ACL ID specified is not valid. To specify a web ACL created using the latest
|
|
864
|
-
* version of WAF, use the ACL ARN, for example
|
|
865
|
-
* <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>.
|
|
866
|
-
* To specify a web ACL created using WAF Classic, use the ACL ID, for example
|
|
867
|
-
* <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>.</p>
|
|
820
|
+
* <p>A web ACL ID specified is not valid. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>. To specify a web ACL created using WAF Classic, use the ACL ID, for example <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>.</p>
|
|
868
821
|
*
|
|
869
822
|
* @throws {@link MissingBody} (client fault)
|
|
870
|
-
* <p>This operation requires a body. Ensure that the body is present and the
|
|
871
|
-
* <code>Content-Type</code> header is set.</p>
|
|
823
|
+
* <p>This operation requires a body. Ensure that the body is present and the <code>Content-Type</code> header is set.</p>
|
|
872
824
|
*
|
|
873
825
|
* @throws {@link NoSuchCachePolicy} (client fault)
|
|
874
826
|
* <p>The cache policy does not exist.</p>
|
|
@@ -895,8 +847,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
895
847
|
* <p>The response headers policy does not exist.</p>
|
|
896
848
|
*
|
|
897
849
|
* @throws {@link PreconditionFailed} (client fault)
|
|
898
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
899
|
-
* <code>false</code>.</p>
|
|
850
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
900
851
|
*
|
|
901
852
|
* @throws {@link RealtimeLogConfigOwnerMismatch} (client fault)
|
|
902
853
|
* <p>The specified real-time log configuration belongs to a different Amazon Web Services account.</p>
|
|
@@ -911,79 +862,55 @@ declare const UpdateDistributionCommand_base: {
|
|
|
911
862
|
* <p>You cannot create anymore custom SSL/TLS certificates.</p>
|
|
912
863
|
*
|
|
913
864
|
* @throws {@link TooManyCookieNamesInWhiteList} (client fault)
|
|
914
|
-
* <p>Your request contains more cookie names in the whitelist than are allowed per cache
|
|
915
|
-
* behavior.</p>
|
|
865
|
+
* <p>Your request contains more cookie names in the whitelist than are allowed per cache behavior.</p>
|
|
916
866
|
*
|
|
917
867
|
* @throws {@link TooManyDistributionCNAMEs} (client fault)
|
|
918
868
|
* <p>Your request contains more CNAMEs than are allowed per distribution.</p>
|
|
919
869
|
*
|
|
920
870
|
* @throws {@link TooManyDistributionsAssociatedToCachePolicy} (client fault)
|
|
921
|
-
* <p>The maximum number of distributions have been associated with the specified cache
|
|
922
|
-
* policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
923
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
871
|
+
* <p>The maximum number of distributions have been associated with the specified cache policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
924
872
|
*
|
|
925
873
|
* @throws {@link TooManyDistributionsAssociatedToFieldLevelEncryptionConfig} (client fault)
|
|
926
|
-
* <p>The maximum number of distributions have been associated with the specified
|
|
927
|
-
* configuration for field-level encryption.</p>
|
|
874
|
+
* <p>The maximum number of distributions have been associated with the specified configuration for field-level encryption.</p>
|
|
928
875
|
*
|
|
929
876
|
* @throws {@link TooManyDistributionsAssociatedToKeyGroup} (client fault)
|
|
930
|
-
* <p>The number of distributions that reference this key group is more than the maximum
|
|
931
|
-
* allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
932
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
877
|
+
* <p>The number of distributions that reference this key group is more than the maximum allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
933
878
|
*
|
|
934
879
|
* @throws {@link TooManyDistributionsAssociatedToOriginAccessControl} (client fault)
|
|
935
|
-
* <p>The maximum number of distributions have been associated with the specified origin
|
|
936
|
-
* access control.</p>
|
|
937
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
938
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
880
|
+
* <p>The maximum number of distributions have been associated with the specified origin access control.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
939
881
|
*
|
|
940
882
|
* @throws {@link TooManyDistributionsAssociatedToOriginRequestPolicy} (client fault)
|
|
941
|
-
* <p>The maximum number of distributions have been associated with the specified origin
|
|
942
|
-
* request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
943
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
883
|
+
* <p>The maximum number of distributions have been associated with the specified origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
944
884
|
*
|
|
945
885
|
* @throws {@link TooManyDistributionsAssociatedToResponseHeadersPolicy} (client fault)
|
|
946
|
-
* <p>The maximum number of distributions have been associated with the specified response
|
|
947
|
-
* headers policy.</p>
|
|
948
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
949
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
886
|
+
* <p>The maximum number of distributions have been associated with the specified response headers policy.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
950
887
|
*
|
|
951
888
|
* @throws {@link TooManyDistributionsWithFunctionAssociations} (client fault)
|
|
952
|
-
* <p>You have reached the maximum number of distributions that are associated with a CloudFront
|
|
953
|
-
* function. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
954
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
889
|
+
* <p>You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
955
890
|
*
|
|
956
891
|
* @throws {@link TooManyDistributionsWithLambdaAssociations} (client fault)
|
|
957
|
-
* <p>Processing your request would cause the maximum number of distributions with
|
|
958
|
-
* Lambda@Edge function associations per owner to be exceeded.</p>
|
|
892
|
+
* <p>Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.</p>
|
|
959
893
|
*
|
|
960
894
|
* @throws {@link TooManyDistributionsWithSingleFunctionARN} (client fault)
|
|
961
|
-
* <p>The maximum number of distributions have been associated with the specified
|
|
962
|
-
* Lambda@Edge function.</p>
|
|
895
|
+
* <p>The maximum number of distributions have been associated with the specified Lambda@Edge function.</p>
|
|
963
896
|
*
|
|
964
897
|
* @throws {@link TooManyFunctionAssociations} (client fault)
|
|
965
|
-
* <p>You have reached the maximum number of CloudFront function associations for this
|
|
966
|
-
* distribution. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
967
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
898
|
+
* <p>You have reached the maximum number of CloudFront function associations for this distribution. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
968
899
|
*
|
|
969
900
|
* @throws {@link TooManyHeadersInForwardedValues} (client fault)
|
|
970
901
|
* <p>Your request contains too many headers in forwarded values.</p>
|
|
971
902
|
*
|
|
972
903
|
* @throws {@link TooManyKeyGroupsAssociatedToDistribution} (client fault)
|
|
973
|
-
* <p>The number of key groups referenced by this distribution is more than the maximum
|
|
974
|
-
* allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
975
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
904
|
+
* <p>The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
976
905
|
*
|
|
977
906
|
* @throws {@link TooManyLambdaFunctionAssociations} (client fault)
|
|
978
|
-
* <p>Your request contains more Lambda@Edge function associations than are allowed per
|
|
979
|
-
* distribution.</p>
|
|
907
|
+
* <p>Your request contains more Lambda@Edge function associations than are allowed per distribution.</p>
|
|
980
908
|
*
|
|
981
909
|
* @throws {@link TooManyOriginCustomHeaders} (client fault)
|
|
982
910
|
* <p>Your request contains too many origin custom headers.</p>
|
|
983
911
|
*
|
|
984
912
|
* @throws {@link TooManyOriginGroupsPerDistribution} (client fault)
|
|
985
|
-
* <p>Processing your request would cause you to exceed the maximum number of origin groups
|
|
986
|
-
* allowed.</p>
|
|
913
|
+
* <p>Processing your request would cause you to exceed the maximum number of origin groups allowed.</p>
|
|
987
914
|
*
|
|
988
915
|
* @throws {@link TooManyOrigins} (client fault)
|
|
989
916
|
* <p>You cannot create more origins for the distribution.</p>
|
|
@@ -139,8 +139,7 @@ declare const UpdateDistributionTenantCommand_base: {
|
|
|
139
139
|
* <p>The CNAME specified is already defined for CloudFront.</p>
|
|
140
140
|
*
|
|
141
141
|
* @throws {@link EntityAlreadyExists} (client fault)
|
|
142
|
-
* <p>The entity already exists. You must provide a unique
|
|
143
|
-
* entity.</p>
|
|
142
|
+
* <p>The entity already exists. You must provide a unique entity.</p>
|
|
144
143
|
*
|
|
145
144
|
* @throws {@link EntityLimitExceeded} (client fault)
|
|
146
145
|
* <p>The entity limit has been exceeded.</p>
|
|
@@ -158,8 +157,7 @@ declare const UpdateDistributionTenantCommand_base: {
|
|
|
158
157
|
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
159
158
|
*
|
|
160
159
|
* @throws {@link PreconditionFailed} (client fault)
|
|
161
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
162
|
-
* <code>false</code>.</p>
|
|
160
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
163
161
|
*
|
|
164
162
|
* @throws {@link CloudFrontServiceException}
|
|
165
163
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
@@ -27,29 +27,7 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Copies the staging distribution's configuration to its corresponding primary
|
|
31
|
-
* distribution. The primary distribution retains its <code>Aliases</code> (also known as
|
|
32
|
-
* alternate domain names or CNAMEs) and <code>ContinuousDeploymentPolicyId</code> value,
|
|
33
|
-
* but otherwise its configuration is overwritten to match the staging distribution.</p>
|
|
34
|
-
* <p>You can use this operation in a continuous deployment workflow after you have tested
|
|
35
|
-
* configuration changes on the staging distribution. After using a continuous deployment
|
|
36
|
-
* policy to move a portion of your domain name's traffic to the staging distribution and
|
|
37
|
-
* verifying that it works as intended, you can use this operation to copy the staging
|
|
38
|
-
* distribution's configuration to the primary distribution. This action will disable the
|
|
39
|
-
* continuous deployment policy and move your domain's traffic back to the primary distribution.</p>
|
|
40
|
-
* <p>This API operation requires the following IAM permissions:</p>
|
|
41
|
-
* <ul>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>
|
|
44
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html">GetDistribution</a>
|
|
45
|
-
* </p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>
|
|
49
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>
|
|
50
|
-
* </p>
|
|
51
|
-
* </li>
|
|
52
|
-
* </ul>
|
|
30
|
+
* <p>Copies the staging distribution's configuration to its corresponding primary distribution. The primary distribution retains its <code>Aliases</code> (also known as alternate domain names or CNAMEs) and <code>ContinuousDeploymentPolicyId</code> value, but otherwise its configuration is overwritten to match the staging distribution.</p> <p>You can use this operation in a continuous deployment workflow after you have tested configuration changes on the staging distribution. After using a continuous deployment policy to move a portion of your domain name's traffic to the staging distribution and verifying that it works as intended, you can use this operation to copy the staging distribution's configuration to the primary distribution. This action will disable the continuous deployment policy and move your domain's traffic back to the primary distribution.</p> <p>This API operation requires the following IAM permissions:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html">GetDistribution</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a> </p> </li> </ul>
|
|
53
31
|
* @example
|
|
54
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
55
33
|
* ```javascript
|
|
@@ -444,15 +422,13 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
444
422
|
* <p>The entity was not found.</p>
|
|
445
423
|
*
|
|
446
424
|
* @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
|
|
447
|
-
* <p>The specified configuration for field-level encryption can't be associated with the
|
|
448
|
-
* specified cache behavior.</p>
|
|
425
|
+
* <p>The specified configuration for field-level encryption can't be associated with the specified cache behavior.</p>
|
|
449
426
|
*
|
|
450
427
|
* @throws {@link IllegalUpdate} (client fault)
|
|
451
428
|
* <p>The update contains modifications that are not allowed.</p>
|
|
452
429
|
*
|
|
453
430
|
* @throws {@link InconsistentQuantities} (client fault)
|
|
454
|
-
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
455
|
-
* match.</p>
|
|
431
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't match.</p>
|
|
456
432
|
*
|
|
457
433
|
* @throws {@link InvalidArgument} (client fault)
|
|
458
434
|
* <p>An argument is invalid.</p>
|
|
@@ -464,9 +440,7 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
464
440
|
* <p>An invalid error code was specified.</p>
|
|
465
441
|
*
|
|
466
442
|
* @throws {@link InvalidForwardCookies} (client fault)
|
|
467
|
-
* <p>Your request contains forward cookies option which doesn't match with the expectation
|
|
468
|
-
* for the <code>whitelisted</code> list of cookie names. Either list of cookie names has
|
|
469
|
-
* been specified when not allowed or list of cookie names is missing when expected.</p>
|
|
443
|
+
* <p>Your request contains forward cookies option which doesn't match with the expectation for the <code>whitelisted</code> list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.</p>
|
|
470
444
|
*
|
|
471
445
|
* @throws {@link InvalidFunctionAssociation} (client fault)
|
|
472
446
|
* <p>A CloudFront function association is invalid.</p>
|
|
@@ -505,13 +479,10 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
505
479
|
* <p>The query string parameters specified are not valid.</p>
|
|
506
480
|
*
|
|
507
481
|
* @throws {@link InvalidRelativePath} (client fault)
|
|
508
|
-
* <p>The relative path is too big, is not URL-encoded, or does not begin with a slash
|
|
509
|
-
* (/).</p>
|
|
482
|
+
* <p>The relative path is too big, is not URL-encoded, or does not begin with a slash (/).</p>
|
|
510
483
|
*
|
|
511
484
|
* @throws {@link InvalidRequiredProtocol} (client fault)
|
|
512
|
-
* <p>This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
|
|
513
|
-
* in your request, or omit the <code>RequiredProtocols</code> element from your
|
|
514
|
-
* distribution configuration.</p>
|
|
485
|
+
* <p>This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the <code>RequiredProtocols</code> element from your distribution configuration.</p>
|
|
515
486
|
*
|
|
516
487
|
* @throws {@link InvalidResponseCode} (client fault)
|
|
517
488
|
* <p>A response code is not valid.</p>
|
|
@@ -523,15 +494,10 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
523
494
|
* <p>A viewer certificate specified is not valid.</p>
|
|
524
495
|
*
|
|
525
496
|
* @throws {@link InvalidWebACLId} (client fault)
|
|
526
|
-
* <p>A web ACL ID specified is not valid. To specify a web ACL created using the latest
|
|
527
|
-
* version of WAF, use the ACL ARN, for example
|
|
528
|
-
* <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>.
|
|
529
|
-
* To specify a web ACL created using WAF Classic, use the ACL ID, for example
|
|
530
|
-
* <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>.</p>
|
|
497
|
+
* <p>A web ACL ID specified is not valid. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>. To specify a web ACL created using WAF Classic, use the ACL ID, for example <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>.</p>
|
|
531
498
|
*
|
|
532
499
|
* @throws {@link MissingBody} (client fault)
|
|
533
|
-
* <p>This operation requires a body. Ensure that the body is present and the
|
|
534
|
-
* <code>Content-Type</code> header is set.</p>
|
|
500
|
+
* <p>This operation requires a body. Ensure that the body is present and the <code>Content-Type</code> header is set.</p>
|
|
535
501
|
*
|
|
536
502
|
* @throws {@link NoSuchCachePolicy} (client fault)
|
|
537
503
|
* <p>The cache policy does not exist.</p>
|
|
@@ -555,8 +521,7 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
555
521
|
* <p>The response headers policy does not exist.</p>
|
|
556
522
|
*
|
|
557
523
|
* @throws {@link PreconditionFailed} (client fault)
|
|
558
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
559
|
-
* <code>false</code>.</p>
|
|
524
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
560
525
|
*
|
|
561
526
|
* @throws {@link RealtimeLogConfigOwnerMismatch} (client fault)
|
|
562
527
|
* <p>The specified real-time log configuration belongs to a different Amazon Web Services account.</p>
|
|
@@ -568,79 +533,55 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
568
533
|
* <p>You cannot create anymore custom SSL/TLS certificates.</p>
|
|
569
534
|
*
|
|
570
535
|
* @throws {@link TooManyCookieNamesInWhiteList} (client fault)
|
|
571
|
-
* <p>Your request contains more cookie names in the whitelist than are allowed per cache
|
|
572
|
-
* behavior.</p>
|
|
536
|
+
* <p>Your request contains more cookie names in the whitelist than are allowed per cache behavior.</p>
|
|
573
537
|
*
|
|
574
538
|
* @throws {@link TooManyDistributionCNAMEs} (client fault)
|
|
575
539
|
* <p>Your request contains more CNAMEs than are allowed per distribution.</p>
|
|
576
540
|
*
|
|
577
541
|
* @throws {@link TooManyDistributionsAssociatedToCachePolicy} (client fault)
|
|
578
|
-
* <p>The maximum number of distributions have been associated with the specified cache
|
|
579
|
-
* policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
580
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
542
|
+
* <p>The maximum number of distributions have been associated with the specified cache policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
581
543
|
*
|
|
582
544
|
* @throws {@link TooManyDistributionsAssociatedToFieldLevelEncryptionConfig} (client fault)
|
|
583
|
-
* <p>The maximum number of distributions have been associated with the specified
|
|
584
|
-
* configuration for field-level encryption.</p>
|
|
545
|
+
* <p>The maximum number of distributions have been associated with the specified configuration for field-level encryption.</p>
|
|
585
546
|
*
|
|
586
547
|
* @throws {@link TooManyDistributionsAssociatedToKeyGroup} (client fault)
|
|
587
|
-
* <p>The number of distributions that reference this key group is more than the maximum
|
|
588
|
-
* allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
589
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
548
|
+
* <p>The number of distributions that reference this key group is more than the maximum allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
590
549
|
*
|
|
591
550
|
* @throws {@link TooManyDistributionsAssociatedToOriginAccessControl} (client fault)
|
|
592
|
-
* <p>The maximum number of distributions have been associated with the specified origin
|
|
593
|
-
* access control.</p>
|
|
594
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
595
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
551
|
+
* <p>The maximum number of distributions have been associated with the specified origin access control.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
596
552
|
*
|
|
597
553
|
* @throws {@link TooManyDistributionsAssociatedToOriginRequestPolicy} (client fault)
|
|
598
|
-
* <p>The maximum number of distributions have been associated with the specified origin
|
|
599
|
-
* request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
600
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
554
|
+
* <p>The maximum number of distributions have been associated with the specified origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
601
555
|
*
|
|
602
556
|
* @throws {@link TooManyDistributionsAssociatedToResponseHeadersPolicy} (client fault)
|
|
603
|
-
* <p>The maximum number of distributions have been associated with the specified response
|
|
604
|
-
* headers policy.</p>
|
|
605
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
606
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
557
|
+
* <p>The maximum number of distributions have been associated with the specified response headers policy.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
607
558
|
*
|
|
608
559
|
* @throws {@link TooManyDistributionsWithFunctionAssociations} (client fault)
|
|
609
|
-
* <p>You have reached the maximum number of distributions that are associated with a CloudFront
|
|
610
|
-
* function. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
611
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
560
|
+
* <p>You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
612
561
|
*
|
|
613
562
|
* @throws {@link TooManyDistributionsWithLambdaAssociations} (client fault)
|
|
614
|
-
* <p>Processing your request would cause the maximum number of distributions with
|
|
615
|
-
* Lambda@Edge function associations per owner to be exceeded.</p>
|
|
563
|
+
* <p>Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.</p>
|
|
616
564
|
*
|
|
617
565
|
* @throws {@link TooManyDistributionsWithSingleFunctionARN} (client fault)
|
|
618
|
-
* <p>The maximum number of distributions have been associated with the specified
|
|
619
|
-
* Lambda@Edge function.</p>
|
|
566
|
+
* <p>The maximum number of distributions have been associated with the specified Lambda@Edge function.</p>
|
|
620
567
|
*
|
|
621
568
|
* @throws {@link TooManyFunctionAssociations} (client fault)
|
|
622
|
-
* <p>You have reached the maximum number of CloudFront function associations for this
|
|
623
|
-
* distribution. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
624
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
569
|
+
* <p>You have reached the maximum number of CloudFront function associations for this distribution. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
625
570
|
*
|
|
626
571
|
* @throws {@link TooManyHeadersInForwardedValues} (client fault)
|
|
627
572
|
* <p>Your request contains too many headers in forwarded values.</p>
|
|
628
573
|
*
|
|
629
574
|
* @throws {@link TooManyKeyGroupsAssociatedToDistribution} (client fault)
|
|
630
|
-
* <p>The number of key groups referenced by this distribution is more than the maximum
|
|
631
|
-
* allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
632
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
575
|
+
* <p>The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
633
576
|
*
|
|
634
577
|
* @throws {@link TooManyLambdaFunctionAssociations} (client fault)
|
|
635
|
-
* <p>Your request contains more Lambda@Edge function associations than are allowed per
|
|
636
|
-
* distribution.</p>
|
|
578
|
+
* <p>Your request contains more Lambda@Edge function associations than are allowed per distribution.</p>
|
|
637
579
|
*
|
|
638
580
|
* @throws {@link TooManyOriginCustomHeaders} (client fault)
|
|
639
581
|
* <p>Your request contains too many origin custom headers.</p>
|
|
640
582
|
*
|
|
641
583
|
* @throws {@link TooManyOriginGroupsPerDistribution} (client fault)
|
|
642
|
-
* <p>Processing your request would cause you to exceed the maximum number of origin groups
|
|
643
|
-
* allowed.</p>
|
|
584
|
+
* <p>Processing your request would cause you to exceed the maximum number of origin groups allowed.</p>
|
|
644
585
|
*
|
|
645
586
|
* @throws {@link TooManyOrigins} (client fault)
|
|
646
587
|
* <p>You cannot create more origins for the distribution.</p>
|
|
@@ -74,8 +74,7 @@ declare const UpdateDomainAssociationCommand_base: {
|
|
|
74
74
|
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link PreconditionFailed} (client fault)
|
|
77
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
78
|
-
* <code>false</code>.</p>
|
|
77
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
79
78
|
*
|
|
80
79
|
* @throws {@link CloudFrontServiceException}
|
|
81
80
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
@@ -121,8 +121,7 @@ declare const UpdateFieldLevelEncryptionConfigCommand_base: {
|
|
|
121
121
|
* <p>The update contains modifications that are not allowed.</p>
|
|
122
122
|
*
|
|
123
123
|
* @throws {@link InconsistentQuantities} (client fault)
|
|
124
|
-
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
125
|
-
* match.</p>
|
|
124
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't match.</p>
|
|
126
125
|
*
|
|
127
126
|
* @throws {@link InvalidArgument} (client fault)
|
|
128
127
|
* <p>An argument is invalid.</p>
|
|
@@ -137,19 +136,16 @@ declare const UpdateFieldLevelEncryptionConfigCommand_base: {
|
|
|
137
136
|
* <p>The specified profile for field-level encryption doesn't exist.</p>
|
|
138
137
|
*
|
|
139
138
|
* @throws {@link PreconditionFailed} (client fault)
|
|
140
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
141
|
-
* <code>false</code>.</p>
|
|
139
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
142
140
|
*
|
|
143
141
|
* @throws {@link QueryArgProfileEmpty} (client fault)
|
|
144
142
|
* <p>No profile specified for the field-level encryption query argument.</p>
|
|
145
143
|
*
|
|
146
144
|
* @throws {@link TooManyFieldLevelEncryptionContentTypeProfiles} (client fault)
|
|
147
|
-
* <p>The maximum number of content type profiles for field-level encryption have been
|
|
148
|
-
* created.</p>
|
|
145
|
+
* <p>The maximum number of content type profiles for field-level encryption have been created.</p>
|
|
149
146
|
*
|
|
150
147
|
* @throws {@link TooManyFieldLevelEncryptionQueryArgProfiles} (client fault)
|
|
151
|
-
* <p>The maximum number of query arg profiles for field-level encryption have been
|
|
152
|
-
* created.</p>
|
|
148
|
+
* <p>The maximum number of query arg profiles for field-level encryption have been created.</p>
|
|
153
149
|
*
|
|
154
150
|
* @throws {@link CloudFrontServiceException}
|
|
155
151
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
@@ -109,8 +109,7 @@ declare const UpdateFieldLevelEncryptionProfileCommand_base: {
|
|
|
109
109
|
* <p>The update contains modifications that are not allowed.</p>
|
|
110
110
|
*
|
|
111
111
|
* @throws {@link InconsistentQuantities} (client fault)
|
|
112
|
-
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
113
|
-
* match.</p>
|
|
112
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't match.</p>
|
|
114
113
|
*
|
|
115
114
|
* @throws {@link InvalidArgument} (client fault)
|
|
116
115
|
* <p>An argument is invalid.</p>
|
|
@@ -125,16 +124,13 @@ declare const UpdateFieldLevelEncryptionProfileCommand_base: {
|
|
|
125
124
|
* <p>The specified public key doesn't exist.</p>
|
|
126
125
|
*
|
|
127
126
|
* @throws {@link PreconditionFailed} (client fault)
|
|
128
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
129
|
-
* <code>false</code>.</p>
|
|
127
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
130
128
|
*
|
|
131
129
|
* @throws {@link TooManyFieldLevelEncryptionEncryptionEntities} (client fault)
|
|
132
|
-
* <p>The maximum number of encryption entities for field-level encryption have been
|
|
133
|
-
* created.</p>
|
|
130
|
+
* <p>The maximum number of encryption entities for field-level encryption have been created.</p>
|
|
134
131
|
*
|
|
135
132
|
* @throws {@link TooManyFieldLevelEncryptionFieldPatterns} (client fault)
|
|
136
|
-
* <p>The maximum number of field patterns for field-level encryption have been
|
|
137
|
-
* created.</p>
|
|
133
|
+
* <p>The maximum number of field patterns for field-level encryption have been created.</p>
|
|
138
134
|
*
|
|
139
135
|
* @throws {@link CloudFrontServiceException}
|
|
140
136
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
@@ -27,12 +27,7 @@ declare const UpdateFunctionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a CloudFront function.</p>
|
|
31
|
-
* <p>You can update a function's code or the comment that describes the function. You
|
|
32
|
-
* cannot update a function's name.</p>
|
|
33
|
-
* <p>To update a function, you provide the function's name and version (<code>ETag</code>
|
|
34
|
-
* value) along with the updated function code. To get the name and version, you can use
|
|
35
|
-
* <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
|
|
30
|
+
* <p>Updates a CloudFront function.</p> <p>You can update a function's code or the comment that describes the function. You cannot update a function's name.</p> <p>To update a function, you provide the function's name and version (<code>ETag</code> value) along with the updated function code. To get the name and version, you can use <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -93,8 +88,7 @@ declare const UpdateFunctionCommand_base: {
|
|
|
93
88
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
94
89
|
*
|
|
95
90
|
* @throws {@link FunctionSizeLimitExceeded} (client fault)
|
|
96
|
-
* <p>The function is too large. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
97
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
91
|
+
* <p>The function is too large. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
98
92
|
*
|
|
99
93
|
* @throws {@link InvalidArgument} (client fault)
|
|
100
94
|
* <p>An argument is invalid.</p>
|
|
@@ -106,8 +100,7 @@ declare const UpdateFunctionCommand_base: {
|
|
|
106
100
|
* <p>The function does not exist.</p>
|
|
107
101
|
*
|
|
108
102
|
* @throws {@link PreconditionFailed} (client fault)
|
|
109
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
110
|
-
* <code>false</code>.</p>
|
|
103
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
111
104
|
*
|
|
112
105
|
* @throws {@link UnsupportedOperation} (client fault)
|
|
113
106
|
* <p>This operation is not supported in this Amazon Web Services Region.</p>
|
|
@@ -27,24 +27,7 @@ declare const UpdateKeyGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a key group.</p>
|
|
31
|
-
* <p>When you update a key group, all the fields are updated with the values provided in
|
|
32
|
-
* the request. You cannot update some fields independent of others. To update a key
|
|
33
|
-
* group:</p>
|
|
34
|
-
* <ol>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Get the current key group with <code>GetKeyGroup</code> or
|
|
37
|
-
* <code>GetKeyGroupConfig</code>.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>Locally modify the fields in the key group that you want to update. For
|
|
41
|
-
* example, add or remove public key IDs.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>Call <code>UpdateKeyGroup</code> with the entire key group object, including
|
|
45
|
-
* the fields that you modified and those that you didn't.</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* </ol>
|
|
30
|
+
* <p>Updates a key group.</p> <p>When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a key group:</p> <ol> <li> <p>Get the current key group with <code>GetKeyGroup</code> or <code>GetKeyGroupConfig</code>.</p> </li> <li> <p>Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs.</p> </li> <li> <p>Call <code>UpdateKeyGroup</code> with the entire key group object, including the fields that you modified and those that you didn't.</p> </li> </ol>
|
|
48
31
|
* @example
|
|
49
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
50
33
|
* ```javascript
|
|
@@ -94,20 +77,16 @@ declare const UpdateKeyGroupCommand_base: {
|
|
|
94
77
|
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
95
78
|
*
|
|
96
79
|
* @throws {@link KeyGroupAlreadyExists} (client fault)
|
|
97
|
-
* <p>A key group with this name already exists. You must provide a unique name. To modify
|
|
98
|
-
* an existing key group, use <code>UpdateKeyGroup</code>.</p>
|
|
80
|
+
* <p>A key group with this name already exists. You must provide a unique name. To modify an existing key group, use <code>UpdateKeyGroup</code>.</p>
|
|
99
81
|
*
|
|
100
82
|
* @throws {@link NoSuchResource} (client fault)
|
|
101
83
|
* <p>A resource that was specified is not valid.</p>
|
|
102
84
|
*
|
|
103
85
|
* @throws {@link PreconditionFailed} (client fault)
|
|
104
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
105
|
-
* <code>false</code>.</p>
|
|
86
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
106
87
|
*
|
|
107
88
|
* @throws {@link TooManyPublicKeysInKeyGroup} (client fault)
|
|
108
|
-
* <p>The number of public keys in this key group is more than the maximum allowed. For more
|
|
109
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
110
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
89
|
+
* <p>The number of public keys in this key group is more than the maximum allowed. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
111
90
|
*
|
|
112
91
|
* @throws {@link CloudFrontServiceException}
|
|
113
92
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|