@aws-sdk/client-cloudfront 3.803.0 → 3.806.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 +2 -12
- package/dist-types/commands/AssociateDistributionTenantWebACLCommand.d.ts +2 -3
- package/dist-types/commands/AssociateDistributionWebACLCommand.d.ts +2 -3
- package/dist-types/commands/CopyDistributionCommand.d.ts +27 -91
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +2 -3
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +8 -40
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +6 -17
- package/dist-types/commands/CreateConnectionGroupCommand.d.ts +2 -3
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +4 -14
- package/dist-types/commands/CreateDistributionCommand.d.ts +28 -70
- package/dist-types/commands/CreateDistributionTenantCommand.d.ts +2 -3
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +29 -84
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +5 -9
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +4 -7
- package/dist-types/commands/CreateFunctionCommand.d.ts +5 -20
- package/dist-types/commands/CreateInvalidationCommand.d.ts +4 -7
- package/dist-types/commands/CreateInvalidationForDistributionTenantCommand.d.ts +4 -7
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +5 -18
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +2 -3
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -5
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +3 -12
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +8 -45
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +2 -3
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +4 -12
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +8 -33
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +6 -12
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +6 -12
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +3 -5
- package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +2 -3
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +4 -12
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -3
- package/dist-types/commands/DeleteConnectionGroupCommand.d.ts +2 -3
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +4 -9
- package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -5
- package/dist-types/commands/DeleteDistributionTenantCommand.d.ts +3 -5
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -3
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -3
- package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -12
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +3 -10
- package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +2 -3
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +4 -9
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +4 -12
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +2 -3
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -9
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +4 -12
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +4 -54
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +2 -3
- package/dist-types/commands/DescribeFunctionCommand.d.ts +2 -6
- package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateDistributionTenantWebACLCommand.d.ts +2 -3
- package/dist-types/commands/DisassociateDistributionWebACLCommand.d.ts +2 -3
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyCommand.d.ts +2 -15
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +2 -7
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectionGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +2 -3
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionTenantByDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionTenantCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +2 -5
- package/dist-types/commands/GetInvalidationCommand.d.ts +1 -1
- package/dist-types/commands/GetInvalidationForDistributionTenantCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyGroupCommand.d.ts +2 -8
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +2 -7
- package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +1 -1
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +2 -3
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +2 -16
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -8
- package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -4
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +2 -9
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +2 -8
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +2 -3
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetVpcOriginCommand.d.ts +1 -1
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +1 -8
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +2 -24
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +1 -6
- package/dist-types/commands/ListDistributionTenantsByCustomizationCommand.d.ts +1 -2
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -8
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -8
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -8
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -10
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +2 -8
- package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -6
- package/dist-types/commands/ListDomainConflictsCommand.d.ts +2 -3
- 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/ListInvalidationsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvalidationsForDistributionTenantCommand.d.ts +1 -1
- 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/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PublishFunctionCommand.d.ts +3 -13
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestFunctionCommand.d.ts +2 -11
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +8 -34
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +4 -7
- package/dist-types/commands/UpdateConnectionGroupCommand.d.ts +3 -5
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +4 -27
- package/dist-types/commands/UpdateDistributionCommand.d.ts +27 -100
- package/dist-types/commands/UpdateDistributionTenantCommand.d.ts +3 -5
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +24 -83
- package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +2 -3
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +5 -9
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +5 -9
- package/dist-types/commands/UpdateFunctionCommand.d.ts +4 -11
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +5 -26
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +2 -3
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +2 -3
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +8 -36
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +3 -5
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -21
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +8 -39
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +4 -7
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +4 -7
- package/dist-types/commands/VerifyDnsConfigurationCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
- 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/dist-types/runtimeConfig.browser.d.ts +17 -17
- package/dist-types/runtimeConfig.d.ts +16 -16
- package/dist-types/runtimeConfig.native.d.ts +18 -18
- package/dist-types/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateDistributionTenantWebACLCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateDistributionWebACLCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CopyDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAnycastIpListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateConnectionGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDistributionTenantCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInvalidationForDistributionTenantCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpcOriginCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAnycastIpListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteConnectionGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDistributionTenantCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpcOriginCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateDistributionTenantWebACLCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateDistributionWebACLCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAnycastIpListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConnectionGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionTenantByDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionTenantCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvalidationForDistributionTenantCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetVpcOriginCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDistributionsByConnectionModeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDistributionsByVpcOriginIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDomainConflictsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvalidationsForDistributionTenantCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectionGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDistributionTenantCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/VerifyDnsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
- package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/package.json +23 -23
package/README.md
CHANGED
|
@@ -6,12 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript CloudFront Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<fullname>Amazon CloudFront</fullname>
|
|
10
|
-
|
|
11
|
-
<p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers
|
|
12
|
-
who need detailed information about CloudFront API actions, data types, and errors. For
|
|
13
|
-
detailed information about CloudFront features, see the
|
|
14
|
-
<a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">Amazon CloudFront Developer Guide</a>.</p>
|
|
9
|
+
<fullname>Amazon CloudFront</fullname> <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">Amazon CloudFront Developer Guide</a>.</p>
|
|
15
10
|
|
|
16
11
|
## Installing
|
|
17
12
|
|
|
@@ -23,20 +23,20 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
-
const
|
|
26
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
|
27
27
|
return {
|
|
28
28
|
...clientSharedValues,
|
|
29
29
|
...config,
|
|
30
30
|
runtime: "node",
|
|
31
31
|
defaultsMode,
|
|
32
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
33
33
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
34
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
35
35
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
36
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
37
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
38
38
|
region: config?.region ??
|
|
39
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
|
39
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
40
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
41
41
|
retryMode: config?.retryMode ??
|
|
42
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -45,9 +45,9 @@ const getRuntimeConfig = (config) => {
|
|
|
45
45
|
}, config),
|
|
46
46
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
47
47
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
48
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
49
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
50
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS,
|
|
48
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
49
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
50
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,20 +19,20 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
-
const
|
|
22
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
26
26
|
runtime: "node",
|
|
27
27
|
defaultsMode,
|
|
28
|
-
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
28
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
29
29
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
30
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
31
31
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
32
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
33
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
34
34
|
region: config?.region ??
|
|
35
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
|
35
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
36
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
37
37
|
retryMode: config?.retryMode ??
|
|
38
38
|
loadNodeConfig({
|
|
@@ -41,8 +41,8 @@ export const getRuntimeConfig = (config) => {
|
|
|
41
41
|
}, config),
|
|
42
42
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
44
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
45
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
46
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS,
|
|
44
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
45
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
47
47
|
};
|
|
48
48
|
};
|
|
@@ -1056,11 +1056,7 @@ export interface CloudFront {
|
|
|
1056
1056
|
verifyDnsConfiguration(args: VerifyDnsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyDnsConfigurationCommandOutput) => void): void;
|
|
1057
1057
|
}
|
|
1058
1058
|
/**
|
|
1059
|
-
* <fullname>Amazon CloudFront</fullname>
|
|
1060
|
-
* <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers
|
|
1061
|
-
* who need detailed information about CloudFront API actions, data types, and errors. For
|
|
1062
|
-
* detailed information about CloudFront features, see the
|
|
1063
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">Amazon CloudFront Developer Guide</a>.</p>
|
|
1059
|
+
* <fullname>Amazon CloudFront</fullname> <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">Amazon CloudFront Developer Guide</a>.</p>
|
|
1064
1060
|
* @public
|
|
1065
1061
|
*/
|
|
1066
1062
|
export declare class CloudFront extends CloudFrontClient implements CloudFront {
|
|
@@ -316,11 +316,7 @@ export type CloudFrontClientResolvedConfigType = __SmithyResolvedConfiguration<_
|
|
|
316
316
|
export interface CloudFrontClientResolvedConfig extends CloudFrontClientResolvedConfigType {
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
|
-
* <fullname>Amazon CloudFront</fullname>
|
|
320
|
-
* <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers
|
|
321
|
-
* who need detailed information about CloudFront API actions, data types, and errors. For
|
|
322
|
-
* detailed information about CloudFront features, see the
|
|
323
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">Amazon CloudFront Developer Guide</a>.</p>
|
|
319
|
+
* <fullname>Amazon CloudFront</fullname> <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">Amazon CloudFront Developer Guide</a>.</p>
|
|
324
320
|
* @public
|
|
325
321
|
*/
|
|
326
322
|
export declare class CloudFrontClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudFrontClientResolvedConfig> {
|
|
@@ -23,21 +23,11 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
declare const AssociateAliasCommand_base: {
|
|
25
25
|
new (input: AssociateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAliasCommandInput, AssociateAliasCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: AssociateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAliasCommandInput, AssociateAliasCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront
|
|
31
|
-
* distribution.</p>
|
|
32
|
-
* <p>With this operation you can move an alias that's already in use on a CloudFront distribution
|
|
33
|
-
* to a different distribution in one step. This prevents the downtime that could occur if
|
|
34
|
-
* you first remove the alias from one distribution and then separately add the alias to
|
|
35
|
-
* another distribution.</p>
|
|
36
|
-
* <p>To use this operation to associate an alias with a distribution, you provide the alias
|
|
37
|
-
* and the ID of the target distribution for the alias. For more information, including how
|
|
38
|
-
* to set up the target distribution, prerequisites that you must complete, and other
|
|
39
|
-
* 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
|
|
40
|
-
* distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
30
|
+
* <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>
|
|
41
31
|
* @example
|
|
42
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
33
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface AssociateDistributionTenantWebACLCommandOutput extends Associat
|
|
|
23
23
|
}
|
|
24
24
|
declare const AssociateDistributionTenantWebACLCommand_base: {
|
|
25
25
|
new (input: AssociateDistributionTenantWebACLCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDistributionTenantWebACLCommandInput, AssociateDistributionTenantWebACLCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: AssociateDistributionTenantWebACLCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDistributionTenantWebACLCommandInput, AssociateDistributionTenantWebACLCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -68,8 +68,7 @@ declare const AssociateDistributionTenantWebACLCommand_base: {
|
|
|
68
68
|
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link PreconditionFailed} (client fault)
|
|
71
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
72
|
-
* <code>false</code>.</p>
|
|
71
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
73
72
|
*
|
|
74
73
|
* @throws {@link CloudFrontServiceException}
|
|
75
74
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
@@ -23,7 +23,7 @@ export interface AssociateDistributionWebACLCommandOutput extends AssociateDistr
|
|
|
23
23
|
}
|
|
24
24
|
declare const AssociateDistributionWebACLCommand_base: {
|
|
25
25
|
new (input: AssociateDistributionWebACLCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDistributionWebACLCommandInput, AssociateDistributionWebACLCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: AssociateDistributionWebACLCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDistributionWebACLCommandInput, AssociateDistributionWebACLCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -68,8 +68,7 @@ declare const AssociateDistributionWebACLCommand_base: {
|
|
|
68
68
|
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link PreconditionFailed} (client fault)
|
|
71
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
72
|
-
* <code>false</code>.</p>
|
|
71
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
73
72
|
*
|
|
74
73
|
* @throws {@link CloudFrontServiceException}
|
|
75
74
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
@@ -23,35 +23,11 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
|
|
|
23
23
|
}
|
|
24
24
|
declare const CopyDistributionCommand_base: {
|
|
25
25
|
new (input: CopyDistributionCommandInput): import("@smithy/smithy-client").CommandImpl<CopyDistributionCommandInput, CopyDistributionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CopyDistributionCommandInput): import("@smithy/smithy-client").CommandImpl<CopyDistributionCommandInput, CopyDistributionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a staging distribution using the configuration of the provided primary
|
|
31
|
-
* distribution. A staging distribution is a copy of an existing distribution (called the
|
|
32
|
-
* primary distribution) that you can use in a continuous deployment workflow.</p>
|
|
33
|
-
* <p>After you create a staging distribution, you can use <code>UpdateDistribution</code>
|
|
34
|
-
* to modify the staging distribution's configuration. Then you can use
|
|
35
|
-
* <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the
|
|
36
|
-
* staging distribution.</p>
|
|
37
|
-
* <p>This API operation requires the following IAM permissions:</p>
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html">GetDistribution</a>
|
|
42
|
-
* </p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html">CreateDistribution</a>
|
|
47
|
-
* </p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>
|
|
51
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CopyDistribution.html">CopyDistribution</a>
|
|
52
|
-
* </p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
30
|
+
* <p>Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow.</p> <p>After you create a staging distribution, you can use <code>UpdateDistribution</code> to modify the staging distribution's configuration. Then you can use <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the staging 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_CreateDistribution.html">CreateDistribution</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CopyDistribution.html">CopyDistribution</a> </p> </li> </ul>
|
|
55
31
|
* @example
|
|
56
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
57
33
|
* ```javascript
|
|
@@ -446,16 +422,13 @@ declare const CopyDistributionCommand_base: {
|
|
|
446
422
|
* <p>The CNAME specified is already defined for CloudFront.</p>
|
|
447
423
|
*
|
|
448
424
|
* @throws {@link DistributionAlreadyExists} (client fault)
|
|
449
|
-
* <p>The caller reference you attempted to create the distribution with is associated with
|
|
450
|
-
* another distribution.</p>
|
|
425
|
+
* <p>The caller reference you attempted to create the distribution with is associated with another distribution.</p>
|
|
451
426
|
*
|
|
452
427
|
* @throws {@link IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior} (client fault)
|
|
453
|
-
* <p>The specified configuration for field-level encryption can't be associated with the
|
|
454
|
-
* specified cache behavior.</p>
|
|
428
|
+
* <p>The specified configuration for field-level encryption can't be associated with the specified cache behavior.</p>
|
|
455
429
|
*
|
|
456
430
|
* @throws {@link InconsistentQuantities} (client fault)
|
|
457
|
-
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
458
|
-
* match.</p>
|
|
431
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't match.</p>
|
|
459
432
|
*
|
|
460
433
|
* @throws {@link InvalidArgument} (client fault)
|
|
461
434
|
* <p>An argument is invalid.</p>
|
|
@@ -467,9 +440,7 @@ declare const CopyDistributionCommand_base: {
|
|
|
467
440
|
* <p>An invalid error code was specified.</p>
|
|
468
441
|
*
|
|
469
442
|
* @throws {@link InvalidForwardCookies} (client fault)
|
|
470
|
-
* <p>Your request contains forward cookies option which doesn't match with the expectation
|
|
471
|
-
* for the <code>whitelisted</code> list of cookie names. Either list of cookie names has
|
|
472
|
-
* 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>
|
|
473
444
|
*
|
|
474
445
|
* @throws {@link InvalidFunctionAssociation} (client fault)
|
|
475
446
|
* <p>A CloudFront function association is invalid.</p>
|
|
@@ -508,20 +479,16 @@ declare const CopyDistributionCommand_base: {
|
|
|
508
479
|
* <p>The read timeout specified for the origin is not valid.</p>
|
|
509
480
|
*
|
|
510
481
|
* @throws {@link InvalidProtocolSettings} (client fault)
|
|
511
|
-
* <p>You cannot specify SSLv3 as the minimum protocol version if you only want to support
|
|
512
|
-
* only clients that support Server Name Indication (SNI).</p>
|
|
482
|
+
* <p>You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).</p>
|
|
513
483
|
*
|
|
514
484
|
* @throws {@link InvalidQueryStringParameters} (client fault)
|
|
515
485
|
* <p>The query string parameters specified are not valid.</p>
|
|
516
486
|
*
|
|
517
487
|
* @throws {@link InvalidRelativePath} (client fault)
|
|
518
|
-
* <p>The relative path is too big, is not URL-encoded, or does not begin with a slash
|
|
519
|
-
* (/).</p>
|
|
488
|
+
* <p>The relative path is too big, is not URL-encoded, or does not begin with a slash (/).</p>
|
|
520
489
|
*
|
|
521
490
|
* @throws {@link InvalidRequiredProtocol} (client fault)
|
|
522
|
-
* <p>This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol
|
|
523
|
-
* in your request, or omit the <code>RequiredProtocols</code> element from your
|
|
524
|
-
* distribution configuration.</p>
|
|
491
|
+
* <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>
|
|
525
492
|
*
|
|
526
493
|
* @throws {@link InvalidResponseCode} (client fault)
|
|
527
494
|
* <p>A response code is not valid.</p>
|
|
@@ -533,15 +500,10 @@ declare const CopyDistributionCommand_base: {
|
|
|
533
500
|
* <p>A viewer certificate specified is not valid.</p>
|
|
534
501
|
*
|
|
535
502
|
* @throws {@link InvalidWebACLId} (client fault)
|
|
536
|
-
* <p>A web ACL ID specified is not valid. To specify a web ACL created using the latest
|
|
537
|
-
* version of WAF, use the ACL ARN, for example
|
|
538
|
-
* <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>.
|
|
539
|
-
* To specify a web ACL created using WAF Classic, use the ACL ID, for example
|
|
540
|
-
* <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>.</p>
|
|
503
|
+
* <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>
|
|
541
504
|
*
|
|
542
505
|
* @throws {@link MissingBody} (client fault)
|
|
543
|
-
* <p>This operation requires a body. Ensure that the body is present and the
|
|
544
|
-
* <code>Content-Type</code> header is set.</p>
|
|
506
|
+
* <p>This operation requires a body. Ensure that the body is present and the <code>Content-Type</code> header is set.</p>
|
|
545
507
|
*
|
|
546
508
|
* @throws {@link NoSuchCachePolicy} (client fault)
|
|
547
509
|
* <p>The cache policy does not exist.</p>
|
|
@@ -565,8 +527,7 @@ declare const CopyDistributionCommand_base: {
|
|
|
565
527
|
* <p>The response headers policy does not exist.</p>
|
|
566
528
|
*
|
|
567
529
|
* @throws {@link PreconditionFailed} (client fault)
|
|
568
|
-
* <p>The precondition in one or more of the request fields evaluated to
|
|
569
|
-
* <code>false</code>.</p>
|
|
530
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
570
531
|
*
|
|
571
532
|
* @throws {@link RealtimeLogConfigOwnerMismatch} (client fault)
|
|
572
533
|
* <p>The specified real-time log configuration belongs to a different Amazon Web Services account.</p>
|
|
@@ -578,83 +539,58 @@ declare const CopyDistributionCommand_base: {
|
|
|
578
539
|
* <p>You cannot create anymore custom SSL/TLS certificates.</p>
|
|
579
540
|
*
|
|
580
541
|
* @throws {@link TooManyCookieNamesInWhiteList} (client fault)
|
|
581
|
-
* <p>Your request contains more cookie names in the whitelist than are allowed per cache
|
|
582
|
-
* behavior.</p>
|
|
542
|
+
* <p>Your request contains more cookie names in the whitelist than are allowed per cache behavior.</p>
|
|
583
543
|
*
|
|
584
544
|
* @throws {@link TooManyDistributionCNAMEs} (client fault)
|
|
585
545
|
* <p>Your request contains more CNAMEs than are allowed per distribution.</p>
|
|
586
546
|
*
|
|
587
547
|
* @throws {@link TooManyDistributions} (client fault)
|
|
588
|
-
* <p>Processing your request would cause you to exceed the maximum number of distributions
|
|
589
|
-
* allowed.</p>
|
|
548
|
+
* <p>Processing your request would cause you to exceed the maximum number of distributions allowed.</p>
|
|
590
549
|
*
|
|
591
550
|
* @throws {@link TooManyDistributionsAssociatedToCachePolicy} (client fault)
|
|
592
|
-
* <p>The maximum number of distributions have been associated with the specified cache
|
|
593
|
-
* 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
|
|
594
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
551
|
+
* <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>
|
|
595
552
|
*
|
|
596
553
|
* @throws {@link TooManyDistributionsAssociatedToFieldLevelEncryptionConfig} (client fault)
|
|
597
|
-
* <p>The maximum number of distributions have been associated with the specified
|
|
598
|
-
* configuration for field-level encryption.</p>
|
|
554
|
+
* <p>The maximum number of distributions have been associated with the specified configuration for field-level encryption.</p>
|
|
599
555
|
*
|
|
600
556
|
* @throws {@link TooManyDistributionsAssociatedToKeyGroup} (client fault)
|
|
601
|
-
* <p>The number of distributions that reference this key group is more than the maximum
|
|
602
|
-
* 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
|
|
603
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
557
|
+
* <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>
|
|
604
558
|
*
|
|
605
559
|
* @throws {@link TooManyDistributionsAssociatedToOriginAccessControl} (client fault)
|
|
606
|
-
* <p>The maximum number of distributions have been associated with the specified origin
|
|
607
|
-
* access control.</p>
|
|
608
|
-
* <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
|
|
609
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
560
|
+
* <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>
|
|
610
561
|
*
|
|
611
562
|
* @throws {@link TooManyDistributionsAssociatedToOriginRequestPolicy} (client fault)
|
|
612
|
-
* <p>The maximum number of distributions have been associated with the specified origin
|
|
613
|
-
* 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
|
|
614
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
563
|
+
* <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>
|
|
615
564
|
*
|
|
616
565
|
* @throws {@link TooManyDistributionsAssociatedToResponseHeadersPolicy} (client fault)
|
|
617
|
-
* <p>The maximum number of distributions have been associated with the specified response
|
|
618
|
-
* headers policy.</p>
|
|
619
|
-
* <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
|
|
620
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
566
|
+
* <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>
|
|
621
567
|
*
|
|
622
568
|
* @throws {@link TooManyDistributionsWithFunctionAssociations} (client fault)
|
|
623
|
-
* <p>You have reached the maximum number of distributions that are associated with a CloudFront
|
|
624
|
-
* 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
|
|
625
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
569
|
+
* <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>
|
|
626
570
|
*
|
|
627
571
|
* @throws {@link TooManyDistributionsWithLambdaAssociations} (client fault)
|
|
628
|
-
* <p>Processing your request would cause the maximum number of distributions with
|
|
629
|
-
* Lambda@Edge function associations per owner to be exceeded.</p>
|
|
572
|
+
* <p>Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.</p>
|
|
630
573
|
*
|
|
631
574
|
* @throws {@link TooManyDistributionsWithSingleFunctionARN} (client fault)
|
|
632
|
-
* <p>The maximum number of distributions have been associated with the specified
|
|
633
|
-
* Lambda@Edge function.</p>
|
|
575
|
+
* <p>The maximum number of distributions have been associated with the specified Lambda@Edge function.</p>
|
|
634
576
|
*
|
|
635
577
|
* @throws {@link TooManyFunctionAssociations} (client fault)
|
|
636
|
-
* <p>You have reached the maximum number of CloudFront function associations for this
|
|
637
|
-
* 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
|
|
638
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
578
|
+
* <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>
|
|
639
579
|
*
|
|
640
580
|
* @throws {@link TooManyHeadersInForwardedValues} (client fault)
|
|
641
581
|
* <p>Your request contains too many headers in forwarded values.</p>
|
|
642
582
|
*
|
|
643
583
|
* @throws {@link TooManyKeyGroupsAssociatedToDistribution} (client fault)
|
|
644
|
-
* <p>The number of key groups referenced by this distribution is more than the maximum
|
|
645
|
-
* 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
|
|
646
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
584
|
+
* <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>
|
|
647
585
|
*
|
|
648
586
|
* @throws {@link TooManyLambdaFunctionAssociations} (client fault)
|
|
649
|
-
* <p>Your request contains more Lambda@Edge function associations than are allowed per
|
|
650
|
-
* distribution.</p>
|
|
587
|
+
* <p>Your request contains more Lambda@Edge function associations than are allowed per distribution.</p>
|
|
651
588
|
*
|
|
652
589
|
* @throws {@link TooManyOriginCustomHeaders} (client fault)
|
|
653
590
|
* <p>Your request contains too many origin custom headers.</p>
|
|
654
591
|
*
|
|
655
592
|
* @throws {@link TooManyOriginGroupsPerDistribution} (client fault)
|
|
656
|
-
* <p>Processing your request would cause you to exceed the maximum number of origin groups
|
|
657
|
-
* allowed.</p>
|
|
593
|
+
* <p>Processing your request would cause you to exceed the maximum number of origin groups allowed.</p>
|
|
658
594
|
*
|
|
659
595
|
* @throws {@link TooManyOrigins} (client fault)
|
|
660
596
|
* <p>You cannot create more origins for the distribution.</p>
|
|
@@ -23,7 +23,7 @@ export interface CreateAnycastIpListCommandOutput extends CreateAnycastIpListRes
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateAnycastIpListCommand_base: {
|
|
25
25
|
new (input: CreateAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAnycastIpListCommandInput, CreateAnycastIpListCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAnycastIpListCommandInput, CreateAnycastIpListCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -75,8 +75,7 @@ declare const CreateAnycastIpListCommand_base: {
|
|
|
75
75
|
* <p>Access denied.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link EntityAlreadyExists} (client fault)
|
|
78
|
-
* <p>The entity already exists. You must provide a unique
|
|
79
|
-
* entity.</p>
|
|
78
|
+
* <p>The entity already exists. You must provide a unique entity.</p>
|
|
80
79
|
*
|
|
81
80
|
* @throws {@link EntityLimitExceeded} (client fault)
|
|
82
81
|
* <p>The entity limit has been exceeded.</p>
|
|
@@ -23,33 +23,11 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateCachePolicyCommand_base: {
|
|
25
25
|
new (input: CreateCachePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateCachePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a cache policy.</p>
|
|
31
|
-
* <p>After you create a cache policy, you can attach it to one or more cache behaviors.
|
|
32
|
-
* When it's attached to a cache behavior, the cache policy determines the
|
|
33
|
-
* following:</p>
|
|
34
|
-
* <ul>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>The values that CloudFront includes in the <i>cache key</i>. These
|
|
37
|
-
* values can include HTTP headers, cookies, and URL query strings. CloudFront uses the
|
|
38
|
-
* cache key to find an object in its cache that it can return to the
|
|
39
|
-
* viewer.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>The default, minimum, and maximum time to live (TTL) values that you want
|
|
43
|
-
* objects to stay in the CloudFront cache.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are also included
|
|
47
|
-
* in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an
|
|
48
|
-
* object in its cache that matches the request's cache key. If you want to send values to
|
|
49
|
-
* the origin but <i>not</i> include them in the cache key, use
|
|
50
|
-
* <code>OriginRequestPolicy</code>.</p>
|
|
51
|
-
* <p>For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling the cache key</a> in the
|
|
52
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
30
|
+
* <p>Creates a cache policy.</p> <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following:</p> <ul> <li> <p>The values that CloudFront includes in the <i>cache key</i>. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.</p> </li> <li> <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.</p> </li> </ul> <p>The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but <i>not</i> include them in the cache key, use <code>OriginRequestPolicy</code>.</p> <p>For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling the cache key</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
53
31
|
* @example
|
|
54
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
55
33
|
* ```javascript
|
|
@@ -157,35 +135,25 @@ declare const CreateCachePolicyCommand_base: {
|
|
|
157
135
|
* <p>Access denied.</p>
|
|
158
136
|
*
|
|
159
137
|
* @throws {@link CachePolicyAlreadyExists} (client fault)
|
|
160
|
-
* <p>A cache policy with this name already exists. You must provide a unique name. To
|
|
161
|
-
* modify an existing cache policy, use <code>UpdateCachePolicy</code>.</p>
|
|
138
|
+
* <p>A cache policy with this name already exists. You must provide a unique name. To modify an existing cache policy, use <code>UpdateCachePolicy</code>.</p>
|
|
162
139
|
*
|
|
163
140
|
* @throws {@link InconsistentQuantities} (client fault)
|
|
164
|
-
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
165
|
-
* match.</p>
|
|
141
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't match.</p>
|
|
166
142
|
*
|
|
167
143
|
* @throws {@link InvalidArgument} (client fault)
|
|
168
144
|
* <p>An argument is invalid.</p>
|
|
169
145
|
*
|
|
170
146
|
* @throws {@link TooManyCachePolicies} (client fault)
|
|
171
|
-
* <p>You have reached the maximum number of cache policies for this Amazon Web Services account. For more
|
|
172
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
173
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
147
|
+
* <p>You have reached the maximum number of cache policies for this Amazon Web Services account. 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>
|
|
174
148
|
*
|
|
175
149
|
* @throws {@link TooManyCookiesInCachePolicy} (client fault)
|
|
176
|
-
* <p>The number of cookies in the cache policy exceeds the maximum. For more information,
|
|
177
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
178
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
150
|
+
* <p>The number of cookies in the cache policy exceeds the maximum. 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>
|
|
179
151
|
*
|
|
180
152
|
* @throws {@link TooManyHeadersInCachePolicy} (client fault)
|
|
181
|
-
* <p>The number of headers in the cache policy exceeds the maximum. For more information,
|
|
182
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
183
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
153
|
+
* <p>The number of headers in the cache policy exceeds the maximum. 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>
|
|
184
154
|
*
|
|
185
155
|
* @throws {@link TooManyQueryStringsInCachePolicy} (client fault)
|
|
186
|
-
* <p>The number of query strings in the cache policy exceeds the maximum. For more
|
|
187
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
188
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
156
|
+
* <p>The number of query strings in the cache policy exceeds the maximum. 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>
|
|
189
157
|
*
|
|
190
158
|
* @throws {@link CloudFrontServiceException}
|
|
191
159
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
@@ -23,15 +23,11 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateCloudFrontOriginAccessIdentityCommand_base: {
|
|
25
25
|
new (input: CreateCloudFrontOriginAccessIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateCloudFrontOriginAccessIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can
|
|
31
|
-
* use an origin access identity to require users to access your content using a CloudFront URL
|
|
32
|
-
* instead of the Amazon S3 URL. For more information about how to use origin access identities,
|
|
33
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private
|
|
34
|
-
* Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
30
|
+
* <p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|
|
@@ -68,26 +64,19 @@ declare const CreateCloudFrontOriginAccessIdentityCommand_base: {
|
|
|
68
64
|
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
69
65
|
*
|
|
70
66
|
* @throws {@link CloudFrontOriginAccessIdentityAlreadyExists} (client fault)
|
|
71
|
-
* <p>If the <code>CallerReference</code> is a value you already sent in a previous request
|
|
72
|
-
* to create an identity but the content of the
|
|
73
|
-
* <code>CloudFrontOriginAccessIdentityConfig</code> is different from the original
|
|
74
|
-
* request, CloudFront returns a <code>CloudFrontOriginAccessIdentityAlreadyExists</code> error.
|
|
75
|
-
* </p>
|
|
67
|
+
* <p>If the <code>CallerReference</code> is a value you already sent in a previous request to create an identity but the content of the <code>CloudFrontOriginAccessIdentityConfig</code> is different from the original request, CloudFront returns a <code>CloudFrontOriginAccessIdentityAlreadyExists</code> error. </p>
|
|
76
68
|
*
|
|
77
69
|
* @throws {@link InconsistentQuantities} (client fault)
|
|
78
|
-
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
79
|
-
* match.</p>
|
|
70
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't match.</p>
|
|
80
71
|
*
|
|
81
72
|
* @throws {@link InvalidArgument} (client fault)
|
|
82
73
|
* <p>An argument is invalid.</p>
|
|
83
74
|
*
|
|
84
75
|
* @throws {@link MissingBody} (client fault)
|
|
85
|
-
* <p>This operation requires a body. Ensure that the body is present and the
|
|
86
|
-
* <code>Content-Type</code> header is set.</p>
|
|
76
|
+
* <p>This operation requires a body. Ensure that the body is present and the <code>Content-Type</code> header is set.</p>
|
|
87
77
|
*
|
|
88
78
|
* @throws {@link TooManyCloudFrontOriginAccessIdentities} (client fault)
|
|
89
|
-
* <p>Processing your request would cause you to exceed the maximum number of origin access
|
|
90
|
-
* identities allowed.</p>
|
|
79
|
+
* <p>Processing your request would cause you to exceed the maximum number of origin access identities allowed.</p>
|
|
91
80
|
*
|
|
92
81
|
* @throws {@link CloudFrontServiceException}
|
|
93
82
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
@@ -23,7 +23,7 @@ export interface CreateConnectionGroupCommandOutput extends CreateConnectionGrou
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateConnectionGroupCommand_base: {
|
|
25
25
|
new (input: CreateConnectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionGroupCommandInput, CreateConnectionGroupCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateConnectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionGroupCommandInput, CreateConnectionGroupCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -87,8 +87,7 @@ declare const CreateConnectionGroupCommand_base: {
|
|
|
87
87
|
* <p>Access denied.</p>
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link EntityAlreadyExists} (client fault)
|
|
90
|
-
* <p>The entity already exists. You must provide a unique
|
|
91
|
-
* entity.</p>
|
|
90
|
+
* <p>The entity already exists. You must provide a unique entity.</p>
|
|
92
91
|
*
|
|
93
92
|
* @throws {@link EntityLimitExceeded} (client fault)
|
|
94
93
|
* <p>The entity limit has been exceeded.</p>
|