@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,104 +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 { DeleteOriginRequestPolicyRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlDeleteOriginRequestPolicyCommand,
|
|
18
|
-
serializeAws_restXmlDeleteOriginRequestPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface DeleteOriginRequestPolicyCommandInput extends DeleteOriginRequestPolicyRequest {}
|
|
22
|
-
export interface DeleteOriginRequestPolicyCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an origin request policy.</p>
|
|
26
|
-
* <p>You cannot delete an origin request policy if it’s attached to any cache behaviors. First
|
|
27
|
-
* update your distributions to remove the origin request policy from all cache behaviors,
|
|
28
|
-
* then delete the origin request policy.</p>
|
|
29
|
-
* <p>To delete an origin request policy, you must provide the policy’s identifier and version. To
|
|
30
|
-
* get the identifier, you can use <code>ListOriginRequestPolicies</code> or
|
|
31
|
-
* <code>GetOriginRequestPolicy</code>.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CloudFrontClient, DeleteOriginRequestPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
36
|
-
* // const { CloudFrontClient, DeleteOriginRequestPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
37
|
-
* const client = new CloudFrontClient(config);
|
|
38
|
-
* const command = new DeleteOriginRequestPolicyCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DeleteOriginRequestPolicyCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DeleteOriginRequestPolicyCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DeleteOriginRequestPolicyCommand extends $Command<
|
|
48
|
-
DeleteOriginRequestPolicyCommandInput,
|
|
49
|
-
DeleteOriginRequestPolicyCommandOutput,
|
|
50
|
-
CloudFrontClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DeleteOriginRequestPolicyCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "CloudFrontClient";
|
|
75
|
-
const commandName = "DeleteOriginRequestPolicyCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DeleteOriginRequestPolicyRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: DeleteOriginRequestPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restXmlDeleteOriginRequestPolicyCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<DeleteOriginRequestPolicyCommandOutput> {
|
|
99
|
-
return deserializeAws_restXmlDeleteOriginRequestPolicyCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,95 +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 { DeletePublicKeyRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlDeletePublicKeyCommand,
|
|
18
|
-
serializeAws_restXmlDeletePublicKeyCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface DeletePublicKeyCommandInput extends DeletePublicKeyRequest {}
|
|
22
|
-
export interface DeletePublicKeyCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Remove a public key you previously added to CloudFront.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CloudFrontClient, DeletePublicKeyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
30
|
-
* // const { CloudFrontClient, DeletePublicKeyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
31
|
-
* const client = new CloudFrontClient(config);
|
|
32
|
-
* const command = new DeletePublicKeyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeletePublicKeyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeletePublicKeyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeletePublicKeyCommand extends $Command<
|
|
42
|
-
DeletePublicKeyCommandInput,
|
|
43
|
-
DeletePublicKeyCommandOutput,
|
|
44
|
-
CloudFrontClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeletePublicKeyCommandInput) {
|
|
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<DeletePublicKeyCommandInput, DeletePublicKeyCommandOutput> {
|
|
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 = "DeletePublicKeyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeletePublicKeyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
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: DeletePublicKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restXmlDeletePublicKeyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePublicKeyCommandOutput> {
|
|
90
|
-
return deserializeAws_restXmlDeletePublicKeyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,101 +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 { DeleteRealtimeLogConfigRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlDeleteRealtimeLogConfigCommand,
|
|
18
|
-
serializeAws_restXmlDeleteRealtimeLogConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface DeleteRealtimeLogConfigCommandInput extends DeleteRealtimeLogConfigRequest {}
|
|
22
|
-
export interface DeleteRealtimeLogConfigCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a real-time log configuration.</p>
|
|
26
|
-
* <p>You cannot delete a real-time log configuration if it’s attached to a cache behavior.
|
|
27
|
-
* First update your distributions to remove the real-time log configuration from all cache
|
|
28
|
-
* behaviors, then delete the real-time log configuration.</p>
|
|
29
|
-
* <p>To delete a real-time log configuration, you can provide the configuration’s name or its
|
|
30
|
-
* Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront
|
|
31
|
-
* uses the name to identify the real-time log configuration to delete.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CloudFrontClient, DeleteRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
36
|
-
* // const { CloudFrontClient, DeleteRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
37
|
-
* const client = new CloudFrontClient(config);
|
|
38
|
-
* const command = new DeleteRealtimeLogConfigCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DeleteRealtimeLogConfigCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DeleteRealtimeLogConfigCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DeleteRealtimeLogConfigCommand extends $Command<
|
|
48
|
-
DeleteRealtimeLogConfigCommandInput,
|
|
49
|
-
DeleteRealtimeLogConfigCommandOutput,
|
|
50
|
-
CloudFrontClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DeleteRealtimeLogConfigCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "CloudFrontClient";
|
|
75
|
-
const commandName = "DeleteRealtimeLogConfigCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DeleteRealtimeLogConfigRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: DeleteRealtimeLogConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restXmlDeleteRealtimeLogConfigCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRealtimeLogConfigCommandOutput> {
|
|
96
|
-
return deserializeAws_restXmlDeleteRealtimeLogConfigCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,145 +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 { DeleteStreamingDistributionRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlDeleteStreamingDistributionCommand,
|
|
18
|
-
serializeAws_restXmlDeleteStreamingDistributionCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface DeleteStreamingDistributionCommandInput extends DeleteStreamingDistributionRequest {}
|
|
22
|
-
export interface DeleteStreamingDistributionCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API,
|
|
26
|
-
* perform the following steps.</p>
|
|
27
|
-
*
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>To delete an RTMP distribution using the CloudFront
|
|
30
|
-
* API</b>:</p>
|
|
31
|
-
* <ol>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Disable the RTMP distribution.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Submit a <code>GET Streaming Distribution Config</code> request to get the current
|
|
37
|
-
* configuration and the <code>Etag</code> header for the distribution. </p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>Update the XML document that was returned in the response to your <code>GET
|
|
41
|
-
* Streaming Distribution Config</code> request to change the value of <code>Enabled</code>
|
|
42
|
-
* to <code>false</code>.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>Submit a <code>PUT Streaming Distribution Config</code> request to update the
|
|
46
|
-
* configuration for your distribution. In the request body, include the XML document that
|
|
47
|
-
* you updated in Step 3. Then set the value of the HTTP <code>If-Match</code> header to the
|
|
48
|
-
* value of the <code>ETag</code> header that CloudFront returned when you submitted the <code>GET
|
|
49
|
-
* Streaming Distribution Config</code> request in Step 2.</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>Review the response to the <code>PUT Streaming Distribution Config</code> request
|
|
53
|
-
* to confirm that the distribution was successfully disabled.</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>Submit a <code>GET Streaming Distribution Config</code> request to confirm that
|
|
57
|
-
* your changes have propagated. When propagation is complete, the value of
|
|
58
|
-
* <code>Status</code> is <code>Deployed</code>.</p>
|
|
59
|
-
* </li>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>Submit a <code>DELETE Streaming Distribution</code> request. Set the value of the
|
|
62
|
-
* HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront
|
|
63
|
-
* returned when you submitted the <code>GET Streaming Distribution Config</code> request in
|
|
64
|
-
* Step 2.</p>
|
|
65
|
-
* </li>
|
|
66
|
-
* <li>
|
|
67
|
-
* <p>Review the response to your <code>DELETE Streaming Distribution</code> request to
|
|
68
|
-
* confirm that the distribution was successfully deleted.</p>
|
|
69
|
-
* </li>
|
|
70
|
-
* </ol>
|
|
71
|
-
* <p>For information about deleting a distribution using the CloudFront console, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html">Deleting a Distribution</a> in the
|
|
72
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
73
|
-
* @example
|
|
74
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
75
|
-
* ```javascript
|
|
76
|
-
* import { CloudFrontClient, DeleteStreamingDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
77
|
-
* // const { CloudFrontClient, DeleteStreamingDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
78
|
-
* const client = new CloudFrontClient(config);
|
|
79
|
-
* const command = new DeleteStreamingDistributionCommand(input);
|
|
80
|
-
* const response = await client.send(command);
|
|
81
|
-
* ```
|
|
82
|
-
*
|
|
83
|
-
* @see {@link DeleteStreamingDistributionCommandInput} for command's `input` shape.
|
|
84
|
-
* @see {@link DeleteStreamingDistributionCommandOutput} for command's `response` shape.
|
|
85
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
86
|
-
*
|
|
87
|
-
*/
|
|
88
|
-
export class DeleteStreamingDistributionCommand extends $Command<
|
|
89
|
-
DeleteStreamingDistributionCommandInput,
|
|
90
|
-
DeleteStreamingDistributionCommandOutput,
|
|
91
|
-
CloudFrontClientResolvedConfig
|
|
92
|
-
> {
|
|
93
|
-
// Start section: command_properties
|
|
94
|
-
// End section: command_properties
|
|
95
|
-
|
|
96
|
-
constructor(readonly input: DeleteStreamingDistributionCommandInput) {
|
|
97
|
-
// Start section: command_constructor
|
|
98
|
-
super();
|
|
99
|
-
// End section: command_constructor
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
resolveMiddleware(
|
|
106
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
107
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
108
|
-
options?: __HttpHandlerOptions
|
|
109
|
-
): Handler<DeleteStreamingDistributionCommandInput, DeleteStreamingDistributionCommandOutput> {
|
|
110
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
111
|
-
|
|
112
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
113
|
-
|
|
114
|
-
const { logger } = configuration;
|
|
115
|
-
const clientName = "CloudFrontClient";
|
|
116
|
-
const commandName = "DeleteStreamingDistributionCommand";
|
|
117
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
118
|
-
logger,
|
|
119
|
-
clientName,
|
|
120
|
-
commandName,
|
|
121
|
-
inputFilterSensitiveLog: DeleteStreamingDistributionRequest.filterSensitiveLog,
|
|
122
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
123
|
-
};
|
|
124
|
-
const { requestHandler } = configuration;
|
|
125
|
-
return stack.resolve(
|
|
126
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
127
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
128
|
-
handlerExecutionContext
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
private serialize(input: DeleteStreamingDistributionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
133
|
-
return serializeAws_restXmlDeleteStreamingDistributionCommand(input, context);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
private deserialize(
|
|
137
|
-
output: __HttpResponse,
|
|
138
|
-
context: __SerdeContext
|
|
139
|
-
): Promise<DeleteStreamingDistributionCommandOutput> {
|
|
140
|
-
return deserializeAws_restXmlDeleteStreamingDistributionCommand(output, context);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Start section: command_body_extra
|
|
144
|
-
// End section: command_body_extra
|
|
145
|
-
}
|
|
@@ -1,99 +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 { DescribeFunctionRequest, DescribeFunctionResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlDescribeFunctionCommand,
|
|
18
|
-
serializeAws_restXmlDescribeFunctionCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface DescribeFunctionCommandInput extends DescribeFunctionRequest {}
|
|
22
|
-
export interface DescribeFunctionCommandOutput extends DescribeFunctionResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets configuration information and metadata about a CloudFront function, but not the function’s
|
|
26
|
-
* code. To get a function’s code, use <code>GetFunction</code>.</p>
|
|
27
|
-
* <p>To get configuration information and metadata about a function, you must provide the
|
|
28
|
-
* function’s name and stage. To get these values, you can use
|
|
29
|
-
* <code>ListFunctions</code>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { CloudFrontClient, DescribeFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
34
|
-
* // const { CloudFrontClient, DescribeFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
35
|
-
* const client = new CloudFrontClient(config);
|
|
36
|
-
* const command = new DescribeFunctionCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DescribeFunctionCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DescribeFunctionCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DescribeFunctionCommand extends $Command<
|
|
46
|
-
DescribeFunctionCommandInput,
|
|
47
|
-
DescribeFunctionCommandOutput,
|
|
48
|
-
CloudFrontClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DescribeFunctionCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<DescribeFunctionCommandInput, DescribeFunctionCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "CloudFrontClient";
|
|
73
|
-
const commandName = "DescribeFunctionCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DescribeFunctionRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: DescribeFunctionResult.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: DescribeFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restXmlDescribeFunctionCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFunctionCommandOutput> {
|
|
94
|
-
return deserializeAws_restXmlDescribeFunctionCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,108 +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 { GetCachePolicyRequest, GetCachePolicyResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlGetCachePolicyCommand,
|
|
18
|
-
serializeAws_restXmlGetCachePolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface GetCachePolicyCommandInput extends GetCachePolicyRequest {}
|
|
22
|
-
export interface GetCachePolicyCommandOutput extends GetCachePolicyResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets a cache policy, including the following metadata:</p>
|
|
26
|
-
* <ul>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>The policy’s identifier.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>The date and time when the policy was last modified.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* </ul>
|
|
34
|
-
* <p>To get a cache policy, you must provide the policy’s identifier. If the cache policy is
|
|
35
|
-
* attached to a distribution’s cache behavior, you can get the policy’s identifier using
|
|
36
|
-
* <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache policy is
|
|
37
|
-
* not attached to a cache behavior, you can get the identifier using
|
|
38
|
-
* <code>ListCachePolicies</code>.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { CloudFrontClient, GetCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
43
|
-
* // const { CloudFrontClient, GetCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
44
|
-
* const client = new CloudFrontClient(config);
|
|
45
|
-
* const command = new GetCachePolicyCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link GetCachePolicyCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link GetCachePolicyCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export class GetCachePolicyCommand extends $Command<
|
|
55
|
-
GetCachePolicyCommandInput,
|
|
56
|
-
GetCachePolicyCommandOutput,
|
|
57
|
-
CloudFrontClientResolvedConfig
|
|
58
|
-
> {
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
|
|
62
|
-
constructor(readonly input: GetCachePolicyCommandInput) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
super();
|
|
65
|
-
// End section: command_constructor
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(
|
|
72
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
73
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
75
|
-
): Handler<GetCachePolicyCommandInput, GetCachePolicyCommandOutput> {
|
|
76
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "CloudFrontClient";
|
|
82
|
-
const commandName = "GetCachePolicyCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: GetCachePolicyRequest.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: GetCachePolicyResult.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(input: GetCachePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
99
|
-
return serializeAws_restXmlGetCachePolicyCommand(input, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetCachePolicyCommandOutput> {
|
|
103
|
-
return deserializeAws_restXmlGetCachePolicyCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|