@aws-sdk/client-cloudfront 3.35.0 → 3.36.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/CHANGELOG.md +13 -0
- package/dist-cjs/CloudFront.js +0 -1
- package/dist-cjs/CloudFrontClient.js +0 -1
- package/dist-cjs/commands/AssociateAliasCommand.js +0 -1
- package/dist-cjs/commands/CreateCachePolicyCommand.js +0 -1
- package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -1
- package/dist-cjs/commands/CreateDistributionCommand.js +0 -1
- package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +0 -1
- package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -1
- package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -1
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -1
- package/dist-cjs/commands/CreateInvalidationCommand.js +0 -1
- package/dist-cjs/commands/CreateKeyGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +0 -1
- package/dist-cjs/commands/CreatePublicKeyCommand.js +0 -1
- package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +0 -1
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +0 -1
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +0 -1
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -1
- package/dist-cjs/commands/DeleteDistributionCommand.js +0 -1
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -1
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -1
- package/dist-cjs/commands/DeleteKeyGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeletePublicKeyCommand.js +0 -1
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +0 -1
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +0 -1
- package/dist-cjs/commands/DescribeFunctionCommand.js +0 -1
- package/dist-cjs/commands/GetCachePolicyCommand.js +0 -1
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +0 -1
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -1
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -1
- package/dist-cjs/commands/GetDistributionCommand.js +0 -1
- package/dist-cjs/commands/GetDistributionConfigCommand.js +0 -1
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +0 -1
- package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +0 -1
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +0 -1
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionCommand.js +0 -1
- package/dist-cjs/commands/GetInvalidationCommand.js +0 -1
- package/dist-cjs/commands/GetKeyGroupCommand.js +0 -1
- package/dist-cjs/commands/GetKeyGroupConfigCommand.js +0 -1
- package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +0 -1
- package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +0 -1
- package/dist-cjs/commands/GetPublicKeyCommand.js +0 -1
- package/dist-cjs/commands/GetPublicKeyConfigCommand.js +0 -1
- package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +0 -1
- package/dist-cjs/commands/GetStreamingDistributionCommand.js +0 -1
- package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +0 -1
- package/dist-cjs/commands/ListCachePoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -1
- package/dist-cjs/commands/ListConflictingAliasesCommand.js +0 -1
- package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +0 -1
- package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +0 -1
- package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -1
- package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -1
- package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +0 -1
- package/dist-cjs/commands/ListDistributionsCommand.js +0 -1
- package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -1
- package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -1
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -1
- package/dist-cjs/commands/ListInvalidationsCommand.js +0 -1
- package/dist-cjs/commands/ListKeyGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListPublicKeysCommand.js +0 -1
- package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +0 -1
- package/dist-cjs/commands/ListStreamingDistributionsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/PublishFunctionCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/TestFunctionCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateCachePolicyCommand.js +0 -1
- package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -1
- package/dist-cjs/commands/UpdateDistributionCommand.js +0 -1
- package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -1
- package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -1
- package/dist-cjs/commands/UpdateFunctionCommand.js +0 -1
- package/dist-cjs/commands/UpdateKeyGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +0 -1
- package/dist-cjs/commands/UpdatePublicKeyCommand.js +0 -1
- package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +0 -1
- package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/models/models_1.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -1
- package/dist-cjs/pagination/ListDistributionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListInvalidationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restXml.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-cjs/waiters/waitForDistributionDeployed.js +0 -1
- package/dist-cjs/waiters/waitForInvalidationCompleted.js +0 -1
- package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +0 -1
- package/dist-es/CloudFront.js +0 -1
- package/dist-es/CloudFrontClient.js +0 -1
- package/dist-es/commands/AssociateAliasCommand.js +0 -1
- package/dist-es/commands/CreateCachePolicyCommand.js +0 -1
- package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -1
- package/dist-es/commands/CreateDistributionCommand.js +0 -1
- package/dist-es/commands/CreateDistributionWithTagsCommand.js +0 -1
- package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -1
- package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -1
- package/dist-es/commands/CreateFunctionCommand.js +0 -1
- package/dist-es/commands/CreateInvalidationCommand.js +0 -1
- package/dist-es/commands/CreateKeyGroupCommand.js +0 -1
- package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +0 -1
- package/dist-es/commands/CreateOriginRequestPolicyCommand.js +0 -1
- package/dist-es/commands/CreatePublicKeyCommand.js +0 -1
- package/dist-es/commands/CreateRealtimeLogConfigCommand.js +0 -1
- package/dist-es/commands/CreateStreamingDistributionCommand.js +0 -1
- package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +0 -1
- package/dist-es/commands/DeleteCachePolicyCommand.js +0 -1
- package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -1
- package/dist-es/commands/DeleteDistributionCommand.js +0 -1
- package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -1
- package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js +0 -1
- package/dist-es/commands/DeleteKeyGroupCommand.js +0 -1
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +0 -1
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +0 -1
- package/dist-es/commands/DeletePublicKeyCommand.js +0 -1
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +0 -1
- package/dist-es/commands/DeleteStreamingDistributionCommand.js +0 -1
- package/dist-es/commands/DescribeFunctionCommand.js +0 -1
- package/dist-es/commands/GetCachePolicyCommand.js +0 -1
- package/dist-es/commands/GetCachePolicyConfigCommand.js +0 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -1
- package/dist-es/commands/GetDistributionCommand.js +0 -1
- package/dist-es/commands/GetDistributionConfigCommand.js +0 -1
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js +0 -1
- package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +0 -1
- package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +0 -1
- package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -1
- package/dist-es/commands/GetFunctionCommand.js +0 -1
- package/dist-es/commands/GetInvalidationCommand.js +0 -1
- package/dist-es/commands/GetKeyGroupCommand.js +0 -1
- package/dist-es/commands/GetKeyGroupConfigCommand.js +0 -1
- package/dist-es/commands/GetMonitoringSubscriptionCommand.js +0 -1
- package/dist-es/commands/GetOriginRequestPolicyCommand.js +0 -1
- package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +0 -1
- package/dist-es/commands/GetPublicKeyCommand.js +0 -1
- package/dist-es/commands/GetPublicKeyConfigCommand.js +0 -1
- package/dist-es/commands/GetRealtimeLogConfigCommand.js +0 -1
- package/dist-es/commands/GetStreamingDistributionCommand.js +0 -1
- package/dist-es/commands/GetStreamingDistributionConfigCommand.js +0 -1
- package/dist-es/commands/ListCachePoliciesCommand.js +0 -1
- package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -1
- package/dist-es/commands/ListConflictingAliasesCommand.js +0 -1
- package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +0 -1
- package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +0 -1
- package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -1
- package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -1
- package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +0 -1
- package/dist-es/commands/ListDistributionsCommand.js +0 -1
- package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -1
- package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -1
- package/dist-es/commands/ListFunctionsCommand.js +0 -1
- package/dist-es/commands/ListInvalidationsCommand.js +0 -1
- package/dist-es/commands/ListKeyGroupsCommand.js +0 -1
- package/dist-es/commands/ListOriginRequestPoliciesCommand.js +0 -1
- package/dist-es/commands/ListPublicKeysCommand.js +0 -1
- package/dist-es/commands/ListRealtimeLogConfigsCommand.js +0 -1
- package/dist-es/commands/ListStreamingDistributionsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PublishFunctionCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/TestFunctionCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateCachePolicyCommand.js +0 -1
- package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -1
- package/dist-es/commands/UpdateDistributionCommand.js +0 -1
- package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -1
- package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionCommand.js +0 -1
- package/dist-es/commands/UpdateKeyGroupCommand.js +0 -1
- package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +0 -1
- package/dist-es/commands/UpdatePublicKeyCommand.js +0 -1
- package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +0 -1
- package/dist-es/commands/UpdateStreamingDistributionCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/models/models_1.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -1
- package/dist-es/pagination/ListDistributionsPaginator.js +0 -1
- package/dist-es/pagination/ListInvalidationsPaginator.js +0 -1
- package/dist-es/pagination/ListStreamingDistributionsPaginator.js +0 -1
- package/dist-es/protocols/Aws_restXml.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/waitForDistributionDeployed.js +0 -1
- package/dist-es/waiters/waitForInvalidationCompleted.js +0 -1
- package/dist-es/waiters/waitForStreamingDistributionDeployed.js +0 -1
- package/package.json +35 -32
- package/dist-cjs/CloudFront.js.map +0 -1
- package/dist-cjs/CloudFrontClient.js.map +0 -1
- package/dist-cjs/commands/AssociateAliasCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCachePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDistributionWithTagsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateInvalidationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateKeyGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePublicKeyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js.map +0 -1
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCachePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteKeyGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePublicKeyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/GetCachePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/GetDistributionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js.map +0 -1
- package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/GetInvalidationCommand.js.map +0 -1
- package/dist-cjs/commands/GetKeyGroupCommand.js.map +0 -1
- package/dist-cjs/commands/GetKeyGroupConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/GetOriginRequestPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetPublicKeyCommand.js.map +0 -1
- package/dist-cjs/commands/GetPublicKeyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetRealtimeLogConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetStreamingDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/ListCachePoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js.map +0 -1
- package/dist-cjs/commands/ListConflictingAliasesCommand.js.map +0 -1
- package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js.map +0 -1
- package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js.map +0 -1
- package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js.map +0 -1
- package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js.map +0 -1
- package/dist-cjs/commands/ListDistributionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js.map +0 -1
- package/dist-cjs/commands/ListFunctionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListInvalidationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListKeyGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListPublicKeysCommand.js.map +0 -1
- package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListStreamingDistributionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PublishFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TestFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateCachePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDistributionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateKeyGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdatePublicKeyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateStreamingDistributionCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/models/models_1.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDistributionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListInvalidationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restXml.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForDistributionDeployed.js.map +0 -1
- package/dist-cjs/waiters/waitForInvalidationCompleted.js.map +0 -1
- package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js.map +0 -1
- package/dist-es/CloudFront.js.map +0 -1
- package/dist-es/CloudFrontClient.js.map +0 -1
- package/dist-es/commands/AssociateAliasCommand.js.map +0 -1
- package/dist-es/commands/CreateCachePolicyCommand.js.map +0 -1
- package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist-es/commands/CreateDistributionCommand.js.map +0 -1
- package/dist-es/commands/CreateDistributionWithTagsCommand.js.map +0 -1
- package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist-es/commands/CreateFunctionCommand.js.map +0 -1
- package/dist-es/commands/CreateInvalidationCommand.js.map +0 -1
- package/dist-es/commands/CreateKeyGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateMonitoringSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/CreateOriginRequestPolicyCommand.js.map +0 -1
- package/dist-es/commands/CreatePublicKeyCommand.js.map +0 -1
- package/dist-es/commands/CreateRealtimeLogConfigCommand.js.map +0 -1
- package/dist-es/commands/CreateStreamingDistributionCommand.js.map +0 -1
- package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteCachePolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist-es/commands/DeleteDistributionCommand.js.map +0 -1
- package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist-es/commands/DeleteKeyGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeletePublicKeyCommand.js.map +0 -1
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteStreamingDistributionCommand.js.map +0 -1
- package/dist-es/commands/DescribeFunctionCommand.js.map +0 -1
- package/dist-es/commands/GetCachePolicyCommand.js.map +0 -1
- package/dist-es/commands/GetCachePolicyConfigCommand.js.map +0 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js.map +0 -1
- package/dist-es/commands/GetDistributionCommand.js.map +0 -1
- package/dist-es/commands/GetDistributionConfigCommand.js.map +0 -1
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js.map +0 -1
- package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionCommand.js.map +0 -1
- package/dist-es/commands/GetInvalidationCommand.js.map +0 -1
- package/dist-es/commands/GetKeyGroupCommand.js.map +0 -1
- package/dist-es/commands/GetKeyGroupConfigCommand.js.map +0 -1
- package/dist-es/commands/GetMonitoringSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/GetOriginRequestPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js.map +0 -1
- package/dist-es/commands/GetPublicKeyCommand.js.map +0 -1
- package/dist-es/commands/GetPublicKeyConfigCommand.js.map +0 -1
- package/dist-es/commands/GetRealtimeLogConfigCommand.js.map +0 -1
- package/dist-es/commands/GetStreamingDistributionCommand.js.map +0 -1
- package/dist-es/commands/GetStreamingDistributionConfigCommand.js.map +0 -1
- package/dist-es/commands/ListCachePoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js.map +0 -1
- package/dist-es/commands/ListConflictingAliasesCommand.js.map +0 -1
- package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js.map +0 -1
- package/dist-es/commands/ListDistributionsByKeyGroupCommand.js.map +0 -1
- package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js.map +0 -1
- package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js.map +0 -1
- package/dist-es/commands/ListDistributionsByWebACLIdCommand.js.map +0 -1
- package/dist-es/commands/ListDistributionsCommand.js.map +0 -1
- package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js.map +0 -1
- package/dist-es/commands/ListFunctionsCommand.js.map +0 -1
- package/dist-es/commands/ListInvalidationsCommand.js.map +0 -1
- package/dist-es/commands/ListKeyGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListOriginRequestPoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListPublicKeysCommand.js.map +0 -1
- package/dist-es/commands/ListRealtimeLogConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListStreamingDistributionsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PublishFunctionCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/TestFunctionCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateCachePolicyCommand.js.map +0 -1
- package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist-es/commands/UpdateDistributionCommand.js.map +0 -1
- package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist-es/commands/UpdateFunctionCommand.js.map +0 -1
- package/dist-es/commands/UpdateKeyGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateOriginRequestPolicyCommand.js.map +0 -1
- package/dist-es/commands/UpdatePublicKeyCommand.js.map +0 -1
- package/dist-es/commands/UpdateRealtimeLogConfigCommand.js.map +0 -1
- package/dist-es/commands/UpdateStreamingDistributionCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/models/models_1.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js.map +0 -1
- package/dist-es/pagination/ListDistributionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListInvalidationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListStreamingDistributionsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restXml.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForDistributionDeployed.js.map +0 -1
- package/dist-es/waiters/waitForInvalidationCompleted.js.map +0 -1
- package/dist-es/waiters/waitForStreamingDistributionDeployed.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/CloudFront.ts +0 -3606
- package/src/CloudFrontClient.ts +0 -641
- package/src/commands/AssociateAliasCommand.ts +0 -105
- package/src/commands/CreateCachePolicyCommand.ts +0 -115
- package/src/commands/CreateCloudFrontOriginAccessIdentityCommand.ts +0 -109
- package/src/commands/CreateDistributionCommand.ts +0 -107
- package/src/commands/CreateDistributionWithTagsCommand.ts +0 -98
- package/src/commands/CreateFieldLevelEncryptionConfigCommand.ts +0 -103
- package/src/commands/CreateFieldLevelEncryptionProfileCommand.ts +0 -103
- package/src/commands/CreateFunctionCommand.ts +0 -105
- package/src/commands/CreateInvalidationCommand.ts +0 -95
- package/src/commands/CreateKeyGroupCommand.ts +0 -102
- package/src/commands/CreateMonitoringSubscriptionCommand.ts +0 -103
- package/src/commands/CreateOriginRequestPolicyCommand.ts +0 -122
- package/src/commands/CreatePublicKeyCommand.ts +0 -95
- package/src/commands/CreateRealtimeLogConfigCommand.ts +0 -98
- package/src/commands/CreateStreamingDistributionCommand.ts +0 -100
- package/src/commands/CreateStreamingDistributionWithTagsCommand.ts +0 -108
- package/src/commands/DeleteCachePolicyCommand.ts +0 -101
- package/src/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts +0 -101
- package/src/commands/DeleteDistributionCommand.ts +0 -95
- package/src/commands/DeleteFieldLevelEncryptionConfigCommand.ts +0 -101
- package/src/commands/DeleteFieldLevelEncryptionProfileCommand.ts +0 -101
- package/src/commands/DeleteFunctionCommand.ts +0 -101
- package/src/commands/DeleteKeyGroupCommand.ts +0 -101
- package/src/commands/DeleteMonitoringSubscriptionCommand.ts +0 -100
- package/src/commands/DeleteOriginRequestPolicyCommand.ts +0 -104
- package/src/commands/DeletePublicKeyCommand.ts +0 -95
- package/src/commands/DeleteRealtimeLogConfigCommand.ts +0 -101
- package/src/commands/DeleteStreamingDistributionCommand.ts +0 -145
- package/src/commands/DescribeFunctionCommand.ts +0 -99
- package/src/commands/GetCachePolicyCommand.ts +0 -108
- package/src/commands/GetCachePolicyConfigCommand.ts +0 -100
- package/src/commands/GetCloudFrontOriginAccessIdentityCommand.ts +0 -103
- package/src/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts +0 -110
- package/src/commands/GetDistributionCommand.ts +0 -95
- package/src/commands/GetDistributionConfigCommand.ts +0 -95
- package/src/commands/GetFieldLevelEncryptionCommand.ts +0 -95
- package/src/commands/GetFieldLevelEncryptionConfigCommand.ts +0 -100
- package/src/commands/GetFieldLevelEncryptionProfileCommand.ts +0 -103
- package/src/commands/GetFieldLevelEncryptionProfileConfigCommand.ts +0 -106
- package/src/commands/GetFunctionCommand.ts +0 -98
- package/src/commands/GetInvalidationCommand.ts +0 -95
- package/src/commands/GetKeyGroupCommand.ts +0 -100
- package/src/commands/GetKeyGroupConfigCommand.ts +0 -100
- package/src/commands/GetMonitoringSubscriptionCommand.ts +0 -99
- package/src/commands/GetOriginRequestPolicyCommand.ts +0 -108
- package/src/commands/GetOriginRequestPolicyConfigCommand.ts +0 -106
- package/src/commands/GetPublicKeyCommand.ts +0 -95
- package/src/commands/GetPublicKeyConfigCommand.ts +0 -95
- package/src/commands/GetRealtimeLogConfigCommand.ts +0 -98
- package/src/commands/GetStreamingDistributionCommand.ts +0 -95
- package/src/commands/GetStreamingDistributionConfigCommand.ts +0 -103
- package/src/commands/ListCachePoliciesCommand.ts +0 -102
- package/src/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts +0 -106
- package/src/commands/ListConflictingAliasesCommand.ts +0 -117
- package/src/commands/ListDistributionsByCachePolicyIdCommand.ts +0 -109
- package/src/commands/ListDistributionsByKeyGroupCommand.ts +0 -104
- package/src/commands/ListDistributionsByOriginRequestPolicyIdCommand.ts +0 -116
- package/src/commands/ListDistributionsByRealtimeLogConfigCommand.ts +0 -115
- package/src/commands/ListDistributionsByWebACLIdCommand.ts +0 -98
- package/src/commands/ListDistributionsCommand.ts +0 -95
- package/src/commands/ListFieldLevelEncryptionConfigsCommand.ts +0 -103
- package/src/commands/ListFieldLevelEncryptionProfilesCommand.ts +0 -103
- package/src/commands/ListFunctionsCommand.ts +0 -102
- package/src/commands/ListInvalidationsCommand.ts +0 -95
- package/src/commands/ListKeyGroupsCommand.ts +0 -100
- package/src/commands/ListOriginRequestPoliciesCommand.ts +0 -105
- package/src/commands/ListPublicKeysCommand.ts +0 -95
- package/src/commands/ListRealtimeLogConfigsCommand.ts +0 -100
- package/src/commands/ListStreamingDistributionsCommand.ts +0 -98
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PublishFunctionCommand.ts +0 -103
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/TestFunctionCommand.ts +0 -104
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateCachePolicyCommand.ts +0 -112
- package/src/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts +0 -106
- package/src/commands/UpdateDistributionCommand.ts +0 -173
- package/src/commands/UpdateFieldLevelEncryptionConfigCommand.ts +0 -103
- package/src/commands/UpdateFieldLevelEncryptionProfileCommand.ts +0 -103
- package/src/commands/UpdateFunctionCommand.ts +0 -100
- package/src/commands/UpdateKeyGroupCommand.ts +0 -112
- package/src/commands/UpdateOriginRequestPolicyCommand.ts +0 -115
- package/src/commands/UpdatePublicKeyCommand.ts +0 -95
- package/src/commands/UpdateRealtimeLogConfigCommand.ts +0 -115
- package/src/commands/UpdateStreamingDistributionCommand.ts +0 -98
- package/src/endpoints.ts +0 -67
- package/src/index.ts +0 -96
- package/src/models/index.ts +0 -2
- package/src/models/models_0.ts +0 -8233
- package/src/models/models_1.ts +0 -3383
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.ts +0 -59
- package/src/pagination/ListDistributionsPaginator.ts +0 -59
- package/src/pagination/ListInvalidationsPaginator.ts +0 -59
- package/src/pagination/ListStreamingDistributionsPaginator.ts +0 -59
- package/src/protocols/Aws_restXml.ts +0 -19061
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForDistributionDeployed.ts +0 -47
- package/src/waiters/waitForInvalidationCompleted.ts +0 -47
- package/src/waiters/waitForStreamingDistributionDeployed.ts +0 -53
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
15
|
-
import { AssociateAliasRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlAssociateAliasCommand,
|
|
18
|
-
serializeAws_restXmlAssociateAliasCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface AssociateAliasCommandInput extends AssociateAliasRequest {}
|
|
22
|
-
export interface AssociateAliasCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront
|
|
26
|
-
* distribution.</p>
|
|
27
|
-
* <p>With this operation you can move an alias that’s already in use on a CloudFront distribution
|
|
28
|
-
* to a different distribution in one step. This prevents the downtime that could occur if
|
|
29
|
-
* you first remove the alias from one distribution and then separately add the alias to
|
|
30
|
-
* another distribution.</p>
|
|
31
|
-
* <p>To use this operation to associate an alias with a distribution, you provide the alias
|
|
32
|
-
* and the ID of the target distribution for the alias. For more information, including how
|
|
33
|
-
* to set up the target distribution, prerequisites that you must complete, and other
|
|
34
|
-
* 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>
|
|
35
|
-
* in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { CloudFrontClient, AssociateAliasCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
40
|
-
* // const { CloudFrontClient, AssociateAliasCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
41
|
-
* const client = new CloudFrontClient(config);
|
|
42
|
-
* const command = new AssociateAliasCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link AssociateAliasCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link AssociateAliasCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class AssociateAliasCommand extends $Command<
|
|
52
|
-
AssociateAliasCommandInput,
|
|
53
|
-
AssociateAliasCommandOutput,
|
|
54
|
-
CloudFrontClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: AssociateAliasCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<AssociateAliasCommandInput, AssociateAliasCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "CloudFrontClient";
|
|
79
|
-
const commandName = "AssociateAliasCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: AssociateAliasRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: AssociateAliasCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_restXmlAssociateAliasCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AssociateAliasCommandOutput> {
|
|
100
|
-
return deserializeAws_restXmlAssociateAliasCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
15
|
-
import { CreateCachePolicyRequest, CreateCachePolicyResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateCachePolicyCommand,
|
|
18
|
-
serializeAws_restXmlCreateCachePolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateCachePolicyCommandInput extends CreateCachePolicyRequest {}
|
|
22
|
-
export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a cache policy.</p>
|
|
26
|
-
* <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it’s
|
|
27
|
-
* attached to a cache behavior, the cache policy determines the following:</p>
|
|
28
|
-
* <ul>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>The values that CloudFront includes in the <i>cache key</i>. These values can
|
|
31
|
-
* include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to
|
|
32
|
-
* find an object in its cache that it can return to the viewer.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay
|
|
36
|
-
* in the CloudFront cache.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </ul>
|
|
39
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are automatically
|
|
40
|
-
* included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t
|
|
41
|
-
* find an object in its cache that matches the request’s cache key. If you want to send
|
|
42
|
-
* values to the origin but <i>not</i> include them in the cache key, use
|
|
43
|
-
* <code>OriginRequestPolicy</code>.</p>
|
|
44
|
-
* <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
|
|
45
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
46
|
-
* @example
|
|
47
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
-
* ```javascript
|
|
49
|
-
* import { CloudFrontClient, CreateCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
50
|
-
* // const { CloudFrontClient, CreateCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
51
|
-
* const client = new CloudFrontClient(config);
|
|
52
|
-
* const command = new CreateCachePolicyCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @see {@link CreateCachePolicyCommandInput} for command's `input` shape.
|
|
57
|
-
* @see {@link CreateCachePolicyCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export class CreateCachePolicyCommand extends $Command<
|
|
62
|
-
CreateCachePolicyCommandInput,
|
|
63
|
-
CreateCachePolicyCommandOutput,
|
|
64
|
-
CloudFrontClientResolvedConfig
|
|
65
|
-
> {
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
|
-
|
|
69
|
-
constructor(readonly input: CreateCachePolicyCommandInput) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
|
-
super();
|
|
72
|
-
// End section: command_constructor
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(
|
|
79
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
80
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
81
|
-
options?: __HttpHandlerOptions
|
|
82
|
-
): Handler<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput> {
|
|
83
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
|
-
|
|
85
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
86
|
-
|
|
87
|
-
const { logger } = configuration;
|
|
88
|
-
const clientName = "CloudFrontClient";
|
|
89
|
-
const commandName = "CreateCachePolicyCommand";
|
|
90
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
91
|
-
logger,
|
|
92
|
-
clientName,
|
|
93
|
-
commandName,
|
|
94
|
-
inputFilterSensitiveLog: CreateCachePolicyRequest.filterSensitiveLog,
|
|
95
|
-
outputFilterSensitiveLog: CreateCachePolicyResult.filterSensitiveLog,
|
|
96
|
-
};
|
|
97
|
-
const { requestHandler } = configuration;
|
|
98
|
-
return stack.resolve(
|
|
99
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
100
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
101
|
-
handlerExecutionContext
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private serialize(input: CreateCachePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
106
|
-
return serializeAws_restXmlCreateCachePolicyCommand(input, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateCachePolicyCommandOutput> {
|
|
110
|
-
return deserializeAws_restXmlCreateCachePolicyCommand(output, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Start section: command_body_extra
|
|
114
|
-
// End section: command_body_extra
|
|
115
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
15
|
-
import {
|
|
16
|
-
CreateCloudFrontOriginAccessIdentityRequest,
|
|
17
|
-
CreateCloudFrontOriginAccessIdentityResult,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restXmlCreateCloudFrontOriginAccessIdentityCommand,
|
|
21
|
-
serializeAws_restXmlCreateCloudFrontOriginAccessIdentityCommand,
|
|
22
|
-
} from "../protocols/Aws_restXml";
|
|
23
|
-
|
|
24
|
-
export interface CreateCloudFrontOriginAccessIdentityCommandInput extends CreateCloudFrontOriginAccessIdentityRequest {}
|
|
25
|
-
export interface CreateCloudFrontOriginAccessIdentityCommandOutput
|
|
26
|
-
extends CreateCloudFrontOriginAccessIdentityResult,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
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 instead
|
|
32
|
-
* 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
|
|
33
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
38
|
-
* // const { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
39
|
-
* const client = new CloudFrontClient(config);
|
|
40
|
-
* const command = new CreateCloudFrontOriginAccessIdentityCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link CreateCloudFrontOriginAccessIdentityCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link CreateCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class CreateCloudFrontOriginAccessIdentityCommand extends $Command<
|
|
50
|
-
CreateCloudFrontOriginAccessIdentityCommandInput,
|
|
51
|
-
CreateCloudFrontOriginAccessIdentityCommandOutput,
|
|
52
|
-
CloudFrontClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: CreateCloudFrontOriginAccessIdentityCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "CloudFrontClient";
|
|
77
|
-
const commandName = "CreateCloudFrontOriginAccessIdentityCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: CreateCloudFrontOriginAccessIdentityRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: CreateCloudFrontOriginAccessIdentityResult.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(
|
|
94
|
-
input: CreateCloudFrontOriginAccessIdentityCommandInput,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_restXmlCreateCloudFrontOriginAccessIdentityCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(
|
|
101
|
-
output: __HttpResponse,
|
|
102
|
-
context: __SerdeContext
|
|
103
|
-
): Promise<CreateCloudFrontOriginAccessIdentityCommandOutput> {
|
|
104
|
-
return deserializeAws_restXmlCreateCloudFrontOriginAccessIdentityCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
15
|
-
import { CreateDistributionRequest, CreateDistributionResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateDistributionCommand,
|
|
18
|
-
serializeAws_restXmlCreateDistributionCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateDistributionCommandInput extends CreateDistributionRequest {}
|
|
22
|
-
export interface CreateDistributionCommandOutput extends CreateDistributionResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a new web distribution. You create a CloudFront distribution to tell CloudFront where you
|
|
26
|
-
* want content to be delivered from, and the details about how to track and manage content delivery. Send a <code>POST</code> request to the
|
|
27
|
-
* <code>/<i>CloudFront API version</i>/distribution</code>/<code>distribution ID</code> resource.</p>
|
|
28
|
-
* <important>
|
|
29
|
-
* <p>When you update a distribution, there are more required fields than when you create a distribution.
|
|
30
|
-
* When you update your distribution by using
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>,
|
|
32
|
-
* follow the steps included
|
|
33
|
-
* in the documentation to get the current configuration
|
|
34
|
-
* and then make your updates. This helps to make sure that you include all of the required fields. To view a summary,
|
|
35
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html">Required
|
|
36
|
-
* Fields for Create Distribution and Update Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
37
|
-
* </important>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { CloudFrontClient, CreateDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
42
|
-
* // const { CloudFrontClient, CreateDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
43
|
-
* const client = new CloudFrontClient(config);
|
|
44
|
-
* const command = new CreateDistributionCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link CreateDistributionCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link CreateDistributionCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class CreateDistributionCommand extends $Command<
|
|
54
|
-
CreateDistributionCommandInput,
|
|
55
|
-
CreateDistributionCommandOutput,
|
|
56
|
-
CloudFrontClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: CreateDistributionCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<CreateDistributionCommandInput, CreateDistributionCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "CloudFrontClient";
|
|
81
|
-
const commandName = "CreateDistributionCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: CreateDistributionRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: CreateDistributionResult.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(input: CreateDistributionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_restXmlCreateDistributionCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDistributionCommandOutput> {
|
|
102
|
-
return deserializeAws_restXmlCreateDistributionCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
15
|
-
import { CreateDistributionWithTagsRequest, CreateDistributionWithTagsResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateDistributionWithTagsCommand,
|
|
18
|
-
serializeAws_restXmlCreateDistributionWithTagsCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateDistributionWithTagsCommandInput extends CreateDistributionWithTagsRequest {}
|
|
22
|
-
export interface CreateDistributionWithTagsCommandOutput extends CreateDistributionWithTagsResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Create a new distribution with tags.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CloudFrontClient, CreateDistributionWithTagsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
30
|
-
* // const { CloudFrontClient, CreateDistributionWithTagsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
31
|
-
* const client = new CloudFrontClient(config);
|
|
32
|
-
* const command = new CreateDistributionWithTagsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateDistributionWithTagsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateDistributionWithTagsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateDistributionWithTagsCommand extends $Command<
|
|
42
|
-
CreateDistributionWithTagsCommandInput,
|
|
43
|
-
CreateDistributionWithTagsCommandOutput,
|
|
44
|
-
CloudFrontClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateDistributionWithTagsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CloudFrontClient";
|
|
69
|
-
const commandName = "CreateDistributionWithTagsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateDistributionWithTagsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateDistributionWithTagsResult.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateDistributionWithTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restXmlCreateDistributionWithTagsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<CreateDistributionWithTagsCommandOutput> {
|
|
93
|
-
return deserializeAws_restXmlCreateDistributionWithTagsCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
15
|
-
import { CreateFieldLevelEncryptionConfigRequest, CreateFieldLevelEncryptionConfigResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateFieldLevelEncryptionConfigCommand,
|
|
18
|
-
serializeAws_restXmlCreateFieldLevelEncryptionConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateFieldLevelEncryptionConfigCommandInput extends CreateFieldLevelEncryptionConfigRequest {}
|
|
22
|
-
export interface CreateFieldLevelEncryptionConfigCommandOutput
|
|
23
|
-
extends CreateFieldLevelEncryptionConfigResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Create a new field-level encryption configuration.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { CloudFrontClient, CreateFieldLevelEncryptionConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
32
|
-
* // const { CloudFrontClient, CreateFieldLevelEncryptionConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
33
|
-
* const client = new CloudFrontClient(config);
|
|
34
|
-
* const command = new CreateFieldLevelEncryptionConfigCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateFieldLevelEncryptionConfigCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreateFieldLevelEncryptionConfigCommand extends $Command<
|
|
44
|
-
CreateFieldLevelEncryptionConfigCommandInput,
|
|
45
|
-
CreateFieldLevelEncryptionConfigCommandOutput,
|
|
46
|
-
CloudFrontClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreateFieldLevelEncryptionConfigCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "CloudFrontClient";
|
|
71
|
-
const commandName = "CreateFieldLevelEncryptionConfigCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreateFieldLevelEncryptionConfigRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreateFieldLevelEncryptionConfigResult.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(
|
|
88
|
-
input: CreateFieldLevelEncryptionConfigCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restXmlCreateFieldLevelEncryptionConfigCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<CreateFieldLevelEncryptionConfigCommandOutput> {
|
|
98
|
-
return deserializeAws_restXmlCreateFieldLevelEncryptionConfigCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|