@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,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 { CreateFieldLevelEncryptionProfileRequest, CreateFieldLevelEncryptionProfileResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateFieldLevelEncryptionProfileCommand,
|
|
18
|
-
serializeAws_restXmlCreateFieldLevelEncryptionProfileCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateFieldLevelEncryptionProfileCommandInput extends CreateFieldLevelEncryptionProfileRequest {}
|
|
22
|
-
export interface CreateFieldLevelEncryptionProfileCommandOutput
|
|
23
|
-
extends CreateFieldLevelEncryptionProfileResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Create a field-level encryption profile.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { CloudFrontClient, CreateFieldLevelEncryptionProfileCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
32
|
-
* // const { CloudFrontClient, CreateFieldLevelEncryptionProfileCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
33
|
-
* const client = new CloudFrontClient(config);
|
|
34
|
-
* const command = new CreateFieldLevelEncryptionProfileCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateFieldLevelEncryptionProfileCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreateFieldLevelEncryptionProfileCommand extends $Command<
|
|
44
|
-
CreateFieldLevelEncryptionProfileCommandInput,
|
|
45
|
-
CreateFieldLevelEncryptionProfileCommandOutput,
|
|
46
|
-
CloudFrontClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreateFieldLevelEncryptionProfileCommandInput) {
|
|
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<CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncryptionProfileCommandOutput> {
|
|
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 = "CreateFieldLevelEncryptionProfileCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreateFieldLevelEncryptionProfileRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreateFieldLevelEncryptionProfileResult.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: CreateFieldLevelEncryptionProfileCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restXmlCreateFieldLevelEncryptionProfileCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<CreateFieldLevelEncryptionProfileCommandOutput> {
|
|
98
|
-
return deserializeAws_restXmlCreateFieldLevelEncryptionProfileCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -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 { CreateFunctionRequest, CreateFunctionResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateFunctionCommand,
|
|
18
|
-
serializeAws_restXmlCreateFunctionCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateFunctionCommandInput extends CreateFunctionRequest {}
|
|
22
|
-
export interface CreateFunctionCommandOutput extends CreateFunctionResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a CloudFront function.</p>
|
|
26
|
-
* <p>To create a function, you provide the function code and some configuration information
|
|
27
|
-
* about the function. The response contains an Amazon Resource Name (ARN) that uniquely
|
|
28
|
-
* identifies the function.</p>
|
|
29
|
-
* <p>When you create a function, it’s in the <code>DEVELOPMENT</code> stage. In this stage, you
|
|
30
|
-
* can test the function with <code>TestFunction</code>, and update it with
|
|
31
|
-
* <code>UpdateFunction</code>.</p>
|
|
32
|
-
* <p>When you’re ready to use your function with a CloudFront distribution, use
|
|
33
|
-
* <code>PublishFunction</code> to copy the function from the <code>DEVELOPMENT</code>
|
|
34
|
-
* stage to <code>LIVE</code>. When it’s live, you can attach the function to a
|
|
35
|
-
* distribution’s cache behavior, using the function’s ARN.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { CloudFrontClient, CreateFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
40
|
-
* // const { CloudFrontClient, CreateFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
41
|
-
* const client = new CloudFrontClient(config);
|
|
42
|
-
* const command = new CreateFunctionCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link CreateFunctionCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link CreateFunctionCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class CreateFunctionCommand extends $Command<
|
|
52
|
-
CreateFunctionCommandInput,
|
|
53
|
-
CreateFunctionCommandOutput,
|
|
54
|
-
CloudFrontClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: CreateFunctionCommandInput) {
|
|
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<CreateFunctionCommandInput, CreateFunctionCommandOutput> {
|
|
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 = "CreateFunctionCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: CreateFunctionRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: CreateFunctionResult.filterSensitiveLog,
|
|
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: CreateFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_restXmlCreateFunctionCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFunctionCommandOutput> {
|
|
100
|
-
return deserializeAws_restXmlCreateFunctionCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -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 { CreateInvalidationRequest, CreateInvalidationResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateInvalidationCommand,
|
|
18
|
-
serializeAws_restXmlCreateInvalidationCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateInvalidationCommandInput extends CreateInvalidationRequest {}
|
|
22
|
-
export interface CreateInvalidationCommandOutput extends CreateInvalidationResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Create a new invalidation. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CloudFrontClient, CreateInvalidationCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
30
|
-
* // const { CloudFrontClient, CreateInvalidationCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
31
|
-
* const client = new CloudFrontClient(config);
|
|
32
|
-
* const command = new CreateInvalidationCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateInvalidationCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateInvalidationCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateInvalidationCommand extends $Command<
|
|
42
|
-
CreateInvalidationCommandInput,
|
|
43
|
-
CreateInvalidationCommandOutput,
|
|
44
|
-
CloudFrontClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateInvalidationCommandInput) {
|
|
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<CreateInvalidationCommandInput, CreateInvalidationCommandOutput> {
|
|
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 = "CreateInvalidationCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateInvalidationRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateInvalidationResult.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: CreateInvalidationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restXmlCreateInvalidationCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateInvalidationCommandOutput> {
|
|
90
|
-
return deserializeAws_restXmlCreateInvalidationCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,102 +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 { CreateKeyGroupRequest, CreateKeyGroupResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateKeyGroupCommand,
|
|
18
|
-
serializeAws_restXmlCreateKeyGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateKeyGroupCommandInput extends CreateKeyGroupRequest {}
|
|
22
|
-
export interface CreateKeyGroupCommandOutput extends CreateKeyGroupResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a key group that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront signed URLs and signed cookies</a>.</p>
|
|
26
|
-
* <p>To create a key group, you must specify at least one public key for the key group. After you
|
|
27
|
-
* create a key group, you can reference it from one or more cache behaviors. When you
|
|
28
|
-
* reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies
|
|
29
|
-
* for all requests that match the cache behavior. The URLs or cookies must be signed with
|
|
30
|
-
* a private key whose corresponding public key is in the key group. The signed URL or
|
|
31
|
-
* cookie contains information about which public key CloudFront should use to verify the
|
|
32
|
-
* signature. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving private content</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { CloudFrontClient, CreateKeyGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
37
|
-
* // const { CloudFrontClient, CreateKeyGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
38
|
-
* const client = new CloudFrontClient(config);
|
|
39
|
-
* const command = new CreateKeyGroupCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link CreateKeyGroupCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link CreateKeyGroupCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class CreateKeyGroupCommand extends $Command<
|
|
49
|
-
CreateKeyGroupCommandInput,
|
|
50
|
-
CreateKeyGroupCommandOutput,
|
|
51
|
-
CloudFrontClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: CreateKeyGroupCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "CloudFrontClient";
|
|
76
|
-
const commandName = "CreateKeyGroupCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: CreateKeyGroupRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: CreateKeyGroupResult.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: CreateKeyGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_restXmlCreateKeyGroupCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateKeyGroupCommandOutput> {
|
|
97
|
-
return deserializeAws_restXmlCreateKeyGroupCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -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 { CreateMonitoringSubscriptionRequest, CreateMonitoringSubscriptionResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateMonitoringSubscriptionCommand,
|
|
18
|
-
serializeAws_restXmlCreateMonitoringSubscriptionCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateMonitoringSubscriptionCommandInput extends CreateMonitoringSubscriptionRequest {}
|
|
22
|
-
export interface CreateMonitoringSubscriptionCommandOutput
|
|
23
|
-
extends CreateMonitoringSubscriptionResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The
|
|
28
|
-
* additional metrics incur an additional cost.</p>
|
|
29
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional">Viewing additional CloudFront distribution metrics</a> in the
|
|
30
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CloudFrontClient, CreateMonitoringSubscriptionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
-
* // const { CloudFrontClient, CreateMonitoringSubscriptionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
-
* const client = new CloudFrontClient(config);
|
|
37
|
-
* const command = new CreateMonitoringSubscriptionCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateMonitoringSubscriptionCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateMonitoringSubscriptionCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class CreateMonitoringSubscriptionCommand extends $Command<
|
|
47
|
-
CreateMonitoringSubscriptionCommandInput,
|
|
48
|
-
CreateMonitoringSubscriptionCommandOutput,
|
|
49
|
-
CloudFrontClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: CreateMonitoringSubscriptionCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<CreateMonitoringSubscriptionCommandInput, CreateMonitoringSubscriptionCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "CloudFrontClient";
|
|
74
|
-
const commandName = "CreateMonitoringSubscriptionCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: CreateMonitoringSubscriptionRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: CreateMonitoringSubscriptionResult.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: CreateMonitoringSubscriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restXmlCreateMonitoringSubscriptionCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<CreateMonitoringSubscriptionCommandOutput> {
|
|
98
|
-
return deserializeAws_restXmlCreateMonitoringSubscriptionCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,122 +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 { CreateOriginRequestPolicyRequest, CreateOriginRequestPolicyResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restXmlCreateOriginRequestPolicyCommand,
|
|
18
|
-
serializeAws_restXmlCreateOriginRequestPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restXml";
|
|
20
|
-
|
|
21
|
-
export interface CreateOriginRequestPolicyCommandInput extends CreateOriginRequestPolicyRequest {}
|
|
22
|
-
export interface CreateOriginRequestPolicyCommandOutput extends CreateOriginRequestPolicyResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an origin request policy.</p>
|
|
26
|
-
* <p>After you create an origin request policy, you can attach it to one or more cache behaviors.
|
|
27
|
-
* When it’s attached to a cache behavior, the origin request policy determines the values
|
|
28
|
-
* that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends
|
|
29
|
-
* to the origin includes the following:</p>
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>The request body and the URL path (without the domain name) from the viewer
|
|
33
|
-
* request.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>The headers that CloudFront automatically includes in every origin request, including
|
|
37
|
-
* <code>Host</code>, <code>User-Agent</code>, and <code>X-Amz-Cf-Id</code>.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>All HTTP headers, cookies, and URL query strings that are specified in the cache policy or
|
|
41
|
-
* the origin request policy. These can include items from the viewer request and,
|
|
42
|
-
* in the case of headers, additional ones that are added by CloudFront.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* <p>CloudFront sends a request when it can’t find a valid object in its cache that matches the
|
|
46
|
-
* request. If you want to send values to the origin and also include them in the cache
|
|
47
|
-
* key, use <code>CachePolicy</code>.</p>
|
|
48
|
-
* <p>For more information about origin request policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html">Controlling origin requests</a> in the
|
|
49
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
50
|
-
* @example
|
|
51
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
-
* ```javascript
|
|
53
|
-
* import { CloudFrontClient, CreateOriginRequestPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
54
|
-
* // const { CloudFrontClient, CreateOriginRequestPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
55
|
-
* const client = new CloudFrontClient(config);
|
|
56
|
-
* const command = new CreateOriginRequestPolicyCommand(input);
|
|
57
|
-
* const response = await client.send(command);
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @see {@link CreateOriginRequestPolicyCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link CreateOriginRequestPolicyCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
export class CreateOriginRequestPolicyCommand extends $Command<
|
|
66
|
-
CreateOriginRequestPolicyCommandInput,
|
|
67
|
-
CreateOriginRequestPolicyCommandOutput,
|
|
68
|
-
CloudFrontClientResolvedConfig
|
|
69
|
-
> {
|
|
70
|
-
// Start section: command_properties
|
|
71
|
-
// End section: command_properties
|
|
72
|
-
|
|
73
|
-
constructor(readonly input: CreateOriginRequestPolicyCommandInput) {
|
|
74
|
-
// Start section: command_constructor
|
|
75
|
-
super();
|
|
76
|
-
// End section: command_constructor
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
resolveMiddleware(
|
|
83
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
84
|
-
configuration: CloudFrontClientResolvedConfig,
|
|
85
|
-
options?: __HttpHandlerOptions
|
|
86
|
-
): Handler<CreateOriginRequestPolicyCommandInput, CreateOriginRequestPolicyCommandOutput> {
|
|
87
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
88
|
-
|
|
89
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
90
|
-
|
|
91
|
-
const { logger } = configuration;
|
|
92
|
-
const clientName = "CloudFrontClient";
|
|
93
|
-
const commandName = "CreateOriginRequestPolicyCommand";
|
|
94
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
95
|
-
logger,
|
|
96
|
-
clientName,
|
|
97
|
-
commandName,
|
|
98
|
-
inputFilterSensitiveLog: CreateOriginRequestPolicyRequest.filterSensitiveLog,
|
|
99
|
-
outputFilterSensitiveLog: CreateOriginRequestPolicyResult.filterSensitiveLog,
|
|
100
|
-
};
|
|
101
|
-
const { requestHandler } = configuration;
|
|
102
|
-
return stack.resolve(
|
|
103
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
104
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
105
|
-
handlerExecutionContext
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private serialize(input: CreateOriginRequestPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
110
|
-
return serializeAws_restXmlCreateOriginRequestPolicyCommand(input, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
private deserialize(
|
|
114
|
-
output: __HttpResponse,
|
|
115
|
-
context: __SerdeContext
|
|
116
|
-
): Promise<CreateOriginRequestPolicyCommandOutput> {
|
|
117
|
-
return deserializeAws_restXmlCreateOriginRequestPolicyCommand(output, context);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// Start section: command_body_extra
|
|
121
|
-
// End section: command_body_extra
|
|
122
|
-
}
|