@aws-sdk/client-cloudfront 3.32.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 +44 -0
- package/dist-cjs/CloudFront.js +1288 -0
- package/dist-cjs/CloudFrontClient.js +46 -0
- package/dist-cjs/commands/AssociateAliasCommand.js +70 -0
- package/dist-cjs/commands/CreateCachePolicyCommand.js +80 -0
- package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +63 -0
- package/dist-cjs/commands/CreateDistributionCommand.js +72 -0
- package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +60 -0
- package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +60 -0
- package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +60 -0
- package/dist-cjs/commands/CreateFunctionCommand.js +70 -0
- package/dist-cjs/commands/CreateInvalidationCommand.js +60 -0
- package/dist-cjs/commands/CreateKeyGroupCommand.js +67 -0
- package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +63 -0
- package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +84 -0
- package/dist-cjs/commands/CreatePublicKeyCommand.js +60 -0
- package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +63 -0
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +62 -0
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +62 -0
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +66 -0
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +60 -0
- package/dist-cjs/commands/DeleteDistributionCommand.js +60 -0
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +60 -0
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +60 -0
- package/dist-cjs/commands/DeleteFunctionCommand.js +66 -0
- package/dist-cjs/commands/DeleteKeyGroupCommand.js +66 -0
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +60 -0
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +66 -0
- package/dist-cjs/commands/DeletePublicKeyCommand.js +60 -0
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +66 -0
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +107 -0
- package/dist-cjs/commands/DescribeFunctionCommand.js +64 -0
- package/dist-cjs/commands/GetCachePolicyCommand.js +73 -0
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +65 -0
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +60 -0
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +60 -0
- package/dist-cjs/commands/GetDistributionCommand.js +60 -0
- package/dist-cjs/commands/GetDistributionConfigCommand.js +60 -0
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +60 -0
- package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +60 -0
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +60 -0
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +60 -0
- package/dist-cjs/commands/GetFunctionCommand.js +63 -0
- package/dist-cjs/commands/GetInvalidationCommand.js +60 -0
- package/dist-cjs/commands/GetKeyGroupCommand.js +65 -0
- package/dist-cjs/commands/GetKeyGroupConfigCommand.js +65 -0
- package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +61 -0
- package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +73 -0
- package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +66 -0
- package/dist-cjs/commands/GetPublicKeyCommand.js +60 -0
- package/dist-cjs/commands/GetPublicKeyConfigCommand.js +60 -0
- package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +63 -0
- package/dist-cjs/commands/GetStreamingDistributionCommand.js +60 -0
- package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +60 -0
- package/dist-cjs/commands/ListCachePoliciesCommand.js +67 -0
- package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +60 -0
- package/dist-cjs/commands/ListConflictingAliasesCommand.js +82 -0
- package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +66 -0
- package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +66 -0
- package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +66 -0
- package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +69 -0
- package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +60 -0
- package/dist-cjs/commands/ListDistributionsCommand.js +60 -0
- package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +60 -0
- package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +60 -0
- package/dist-cjs/commands/ListFunctionsCommand.js +67 -0
- package/dist-cjs/commands/ListInvalidationsCommand.js +60 -0
- package/dist-cjs/commands/ListKeyGroupsCommand.js +65 -0
- package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +67 -0
- package/dist-cjs/commands/ListPublicKeysCommand.js +60 -0
- package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +65 -0
- package/dist-cjs/commands/ListStreamingDistributionsCommand.js +60 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +60 -0
- package/dist-cjs/commands/PublishFunctionCommand.js +68 -0
- package/dist-cjs/commands/TagResourceCommand.js +60 -0
- package/dist-cjs/commands/TestFunctionCommand.js +69 -0
- package/dist-cjs/commands/UntagResourceCommand.js +60 -0
- package/dist-cjs/commands/UpdateCachePolicyCommand.js +77 -0
- package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +60 -0
- package/dist-cjs/commands/UpdateDistributionCommand.js +138 -0
- package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +60 -0
- package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +60 -0
- package/dist-cjs/commands/UpdateFunctionCommand.js +65 -0
- package/dist-cjs/commands/UpdateKeyGroupCommand.js +77 -0
- package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +77 -0
- package/dist-cjs/commands/UpdatePublicKeyCommand.js +60 -0
- package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +80 -0
- package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +60 -0
- package/dist-cjs/endpoints.js +66 -0
- package/dist-cjs/index.js +99 -0
- package/dist-cjs/models/index.js +5 -0
- package/dist-cjs/models/models_0.js +2527 -0
- package/dist-cjs/models/models_1.js +1121 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +45 -0
- package/dist-cjs/pagination/ListDistributionsPaginator.js +45 -0
- package/dist-cjs/pagination/ListInvalidationsPaginator.js +45 -0
- package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +45 -0
- package/dist-cjs/protocols/Aws_restXml.js +16514 -0
- package/dist-cjs/runtimeConfig.browser.js +41 -0
- package/dist-cjs/runtimeConfig.js +46 -0
- package/dist-cjs/runtimeConfig.native.js +19 -0
- package/dist-cjs/runtimeConfig.shared.js +20 -0
- package/dist-cjs/waiters/waitForDistributionDeployed.js +45 -0
- package/dist-cjs/waiters/waitForInvalidationCompleted.js +45 -0
- package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +45 -0
- package/dist-es/CloudFront.js +1285 -0
- package/dist-es/CloudFrontClient.js +37 -0
- package/dist-es/commands/AssociateAliasCommand.js +39 -0
- package/dist-es/commands/CreateCachePolicyCommand.js +39 -0
- package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +39 -0
- package/dist-es/commands/CreateDistributionCommand.js +39 -0
- package/dist-es/commands/CreateDistributionWithTagsCommand.js +39 -0
- package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +39 -0
- package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +39 -0
- package/dist-es/commands/CreateFunctionCommand.js +39 -0
- package/dist-es/commands/CreateInvalidationCommand.js +39 -0
- package/dist-es/commands/CreateKeyGroupCommand.js +39 -0
- package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +39 -0
- package/dist-es/commands/CreateOriginRequestPolicyCommand.js +39 -0
- package/dist-es/commands/CreatePublicKeyCommand.js +39 -0
- package/dist-es/commands/CreateRealtimeLogConfigCommand.js +39 -0
- package/dist-es/commands/CreateStreamingDistributionCommand.js +39 -0
- package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +39 -0
- package/dist-es/commands/DeleteCachePolicyCommand.js +39 -0
- package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +39 -0
- package/dist-es/commands/DeleteDistributionCommand.js +39 -0
- package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +39 -0
- package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +39 -0
- package/dist-es/commands/DeleteFunctionCommand.js +39 -0
- package/dist-es/commands/DeleteKeyGroupCommand.js +39 -0
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +39 -0
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +39 -0
- package/dist-es/commands/DeletePublicKeyCommand.js +39 -0
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +39 -0
- package/dist-es/commands/DeleteStreamingDistributionCommand.js +39 -0
- package/dist-es/commands/DescribeFunctionCommand.js +39 -0
- package/dist-es/commands/GetCachePolicyCommand.js +39 -0
- package/dist-es/commands/GetCachePolicyConfigCommand.js +39 -0
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +39 -0
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +39 -0
- package/dist-es/commands/GetDistributionCommand.js +39 -0
- package/dist-es/commands/GetDistributionConfigCommand.js +39 -0
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js +39 -0
- package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +39 -0
- package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +39 -0
- package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +39 -0
- package/dist-es/commands/GetFunctionCommand.js +39 -0
- package/dist-es/commands/GetInvalidationCommand.js +39 -0
- package/dist-es/commands/GetKeyGroupCommand.js +39 -0
- package/dist-es/commands/GetKeyGroupConfigCommand.js +39 -0
- package/dist-es/commands/GetMonitoringSubscriptionCommand.js +39 -0
- package/dist-es/commands/GetOriginRequestPolicyCommand.js +39 -0
- package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +39 -0
- package/dist-es/commands/GetPublicKeyCommand.js +39 -0
- package/dist-es/commands/GetPublicKeyConfigCommand.js +39 -0
- package/dist-es/commands/GetRealtimeLogConfigCommand.js +39 -0
- package/dist-es/commands/GetStreamingDistributionCommand.js +39 -0
- package/dist-es/commands/GetStreamingDistributionConfigCommand.js +39 -0
- package/dist-es/commands/ListCachePoliciesCommand.js +39 -0
- package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +39 -0
- package/dist-es/commands/ListConflictingAliasesCommand.js +39 -0
- package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +39 -0
- package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +39 -0
- package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +39 -0
- package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +39 -0
- package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +39 -0
- package/dist-es/commands/ListDistributionsCommand.js +39 -0
- package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +39 -0
- package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +39 -0
- package/dist-es/commands/ListFunctionsCommand.js +39 -0
- package/dist-es/commands/ListInvalidationsCommand.js +39 -0
- package/dist-es/commands/ListKeyGroupsCommand.js +39 -0
- package/dist-es/commands/ListOriginRequestPoliciesCommand.js +39 -0
- package/dist-es/commands/ListPublicKeysCommand.js +39 -0
- package/dist-es/commands/ListRealtimeLogConfigsCommand.js +39 -0
- package/dist-es/commands/ListStreamingDistributionsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/PublishFunctionCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/TestFunctionCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateCachePolicyCommand.js +39 -0
- package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +39 -0
- package/dist-es/commands/UpdateDistributionCommand.js +39 -0
- package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +39 -0
- package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +39 -0
- package/dist-es/commands/UpdateFunctionCommand.js +39 -0
- package/dist-es/commands/UpdateKeyGroupCommand.js +39 -0
- package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +39 -0
- package/dist-es/commands/UpdatePublicKeyCommand.js +39 -0
- package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +39 -0
- package/dist-es/commands/UpdateStreamingDistributionCommand.js +39 -0
- package/dist-es/endpoints.js +62 -0
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/dist-es/models/models_0.js +1130 -0
- package/dist-es/models/models_1.js +497 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +74 -0
- package/dist-es/pagination/ListDistributionsPaginator.js +74 -0
- package/dist-es/pagination/ListInvalidationsPaginator.js +74 -0
- package/dist-es/pagination/ListStreamingDistributionsPaginator.js +74 -0
- package/dist-es/protocols/Aws_restXml.js +18245 -0
- package/dist-es/runtimeConfig.browser.js +16 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-es/waiters/waitForDistributionDeployed.js +51 -0
- package/dist-es/waiters/waitForInvalidationCompleted.js +51 -0
- package/dist-es/waiters/waitForStreamingDistributionDeployed.js +51 -0
- package/dist-types/CloudFront.d.ts +1087 -0
- package/dist-types/CloudFrontClient.d.ts +220 -0
- package/dist-types/commands/AssociateAliasCommand.d.ts +45 -0
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +55 -0
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +38 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +47 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +35 -0
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +35 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +45 -0
- package/dist-types/commands/CreateInvalidationCommand.d.ts +35 -0
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +42 -0
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +38 -0
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +59 -0
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +35 -0
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +38 -0
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +37 -0
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +37 -0
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +41 -0
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +35 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +35 -0
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +35 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +41 -0
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +41 -0
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +35 -0
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +41 -0
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +41 -0
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +82 -0
- package/dist-types/commands/DescribeFunctionCommand.d.ts +39 -0
- package/dist-types/commands/GetCachePolicyCommand.d.ts +48 -0
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +40 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +35 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +35 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +35 -0
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +35 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +38 -0
- package/dist-types/commands/GetInvalidationCommand.d.ts +35 -0
- package/dist-types/commands/GetKeyGroupCommand.d.ts +40 -0
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +40 -0
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +36 -0
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +48 -0
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +41 -0
- package/dist-types/commands/GetPublicKeyCommand.d.ts +35 -0
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +38 -0
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +35 -0
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +35 -0
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +42 -0
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +35 -0
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +57 -0
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +41 -0
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +41 -0
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +41 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +44 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +35 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +35 -0
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +35 -0
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +35 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +42 -0
- package/dist-types/commands/ListInvalidationsCommand.d.ts +35 -0
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +40 -0
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +42 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +35 -0
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +40 -0
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/PublishFunctionCommand.d.ts +43 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/TestFunctionCommand.d.ts +44 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +52 -0
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +35 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +113 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +35 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +40 -0
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +52 -0
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +52 -0
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +35 -0
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +55 -0
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/dist-types/models/models_1.d.ts +2647 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDistributionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListInvalidationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListStreamingDistributionsPaginator.d.ts +4 -0
- package/dist-types/protocols/Aws_restXml.d.ts +257 -0
- package/dist-types/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/dist-types/runtimeConfig.native.d.ts +36 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/CloudFront.d.ts +1087 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +220 -0
- package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +55 -0
- package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +82 -0
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +57 -0
- package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +113 -0
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +55 -0
- package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2647 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDistributionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListInvalidationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListStreamingDistributionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +257 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/waiters/waitForDistributionDeployed.d.ts +14 -0
- package/dist-types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +14 -0
- package/dist-types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +14 -0
- package/dist-types/waiters/waitForDistributionDeployed.d.ts +14 -0
- package/dist-types/waiters/waitForInvalidationCompleted.d.ts +14 -0
- package/dist-types/waiters/waitForStreamingDistributionDeployed.d.ts +14 -0
- package/package.json +54 -51
- package/CloudFront.ts +0 -3605
- package/CloudFrontClient.ts +0 -640
- package/commands/AssociateAliasCommand.ts +0 -104
- package/commands/CreateCachePolicyCommand.ts +0 -114
- package/commands/CreateCloudFrontOriginAccessIdentityCommand.ts +0 -108
- package/commands/CreateDistributionCommand.ts +0 -106
- package/commands/CreateDistributionWithTagsCommand.ts +0 -97
- package/commands/CreateFieldLevelEncryptionConfigCommand.ts +0 -102
- package/commands/CreateFieldLevelEncryptionProfileCommand.ts +0 -102
- package/commands/CreateFunctionCommand.ts +0 -104
- package/commands/CreateInvalidationCommand.ts +0 -94
- package/commands/CreateKeyGroupCommand.ts +0 -101
- package/commands/CreateMonitoringSubscriptionCommand.ts +0 -102
- package/commands/CreateOriginRequestPolicyCommand.ts +0 -121
- package/commands/CreatePublicKeyCommand.ts +0 -94
- package/commands/CreateRealtimeLogConfigCommand.ts +0 -97
- package/commands/CreateStreamingDistributionCommand.ts +0 -99
- package/commands/CreateStreamingDistributionWithTagsCommand.ts +0 -107
- package/commands/DeleteCachePolicyCommand.ts +0 -100
- package/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts +0 -100
- package/commands/DeleteDistributionCommand.ts +0 -94
- package/commands/DeleteFieldLevelEncryptionConfigCommand.ts +0 -100
- package/commands/DeleteFieldLevelEncryptionProfileCommand.ts +0 -100
- package/commands/DeleteFunctionCommand.ts +0 -100
- package/commands/DeleteKeyGroupCommand.ts +0 -100
- package/commands/DeleteMonitoringSubscriptionCommand.ts +0 -99
- package/commands/DeleteOriginRequestPolicyCommand.ts +0 -103
- package/commands/DeletePublicKeyCommand.ts +0 -94
- package/commands/DeleteRealtimeLogConfigCommand.ts +0 -100
- package/commands/DeleteStreamingDistributionCommand.ts +0 -144
- package/commands/DescribeFunctionCommand.ts +0 -98
- package/commands/GetCachePolicyCommand.ts +0 -107
- package/commands/GetCachePolicyConfigCommand.ts +0 -99
- package/commands/GetCloudFrontOriginAccessIdentityCommand.ts +0 -102
- package/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts +0 -109
- package/commands/GetDistributionCommand.ts +0 -94
- package/commands/GetDistributionConfigCommand.ts +0 -94
- package/commands/GetFieldLevelEncryptionCommand.ts +0 -94
- package/commands/GetFieldLevelEncryptionConfigCommand.ts +0 -99
- package/commands/GetFieldLevelEncryptionProfileCommand.ts +0 -102
- package/commands/GetFieldLevelEncryptionProfileConfigCommand.ts +0 -105
- package/commands/GetFunctionCommand.ts +0 -97
- package/commands/GetInvalidationCommand.ts +0 -94
- package/commands/GetKeyGroupCommand.ts +0 -99
- package/commands/GetKeyGroupConfigCommand.ts +0 -99
- package/commands/GetMonitoringSubscriptionCommand.ts +0 -98
- package/commands/GetOriginRequestPolicyCommand.ts +0 -107
- package/commands/GetOriginRequestPolicyConfigCommand.ts +0 -105
- package/commands/GetPublicKeyCommand.ts +0 -94
- package/commands/GetPublicKeyConfigCommand.ts +0 -94
- package/commands/GetRealtimeLogConfigCommand.ts +0 -97
- package/commands/GetStreamingDistributionCommand.ts +0 -94
- package/commands/GetStreamingDistributionConfigCommand.ts +0 -102
- package/commands/ListCachePoliciesCommand.ts +0 -101
- package/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts +0 -105
- package/commands/ListConflictingAliasesCommand.ts +0 -116
- package/commands/ListDistributionsByCachePolicyIdCommand.ts +0 -108
- package/commands/ListDistributionsByKeyGroupCommand.ts +0 -103
- package/commands/ListDistributionsByOriginRequestPolicyIdCommand.ts +0 -115
- package/commands/ListDistributionsByRealtimeLogConfigCommand.ts +0 -114
- package/commands/ListDistributionsByWebACLIdCommand.ts +0 -97
- package/commands/ListDistributionsCommand.ts +0 -94
- package/commands/ListFieldLevelEncryptionConfigsCommand.ts +0 -102
- package/commands/ListFieldLevelEncryptionProfilesCommand.ts +0 -102
- package/commands/ListFunctionsCommand.ts +0 -101
- package/commands/ListInvalidationsCommand.ts +0 -94
- package/commands/ListKeyGroupsCommand.ts +0 -99
- package/commands/ListOriginRequestPoliciesCommand.ts +0 -104
- package/commands/ListPublicKeysCommand.ts +0 -94
- package/commands/ListRealtimeLogConfigsCommand.ts +0 -99
- package/commands/ListStreamingDistributionsCommand.ts +0 -97
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PublishFunctionCommand.ts +0 -102
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/TestFunctionCommand.ts +0 -103
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateCachePolicyCommand.ts +0 -111
- package/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts +0 -105
- package/commands/UpdateDistributionCommand.ts +0 -172
- package/commands/UpdateFieldLevelEncryptionConfigCommand.ts +0 -102
- package/commands/UpdateFieldLevelEncryptionProfileCommand.ts +0 -102
- package/commands/UpdateFunctionCommand.ts +0 -99
- package/commands/UpdateKeyGroupCommand.ts +0 -111
- package/commands/UpdateOriginRequestPolicyCommand.ts +0 -114
- package/commands/UpdatePublicKeyCommand.ts +0 -94
- package/commands/UpdateRealtimeLogConfigCommand.ts +0 -114
- package/commands/UpdateStreamingDistributionCommand.ts +0 -97
- package/dist/cjs/CloudFront.js +0 -1289
- package/dist/cjs/CloudFront.js.map +0 -1
- package/dist/cjs/CloudFrontClient.js +0 -47
- package/dist/cjs/CloudFrontClient.js.map +0 -1
- package/dist/cjs/commands/AssociateAliasCommand.js +0 -71
- package/dist/cjs/commands/AssociateAliasCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCachePolicyCommand.js +0 -81
- package/dist/cjs/commands/CreateCachePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -64
- package/dist/cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDistributionCommand.js +0 -73
- package/dist/cjs/commands/CreateDistributionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDistributionWithTagsCommand.js +0 -61
- package/dist/cjs/commands/CreateDistributionWithTagsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -61
- package/dist/cjs/commands/CreateFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -61
- package/dist/cjs/commands/CreateFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFunctionCommand.js +0 -71
- package/dist/cjs/commands/CreateFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateInvalidationCommand.js +0 -61
- package/dist/cjs/commands/CreateInvalidationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateKeyGroupCommand.js +0 -68
- package/dist/cjs/commands/CreateKeyGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateMonitoringSubscriptionCommand.js +0 -64
- package/dist/cjs/commands/CreateMonitoringSubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateOriginRequestPolicyCommand.js +0 -85
- package/dist/cjs/commands/CreateOriginRequestPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePublicKeyCommand.js +0 -61
- package/dist/cjs/commands/CreatePublicKeyCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRealtimeLogConfigCommand.js +0 -64
- package/dist/cjs/commands/CreateRealtimeLogConfigCommand.js.map +0 -1
- package/dist/cjs/commands/CreateStreamingDistributionCommand.js +0 -63
- package/dist/cjs/commands/CreateStreamingDistributionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateStreamingDistributionWithTagsCommand.js +0 -63
- package/dist/cjs/commands/CreateStreamingDistributionWithTagsCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCachePolicyCommand.js +0 -67
- package/dist/cjs/commands/DeleteCachePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -61
- package/dist/cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDistributionCommand.js +0 -61
- package/dist/cjs/commands/DeleteDistributionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -61
- package/dist/cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -61
- package/dist/cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFunctionCommand.js +0 -67
- package/dist/cjs/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteKeyGroupCommand.js +0 -67
- package/dist/cjs/commands/DeleteKeyGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteMonitoringSubscriptionCommand.js +0 -61
- package/dist/cjs/commands/DeleteMonitoringSubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteOriginRequestPolicyCommand.js +0 -67
- package/dist/cjs/commands/DeleteOriginRequestPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePublicKeyCommand.js +0 -61
- package/dist/cjs/commands/DeletePublicKeyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRealtimeLogConfigCommand.js +0 -67
- package/dist/cjs/commands/DeleteRealtimeLogConfigCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteStreamingDistributionCommand.js +0 -108
- package/dist/cjs/commands/DeleteStreamingDistributionCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFunctionCommand.js +0 -65
- package/dist/cjs/commands/DescribeFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/GetCachePolicyCommand.js +0 -74
- package/dist/cjs/commands/GetCachePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetCachePolicyConfigCommand.js +0 -66
- package/dist/cjs/commands/GetCachePolicyConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -61
- package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -61
- package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetDistributionCommand.js +0 -61
- package/dist/cjs/commands/GetDistributionCommand.js.map +0 -1
- package/dist/cjs/commands/GetDistributionConfigCommand.js +0 -61
- package/dist/cjs/commands/GetDistributionConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetFieldLevelEncryptionCommand.js +0 -61
- package/dist/cjs/commands/GetFieldLevelEncryptionCommand.js.map +0 -1
- package/dist/cjs/commands/GetFieldLevelEncryptionConfigCommand.js +0 -61
- package/dist/cjs/commands/GetFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetFieldLevelEncryptionProfileCommand.js +0 -61
- package/dist/cjs/commands/GetFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist/cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -61
- package/dist/cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetFunctionCommand.js +0 -64
- package/dist/cjs/commands/GetFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/GetInvalidationCommand.js +0 -61
- package/dist/cjs/commands/GetInvalidationCommand.js.map +0 -1
- package/dist/cjs/commands/GetKeyGroupCommand.js +0 -66
- package/dist/cjs/commands/GetKeyGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetKeyGroupConfigCommand.js +0 -66
- package/dist/cjs/commands/GetKeyGroupConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetMonitoringSubscriptionCommand.js +0 -62
- package/dist/cjs/commands/GetMonitoringSubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/GetOriginRequestPolicyCommand.js +0 -74
- package/dist/cjs/commands/GetOriginRequestPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetOriginRequestPolicyConfigCommand.js +0 -67
- package/dist/cjs/commands/GetOriginRequestPolicyConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetPublicKeyCommand.js +0 -61
- package/dist/cjs/commands/GetPublicKeyCommand.js.map +0 -1
- package/dist/cjs/commands/GetPublicKeyConfigCommand.js +0 -61
- package/dist/cjs/commands/GetPublicKeyConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetRealtimeLogConfigCommand.js +0 -64
- package/dist/cjs/commands/GetRealtimeLogConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetStreamingDistributionCommand.js +0 -61
- package/dist/cjs/commands/GetStreamingDistributionCommand.js.map +0 -1
- package/dist/cjs/commands/GetStreamingDistributionConfigCommand.js +0 -61
- package/dist/cjs/commands/GetStreamingDistributionConfigCommand.js.map +0 -1
- package/dist/cjs/commands/ListCachePoliciesCommand.js +0 -68
- package/dist/cjs/commands/ListCachePoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -61
- package/dist/cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js.map +0 -1
- package/dist/cjs/commands/ListConflictingAliasesCommand.js +0 -83
- package/dist/cjs/commands/ListConflictingAliasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListDistributionsByCachePolicyIdCommand.js +0 -67
- package/dist/cjs/commands/ListDistributionsByCachePolicyIdCommand.js.map +0 -1
- package/dist/cjs/commands/ListDistributionsByKeyGroupCommand.js +0 -67
- package/dist/cjs/commands/ListDistributionsByKeyGroupCommand.js.map +0 -1
- package/dist/cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -67
- package/dist/cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js.map +0 -1
- package/dist/cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -70
- package/dist/cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js.map +0 -1
- package/dist/cjs/commands/ListDistributionsByWebACLIdCommand.js +0 -61
- package/dist/cjs/commands/ListDistributionsByWebACLIdCommand.js.map +0 -1
- package/dist/cjs/commands/ListDistributionsCommand.js +0 -61
- package/dist/cjs/commands/ListDistributionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -61
- package/dist/cjs/commands/ListFieldLevelEncryptionConfigsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -61
- package/dist/cjs/commands/ListFieldLevelEncryptionProfilesCommand.js.map +0 -1
- package/dist/cjs/commands/ListFunctionsCommand.js +0 -68
- package/dist/cjs/commands/ListFunctionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListInvalidationsCommand.js +0 -61
- package/dist/cjs/commands/ListInvalidationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListKeyGroupsCommand.js +0 -66
- package/dist/cjs/commands/ListKeyGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListOriginRequestPoliciesCommand.js +0 -68
- package/dist/cjs/commands/ListOriginRequestPoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/ListPublicKeysCommand.js +0 -61
- package/dist/cjs/commands/ListPublicKeysCommand.js.map +0 -1
- package/dist/cjs/commands/ListRealtimeLogConfigsCommand.js +0 -66
- package/dist/cjs/commands/ListRealtimeLogConfigsCommand.js.map +0 -1
- package/dist/cjs/commands/ListStreamingDistributionsCommand.js +0 -61
- package/dist/cjs/commands/ListStreamingDistributionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -61
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PublishFunctionCommand.js +0 -69
- package/dist/cjs/commands/PublishFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -61
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/TestFunctionCommand.js +0 -70
- package/dist/cjs/commands/TestFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -61
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateCachePolicyCommand.js +0 -78
- package/dist/cjs/commands/UpdateCachePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -61
- package/dist/cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDistributionCommand.js +0 -139
- package/dist/cjs/commands/UpdateDistributionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -61
- package/dist/cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -61
- package/dist/cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFunctionCommand.js +0 -66
- package/dist/cjs/commands/UpdateFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateKeyGroupCommand.js +0 -78
- package/dist/cjs/commands/UpdateKeyGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateOriginRequestPolicyCommand.js +0 -78
- package/dist/cjs/commands/UpdateOriginRequestPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePublicKeyCommand.js +0 -61
- package/dist/cjs/commands/UpdatePublicKeyCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRealtimeLogConfigCommand.js +0 -81
- package/dist/cjs/commands/UpdateRealtimeLogConfigCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateStreamingDistributionCommand.js +0 -61
- package/dist/cjs/commands/UpdateStreamingDistributionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js +0 -67
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -100
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js +0 -6
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js +0 -2528
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/models/models_1.js +0 -1122
- package/dist/cjs/models/models_1.js.map +0 -1
- package/dist/cjs/package.json +0 -95
- package/dist/cjs/pagination/Interfaces.js +0 -3
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -46
- package/dist/cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDistributionsPaginator.js +0 -46
- package/dist/cjs/pagination/ListDistributionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListInvalidationsPaginator.js +0 -46
- package/dist/cjs/pagination/ListInvalidationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListStreamingDistributionsPaginator.js +0 -46
- package/dist/cjs/pagination/ListStreamingDistributionsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restXml.js +0 -16515
- package/dist/cjs/protocols/Aws_restXml.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js +0 -41
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js +0 -46
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js +0 -20
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js +0 -21
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForDistributionDeployed.js +0 -46
- package/dist/cjs/waiters/waitForDistributionDeployed.js.map +0 -1
- package/dist/cjs/waiters/waitForInvalidationCompleted.js +0 -46
- package/dist/cjs/waiters/waitForInvalidationCompleted.js.map +0 -1
- package/dist/cjs/waiters/waitForStreamingDistributionDeployed.js +0 -46
- package/dist/cjs/waiters/waitForStreamingDistributionDeployed.js.map +0 -1
- package/dist/es/CloudFront.js +0 -1292
- package/dist/es/CloudFront.js.map +0 -1
- package/dist/es/CloudFrontClient.js +0 -49
- package/dist/es/CloudFrontClient.js.map +0 -1
- package/dist/es/commands/AssociateAliasCommand.js +0 -75
- package/dist/es/commands/AssociateAliasCommand.js.map +0 -1
- package/dist/es/commands/CreateCachePolicyCommand.js +0 -85
- package/dist/es/commands/CreateCachePolicyCommand.js.map +0 -1
- package/dist/es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -68
- package/dist/es/commands/CreateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist/es/commands/CreateDistributionCommand.js +0 -77
- package/dist/es/commands/CreateDistributionCommand.js.map +0 -1
- package/dist/es/commands/CreateDistributionWithTagsCommand.js +0 -65
- package/dist/es/commands/CreateDistributionWithTagsCommand.js.map +0 -1
- package/dist/es/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -65
- package/dist/es/commands/CreateFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist/es/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -65
- package/dist/es/commands/CreateFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist/es/commands/CreateFunctionCommand.js +0 -75
- package/dist/es/commands/CreateFunctionCommand.js.map +0 -1
- package/dist/es/commands/CreateInvalidationCommand.js +0 -65
- package/dist/es/commands/CreateInvalidationCommand.js.map +0 -1
- package/dist/es/commands/CreateKeyGroupCommand.js +0 -72
- package/dist/es/commands/CreateKeyGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateMonitoringSubscriptionCommand.js +0 -68
- package/dist/es/commands/CreateMonitoringSubscriptionCommand.js.map +0 -1
- package/dist/es/commands/CreateOriginRequestPolicyCommand.js +0 -89
- package/dist/es/commands/CreateOriginRequestPolicyCommand.js.map +0 -1
- package/dist/es/commands/CreatePublicKeyCommand.js +0 -65
- package/dist/es/commands/CreatePublicKeyCommand.js.map +0 -1
- package/dist/es/commands/CreateRealtimeLogConfigCommand.js +0 -68
- package/dist/es/commands/CreateRealtimeLogConfigCommand.js.map +0 -1
- package/dist/es/commands/CreateStreamingDistributionCommand.js +0 -67
- package/dist/es/commands/CreateStreamingDistributionCommand.js.map +0 -1
- package/dist/es/commands/CreateStreamingDistributionWithTagsCommand.js +0 -67
- package/dist/es/commands/CreateStreamingDistributionWithTagsCommand.js.map +0 -1
- package/dist/es/commands/DeleteCachePolicyCommand.js +0 -71
- package/dist/es/commands/DeleteCachePolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -65
- package/dist/es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist/es/commands/DeleteDistributionCommand.js +0 -65
- package/dist/es/commands/DeleteDistributionCommand.js.map +0 -1
- package/dist/es/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -65
- package/dist/es/commands/DeleteFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist/es/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -65
- package/dist/es/commands/DeleteFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist/es/commands/DeleteFunctionCommand.js +0 -71
- package/dist/es/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist/es/commands/DeleteKeyGroupCommand.js +0 -71
- package/dist/es/commands/DeleteKeyGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteMonitoringSubscriptionCommand.js +0 -65
- package/dist/es/commands/DeleteMonitoringSubscriptionCommand.js.map +0 -1
- package/dist/es/commands/DeleteOriginRequestPolicyCommand.js +0 -71
- package/dist/es/commands/DeleteOriginRequestPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeletePublicKeyCommand.js +0 -65
- package/dist/es/commands/DeletePublicKeyCommand.js.map +0 -1
- package/dist/es/commands/DeleteRealtimeLogConfigCommand.js +0 -71
- package/dist/es/commands/DeleteRealtimeLogConfigCommand.js.map +0 -1
- package/dist/es/commands/DeleteStreamingDistributionCommand.js +0 -112
- package/dist/es/commands/DeleteStreamingDistributionCommand.js.map +0 -1
- package/dist/es/commands/DescribeFunctionCommand.js +0 -69
- package/dist/es/commands/DescribeFunctionCommand.js.map +0 -1
- package/dist/es/commands/GetCachePolicyCommand.js +0 -78
- package/dist/es/commands/GetCachePolicyCommand.js.map +0 -1
- package/dist/es/commands/GetCachePolicyConfigCommand.js +0 -70
- package/dist/es/commands/GetCachePolicyConfigCommand.js.map +0 -1
- package/dist/es/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -65
- package/dist/es/commands/GetCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist/es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -65
- package/dist/es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js.map +0 -1
- package/dist/es/commands/GetDistributionCommand.js +0 -65
- package/dist/es/commands/GetDistributionCommand.js.map +0 -1
- package/dist/es/commands/GetDistributionConfigCommand.js +0 -65
- package/dist/es/commands/GetDistributionConfigCommand.js.map +0 -1
- package/dist/es/commands/GetFieldLevelEncryptionCommand.js +0 -65
- package/dist/es/commands/GetFieldLevelEncryptionCommand.js.map +0 -1
- package/dist/es/commands/GetFieldLevelEncryptionConfigCommand.js +0 -65
- package/dist/es/commands/GetFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist/es/commands/GetFieldLevelEncryptionProfileCommand.js +0 -65
- package/dist/es/commands/GetFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist/es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -65
- package/dist/es/commands/GetFieldLevelEncryptionProfileConfigCommand.js.map +0 -1
- package/dist/es/commands/GetFunctionCommand.js +0 -68
- package/dist/es/commands/GetFunctionCommand.js.map +0 -1
- package/dist/es/commands/GetInvalidationCommand.js +0 -65
- package/dist/es/commands/GetInvalidationCommand.js.map +0 -1
- package/dist/es/commands/GetKeyGroupCommand.js +0 -70
- package/dist/es/commands/GetKeyGroupCommand.js.map +0 -1
- package/dist/es/commands/GetKeyGroupConfigCommand.js +0 -70
- package/dist/es/commands/GetKeyGroupConfigCommand.js.map +0 -1
- package/dist/es/commands/GetMonitoringSubscriptionCommand.js +0 -66
- package/dist/es/commands/GetMonitoringSubscriptionCommand.js.map +0 -1
- package/dist/es/commands/GetOriginRequestPolicyCommand.js +0 -78
- package/dist/es/commands/GetOriginRequestPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetOriginRequestPolicyConfigCommand.js +0 -71
- package/dist/es/commands/GetOriginRequestPolicyConfigCommand.js.map +0 -1
- package/dist/es/commands/GetPublicKeyCommand.js +0 -65
- package/dist/es/commands/GetPublicKeyCommand.js.map +0 -1
- package/dist/es/commands/GetPublicKeyConfigCommand.js +0 -65
- package/dist/es/commands/GetPublicKeyConfigCommand.js.map +0 -1
- package/dist/es/commands/GetRealtimeLogConfigCommand.js +0 -68
- package/dist/es/commands/GetRealtimeLogConfigCommand.js.map +0 -1
- package/dist/es/commands/GetStreamingDistributionCommand.js +0 -65
- package/dist/es/commands/GetStreamingDistributionCommand.js.map +0 -1
- package/dist/es/commands/GetStreamingDistributionConfigCommand.js +0 -65
- package/dist/es/commands/GetStreamingDistributionConfigCommand.js.map +0 -1
- package/dist/es/commands/ListCachePoliciesCommand.js +0 -72
- package/dist/es/commands/ListCachePoliciesCommand.js.map +0 -1
- package/dist/es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -65
- package/dist/es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js.map +0 -1
- package/dist/es/commands/ListConflictingAliasesCommand.js +0 -87
- package/dist/es/commands/ListConflictingAliasesCommand.js.map +0 -1
- package/dist/es/commands/ListDistributionsByCachePolicyIdCommand.js +0 -71
- package/dist/es/commands/ListDistributionsByCachePolicyIdCommand.js.map +0 -1
- package/dist/es/commands/ListDistributionsByKeyGroupCommand.js +0 -71
- package/dist/es/commands/ListDistributionsByKeyGroupCommand.js.map +0 -1
- package/dist/es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -71
- package/dist/es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js.map +0 -1
- package/dist/es/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -74
- package/dist/es/commands/ListDistributionsByRealtimeLogConfigCommand.js.map +0 -1
- package/dist/es/commands/ListDistributionsByWebACLIdCommand.js +0 -65
- package/dist/es/commands/ListDistributionsByWebACLIdCommand.js.map +0 -1
- package/dist/es/commands/ListDistributionsCommand.js +0 -65
- package/dist/es/commands/ListDistributionsCommand.js.map +0 -1
- package/dist/es/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -65
- package/dist/es/commands/ListFieldLevelEncryptionConfigsCommand.js.map +0 -1
- package/dist/es/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -65
- package/dist/es/commands/ListFieldLevelEncryptionProfilesCommand.js.map +0 -1
- package/dist/es/commands/ListFunctionsCommand.js +0 -72
- package/dist/es/commands/ListFunctionsCommand.js.map +0 -1
- package/dist/es/commands/ListInvalidationsCommand.js +0 -65
- package/dist/es/commands/ListInvalidationsCommand.js.map +0 -1
- package/dist/es/commands/ListKeyGroupsCommand.js +0 -70
- package/dist/es/commands/ListKeyGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListOriginRequestPoliciesCommand.js +0 -72
- package/dist/es/commands/ListOriginRequestPoliciesCommand.js.map +0 -1
- package/dist/es/commands/ListPublicKeysCommand.js +0 -65
- package/dist/es/commands/ListPublicKeysCommand.js.map +0 -1
- package/dist/es/commands/ListRealtimeLogConfigsCommand.js +0 -70
- package/dist/es/commands/ListRealtimeLogConfigsCommand.js.map +0 -1
- package/dist/es/commands/ListStreamingDistributionsCommand.js +0 -65
- package/dist/es/commands/ListStreamingDistributionsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -65
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PublishFunctionCommand.js +0 -73
- package/dist/es/commands/PublishFunctionCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -65
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/TestFunctionCommand.js +0 -74
- package/dist/es/commands/TestFunctionCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -65
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateCachePolicyCommand.js +0 -82
- package/dist/es/commands/UpdateCachePolicyCommand.js.map +0 -1
- package/dist/es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -65
- package/dist/es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
- package/dist/es/commands/UpdateDistributionCommand.js +0 -143
- package/dist/es/commands/UpdateDistributionCommand.js.map +0 -1
- package/dist/es/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -65
- package/dist/es/commands/UpdateFieldLevelEncryptionConfigCommand.js.map +0 -1
- package/dist/es/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -65
- package/dist/es/commands/UpdateFieldLevelEncryptionProfileCommand.js.map +0 -1
- package/dist/es/commands/UpdateFunctionCommand.js +0 -70
- package/dist/es/commands/UpdateFunctionCommand.js.map +0 -1
- package/dist/es/commands/UpdateKeyGroupCommand.js +0 -82
- package/dist/es/commands/UpdateKeyGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateOriginRequestPolicyCommand.js +0 -82
- package/dist/es/commands/UpdateOriginRequestPolicyCommand.js.map +0 -1
- package/dist/es/commands/UpdatePublicKeyCommand.js +0 -65
- package/dist/es/commands/UpdatePublicKeyCommand.js.map +0 -1
- package/dist/es/commands/UpdateRealtimeLogConfigCommand.js +0 -85
- package/dist/es/commands/UpdateRealtimeLogConfigCommand.js.map +0 -1
- package/dist/es/commands/UpdateStreamingDistributionCommand.js +0 -65
- package/dist/es/commands/UpdateStreamingDistributionCommand.js.map +0 -1
- package/dist/es/endpoints.js +0 -63
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -97
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -3
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js +0 -1959
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/models/models_1.js +0 -867
- package/dist/es/models/models_1.js.map +0 -1
- package/dist/es/package.json +0 -95
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -87
- package/dist/es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js.map +0 -1
- package/dist/es/pagination/ListDistributionsPaginator.js +0 -87
- package/dist/es/pagination/ListDistributionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListInvalidationsPaginator.js +0 -87
- package/dist/es/pagination/ListInvalidationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListStreamingDistributionsPaginator.js +0 -87
- package/dist/es/pagination/ListStreamingDistributionsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restXml.js +0 -18248
- package/dist/es/protocols/Aws_restXml.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -20
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -25
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js +0 -12
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -17
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForDistributionDeployed.js +0 -61
- package/dist/es/waiters/waitForDistributionDeployed.js.map +0 -1
- package/dist/es/waiters/waitForInvalidationCompleted.js +0 -61
- package/dist/es/waiters/waitForInvalidationCompleted.js.map +0 -1
- package/dist/es/waiters/waitForStreamingDistributionDeployed.js +0 -61
- package/dist/es/waiters/waitForStreamingDistributionDeployed.js.map +0 -1
- package/dist/types/CloudFront.d.ts +0 -1087
- package/dist/types/CloudFrontClient.d.ts +0 -220
- package/dist/types/commands/AssociateAliasCommand.d.ts +0 -45
- package/dist/types/commands/CreateCachePolicyCommand.d.ts +0 -55
- package/dist/types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +0 -38
- package/dist/types/commands/CreateDistributionCommand.d.ts +0 -47
- package/dist/types/commands/CreateDistributionWithTagsCommand.d.ts +0 -35
- package/dist/types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +0 -35
- package/dist/types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +0 -35
- package/dist/types/commands/CreateFunctionCommand.d.ts +0 -45
- package/dist/types/commands/CreateInvalidationCommand.d.ts +0 -35
- package/dist/types/commands/CreateKeyGroupCommand.d.ts +0 -42
- package/dist/types/commands/CreateMonitoringSubscriptionCommand.d.ts +0 -38
- package/dist/types/commands/CreateOriginRequestPolicyCommand.d.ts +0 -59
- package/dist/types/commands/CreatePublicKeyCommand.d.ts +0 -35
- package/dist/types/commands/CreateRealtimeLogConfigCommand.d.ts +0 -38
- package/dist/types/commands/CreateStreamingDistributionCommand.d.ts +0 -37
- package/dist/types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +0 -37
- package/dist/types/commands/DeleteCachePolicyCommand.d.ts +0 -41
- package/dist/types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +0 -35
- package/dist/types/commands/DeleteDistributionCommand.d.ts +0 -35
- package/dist/types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +0 -35
- package/dist/types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +0 -35
- package/dist/types/commands/DeleteFunctionCommand.d.ts +0 -41
- package/dist/types/commands/DeleteKeyGroupCommand.d.ts +0 -41
- package/dist/types/commands/DeleteMonitoringSubscriptionCommand.d.ts +0 -35
- package/dist/types/commands/DeleteOriginRequestPolicyCommand.d.ts +0 -41
- package/dist/types/commands/DeletePublicKeyCommand.d.ts +0 -35
- package/dist/types/commands/DeleteRealtimeLogConfigCommand.d.ts +0 -41
- package/dist/types/commands/DeleteStreamingDistributionCommand.d.ts +0 -82
- package/dist/types/commands/DescribeFunctionCommand.d.ts +0 -39
- package/dist/types/commands/GetCachePolicyCommand.d.ts +0 -48
- package/dist/types/commands/GetCachePolicyConfigCommand.d.ts +0 -40
- package/dist/types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +0 -35
- package/dist/types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +0 -35
- package/dist/types/commands/GetDistributionCommand.d.ts +0 -35
- package/dist/types/commands/GetDistributionConfigCommand.d.ts +0 -35
- package/dist/types/commands/GetFieldLevelEncryptionCommand.d.ts +0 -35
- package/dist/types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +0 -35
- package/dist/types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +0 -35
- package/dist/types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +0 -35
- package/dist/types/commands/GetFunctionCommand.d.ts +0 -38
- package/dist/types/commands/GetInvalidationCommand.d.ts +0 -35
- package/dist/types/commands/GetKeyGroupCommand.d.ts +0 -40
- package/dist/types/commands/GetKeyGroupConfigCommand.d.ts +0 -40
- package/dist/types/commands/GetMonitoringSubscriptionCommand.d.ts +0 -36
- package/dist/types/commands/GetOriginRequestPolicyCommand.d.ts +0 -48
- package/dist/types/commands/GetOriginRequestPolicyConfigCommand.d.ts +0 -41
- package/dist/types/commands/GetPublicKeyCommand.d.ts +0 -35
- package/dist/types/commands/GetPublicKeyConfigCommand.d.ts +0 -35
- package/dist/types/commands/GetRealtimeLogConfigCommand.d.ts +0 -38
- package/dist/types/commands/GetStreamingDistributionCommand.d.ts +0 -35
- package/dist/types/commands/GetStreamingDistributionConfigCommand.d.ts +0 -35
- package/dist/types/commands/ListCachePoliciesCommand.d.ts +0 -42
- package/dist/types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +0 -35
- package/dist/types/commands/ListConflictingAliasesCommand.d.ts +0 -57
- package/dist/types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +0 -41
- package/dist/types/commands/ListDistributionsByKeyGroupCommand.d.ts +0 -41
- package/dist/types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +0 -41
- package/dist/types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +0 -44
- package/dist/types/commands/ListDistributionsByWebACLIdCommand.d.ts +0 -35
- package/dist/types/commands/ListDistributionsCommand.d.ts +0 -35
- package/dist/types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +0 -35
- package/dist/types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +0 -35
- package/dist/types/commands/ListFunctionsCommand.d.ts +0 -42
- package/dist/types/commands/ListInvalidationsCommand.d.ts +0 -35
- package/dist/types/commands/ListKeyGroupsCommand.d.ts +0 -40
- package/dist/types/commands/ListOriginRequestPoliciesCommand.d.ts +0 -42
- package/dist/types/commands/ListPublicKeysCommand.d.ts +0 -35
- package/dist/types/commands/ListRealtimeLogConfigsCommand.d.ts +0 -40
- package/dist/types/commands/ListStreamingDistributionsCommand.d.ts +0 -35
- package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/commands/PublishFunctionCommand.d.ts +0 -43
- package/dist/types/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/commands/TestFunctionCommand.d.ts +0 -44
- package/dist/types/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/commands/UpdateCachePolicyCommand.d.ts +0 -52
- package/dist/types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +0 -35
- package/dist/types/commands/UpdateDistributionCommand.d.ts +0 -113
- package/dist/types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +0 -35
- package/dist/types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +0 -35
- package/dist/types/commands/UpdateFunctionCommand.d.ts +0 -40
- package/dist/types/commands/UpdateKeyGroupCommand.d.ts +0 -52
- package/dist/types/commands/UpdateOriginRequestPolicyCommand.d.ts +0 -52
- package/dist/types/commands/UpdatePublicKeyCommand.d.ts +0 -35
- package/dist/types/commands/UpdateRealtimeLogConfigCommand.d.ts +0 -55
- package/dist/types/commands/UpdateStreamingDistributionCommand.d.ts +0 -35
- package/dist/types/models/models_1.d.ts +0 -2647
- package/dist/types/pagination/Interfaces.d.ts +0 -6
- package/dist/types/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +0 -4
- package/dist/types/pagination/ListDistributionsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListInvalidationsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListStreamingDistributionsPaginator.d.ts +0 -4
- package/dist/types/protocols/Aws_restXml.d.ts +0 -257
- package/dist/types/runtimeConfig.browser.d.ts +0 -36
- package/dist/types/runtimeConfig.d.ts +0 -36
- package/dist/types/runtimeConfig.native.d.ts +0 -35
- package/dist/types/ts3.4/CloudFront.d.ts +0 -1087
- package/dist/types/ts3.4/CloudFrontClient.d.ts +0 -220
- package/dist/types/ts3.4/commands/AssociateAliasCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/CreateCachePolicyCommand.d.ts +0 -55
- package/dist/types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/CreateDistributionCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateFunctionCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/CreateInvalidationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateKeyGroupCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/CreatePublicKeyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteDistributionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteFunctionCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DeletePublicKeyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +0 -82
- package/dist/types/ts3.4/commands/DescribeFunctionCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetCachePolicyCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetDistributionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetDistributionConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetFunctionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetInvalidationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetKeyGroupCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/GetPublicKeyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListCachePoliciesCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +0 -57
- package/dist/types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListDistributionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListFunctionsCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListInvalidationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListKeyGroupsCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListPublicKeysCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PublishFunctionCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TestFunctionCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateDistributionCommand.d.ts +0 -113
- package/dist/types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateFunctionCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +0 -55
- package/dist/types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_1.d.ts +0 -2647
- package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist/types/ts3.4/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListDistributionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListInvalidationsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListStreamingDistributionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/protocols/Aws_restXml.d.ts +0 -257
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -35
- package/dist/types/ts3.4/waiters/waitForDistributionDeployed.d.ts +0 -14
- package/dist/types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +0 -14
- package/dist/types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +0 -14
- package/dist/types/waiters/waitForDistributionDeployed.d.ts +0 -14
- package/dist/types/waiters/waitForInvalidationCompleted.d.ts +0 -14
- package/dist/types/waiters/waitForStreamingDistributionDeployed.d.ts +0 -14
- package/endpoints.ts +0 -67
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -8233
- package/models/models_1.ts +0 -3382
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.ts +0 -58
- package/pagination/ListDistributionsPaginator.ts +0 -58
- package/pagination/ListInvalidationsPaginator.ts +0 -58
- package/pagination/ListStreamingDistributionsPaginator.ts +0 -58
- package/protocols/Aws_restXml.ts +0 -19055
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
- package/waiters/waitForDistributionDeployed.ts +0 -46
- package/waiters/waitForInvalidationCompleted.ts +0 -46
- package/waiters/waitForStreamingDistributionDeployed.ts +0 -52
package/CloudFront.ts
DELETED
|
@@ -1,3605 +0,0 @@
|
|
|
1
|
-
import { CloudFrontClient } from "./CloudFrontClient";
|
|
2
|
-
import {
|
|
3
|
-
AssociateAliasCommand,
|
|
4
|
-
AssociateAliasCommandInput,
|
|
5
|
-
AssociateAliasCommandOutput,
|
|
6
|
-
} from "./commands/AssociateAliasCommand";
|
|
7
|
-
import {
|
|
8
|
-
CreateCachePolicyCommand,
|
|
9
|
-
CreateCachePolicyCommandInput,
|
|
10
|
-
CreateCachePolicyCommandOutput,
|
|
11
|
-
} from "./commands/CreateCachePolicyCommand";
|
|
12
|
-
import {
|
|
13
|
-
CreateCloudFrontOriginAccessIdentityCommand,
|
|
14
|
-
CreateCloudFrontOriginAccessIdentityCommandInput,
|
|
15
|
-
CreateCloudFrontOriginAccessIdentityCommandOutput,
|
|
16
|
-
} from "./commands/CreateCloudFrontOriginAccessIdentityCommand";
|
|
17
|
-
import {
|
|
18
|
-
CreateDistributionCommand,
|
|
19
|
-
CreateDistributionCommandInput,
|
|
20
|
-
CreateDistributionCommandOutput,
|
|
21
|
-
} from "./commands/CreateDistributionCommand";
|
|
22
|
-
import {
|
|
23
|
-
CreateDistributionWithTagsCommand,
|
|
24
|
-
CreateDistributionWithTagsCommandInput,
|
|
25
|
-
CreateDistributionWithTagsCommandOutput,
|
|
26
|
-
} from "./commands/CreateDistributionWithTagsCommand";
|
|
27
|
-
import {
|
|
28
|
-
CreateFieldLevelEncryptionConfigCommand,
|
|
29
|
-
CreateFieldLevelEncryptionConfigCommandInput,
|
|
30
|
-
CreateFieldLevelEncryptionConfigCommandOutput,
|
|
31
|
-
} from "./commands/CreateFieldLevelEncryptionConfigCommand";
|
|
32
|
-
import {
|
|
33
|
-
CreateFieldLevelEncryptionProfileCommand,
|
|
34
|
-
CreateFieldLevelEncryptionProfileCommandInput,
|
|
35
|
-
CreateFieldLevelEncryptionProfileCommandOutput,
|
|
36
|
-
} from "./commands/CreateFieldLevelEncryptionProfileCommand";
|
|
37
|
-
import {
|
|
38
|
-
CreateFunctionCommand,
|
|
39
|
-
CreateFunctionCommandInput,
|
|
40
|
-
CreateFunctionCommandOutput,
|
|
41
|
-
} from "./commands/CreateFunctionCommand";
|
|
42
|
-
import {
|
|
43
|
-
CreateInvalidationCommand,
|
|
44
|
-
CreateInvalidationCommandInput,
|
|
45
|
-
CreateInvalidationCommandOutput,
|
|
46
|
-
} from "./commands/CreateInvalidationCommand";
|
|
47
|
-
import {
|
|
48
|
-
CreateKeyGroupCommand,
|
|
49
|
-
CreateKeyGroupCommandInput,
|
|
50
|
-
CreateKeyGroupCommandOutput,
|
|
51
|
-
} from "./commands/CreateKeyGroupCommand";
|
|
52
|
-
import {
|
|
53
|
-
CreateMonitoringSubscriptionCommand,
|
|
54
|
-
CreateMonitoringSubscriptionCommandInput,
|
|
55
|
-
CreateMonitoringSubscriptionCommandOutput,
|
|
56
|
-
} from "./commands/CreateMonitoringSubscriptionCommand";
|
|
57
|
-
import {
|
|
58
|
-
CreateOriginRequestPolicyCommand,
|
|
59
|
-
CreateOriginRequestPolicyCommandInput,
|
|
60
|
-
CreateOriginRequestPolicyCommandOutput,
|
|
61
|
-
} from "./commands/CreateOriginRequestPolicyCommand";
|
|
62
|
-
import {
|
|
63
|
-
CreatePublicKeyCommand,
|
|
64
|
-
CreatePublicKeyCommandInput,
|
|
65
|
-
CreatePublicKeyCommandOutput,
|
|
66
|
-
} from "./commands/CreatePublicKeyCommand";
|
|
67
|
-
import {
|
|
68
|
-
CreateRealtimeLogConfigCommand,
|
|
69
|
-
CreateRealtimeLogConfigCommandInput,
|
|
70
|
-
CreateRealtimeLogConfigCommandOutput,
|
|
71
|
-
} from "./commands/CreateRealtimeLogConfigCommand";
|
|
72
|
-
import {
|
|
73
|
-
CreateStreamingDistributionCommand,
|
|
74
|
-
CreateStreamingDistributionCommandInput,
|
|
75
|
-
CreateStreamingDistributionCommandOutput,
|
|
76
|
-
} from "./commands/CreateStreamingDistributionCommand";
|
|
77
|
-
import {
|
|
78
|
-
CreateStreamingDistributionWithTagsCommand,
|
|
79
|
-
CreateStreamingDistributionWithTagsCommandInput,
|
|
80
|
-
CreateStreamingDistributionWithTagsCommandOutput,
|
|
81
|
-
} from "./commands/CreateStreamingDistributionWithTagsCommand";
|
|
82
|
-
import {
|
|
83
|
-
DeleteCachePolicyCommand,
|
|
84
|
-
DeleteCachePolicyCommandInput,
|
|
85
|
-
DeleteCachePolicyCommandOutput,
|
|
86
|
-
} from "./commands/DeleteCachePolicyCommand";
|
|
87
|
-
import {
|
|
88
|
-
DeleteCloudFrontOriginAccessIdentityCommand,
|
|
89
|
-
DeleteCloudFrontOriginAccessIdentityCommandInput,
|
|
90
|
-
DeleteCloudFrontOriginAccessIdentityCommandOutput,
|
|
91
|
-
} from "./commands/DeleteCloudFrontOriginAccessIdentityCommand";
|
|
92
|
-
import {
|
|
93
|
-
DeleteDistributionCommand,
|
|
94
|
-
DeleteDistributionCommandInput,
|
|
95
|
-
DeleteDistributionCommandOutput,
|
|
96
|
-
} from "./commands/DeleteDistributionCommand";
|
|
97
|
-
import {
|
|
98
|
-
DeleteFieldLevelEncryptionConfigCommand,
|
|
99
|
-
DeleteFieldLevelEncryptionConfigCommandInput,
|
|
100
|
-
DeleteFieldLevelEncryptionConfigCommandOutput,
|
|
101
|
-
} from "./commands/DeleteFieldLevelEncryptionConfigCommand";
|
|
102
|
-
import {
|
|
103
|
-
DeleteFieldLevelEncryptionProfileCommand,
|
|
104
|
-
DeleteFieldLevelEncryptionProfileCommandInput,
|
|
105
|
-
DeleteFieldLevelEncryptionProfileCommandOutput,
|
|
106
|
-
} from "./commands/DeleteFieldLevelEncryptionProfileCommand";
|
|
107
|
-
import {
|
|
108
|
-
DeleteFunctionCommand,
|
|
109
|
-
DeleteFunctionCommandInput,
|
|
110
|
-
DeleteFunctionCommandOutput,
|
|
111
|
-
} from "./commands/DeleteFunctionCommand";
|
|
112
|
-
import {
|
|
113
|
-
DeleteKeyGroupCommand,
|
|
114
|
-
DeleteKeyGroupCommandInput,
|
|
115
|
-
DeleteKeyGroupCommandOutput,
|
|
116
|
-
} from "./commands/DeleteKeyGroupCommand";
|
|
117
|
-
import {
|
|
118
|
-
DeleteMonitoringSubscriptionCommand,
|
|
119
|
-
DeleteMonitoringSubscriptionCommandInput,
|
|
120
|
-
DeleteMonitoringSubscriptionCommandOutput,
|
|
121
|
-
} from "./commands/DeleteMonitoringSubscriptionCommand";
|
|
122
|
-
import {
|
|
123
|
-
DeleteOriginRequestPolicyCommand,
|
|
124
|
-
DeleteOriginRequestPolicyCommandInput,
|
|
125
|
-
DeleteOriginRequestPolicyCommandOutput,
|
|
126
|
-
} from "./commands/DeleteOriginRequestPolicyCommand";
|
|
127
|
-
import {
|
|
128
|
-
DeletePublicKeyCommand,
|
|
129
|
-
DeletePublicKeyCommandInput,
|
|
130
|
-
DeletePublicKeyCommandOutput,
|
|
131
|
-
} from "./commands/DeletePublicKeyCommand";
|
|
132
|
-
import {
|
|
133
|
-
DeleteRealtimeLogConfigCommand,
|
|
134
|
-
DeleteRealtimeLogConfigCommandInput,
|
|
135
|
-
DeleteRealtimeLogConfigCommandOutput,
|
|
136
|
-
} from "./commands/DeleteRealtimeLogConfigCommand";
|
|
137
|
-
import {
|
|
138
|
-
DeleteStreamingDistributionCommand,
|
|
139
|
-
DeleteStreamingDistributionCommandInput,
|
|
140
|
-
DeleteStreamingDistributionCommandOutput,
|
|
141
|
-
} from "./commands/DeleteStreamingDistributionCommand";
|
|
142
|
-
import {
|
|
143
|
-
DescribeFunctionCommand,
|
|
144
|
-
DescribeFunctionCommandInput,
|
|
145
|
-
DescribeFunctionCommandOutput,
|
|
146
|
-
} from "./commands/DescribeFunctionCommand";
|
|
147
|
-
import {
|
|
148
|
-
GetCachePolicyCommand,
|
|
149
|
-
GetCachePolicyCommandInput,
|
|
150
|
-
GetCachePolicyCommandOutput,
|
|
151
|
-
} from "./commands/GetCachePolicyCommand";
|
|
152
|
-
import {
|
|
153
|
-
GetCachePolicyConfigCommand,
|
|
154
|
-
GetCachePolicyConfigCommandInput,
|
|
155
|
-
GetCachePolicyConfigCommandOutput,
|
|
156
|
-
} from "./commands/GetCachePolicyConfigCommand";
|
|
157
|
-
import {
|
|
158
|
-
GetCloudFrontOriginAccessIdentityCommand,
|
|
159
|
-
GetCloudFrontOriginAccessIdentityCommandInput,
|
|
160
|
-
GetCloudFrontOriginAccessIdentityCommandOutput,
|
|
161
|
-
} from "./commands/GetCloudFrontOriginAccessIdentityCommand";
|
|
162
|
-
import {
|
|
163
|
-
GetCloudFrontOriginAccessIdentityConfigCommand,
|
|
164
|
-
GetCloudFrontOriginAccessIdentityConfigCommandInput,
|
|
165
|
-
GetCloudFrontOriginAccessIdentityConfigCommandOutput,
|
|
166
|
-
} from "./commands/GetCloudFrontOriginAccessIdentityConfigCommand";
|
|
167
|
-
import {
|
|
168
|
-
GetDistributionCommand,
|
|
169
|
-
GetDistributionCommandInput,
|
|
170
|
-
GetDistributionCommandOutput,
|
|
171
|
-
} from "./commands/GetDistributionCommand";
|
|
172
|
-
import {
|
|
173
|
-
GetDistributionConfigCommand,
|
|
174
|
-
GetDistributionConfigCommandInput,
|
|
175
|
-
GetDistributionConfigCommandOutput,
|
|
176
|
-
} from "./commands/GetDistributionConfigCommand";
|
|
177
|
-
import {
|
|
178
|
-
GetFieldLevelEncryptionCommand,
|
|
179
|
-
GetFieldLevelEncryptionCommandInput,
|
|
180
|
-
GetFieldLevelEncryptionCommandOutput,
|
|
181
|
-
} from "./commands/GetFieldLevelEncryptionCommand";
|
|
182
|
-
import {
|
|
183
|
-
GetFieldLevelEncryptionConfigCommand,
|
|
184
|
-
GetFieldLevelEncryptionConfigCommandInput,
|
|
185
|
-
GetFieldLevelEncryptionConfigCommandOutput,
|
|
186
|
-
} from "./commands/GetFieldLevelEncryptionConfigCommand";
|
|
187
|
-
import {
|
|
188
|
-
GetFieldLevelEncryptionProfileCommand,
|
|
189
|
-
GetFieldLevelEncryptionProfileCommandInput,
|
|
190
|
-
GetFieldLevelEncryptionProfileCommandOutput,
|
|
191
|
-
} from "./commands/GetFieldLevelEncryptionProfileCommand";
|
|
192
|
-
import {
|
|
193
|
-
GetFieldLevelEncryptionProfileConfigCommand,
|
|
194
|
-
GetFieldLevelEncryptionProfileConfigCommandInput,
|
|
195
|
-
GetFieldLevelEncryptionProfileConfigCommandOutput,
|
|
196
|
-
} from "./commands/GetFieldLevelEncryptionProfileConfigCommand";
|
|
197
|
-
import { GetFunctionCommand, GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
|
|
198
|
-
import {
|
|
199
|
-
GetInvalidationCommand,
|
|
200
|
-
GetInvalidationCommandInput,
|
|
201
|
-
GetInvalidationCommandOutput,
|
|
202
|
-
} from "./commands/GetInvalidationCommand";
|
|
203
|
-
import { GetKeyGroupCommand, GetKeyGroupCommandInput, GetKeyGroupCommandOutput } from "./commands/GetKeyGroupCommand";
|
|
204
|
-
import {
|
|
205
|
-
GetKeyGroupConfigCommand,
|
|
206
|
-
GetKeyGroupConfigCommandInput,
|
|
207
|
-
GetKeyGroupConfigCommandOutput,
|
|
208
|
-
} from "./commands/GetKeyGroupConfigCommand";
|
|
209
|
-
import {
|
|
210
|
-
GetMonitoringSubscriptionCommand,
|
|
211
|
-
GetMonitoringSubscriptionCommandInput,
|
|
212
|
-
GetMonitoringSubscriptionCommandOutput,
|
|
213
|
-
} from "./commands/GetMonitoringSubscriptionCommand";
|
|
214
|
-
import {
|
|
215
|
-
GetOriginRequestPolicyCommand,
|
|
216
|
-
GetOriginRequestPolicyCommandInput,
|
|
217
|
-
GetOriginRequestPolicyCommandOutput,
|
|
218
|
-
} from "./commands/GetOriginRequestPolicyCommand";
|
|
219
|
-
import {
|
|
220
|
-
GetOriginRequestPolicyConfigCommand,
|
|
221
|
-
GetOriginRequestPolicyConfigCommandInput,
|
|
222
|
-
GetOriginRequestPolicyConfigCommandOutput,
|
|
223
|
-
} from "./commands/GetOriginRequestPolicyConfigCommand";
|
|
224
|
-
import {
|
|
225
|
-
GetPublicKeyCommand,
|
|
226
|
-
GetPublicKeyCommandInput,
|
|
227
|
-
GetPublicKeyCommandOutput,
|
|
228
|
-
} from "./commands/GetPublicKeyCommand";
|
|
229
|
-
import {
|
|
230
|
-
GetPublicKeyConfigCommand,
|
|
231
|
-
GetPublicKeyConfigCommandInput,
|
|
232
|
-
GetPublicKeyConfigCommandOutput,
|
|
233
|
-
} from "./commands/GetPublicKeyConfigCommand";
|
|
234
|
-
import {
|
|
235
|
-
GetRealtimeLogConfigCommand,
|
|
236
|
-
GetRealtimeLogConfigCommandInput,
|
|
237
|
-
GetRealtimeLogConfigCommandOutput,
|
|
238
|
-
} from "./commands/GetRealtimeLogConfigCommand";
|
|
239
|
-
import {
|
|
240
|
-
GetStreamingDistributionCommand,
|
|
241
|
-
GetStreamingDistributionCommandInput,
|
|
242
|
-
GetStreamingDistributionCommandOutput,
|
|
243
|
-
} from "./commands/GetStreamingDistributionCommand";
|
|
244
|
-
import {
|
|
245
|
-
GetStreamingDistributionConfigCommand,
|
|
246
|
-
GetStreamingDistributionConfigCommandInput,
|
|
247
|
-
GetStreamingDistributionConfigCommandOutput,
|
|
248
|
-
} from "./commands/GetStreamingDistributionConfigCommand";
|
|
249
|
-
import {
|
|
250
|
-
ListCachePoliciesCommand,
|
|
251
|
-
ListCachePoliciesCommandInput,
|
|
252
|
-
ListCachePoliciesCommandOutput,
|
|
253
|
-
} from "./commands/ListCachePoliciesCommand";
|
|
254
|
-
import {
|
|
255
|
-
ListCloudFrontOriginAccessIdentitiesCommand,
|
|
256
|
-
ListCloudFrontOriginAccessIdentitiesCommandInput,
|
|
257
|
-
ListCloudFrontOriginAccessIdentitiesCommandOutput,
|
|
258
|
-
} from "./commands/ListCloudFrontOriginAccessIdentitiesCommand";
|
|
259
|
-
import {
|
|
260
|
-
ListConflictingAliasesCommand,
|
|
261
|
-
ListConflictingAliasesCommandInput,
|
|
262
|
-
ListConflictingAliasesCommandOutput,
|
|
263
|
-
} from "./commands/ListConflictingAliasesCommand";
|
|
264
|
-
import {
|
|
265
|
-
ListDistributionsByCachePolicyIdCommand,
|
|
266
|
-
ListDistributionsByCachePolicyIdCommandInput,
|
|
267
|
-
ListDistributionsByCachePolicyIdCommandOutput,
|
|
268
|
-
} from "./commands/ListDistributionsByCachePolicyIdCommand";
|
|
269
|
-
import {
|
|
270
|
-
ListDistributionsByKeyGroupCommand,
|
|
271
|
-
ListDistributionsByKeyGroupCommandInput,
|
|
272
|
-
ListDistributionsByKeyGroupCommandOutput,
|
|
273
|
-
} from "./commands/ListDistributionsByKeyGroupCommand";
|
|
274
|
-
import {
|
|
275
|
-
ListDistributionsByOriginRequestPolicyIdCommand,
|
|
276
|
-
ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
277
|
-
ListDistributionsByOriginRequestPolicyIdCommandOutput,
|
|
278
|
-
} from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
279
|
-
import {
|
|
280
|
-
ListDistributionsByRealtimeLogConfigCommand,
|
|
281
|
-
ListDistributionsByRealtimeLogConfigCommandInput,
|
|
282
|
-
ListDistributionsByRealtimeLogConfigCommandOutput,
|
|
283
|
-
} from "./commands/ListDistributionsByRealtimeLogConfigCommand";
|
|
284
|
-
import {
|
|
285
|
-
ListDistributionsByWebACLIdCommand,
|
|
286
|
-
ListDistributionsByWebACLIdCommandInput,
|
|
287
|
-
ListDistributionsByWebACLIdCommandOutput,
|
|
288
|
-
} from "./commands/ListDistributionsByWebACLIdCommand";
|
|
289
|
-
import {
|
|
290
|
-
ListDistributionsCommand,
|
|
291
|
-
ListDistributionsCommandInput,
|
|
292
|
-
ListDistributionsCommandOutput,
|
|
293
|
-
} from "./commands/ListDistributionsCommand";
|
|
294
|
-
import {
|
|
295
|
-
ListFieldLevelEncryptionConfigsCommand,
|
|
296
|
-
ListFieldLevelEncryptionConfigsCommandInput,
|
|
297
|
-
ListFieldLevelEncryptionConfigsCommandOutput,
|
|
298
|
-
} from "./commands/ListFieldLevelEncryptionConfigsCommand";
|
|
299
|
-
import {
|
|
300
|
-
ListFieldLevelEncryptionProfilesCommand,
|
|
301
|
-
ListFieldLevelEncryptionProfilesCommandInput,
|
|
302
|
-
ListFieldLevelEncryptionProfilesCommandOutput,
|
|
303
|
-
} from "./commands/ListFieldLevelEncryptionProfilesCommand";
|
|
304
|
-
import {
|
|
305
|
-
ListFunctionsCommand,
|
|
306
|
-
ListFunctionsCommandInput,
|
|
307
|
-
ListFunctionsCommandOutput,
|
|
308
|
-
} from "./commands/ListFunctionsCommand";
|
|
309
|
-
import {
|
|
310
|
-
ListInvalidationsCommand,
|
|
311
|
-
ListInvalidationsCommandInput,
|
|
312
|
-
ListInvalidationsCommandOutput,
|
|
313
|
-
} from "./commands/ListInvalidationsCommand";
|
|
314
|
-
import {
|
|
315
|
-
ListKeyGroupsCommand,
|
|
316
|
-
ListKeyGroupsCommandInput,
|
|
317
|
-
ListKeyGroupsCommandOutput,
|
|
318
|
-
} from "./commands/ListKeyGroupsCommand";
|
|
319
|
-
import {
|
|
320
|
-
ListOriginRequestPoliciesCommand,
|
|
321
|
-
ListOriginRequestPoliciesCommandInput,
|
|
322
|
-
ListOriginRequestPoliciesCommandOutput,
|
|
323
|
-
} from "./commands/ListOriginRequestPoliciesCommand";
|
|
324
|
-
import {
|
|
325
|
-
ListPublicKeysCommand,
|
|
326
|
-
ListPublicKeysCommandInput,
|
|
327
|
-
ListPublicKeysCommandOutput,
|
|
328
|
-
} from "./commands/ListPublicKeysCommand";
|
|
329
|
-
import {
|
|
330
|
-
ListRealtimeLogConfigsCommand,
|
|
331
|
-
ListRealtimeLogConfigsCommandInput,
|
|
332
|
-
ListRealtimeLogConfigsCommandOutput,
|
|
333
|
-
} from "./commands/ListRealtimeLogConfigsCommand";
|
|
334
|
-
import {
|
|
335
|
-
ListStreamingDistributionsCommand,
|
|
336
|
-
ListStreamingDistributionsCommandInput,
|
|
337
|
-
ListStreamingDistributionsCommandOutput,
|
|
338
|
-
} from "./commands/ListStreamingDistributionsCommand";
|
|
339
|
-
import {
|
|
340
|
-
ListTagsForResourceCommand,
|
|
341
|
-
ListTagsForResourceCommandInput,
|
|
342
|
-
ListTagsForResourceCommandOutput,
|
|
343
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
344
|
-
import {
|
|
345
|
-
PublishFunctionCommand,
|
|
346
|
-
PublishFunctionCommandInput,
|
|
347
|
-
PublishFunctionCommandOutput,
|
|
348
|
-
} from "./commands/PublishFunctionCommand";
|
|
349
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
350
|
-
import {
|
|
351
|
-
TestFunctionCommand,
|
|
352
|
-
TestFunctionCommandInput,
|
|
353
|
-
TestFunctionCommandOutput,
|
|
354
|
-
} from "./commands/TestFunctionCommand";
|
|
355
|
-
import {
|
|
356
|
-
UntagResourceCommand,
|
|
357
|
-
UntagResourceCommandInput,
|
|
358
|
-
UntagResourceCommandOutput,
|
|
359
|
-
} from "./commands/UntagResourceCommand";
|
|
360
|
-
import {
|
|
361
|
-
UpdateCachePolicyCommand,
|
|
362
|
-
UpdateCachePolicyCommandInput,
|
|
363
|
-
UpdateCachePolicyCommandOutput,
|
|
364
|
-
} from "./commands/UpdateCachePolicyCommand";
|
|
365
|
-
import {
|
|
366
|
-
UpdateCloudFrontOriginAccessIdentityCommand,
|
|
367
|
-
UpdateCloudFrontOriginAccessIdentityCommandInput,
|
|
368
|
-
UpdateCloudFrontOriginAccessIdentityCommandOutput,
|
|
369
|
-
} from "./commands/UpdateCloudFrontOriginAccessIdentityCommand";
|
|
370
|
-
import {
|
|
371
|
-
UpdateDistributionCommand,
|
|
372
|
-
UpdateDistributionCommandInput,
|
|
373
|
-
UpdateDistributionCommandOutput,
|
|
374
|
-
} from "./commands/UpdateDistributionCommand";
|
|
375
|
-
import {
|
|
376
|
-
UpdateFieldLevelEncryptionConfigCommand,
|
|
377
|
-
UpdateFieldLevelEncryptionConfigCommandInput,
|
|
378
|
-
UpdateFieldLevelEncryptionConfigCommandOutput,
|
|
379
|
-
} from "./commands/UpdateFieldLevelEncryptionConfigCommand";
|
|
380
|
-
import {
|
|
381
|
-
UpdateFieldLevelEncryptionProfileCommand,
|
|
382
|
-
UpdateFieldLevelEncryptionProfileCommandInput,
|
|
383
|
-
UpdateFieldLevelEncryptionProfileCommandOutput,
|
|
384
|
-
} from "./commands/UpdateFieldLevelEncryptionProfileCommand";
|
|
385
|
-
import {
|
|
386
|
-
UpdateFunctionCommand,
|
|
387
|
-
UpdateFunctionCommandInput,
|
|
388
|
-
UpdateFunctionCommandOutput,
|
|
389
|
-
} from "./commands/UpdateFunctionCommand";
|
|
390
|
-
import {
|
|
391
|
-
UpdateKeyGroupCommand,
|
|
392
|
-
UpdateKeyGroupCommandInput,
|
|
393
|
-
UpdateKeyGroupCommandOutput,
|
|
394
|
-
} from "./commands/UpdateKeyGroupCommand";
|
|
395
|
-
import {
|
|
396
|
-
UpdateOriginRequestPolicyCommand,
|
|
397
|
-
UpdateOriginRequestPolicyCommandInput,
|
|
398
|
-
UpdateOriginRequestPolicyCommandOutput,
|
|
399
|
-
} from "./commands/UpdateOriginRequestPolicyCommand";
|
|
400
|
-
import {
|
|
401
|
-
UpdatePublicKeyCommand,
|
|
402
|
-
UpdatePublicKeyCommandInput,
|
|
403
|
-
UpdatePublicKeyCommandOutput,
|
|
404
|
-
} from "./commands/UpdatePublicKeyCommand";
|
|
405
|
-
import {
|
|
406
|
-
UpdateRealtimeLogConfigCommand,
|
|
407
|
-
UpdateRealtimeLogConfigCommandInput,
|
|
408
|
-
UpdateRealtimeLogConfigCommandOutput,
|
|
409
|
-
} from "./commands/UpdateRealtimeLogConfigCommand";
|
|
410
|
-
import {
|
|
411
|
-
UpdateStreamingDistributionCommand,
|
|
412
|
-
UpdateStreamingDistributionCommandInput,
|
|
413
|
-
UpdateStreamingDistributionCommandOutput,
|
|
414
|
-
} from "./commands/UpdateStreamingDistributionCommand";
|
|
415
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* <fullname>Amazon CloudFront</fullname>
|
|
419
|
-
* <p>This is the <i>Amazon CloudFront API Reference</i>. This guide
|
|
420
|
-
* is for developers who need detailed information about
|
|
421
|
-
* CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
422
|
-
*/
|
|
423
|
-
export class CloudFront extends CloudFrontClient {
|
|
424
|
-
/**
|
|
425
|
-
* <p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront
|
|
426
|
-
* distribution.</p>
|
|
427
|
-
* <p>With this operation you can move an alias that’s already in use on a CloudFront distribution
|
|
428
|
-
* to a different distribution in one step. This prevents the downtime that could occur if
|
|
429
|
-
* you first remove the alias from one distribution and then separately add the alias to
|
|
430
|
-
* another distribution.</p>
|
|
431
|
-
* <p>To use this operation to associate an alias with a distribution, you provide the alias
|
|
432
|
-
* and the ID of the target distribution for the alias. For more information, including how
|
|
433
|
-
* to set up the target distribution, prerequisites that you must complete, and other
|
|
434
|
-
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different distribution</a>
|
|
435
|
-
* in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
436
|
-
*/
|
|
437
|
-
public associateAlias(
|
|
438
|
-
args: AssociateAliasCommandInput,
|
|
439
|
-
options?: __HttpHandlerOptions
|
|
440
|
-
): Promise<AssociateAliasCommandOutput>;
|
|
441
|
-
public associateAlias(
|
|
442
|
-
args: AssociateAliasCommandInput,
|
|
443
|
-
cb: (err: any, data?: AssociateAliasCommandOutput) => void
|
|
444
|
-
): void;
|
|
445
|
-
public associateAlias(
|
|
446
|
-
args: AssociateAliasCommandInput,
|
|
447
|
-
options: __HttpHandlerOptions,
|
|
448
|
-
cb: (err: any, data?: AssociateAliasCommandOutput) => void
|
|
449
|
-
): void;
|
|
450
|
-
public associateAlias(
|
|
451
|
-
args: AssociateAliasCommandInput,
|
|
452
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateAliasCommandOutput) => void),
|
|
453
|
-
cb?: (err: any, data?: AssociateAliasCommandOutput) => void
|
|
454
|
-
): Promise<AssociateAliasCommandOutput> | void {
|
|
455
|
-
const command = new AssociateAliasCommand(args);
|
|
456
|
-
if (typeof optionsOrCb === "function") {
|
|
457
|
-
this.send(command, optionsOrCb);
|
|
458
|
-
} else if (typeof cb === "function") {
|
|
459
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
460
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
461
|
-
} else {
|
|
462
|
-
return this.send(command, optionsOrCb);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* <p>Creates a cache policy.</p>
|
|
468
|
-
* <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it’s
|
|
469
|
-
* attached to a cache behavior, the cache policy determines the following:</p>
|
|
470
|
-
* <ul>
|
|
471
|
-
* <li>
|
|
472
|
-
* <p>The values that CloudFront includes in the <i>cache key</i>. These values can
|
|
473
|
-
* include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to
|
|
474
|
-
* find an object in its cache that it can return to the viewer.</p>
|
|
475
|
-
* </li>
|
|
476
|
-
* <li>
|
|
477
|
-
* <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay
|
|
478
|
-
* in the CloudFront cache.</p>
|
|
479
|
-
* </li>
|
|
480
|
-
* </ul>
|
|
481
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are automatically
|
|
482
|
-
* included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t
|
|
483
|
-
* find an object in its cache that matches the request’s cache key. If you want to send
|
|
484
|
-
* values to the origin but <i>not</i> include them in the cache key, use
|
|
485
|
-
* <code>OriginRequestPolicy</code>.</p>
|
|
486
|
-
* <p>For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling the cache key</a> in the
|
|
487
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
488
|
-
*/
|
|
489
|
-
public createCachePolicy(
|
|
490
|
-
args: CreateCachePolicyCommandInput,
|
|
491
|
-
options?: __HttpHandlerOptions
|
|
492
|
-
): Promise<CreateCachePolicyCommandOutput>;
|
|
493
|
-
public createCachePolicy(
|
|
494
|
-
args: CreateCachePolicyCommandInput,
|
|
495
|
-
cb: (err: any, data?: CreateCachePolicyCommandOutput) => void
|
|
496
|
-
): void;
|
|
497
|
-
public createCachePolicy(
|
|
498
|
-
args: CreateCachePolicyCommandInput,
|
|
499
|
-
options: __HttpHandlerOptions,
|
|
500
|
-
cb: (err: any, data?: CreateCachePolicyCommandOutput) => void
|
|
501
|
-
): void;
|
|
502
|
-
public createCachePolicy(
|
|
503
|
-
args: CreateCachePolicyCommandInput,
|
|
504
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCachePolicyCommandOutput) => void),
|
|
505
|
-
cb?: (err: any, data?: CreateCachePolicyCommandOutput) => void
|
|
506
|
-
): Promise<CreateCachePolicyCommandOutput> | void {
|
|
507
|
-
const command = new CreateCachePolicyCommand(args);
|
|
508
|
-
if (typeof optionsOrCb === "function") {
|
|
509
|
-
this.send(command, optionsOrCb);
|
|
510
|
-
} else if (typeof cb === "function") {
|
|
511
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
512
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
513
|
-
} else {
|
|
514
|
-
return this.send(command, optionsOrCb);
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* <p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can
|
|
520
|
-
* use an origin access identity to require users to access your content using a CloudFront URL instead
|
|
521
|
-
* of the Amazon S3 URL. For more information about how to use origin access identities, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private Content through CloudFront</a> in the
|
|
522
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
523
|
-
*/
|
|
524
|
-
public createCloudFrontOriginAccessIdentity(
|
|
525
|
-
args: CreateCloudFrontOriginAccessIdentityCommandInput,
|
|
526
|
-
options?: __HttpHandlerOptions
|
|
527
|
-
): Promise<CreateCloudFrontOriginAccessIdentityCommandOutput>;
|
|
528
|
-
public createCloudFrontOriginAccessIdentity(
|
|
529
|
-
args: CreateCloudFrontOriginAccessIdentityCommandInput,
|
|
530
|
-
cb: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
531
|
-
): void;
|
|
532
|
-
public createCloudFrontOriginAccessIdentity(
|
|
533
|
-
args: CreateCloudFrontOriginAccessIdentityCommandInput,
|
|
534
|
-
options: __HttpHandlerOptions,
|
|
535
|
-
cb: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
536
|
-
): void;
|
|
537
|
-
public createCloudFrontOriginAccessIdentity(
|
|
538
|
-
args: CreateCloudFrontOriginAccessIdentityCommandInput,
|
|
539
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void),
|
|
540
|
-
cb?: (err: any, data?: CreateCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
541
|
-
): Promise<CreateCloudFrontOriginAccessIdentityCommandOutput> | void {
|
|
542
|
-
const command = new CreateCloudFrontOriginAccessIdentityCommand(args);
|
|
543
|
-
if (typeof optionsOrCb === "function") {
|
|
544
|
-
this.send(command, optionsOrCb);
|
|
545
|
-
} else if (typeof cb === "function") {
|
|
546
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
547
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
548
|
-
} else {
|
|
549
|
-
return this.send(command, optionsOrCb);
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* <p>Creates a new web distribution. You create a CloudFront distribution to tell CloudFront where you
|
|
555
|
-
* want content to be delivered from, and the details about how to track and manage content delivery. Send a <code>POST</code> request to the
|
|
556
|
-
* <code>/<i>CloudFront API version</i>/distribution</code>/<code>distribution ID</code> resource.</p>
|
|
557
|
-
* <important>
|
|
558
|
-
* <p>When you update a distribution, there are more required fields than when you create a distribution.
|
|
559
|
-
* When you update your distribution by using
|
|
560
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>,
|
|
561
|
-
* follow the steps included
|
|
562
|
-
* in the documentation to get the current configuration
|
|
563
|
-
* and then make your updates. This helps to make sure that you include all of the required fields. To view a summary,
|
|
564
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html">Required
|
|
565
|
-
* Fields for Create Distribution and Update Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
566
|
-
* </important>
|
|
567
|
-
*/
|
|
568
|
-
public createDistribution(
|
|
569
|
-
args: CreateDistributionCommandInput,
|
|
570
|
-
options?: __HttpHandlerOptions
|
|
571
|
-
): Promise<CreateDistributionCommandOutput>;
|
|
572
|
-
public createDistribution(
|
|
573
|
-
args: CreateDistributionCommandInput,
|
|
574
|
-
cb: (err: any, data?: CreateDistributionCommandOutput) => void
|
|
575
|
-
): void;
|
|
576
|
-
public createDistribution(
|
|
577
|
-
args: CreateDistributionCommandInput,
|
|
578
|
-
options: __HttpHandlerOptions,
|
|
579
|
-
cb: (err: any, data?: CreateDistributionCommandOutput) => void
|
|
580
|
-
): void;
|
|
581
|
-
public createDistribution(
|
|
582
|
-
args: CreateDistributionCommandInput,
|
|
583
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDistributionCommandOutput) => void),
|
|
584
|
-
cb?: (err: any, data?: CreateDistributionCommandOutput) => void
|
|
585
|
-
): Promise<CreateDistributionCommandOutput> | void {
|
|
586
|
-
const command = new CreateDistributionCommand(args);
|
|
587
|
-
if (typeof optionsOrCb === "function") {
|
|
588
|
-
this.send(command, optionsOrCb);
|
|
589
|
-
} else if (typeof cb === "function") {
|
|
590
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
591
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
592
|
-
} else {
|
|
593
|
-
return this.send(command, optionsOrCb);
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* <p>Create a new distribution with tags.</p>
|
|
599
|
-
*/
|
|
600
|
-
public createDistributionWithTags(
|
|
601
|
-
args: CreateDistributionWithTagsCommandInput,
|
|
602
|
-
options?: __HttpHandlerOptions
|
|
603
|
-
): Promise<CreateDistributionWithTagsCommandOutput>;
|
|
604
|
-
public createDistributionWithTags(
|
|
605
|
-
args: CreateDistributionWithTagsCommandInput,
|
|
606
|
-
cb: (err: any, data?: CreateDistributionWithTagsCommandOutput) => void
|
|
607
|
-
): void;
|
|
608
|
-
public createDistributionWithTags(
|
|
609
|
-
args: CreateDistributionWithTagsCommandInput,
|
|
610
|
-
options: __HttpHandlerOptions,
|
|
611
|
-
cb: (err: any, data?: CreateDistributionWithTagsCommandOutput) => void
|
|
612
|
-
): void;
|
|
613
|
-
public createDistributionWithTags(
|
|
614
|
-
args: CreateDistributionWithTagsCommandInput,
|
|
615
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDistributionWithTagsCommandOutput) => void),
|
|
616
|
-
cb?: (err: any, data?: CreateDistributionWithTagsCommandOutput) => void
|
|
617
|
-
): Promise<CreateDistributionWithTagsCommandOutput> | void {
|
|
618
|
-
const command = new CreateDistributionWithTagsCommand(args);
|
|
619
|
-
if (typeof optionsOrCb === "function") {
|
|
620
|
-
this.send(command, optionsOrCb);
|
|
621
|
-
} else if (typeof cb === "function") {
|
|
622
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
623
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
624
|
-
} else {
|
|
625
|
-
return this.send(command, optionsOrCb);
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* <p>Create a new field-level encryption configuration.</p>
|
|
631
|
-
*/
|
|
632
|
-
public createFieldLevelEncryptionConfig(
|
|
633
|
-
args: CreateFieldLevelEncryptionConfigCommandInput,
|
|
634
|
-
options?: __HttpHandlerOptions
|
|
635
|
-
): Promise<CreateFieldLevelEncryptionConfigCommandOutput>;
|
|
636
|
-
public createFieldLevelEncryptionConfig(
|
|
637
|
-
args: CreateFieldLevelEncryptionConfigCommandInput,
|
|
638
|
-
cb: (err: any, data?: CreateFieldLevelEncryptionConfigCommandOutput) => void
|
|
639
|
-
): void;
|
|
640
|
-
public createFieldLevelEncryptionConfig(
|
|
641
|
-
args: CreateFieldLevelEncryptionConfigCommandInput,
|
|
642
|
-
options: __HttpHandlerOptions,
|
|
643
|
-
cb: (err: any, data?: CreateFieldLevelEncryptionConfigCommandOutput) => void
|
|
644
|
-
): void;
|
|
645
|
-
public createFieldLevelEncryptionConfig(
|
|
646
|
-
args: CreateFieldLevelEncryptionConfigCommandInput,
|
|
647
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFieldLevelEncryptionConfigCommandOutput) => void),
|
|
648
|
-
cb?: (err: any, data?: CreateFieldLevelEncryptionConfigCommandOutput) => void
|
|
649
|
-
): Promise<CreateFieldLevelEncryptionConfigCommandOutput> | void {
|
|
650
|
-
const command = new CreateFieldLevelEncryptionConfigCommand(args);
|
|
651
|
-
if (typeof optionsOrCb === "function") {
|
|
652
|
-
this.send(command, optionsOrCb);
|
|
653
|
-
} else if (typeof cb === "function") {
|
|
654
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
655
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
656
|
-
} else {
|
|
657
|
-
return this.send(command, optionsOrCb);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* <p>Create a field-level encryption profile.</p>
|
|
663
|
-
*/
|
|
664
|
-
public createFieldLevelEncryptionProfile(
|
|
665
|
-
args: CreateFieldLevelEncryptionProfileCommandInput,
|
|
666
|
-
options?: __HttpHandlerOptions
|
|
667
|
-
): Promise<CreateFieldLevelEncryptionProfileCommandOutput>;
|
|
668
|
-
public createFieldLevelEncryptionProfile(
|
|
669
|
-
args: CreateFieldLevelEncryptionProfileCommandInput,
|
|
670
|
-
cb: (err: any, data?: CreateFieldLevelEncryptionProfileCommandOutput) => void
|
|
671
|
-
): void;
|
|
672
|
-
public createFieldLevelEncryptionProfile(
|
|
673
|
-
args: CreateFieldLevelEncryptionProfileCommandInput,
|
|
674
|
-
options: __HttpHandlerOptions,
|
|
675
|
-
cb: (err: any, data?: CreateFieldLevelEncryptionProfileCommandOutput) => void
|
|
676
|
-
): void;
|
|
677
|
-
public createFieldLevelEncryptionProfile(
|
|
678
|
-
args: CreateFieldLevelEncryptionProfileCommandInput,
|
|
679
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFieldLevelEncryptionProfileCommandOutput) => void),
|
|
680
|
-
cb?: (err: any, data?: CreateFieldLevelEncryptionProfileCommandOutput) => void
|
|
681
|
-
): Promise<CreateFieldLevelEncryptionProfileCommandOutput> | void {
|
|
682
|
-
const command = new CreateFieldLevelEncryptionProfileCommand(args);
|
|
683
|
-
if (typeof optionsOrCb === "function") {
|
|
684
|
-
this.send(command, optionsOrCb);
|
|
685
|
-
} else if (typeof cb === "function") {
|
|
686
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
687
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
688
|
-
} else {
|
|
689
|
-
return this.send(command, optionsOrCb);
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* <p>Creates a CloudFront function.</p>
|
|
695
|
-
* <p>To create a function, you provide the function code and some configuration information
|
|
696
|
-
* about the function. The response contains an Amazon Resource Name (ARN) that uniquely
|
|
697
|
-
* identifies the function.</p>
|
|
698
|
-
* <p>When you create a function, it’s in the <code>DEVELOPMENT</code> stage. In this stage, you
|
|
699
|
-
* can test the function with <code>TestFunction</code>, and update it with
|
|
700
|
-
* <code>UpdateFunction</code>.</p>
|
|
701
|
-
* <p>When you’re ready to use your function with a CloudFront distribution, use
|
|
702
|
-
* <code>PublishFunction</code> to copy the function from the <code>DEVELOPMENT</code>
|
|
703
|
-
* stage to <code>LIVE</code>. When it’s live, you can attach the function to a
|
|
704
|
-
* distribution’s cache behavior, using the function’s ARN.</p>
|
|
705
|
-
*/
|
|
706
|
-
public createFunction(
|
|
707
|
-
args: CreateFunctionCommandInput,
|
|
708
|
-
options?: __HttpHandlerOptions
|
|
709
|
-
): Promise<CreateFunctionCommandOutput>;
|
|
710
|
-
public createFunction(
|
|
711
|
-
args: CreateFunctionCommandInput,
|
|
712
|
-
cb: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
713
|
-
): void;
|
|
714
|
-
public createFunction(
|
|
715
|
-
args: CreateFunctionCommandInput,
|
|
716
|
-
options: __HttpHandlerOptions,
|
|
717
|
-
cb: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
718
|
-
): void;
|
|
719
|
-
public createFunction(
|
|
720
|
-
args: CreateFunctionCommandInput,
|
|
721
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFunctionCommandOutput) => void),
|
|
722
|
-
cb?: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
723
|
-
): Promise<CreateFunctionCommandOutput> | void {
|
|
724
|
-
const command = new CreateFunctionCommand(args);
|
|
725
|
-
if (typeof optionsOrCb === "function") {
|
|
726
|
-
this.send(command, optionsOrCb);
|
|
727
|
-
} else if (typeof cb === "function") {
|
|
728
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
729
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
730
|
-
} else {
|
|
731
|
-
return this.send(command, optionsOrCb);
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* <p>Create a new invalidation. </p>
|
|
737
|
-
*/
|
|
738
|
-
public createInvalidation(
|
|
739
|
-
args: CreateInvalidationCommandInput,
|
|
740
|
-
options?: __HttpHandlerOptions
|
|
741
|
-
): Promise<CreateInvalidationCommandOutput>;
|
|
742
|
-
public createInvalidation(
|
|
743
|
-
args: CreateInvalidationCommandInput,
|
|
744
|
-
cb: (err: any, data?: CreateInvalidationCommandOutput) => void
|
|
745
|
-
): void;
|
|
746
|
-
public createInvalidation(
|
|
747
|
-
args: CreateInvalidationCommandInput,
|
|
748
|
-
options: __HttpHandlerOptions,
|
|
749
|
-
cb: (err: any, data?: CreateInvalidationCommandOutput) => void
|
|
750
|
-
): void;
|
|
751
|
-
public createInvalidation(
|
|
752
|
-
args: CreateInvalidationCommandInput,
|
|
753
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateInvalidationCommandOutput) => void),
|
|
754
|
-
cb?: (err: any, data?: CreateInvalidationCommandOutput) => void
|
|
755
|
-
): Promise<CreateInvalidationCommandOutput> | void {
|
|
756
|
-
const command = new CreateInvalidationCommand(args);
|
|
757
|
-
if (typeof optionsOrCb === "function") {
|
|
758
|
-
this.send(command, optionsOrCb);
|
|
759
|
-
} else if (typeof cb === "function") {
|
|
760
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
761
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
762
|
-
} else {
|
|
763
|
-
return this.send(command, optionsOrCb);
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* <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>
|
|
769
|
-
* <p>To create a key group, you must specify at least one public key for the key group. After you
|
|
770
|
-
* create a key group, you can reference it from one or more cache behaviors. When you
|
|
771
|
-
* reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies
|
|
772
|
-
* for all requests that match the cache behavior. The URLs or cookies must be signed with
|
|
773
|
-
* a private key whose corresponding public key is in the key group. The signed URL or
|
|
774
|
-
* cookie contains information about which public key CloudFront should use to verify the
|
|
775
|
-
* 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>
|
|
776
|
-
*/
|
|
777
|
-
public createKeyGroup(
|
|
778
|
-
args: CreateKeyGroupCommandInput,
|
|
779
|
-
options?: __HttpHandlerOptions
|
|
780
|
-
): Promise<CreateKeyGroupCommandOutput>;
|
|
781
|
-
public createKeyGroup(
|
|
782
|
-
args: CreateKeyGroupCommandInput,
|
|
783
|
-
cb: (err: any, data?: CreateKeyGroupCommandOutput) => void
|
|
784
|
-
): void;
|
|
785
|
-
public createKeyGroup(
|
|
786
|
-
args: CreateKeyGroupCommandInput,
|
|
787
|
-
options: __HttpHandlerOptions,
|
|
788
|
-
cb: (err: any, data?: CreateKeyGroupCommandOutput) => void
|
|
789
|
-
): void;
|
|
790
|
-
public createKeyGroup(
|
|
791
|
-
args: CreateKeyGroupCommandInput,
|
|
792
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateKeyGroupCommandOutput) => void),
|
|
793
|
-
cb?: (err: any, data?: CreateKeyGroupCommandOutput) => void
|
|
794
|
-
): Promise<CreateKeyGroupCommandOutput> | void {
|
|
795
|
-
const command = new CreateKeyGroupCommand(args);
|
|
796
|
-
if (typeof optionsOrCb === "function") {
|
|
797
|
-
this.send(command, optionsOrCb);
|
|
798
|
-
} else if (typeof cb === "function") {
|
|
799
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
800
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
801
|
-
} else {
|
|
802
|
-
return this.send(command, optionsOrCb);
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* <p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The
|
|
808
|
-
* additional metrics incur an additional cost.</p>
|
|
809
|
-
* <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
|
|
810
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
811
|
-
*/
|
|
812
|
-
public createMonitoringSubscription(
|
|
813
|
-
args: CreateMonitoringSubscriptionCommandInput,
|
|
814
|
-
options?: __HttpHandlerOptions
|
|
815
|
-
): Promise<CreateMonitoringSubscriptionCommandOutput>;
|
|
816
|
-
public createMonitoringSubscription(
|
|
817
|
-
args: CreateMonitoringSubscriptionCommandInput,
|
|
818
|
-
cb: (err: any, data?: CreateMonitoringSubscriptionCommandOutput) => void
|
|
819
|
-
): void;
|
|
820
|
-
public createMonitoringSubscription(
|
|
821
|
-
args: CreateMonitoringSubscriptionCommandInput,
|
|
822
|
-
options: __HttpHandlerOptions,
|
|
823
|
-
cb: (err: any, data?: CreateMonitoringSubscriptionCommandOutput) => void
|
|
824
|
-
): void;
|
|
825
|
-
public createMonitoringSubscription(
|
|
826
|
-
args: CreateMonitoringSubscriptionCommandInput,
|
|
827
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMonitoringSubscriptionCommandOutput) => void),
|
|
828
|
-
cb?: (err: any, data?: CreateMonitoringSubscriptionCommandOutput) => void
|
|
829
|
-
): Promise<CreateMonitoringSubscriptionCommandOutput> | void {
|
|
830
|
-
const command = new CreateMonitoringSubscriptionCommand(args);
|
|
831
|
-
if (typeof optionsOrCb === "function") {
|
|
832
|
-
this.send(command, optionsOrCb);
|
|
833
|
-
} else if (typeof cb === "function") {
|
|
834
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
835
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
836
|
-
} else {
|
|
837
|
-
return this.send(command, optionsOrCb);
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* <p>Creates an origin request policy.</p>
|
|
843
|
-
* <p>After you create an origin request policy, you can attach it to one or more cache behaviors.
|
|
844
|
-
* When it’s attached to a cache behavior, the origin request policy determines the values
|
|
845
|
-
* that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends
|
|
846
|
-
* to the origin includes the following:</p>
|
|
847
|
-
* <ul>
|
|
848
|
-
* <li>
|
|
849
|
-
* <p>The request body and the URL path (without the domain name) from the viewer
|
|
850
|
-
* request.</p>
|
|
851
|
-
* </li>
|
|
852
|
-
* <li>
|
|
853
|
-
* <p>The headers that CloudFront automatically includes in every origin request, including
|
|
854
|
-
* <code>Host</code>, <code>User-Agent</code>, and <code>X-Amz-Cf-Id</code>.</p>
|
|
855
|
-
* </li>
|
|
856
|
-
* <li>
|
|
857
|
-
* <p>All HTTP headers, cookies, and URL query strings that are specified in the cache policy or
|
|
858
|
-
* the origin request policy. These can include items from the viewer request and,
|
|
859
|
-
* in the case of headers, additional ones that are added by CloudFront.</p>
|
|
860
|
-
* </li>
|
|
861
|
-
* </ul>
|
|
862
|
-
* <p>CloudFront sends a request when it can’t find a valid object in its cache that matches the
|
|
863
|
-
* request. If you want to send values to the origin and also include them in the cache
|
|
864
|
-
* key, use <code>CachePolicy</code>.</p>
|
|
865
|
-
* <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
|
|
866
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
867
|
-
*/
|
|
868
|
-
public createOriginRequestPolicy(
|
|
869
|
-
args: CreateOriginRequestPolicyCommandInput,
|
|
870
|
-
options?: __HttpHandlerOptions
|
|
871
|
-
): Promise<CreateOriginRequestPolicyCommandOutput>;
|
|
872
|
-
public createOriginRequestPolicy(
|
|
873
|
-
args: CreateOriginRequestPolicyCommandInput,
|
|
874
|
-
cb: (err: any, data?: CreateOriginRequestPolicyCommandOutput) => void
|
|
875
|
-
): void;
|
|
876
|
-
public createOriginRequestPolicy(
|
|
877
|
-
args: CreateOriginRequestPolicyCommandInput,
|
|
878
|
-
options: __HttpHandlerOptions,
|
|
879
|
-
cb: (err: any, data?: CreateOriginRequestPolicyCommandOutput) => void
|
|
880
|
-
): void;
|
|
881
|
-
public createOriginRequestPolicy(
|
|
882
|
-
args: CreateOriginRequestPolicyCommandInput,
|
|
883
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateOriginRequestPolicyCommandOutput) => void),
|
|
884
|
-
cb?: (err: any, data?: CreateOriginRequestPolicyCommandOutput) => void
|
|
885
|
-
): Promise<CreateOriginRequestPolicyCommandOutput> | void {
|
|
886
|
-
const command = new CreateOriginRequestPolicyCommand(args);
|
|
887
|
-
if (typeof optionsOrCb === "function") {
|
|
888
|
-
this.send(command, optionsOrCb);
|
|
889
|
-
} else if (typeof cb === "function") {
|
|
890
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
891
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
892
|
-
} else {
|
|
893
|
-
return this.send(command, optionsOrCb);
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* <p>Uploads a public key to CloudFront that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">signed URLs and signed cookies</a>, or with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html">field-level encryption</a>.</p>
|
|
899
|
-
*/
|
|
900
|
-
public createPublicKey(
|
|
901
|
-
args: CreatePublicKeyCommandInput,
|
|
902
|
-
options?: __HttpHandlerOptions
|
|
903
|
-
): Promise<CreatePublicKeyCommandOutput>;
|
|
904
|
-
public createPublicKey(
|
|
905
|
-
args: CreatePublicKeyCommandInput,
|
|
906
|
-
cb: (err: any, data?: CreatePublicKeyCommandOutput) => void
|
|
907
|
-
): void;
|
|
908
|
-
public createPublicKey(
|
|
909
|
-
args: CreatePublicKeyCommandInput,
|
|
910
|
-
options: __HttpHandlerOptions,
|
|
911
|
-
cb: (err: any, data?: CreatePublicKeyCommandOutput) => void
|
|
912
|
-
): void;
|
|
913
|
-
public createPublicKey(
|
|
914
|
-
args: CreatePublicKeyCommandInput,
|
|
915
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreatePublicKeyCommandOutput) => void),
|
|
916
|
-
cb?: (err: any, data?: CreatePublicKeyCommandOutput) => void
|
|
917
|
-
): Promise<CreatePublicKeyCommandOutput> | void {
|
|
918
|
-
const command = new CreatePublicKeyCommand(args);
|
|
919
|
-
if (typeof optionsOrCb === "function") {
|
|
920
|
-
this.send(command, optionsOrCb);
|
|
921
|
-
} else if (typeof cb === "function") {
|
|
922
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
923
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
924
|
-
} else {
|
|
925
|
-
return this.send(command, optionsOrCb);
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
/**
|
|
930
|
-
* <p>Creates a real-time log configuration.</p>
|
|
931
|
-
* <p>After you create a real-time log configuration, you can attach it to one or more cache
|
|
932
|
-
* behaviors to send real-time log data to the specified Amazon Kinesis data stream.</p>
|
|
933
|
-
* <p>For more information about real-time log configurations, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time logs</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
934
|
-
*/
|
|
935
|
-
public createRealtimeLogConfig(
|
|
936
|
-
args: CreateRealtimeLogConfigCommandInput,
|
|
937
|
-
options?: __HttpHandlerOptions
|
|
938
|
-
): Promise<CreateRealtimeLogConfigCommandOutput>;
|
|
939
|
-
public createRealtimeLogConfig(
|
|
940
|
-
args: CreateRealtimeLogConfigCommandInput,
|
|
941
|
-
cb: (err: any, data?: CreateRealtimeLogConfigCommandOutput) => void
|
|
942
|
-
): void;
|
|
943
|
-
public createRealtimeLogConfig(
|
|
944
|
-
args: CreateRealtimeLogConfigCommandInput,
|
|
945
|
-
options: __HttpHandlerOptions,
|
|
946
|
-
cb: (err: any, data?: CreateRealtimeLogConfigCommandOutput) => void
|
|
947
|
-
): void;
|
|
948
|
-
public createRealtimeLogConfig(
|
|
949
|
-
args: CreateRealtimeLogConfigCommandInput,
|
|
950
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRealtimeLogConfigCommandOutput) => void),
|
|
951
|
-
cb?: (err: any, data?: CreateRealtimeLogConfigCommandOutput) => void
|
|
952
|
-
): Promise<CreateRealtimeLogConfigCommandOutput> | void {
|
|
953
|
-
const command = new CreateRealtimeLogConfigCommand(args);
|
|
954
|
-
if (typeof optionsOrCb === "function") {
|
|
955
|
-
this.send(command, optionsOrCb);
|
|
956
|
-
} else if (typeof cb === "function") {
|
|
957
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
958
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
959
|
-
} else {
|
|
960
|
-
return this.send(command, optionsOrCb);
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* <p>This API is deprecated.
|
|
966
|
-
* Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020.
|
|
967
|
-
* For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion forum.</p>
|
|
968
|
-
*/
|
|
969
|
-
public createStreamingDistribution(
|
|
970
|
-
args: CreateStreamingDistributionCommandInput,
|
|
971
|
-
options?: __HttpHandlerOptions
|
|
972
|
-
): Promise<CreateStreamingDistributionCommandOutput>;
|
|
973
|
-
public createStreamingDistribution(
|
|
974
|
-
args: CreateStreamingDistributionCommandInput,
|
|
975
|
-
cb: (err: any, data?: CreateStreamingDistributionCommandOutput) => void
|
|
976
|
-
): void;
|
|
977
|
-
public createStreamingDistribution(
|
|
978
|
-
args: CreateStreamingDistributionCommandInput,
|
|
979
|
-
options: __HttpHandlerOptions,
|
|
980
|
-
cb: (err: any, data?: CreateStreamingDistributionCommandOutput) => void
|
|
981
|
-
): void;
|
|
982
|
-
public createStreamingDistribution(
|
|
983
|
-
args: CreateStreamingDistributionCommandInput,
|
|
984
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateStreamingDistributionCommandOutput) => void),
|
|
985
|
-
cb?: (err: any, data?: CreateStreamingDistributionCommandOutput) => void
|
|
986
|
-
): Promise<CreateStreamingDistributionCommandOutput> | void {
|
|
987
|
-
const command = new CreateStreamingDistributionCommand(args);
|
|
988
|
-
if (typeof optionsOrCb === "function") {
|
|
989
|
-
this.send(command, optionsOrCb);
|
|
990
|
-
} else if (typeof cb === "function") {
|
|
991
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
992
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
993
|
-
} else {
|
|
994
|
-
return this.send(command, optionsOrCb);
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* <p>This API is deprecated.
|
|
1000
|
-
* Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020.
|
|
1001
|
-
* For more information, <a href="http://forums.aws.amazon.com/ann.jspa?annID=7356">read the announcement</a> on the Amazon CloudFront discussion forum.</p>
|
|
1002
|
-
*/
|
|
1003
|
-
public createStreamingDistributionWithTags(
|
|
1004
|
-
args: CreateStreamingDistributionWithTagsCommandInput,
|
|
1005
|
-
options?: __HttpHandlerOptions
|
|
1006
|
-
): Promise<CreateStreamingDistributionWithTagsCommandOutput>;
|
|
1007
|
-
public createStreamingDistributionWithTags(
|
|
1008
|
-
args: CreateStreamingDistributionWithTagsCommandInput,
|
|
1009
|
-
cb: (err: any, data?: CreateStreamingDistributionWithTagsCommandOutput) => void
|
|
1010
|
-
): void;
|
|
1011
|
-
public createStreamingDistributionWithTags(
|
|
1012
|
-
args: CreateStreamingDistributionWithTagsCommandInput,
|
|
1013
|
-
options: __HttpHandlerOptions,
|
|
1014
|
-
cb: (err: any, data?: CreateStreamingDistributionWithTagsCommandOutput) => void
|
|
1015
|
-
): void;
|
|
1016
|
-
public createStreamingDistributionWithTags(
|
|
1017
|
-
args: CreateStreamingDistributionWithTagsCommandInput,
|
|
1018
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateStreamingDistributionWithTagsCommandOutput) => void),
|
|
1019
|
-
cb?: (err: any, data?: CreateStreamingDistributionWithTagsCommandOutput) => void
|
|
1020
|
-
): Promise<CreateStreamingDistributionWithTagsCommandOutput> | void {
|
|
1021
|
-
const command = new CreateStreamingDistributionWithTagsCommand(args);
|
|
1022
|
-
if (typeof optionsOrCb === "function") {
|
|
1023
|
-
this.send(command, optionsOrCb);
|
|
1024
|
-
} else if (typeof cb === "function") {
|
|
1025
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1026
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1027
|
-
} else {
|
|
1028
|
-
return this.send(command, optionsOrCb);
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* <p>Deletes a cache policy.</p>
|
|
1034
|
-
* <p>You cannot delete a cache policy if it’s attached to a cache behavior. First update your
|
|
1035
|
-
* distributions to remove the cache policy from all cache behaviors, then delete the cache
|
|
1036
|
-
* policy.</p>
|
|
1037
|
-
* <p>To delete a cache policy, you must provide the policy’s identifier and version. To get these
|
|
1038
|
-
* values, you can use <code>ListCachePolicies</code> or
|
|
1039
|
-
* <code>GetCachePolicy</code>.</p>
|
|
1040
|
-
*/
|
|
1041
|
-
public deleteCachePolicy(
|
|
1042
|
-
args: DeleteCachePolicyCommandInput,
|
|
1043
|
-
options?: __HttpHandlerOptions
|
|
1044
|
-
): Promise<DeleteCachePolicyCommandOutput>;
|
|
1045
|
-
public deleteCachePolicy(
|
|
1046
|
-
args: DeleteCachePolicyCommandInput,
|
|
1047
|
-
cb: (err: any, data?: DeleteCachePolicyCommandOutput) => void
|
|
1048
|
-
): void;
|
|
1049
|
-
public deleteCachePolicy(
|
|
1050
|
-
args: DeleteCachePolicyCommandInput,
|
|
1051
|
-
options: __HttpHandlerOptions,
|
|
1052
|
-
cb: (err: any, data?: DeleteCachePolicyCommandOutput) => void
|
|
1053
|
-
): void;
|
|
1054
|
-
public deleteCachePolicy(
|
|
1055
|
-
args: DeleteCachePolicyCommandInput,
|
|
1056
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCachePolicyCommandOutput) => void),
|
|
1057
|
-
cb?: (err: any, data?: DeleteCachePolicyCommandOutput) => void
|
|
1058
|
-
): Promise<DeleteCachePolicyCommandOutput> | void {
|
|
1059
|
-
const command = new DeleteCachePolicyCommand(args);
|
|
1060
|
-
if (typeof optionsOrCb === "function") {
|
|
1061
|
-
this.send(command, optionsOrCb);
|
|
1062
|
-
} else if (typeof cb === "function") {
|
|
1063
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1064
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1065
|
-
} else {
|
|
1066
|
-
return this.send(command, optionsOrCb);
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
* <p>Delete an origin access identity. </p>
|
|
1072
|
-
*/
|
|
1073
|
-
public deleteCloudFrontOriginAccessIdentity(
|
|
1074
|
-
args: DeleteCloudFrontOriginAccessIdentityCommandInput,
|
|
1075
|
-
options?: __HttpHandlerOptions
|
|
1076
|
-
): Promise<DeleteCloudFrontOriginAccessIdentityCommandOutput>;
|
|
1077
|
-
public deleteCloudFrontOriginAccessIdentity(
|
|
1078
|
-
args: DeleteCloudFrontOriginAccessIdentityCommandInput,
|
|
1079
|
-
cb: (err: any, data?: DeleteCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
1080
|
-
): void;
|
|
1081
|
-
public deleteCloudFrontOriginAccessIdentity(
|
|
1082
|
-
args: DeleteCloudFrontOriginAccessIdentityCommandInput,
|
|
1083
|
-
options: __HttpHandlerOptions,
|
|
1084
|
-
cb: (err: any, data?: DeleteCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
1085
|
-
): void;
|
|
1086
|
-
public deleteCloudFrontOriginAccessIdentity(
|
|
1087
|
-
args: DeleteCloudFrontOriginAccessIdentityCommandInput,
|
|
1088
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCloudFrontOriginAccessIdentityCommandOutput) => void),
|
|
1089
|
-
cb?: (err: any, data?: DeleteCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
1090
|
-
): Promise<DeleteCloudFrontOriginAccessIdentityCommandOutput> | void {
|
|
1091
|
-
const command = new DeleteCloudFrontOriginAccessIdentityCommand(args);
|
|
1092
|
-
if (typeof optionsOrCb === "function") {
|
|
1093
|
-
this.send(command, optionsOrCb);
|
|
1094
|
-
} else if (typeof cb === "function") {
|
|
1095
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1096
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1097
|
-
} else {
|
|
1098
|
-
return this.send(command, optionsOrCb);
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* <p>Delete a distribution. </p>
|
|
1104
|
-
*/
|
|
1105
|
-
public deleteDistribution(
|
|
1106
|
-
args: DeleteDistributionCommandInput,
|
|
1107
|
-
options?: __HttpHandlerOptions
|
|
1108
|
-
): Promise<DeleteDistributionCommandOutput>;
|
|
1109
|
-
public deleteDistribution(
|
|
1110
|
-
args: DeleteDistributionCommandInput,
|
|
1111
|
-
cb: (err: any, data?: DeleteDistributionCommandOutput) => void
|
|
1112
|
-
): void;
|
|
1113
|
-
public deleteDistribution(
|
|
1114
|
-
args: DeleteDistributionCommandInput,
|
|
1115
|
-
options: __HttpHandlerOptions,
|
|
1116
|
-
cb: (err: any, data?: DeleteDistributionCommandOutput) => void
|
|
1117
|
-
): void;
|
|
1118
|
-
public deleteDistribution(
|
|
1119
|
-
args: DeleteDistributionCommandInput,
|
|
1120
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDistributionCommandOutput) => void),
|
|
1121
|
-
cb?: (err: any, data?: DeleteDistributionCommandOutput) => void
|
|
1122
|
-
): Promise<DeleteDistributionCommandOutput> | void {
|
|
1123
|
-
const command = new DeleteDistributionCommand(args);
|
|
1124
|
-
if (typeof optionsOrCb === "function") {
|
|
1125
|
-
this.send(command, optionsOrCb);
|
|
1126
|
-
} else if (typeof cb === "function") {
|
|
1127
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1128
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1129
|
-
} else {
|
|
1130
|
-
return this.send(command, optionsOrCb);
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
/**
|
|
1135
|
-
* <p>Remove a field-level encryption configuration.</p>
|
|
1136
|
-
*/
|
|
1137
|
-
public deleteFieldLevelEncryptionConfig(
|
|
1138
|
-
args: DeleteFieldLevelEncryptionConfigCommandInput,
|
|
1139
|
-
options?: __HttpHandlerOptions
|
|
1140
|
-
): Promise<DeleteFieldLevelEncryptionConfigCommandOutput>;
|
|
1141
|
-
public deleteFieldLevelEncryptionConfig(
|
|
1142
|
-
args: DeleteFieldLevelEncryptionConfigCommandInput,
|
|
1143
|
-
cb: (err: any, data?: DeleteFieldLevelEncryptionConfigCommandOutput) => void
|
|
1144
|
-
): void;
|
|
1145
|
-
public deleteFieldLevelEncryptionConfig(
|
|
1146
|
-
args: DeleteFieldLevelEncryptionConfigCommandInput,
|
|
1147
|
-
options: __HttpHandlerOptions,
|
|
1148
|
-
cb: (err: any, data?: DeleteFieldLevelEncryptionConfigCommandOutput) => void
|
|
1149
|
-
): void;
|
|
1150
|
-
public deleteFieldLevelEncryptionConfig(
|
|
1151
|
-
args: DeleteFieldLevelEncryptionConfigCommandInput,
|
|
1152
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFieldLevelEncryptionConfigCommandOutput) => void),
|
|
1153
|
-
cb?: (err: any, data?: DeleteFieldLevelEncryptionConfigCommandOutput) => void
|
|
1154
|
-
): Promise<DeleteFieldLevelEncryptionConfigCommandOutput> | void {
|
|
1155
|
-
const command = new DeleteFieldLevelEncryptionConfigCommand(args);
|
|
1156
|
-
if (typeof optionsOrCb === "function") {
|
|
1157
|
-
this.send(command, optionsOrCb);
|
|
1158
|
-
} else if (typeof cb === "function") {
|
|
1159
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1160
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1161
|
-
} else {
|
|
1162
|
-
return this.send(command, optionsOrCb);
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
/**
|
|
1167
|
-
* <p>Remove a field-level encryption profile.</p>
|
|
1168
|
-
*/
|
|
1169
|
-
public deleteFieldLevelEncryptionProfile(
|
|
1170
|
-
args: DeleteFieldLevelEncryptionProfileCommandInput,
|
|
1171
|
-
options?: __HttpHandlerOptions
|
|
1172
|
-
): Promise<DeleteFieldLevelEncryptionProfileCommandOutput>;
|
|
1173
|
-
public deleteFieldLevelEncryptionProfile(
|
|
1174
|
-
args: DeleteFieldLevelEncryptionProfileCommandInput,
|
|
1175
|
-
cb: (err: any, data?: DeleteFieldLevelEncryptionProfileCommandOutput) => void
|
|
1176
|
-
): void;
|
|
1177
|
-
public deleteFieldLevelEncryptionProfile(
|
|
1178
|
-
args: DeleteFieldLevelEncryptionProfileCommandInput,
|
|
1179
|
-
options: __HttpHandlerOptions,
|
|
1180
|
-
cb: (err: any, data?: DeleteFieldLevelEncryptionProfileCommandOutput) => void
|
|
1181
|
-
): void;
|
|
1182
|
-
public deleteFieldLevelEncryptionProfile(
|
|
1183
|
-
args: DeleteFieldLevelEncryptionProfileCommandInput,
|
|
1184
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFieldLevelEncryptionProfileCommandOutput) => void),
|
|
1185
|
-
cb?: (err: any, data?: DeleteFieldLevelEncryptionProfileCommandOutput) => void
|
|
1186
|
-
): Promise<DeleteFieldLevelEncryptionProfileCommandOutput> | void {
|
|
1187
|
-
const command = new DeleteFieldLevelEncryptionProfileCommand(args);
|
|
1188
|
-
if (typeof optionsOrCb === "function") {
|
|
1189
|
-
this.send(command, optionsOrCb);
|
|
1190
|
-
} else if (typeof cb === "function") {
|
|
1191
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1193
|
-
} else {
|
|
1194
|
-
return this.send(command, optionsOrCb);
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* <p>Deletes a CloudFront function.</p>
|
|
1200
|
-
* <p>You cannot delete a function if it’s associated with a cache behavior. First, update your
|
|
1201
|
-
* distributions to remove the function association from all cache behaviors, then delete
|
|
1202
|
-
* the function.</p>
|
|
1203
|
-
* <p>To delete a function, you must provide the function’s name and version
|
|
1204
|
-
* (<code>ETag</code> value). To get these values, you can use <code>ListFunctions</code>
|
|
1205
|
-
* and <code>DescribeFunction</code>.</p>
|
|
1206
|
-
*/
|
|
1207
|
-
public deleteFunction(
|
|
1208
|
-
args: DeleteFunctionCommandInput,
|
|
1209
|
-
options?: __HttpHandlerOptions
|
|
1210
|
-
): Promise<DeleteFunctionCommandOutput>;
|
|
1211
|
-
public deleteFunction(
|
|
1212
|
-
args: DeleteFunctionCommandInput,
|
|
1213
|
-
cb: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
1214
|
-
): void;
|
|
1215
|
-
public deleteFunction(
|
|
1216
|
-
args: DeleteFunctionCommandInput,
|
|
1217
|
-
options: __HttpHandlerOptions,
|
|
1218
|
-
cb: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
1219
|
-
): void;
|
|
1220
|
-
public deleteFunction(
|
|
1221
|
-
args: DeleteFunctionCommandInput,
|
|
1222
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFunctionCommandOutput) => void),
|
|
1223
|
-
cb?: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
1224
|
-
): Promise<DeleteFunctionCommandOutput> | void {
|
|
1225
|
-
const command = new DeleteFunctionCommand(args);
|
|
1226
|
-
if (typeof optionsOrCb === "function") {
|
|
1227
|
-
this.send(command, optionsOrCb);
|
|
1228
|
-
} else if (typeof cb === "function") {
|
|
1229
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1230
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1231
|
-
} else {
|
|
1232
|
-
return this.send(command, optionsOrCb);
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
/**
|
|
1237
|
-
* <p>Deletes a key group.</p>
|
|
1238
|
-
* <p>You cannot delete a key group that is referenced in a cache behavior. First update
|
|
1239
|
-
* your distributions to remove the key group from all cache behaviors, then delete the key
|
|
1240
|
-
* group.</p>
|
|
1241
|
-
* <p>To delete a key group, you must provide the key group’s identifier and version. To get
|
|
1242
|
-
* these values, use <code>ListKeyGroups</code> followed by <code>GetKeyGroup</code> or
|
|
1243
|
-
* <code>GetKeyGroupConfig</code>.</p>
|
|
1244
|
-
*/
|
|
1245
|
-
public deleteKeyGroup(
|
|
1246
|
-
args: DeleteKeyGroupCommandInput,
|
|
1247
|
-
options?: __HttpHandlerOptions
|
|
1248
|
-
): Promise<DeleteKeyGroupCommandOutput>;
|
|
1249
|
-
public deleteKeyGroup(
|
|
1250
|
-
args: DeleteKeyGroupCommandInput,
|
|
1251
|
-
cb: (err: any, data?: DeleteKeyGroupCommandOutput) => void
|
|
1252
|
-
): void;
|
|
1253
|
-
public deleteKeyGroup(
|
|
1254
|
-
args: DeleteKeyGroupCommandInput,
|
|
1255
|
-
options: __HttpHandlerOptions,
|
|
1256
|
-
cb: (err: any, data?: DeleteKeyGroupCommandOutput) => void
|
|
1257
|
-
): void;
|
|
1258
|
-
public deleteKeyGroup(
|
|
1259
|
-
args: DeleteKeyGroupCommandInput,
|
|
1260
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteKeyGroupCommandOutput) => void),
|
|
1261
|
-
cb?: (err: any, data?: DeleteKeyGroupCommandOutput) => void
|
|
1262
|
-
): Promise<DeleteKeyGroupCommandOutput> | void {
|
|
1263
|
-
const command = new DeleteKeyGroupCommand(args);
|
|
1264
|
-
if (typeof optionsOrCb === "function") {
|
|
1265
|
-
this.send(command, optionsOrCb);
|
|
1266
|
-
} else if (typeof cb === "function") {
|
|
1267
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1268
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1269
|
-
} else {
|
|
1270
|
-
return this.send(command, optionsOrCb);
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
/**
|
|
1275
|
-
* <p>Disables additional CloudWatch metrics for the specified CloudFront distribution.</p>
|
|
1276
|
-
*/
|
|
1277
|
-
public deleteMonitoringSubscription(
|
|
1278
|
-
args: DeleteMonitoringSubscriptionCommandInput,
|
|
1279
|
-
options?: __HttpHandlerOptions
|
|
1280
|
-
): Promise<DeleteMonitoringSubscriptionCommandOutput>;
|
|
1281
|
-
public deleteMonitoringSubscription(
|
|
1282
|
-
args: DeleteMonitoringSubscriptionCommandInput,
|
|
1283
|
-
cb: (err: any, data?: DeleteMonitoringSubscriptionCommandOutput) => void
|
|
1284
|
-
): void;
|
|
1285
|
-
public deleteMonitoringSubscription(
|
|
1286
|
-
args: DeleteMonitoringSubscriptionCommandInput,
|
|
1287
|
-
options: __HttpHandlerOptions,
|
|
1288
|
-
cb: (err: any, data?: DeleteMonitoringSubscriptionCommandOutput) => void
|
|
1289
|
-
): void;
|
|
1290
|
-
public deleteMonitoringSubscription(
|
|
1291
|
-
args: DeleteMonitoringSubscriptionCommandInput,
|
|
1292
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMonitoringSubscriptionCommandOutput) => void),
|
|
1293
|
-
cb?: (err: any, data?: DeleteMonitoringSubscriptionCommandOutput) => void
|
|
1294
|
-
): Promise<DeleteMonitoringSubscriptionCommandOutput> | void {
|
|
1295
|
-
const command = new DeleteMonitoringSubscriptionCommand(args);
|
|
1296
|
-
if (typeof optionsOrCb === "function") {
|
|
1297
|
-
this.send(command, optionsOrCb);
|
|
1298
|
-
} else if (typeof cb === "function") {
|
|
1299
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1300
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1301
|
-
} else {
|
|
1302
|
-
return this.send(command, optionsOrCb);
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
/**
|
|
1307
|
-
* <p>Deletes an origin request policy.</p>
|
|
1308
|
-
* <p>You cannot delete an origin request policy if it’s attached to any cache behaviors. First
|
|
1309
|
-
* update your distributions to remove the origin request policy from all cache behaviors,
|
|
1310
|
-
* then delete the origin request policy.</p>
|
|
1311
|
-
* <p>To delete an origin request policy, you must provide the policy’s identifier and version. To
|
|
1312
|
-
* get the identifier, you can use <code>ListOriginRequestPolicies</code> or
|
|
1313
|
-
* <code>GetOriginRequestPolicy</code>.</p>
|
|
1314
|
-
*/
|
|
1315
|
-
public deleteOriginRequestPolicy(
|
|
1316
|
-
args: DeleteOriginRequestPolicyCommandInput,
|
|
1317
|
-
options?: __HttpHandlerOptions
|
|
1318
|
-
): Promise<DeleteOriginRequestPolicyCommandOutput>;
|
|
1319
|
-
public deleteOriginRequestPolicy(
|
|
1320
|
-
args: DeleteOriginRequestPolicyCommandInput,
|
|
1321
|
-
cb: (err: any, data?: DeleteOriginRequestPolicyCommandOutput) => void
|
|
1322
|
-
): void;
|
|
1323
|
-
public deleteOriginRequestPolicy(
|
|
1324
|
-
args: DeleteOriginRequestPolicyCommandInput,
|
|
1325
|
-
options: __HttpHandlerOptions,
|
|
1326
|
-
cb: (err: any, data?: DeleteOriginRequestPolicyCommandOutput) => void
|
|
1327
|
-
): void;
|
|
1328
|
-
public deleteOriginRequestPolicy(
|
|
1329
|
-
args: DeleteOriginRequestPolicyCommandInput,
|
|
1330
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteOriginRequestPolicyCommandOutput) => void),
|
|
1331
|
-
cb?: (err: any, data?: DeleteOriginRequestPolicyCommandOutput) => void
|
|
1332
|
-
): Promise<DeleteOriginRequestPolicyCommandOutput> | void {
|
|
1333
|
-
const command = new DeleteOriginRequestPolicyCommand(args);
|
|
1334
|
-
if (typeof optionsOrCb === "function") {
|
|
1335
|
-
this.send(command, optionsOrCb);
|
|
1336
|
-
} else if (typeof cb === "function") {
|
|
1337
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1338
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1339
|
-
} else {
|
|
1340
|
-
return this.send(command, optionsOrCb);
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
/**
|
|
1345
|
-
* <p>Remove a public key you previously added to CloudFront.</p>
|
|
1346
|
-
*/
|
|
1347
|
-
public deletePublicKey(
|
|
1348
|
-
args: DeletePublicKeyCommandInput,
|
|
1349
|
-
options?: __HttpHandlerOptions
|
|
1350
|
-
): Promise<DeletePublicKeyCommandOutput>;
|
|
1351
|
-
public deletePublicKey(
|
|
1352
|
-
args: DeletePublicKeyCommandInput,
|
|
1353
|
-
cb: (err: any, data?: DeletePublicKeyCommandOutput) => void
|
|
1354
|
-
): void;
|
|
1355
|
-
public deletePublicKey(
|
|
1356
|
-
args: DeletePublicKeyCommandInput,
|
|
1357
|
-
options: __HttpHandlerOptions,
|
|
1358
|
-
cb: (err: any, data?: DeletePublicKeyCommandOutput) => void
|
|
1359
|
-
): void;
|
|
1360
|
-
public deletePublicKey(
|
|
1361
|
-
args: DeletePublicKeyCommandInput,
|
|
1362
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePublicKeyCommandOutput) => void),
|
|
1363
|
-
cb?: (err: any, data?: DeletePublicKeyCommandOutput) => void
|
|
1364
|
-
): Promise<DeletePublicKeyCommandOutput> | void {
|
|
1365
|
-
const command = new DeletePublicKeyCommand(args);
|
|
1366
|
-
if (typeof optionsOrCb === "function") {
|
|
1367
|
-
this.send(command, optionsOrCb);
|
|
1368
|
-
} else if (typeof cb === "function") {
|
|
1369
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1370
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1371
|
-
} else {
|
|
1372
|
-
return this.send(command, optionsOrCb);
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
/**
|
|
1377
|
-
* <p>Deletes a real-time log configuration.</p>
|
|
1378
|
-
* <p>You cannot delete a real-time log configuration if it’s attached to a cache behavior.
|
|
1379
|
-
* First update your distributions to remove the real-time log configuration from all cache
|
|
1380
|
-
* behaviors, then delete the real-time log configuration.</p>
|
|
1381
|
-
* <p>To delete a real-time log configuration, you can provide the configuration’s name or its
|
|
1382
|
-
* Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront
|
|
1383
|
-
* uses the name to identify the real-time log configuration to delete.</p>
|
|
1384
|
-
*/
|
|
1385
|
-
public deleteRealtimeLogConfig(
|
|
1386
|
-
args: DeleteRealtimeLogConfigCommandInput,
|
|
1387
|
-
options?: __HttpHandlerOptions
|
|
1388
|
-
): Promise<DeleteRealtimeLogConfigCommandOutput>;
|
|
1389
|
-
public deleteRealtimeLogConfig(
|
|
1390
|
-
args: DeleteRealtimeLogConfigCommandInput,
|
|
1391
|
-
cb: (err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void
|
|
1392
|
-
): void;
|
|
1393
|
-
public deleteRealtimeLogConfig(
|
|
1394
|
-
args: DeleteRealtimeLogConfigCommandInput,
|
|
1395
|
-
options: __HttpHandlerOptions,
|
|
1396
|
-
cb: (err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void
|
|
1397
|
-
): void;
|
|
1398
|
-
public deleteRealtimeLogConfig(
|
|
1399
|
-
args: DeleteRealtimeLogConfigCommandInput,
|
|
1400
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void),
|
|
1401
|
-
cb?: (err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void
|
|
1402
|
-
): Promise<DeleteRealtimeLogConfigCommandOutput> | void {
|
|
1403
|
-
const command = new DeleteRealtimeLogConfigCommand(args);
|
|
1404
|
-
if (typeof optionsOrCb === "function") {
|
|
1405
|
-
this.send(command, optionsOrCb);
|
|
1406
|
-
} else if (typeof cb === "function") {
|
|
1407
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1408
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1409
|
-
} else {
|
|
1410
|
-
return this.send(command, optionsOrCb);
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
|
-
/**
|
|
1415
|
-
* <p>Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API,
|
|
1416
|
-
* perform the following steps.</p>
|
|
1417
|
-
*
|
|
1418
|
-
* <p>
|
|
1419
|
-
* <b>To delete an RTMP distribution using the CloudFront
|
|
1420
|
-
* API</b>:</p>
|
|
1421
|
-
* <ol>
|
|
1422
|
-
* <li>
|
|
1423
|
-
* <p>Disable the RTMP distribution.</p>
|
|
1424
|
-
* </li>
|
|
1425
|
-
* <li>
|
|
1426
|
-
* <p>Submit a <code>GET Streaming Distribution Config</code> request to get the current
|
|
1427
|
-
* configuration and the <code>Etag</code> header for the distribution. </p>
|
|
1428
|
-
* </li>
|
|
1429
|
-
* <li>
|
|
1430
|
-
* <p>Update the XML document that was returned in the response to your <code>GET
|
|
1431
|
-
* Streaming Distribution Config</code> request to change the value of <code>Enabled</code>
|
|
1432
|
-
* to <code>false</code>.</p>
|
|
1433
|
-
* </li>
|
|
1434
|
-
* <li>
|
|
1435
|
-
* <p>Submit a <code>PUT Streaming Distribution Config</code> request to update the
|
|
1436
|
-
* configuration for your distribution. In the request body, include the XML document that
|
|
1437
|
-
* you updated in Step 3. Then set the value of the HTTP <code>If-Match</code> header to the
|
|
1438
|
-
* value of the <code>ETag</code> header that CloudFront returned when you submitted the <code>GET
|
|
1439
|
-
* Streaming Distribution Config</code> request in Step 2.</p>
|
|
1440
|
-
* </li>
|
|
1441
|
-
* <li>
|
|
1442
|
-
* <p>Review the response to the <code>PUT Streaming Distribution Config</code> request
|
|
1443
|
-
* to confirm that the distribution was successfully disabled.</p>
|
|
1444
|
-
* </li>
|
|
1445
|
-
* <li>
|
|
1446
|
-
* <p>Submit a <code>GET Streaming Distribution Config</code> request to confirm that
|
|
1447
|
-
* your changes have propagated. When propagation is complete, the value of
|
|
1448
|
-
* <code>Status</code> is <code>Deployed</code>.</p>
|
|
1449
|
-
* </li>
|
|
1450
|
-
* <li>
|
|
1451
|
-
* <p>Submit a <code>DELETE Streaming Distribution</code> request. Set the value of the
|
|
1452
|
-
* HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront
|
|
1453
|
-
* returned when you submitted the <code>GET Streaming Distribution Config</code> request in
|
|
1454
|
-
* Step 2.</p>
|
|
1455
|
-
* </li>
|
|
1456
|
-
* <li>
|
|
1457
|
-
* <p>Review the response to your <code>DELETE Streaming Distribution</code> request to
|
|
1458
|
-
* confirm that the distribution was successfully deleted.</p>
|
|
1459
|
-
* </li>
|
|
1460
|
-
* </ol>
|
|
1461
|
-
* <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
|
|
1462
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1463
|
-
*/
|
|
1464
|
-
public deleteStreamingDistribution(
|
|
1465
|
-
args: DeleteStreamingDistributionCommandInput,
|
|
1466
|
-
options?: __HttpHandlerOptions
|
|
1467
|
-
): Promise<DeleteStreamingDistributionCommandOutput>;
|
|
1468
|
-
public deleteStreamingDistribution(
|
|
1469
|
-
args: DeleteStreamingDistributionCommandInput,
|
|
1470
|
-
cb: (err: any, data?: DeleteStreamingDistributionCommandOutput) => void
|
|
1471
|
-
): void;
|
|
1472
|
-
public deleteStreamingDistribution(
|
|
1473
|
-
args: DeleteStreamingDistributionCommandInput,
|
|
1474
|
-
options: __HttpHandlerOptions,
|
|
1475
|
-
cb: (err: any, data?: DeleteStreamingDistributionCommandOutput) => void
|
|
1476
|
-
): void;
|
|
1477
|
-
public deleteStreamingDistribution(
|
|
1478
|
-
args: DeleteStreamingDistributionCommandInput,
|
|
1479
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteStreamingDistributionCommandOutput) => void),
|
|
1480
|
-
cb?: (err: any, data?: DeleteStreamingDistributionCommandOutput) => void
|
|
1481
|
-
): Promise<DeleteStreamingDistributionCommandOutput> | void {
|
|
1482
|
-
const command = new DeleteStreamingDistributionCommand(args);
|
|
1483
|
-
if (typeof optionsOrCb === "function") {
|
|
1484
|
-
this.send(command, optionsOrCb);
|
|
1485
|
-
} else if (typeof cb === "function") {
|
|
1486
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1487
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1488
|
-
} else {
|
|
1489
|
-
return this.send(command, optionsOrCb);
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
/**
|
|
1494
|
-
* <p>Gets configuration information and metadata about a CloudFront function, but not the function’s
|
|
1495
|
-
* code. To get a function’s code, use <code>GetFunction</code>.</p>
|
|
1496
|
-
* <p>To get configuration information and metadata about a function, you must provide the
|
|
1497
|
-
* function’s name and stage. To get these values, you can use
|
|
1498
|
-
* <code>ListFunctions</code>.</p>
|
|
1499
|
-
*/
|
|
1500
|
-
public describeFunction(
|
|
1501
|
-
args: DescribeFunctionCommandInput,
|
|
1502
|
-
options?: __HttpHandlerOptions
|
|
1503
|
-
): Promise<DescribeFunctionCommandOutput>;
|
|
1504
|
-
public describeFunction(
|
|
1505
|
-
args: DescribeFunctionCommandInput,
|
|
1506
|
-
cb: (err: any, data?: DescribeFunctionCommandOutput) => void
|
|
1507
|
-
): void;
|
|
1508
|
-
public describeFunction(
|
|
1509
|
-
args: DescribeFunctionCommandInput,
|
|
1510
|
-
options: __HttpHandlerOptions,
|
|
1511
|
-
cb: (err: any, data?: DescribeFunctionCommandOutput) => void
|
|
1512
|
-
): void;
|
|
1513
|
-
public describeFunction(
|
|
1514
|
-
args: DescribeFunctionCommandInput,
|
|
1515
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFunctionCommandOutput) => void),
|
|
1516
|
-
cb?: (err: any, data?: DescribeFunctionCommandOutput) => void
|
|
1517
|
-
): Promise<DescribeFunctionCommandOutput> | void {
|
|
1518
|
-
const command = new DescribeFunctionCommand(args);
|
|
1519
|
-
if (typeof optionsOrCb === "function") {
|
|
1520
|
-
this.send(command, optionsOrCb);
|
|
1521
|
-
} else if (typeof cb === "function") {
|
|
1522
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1523
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1524
|
-
} else {
|
|
1525
|
-
return this.send(command, optionsOrCb);
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
/**
|
|
1530
|
-
* <p>Gets a cache policy, including the following metadata:</p>
|
|
1531
|
-
* <ul>
|
|
1532
|
-
* <li>
|
|
1533
|
-
* <p>The policy’s identifier.</p>
|
|
1534
|
-
* </li>
|
|
1535
|
-
* <li>
|
|
1536
|
-
* <p>The date and time when the policy was last modified.</p>
|
|
1537
|
-
* </li>
|
|
1538
|
-
* </ul>
|
|
1539
|
-
* <p>To get a cache policy, you must provide the policy’s identifier. If the cache policy is
|
|
1540
|
-
* attached to a distribution’s cache behavior, you can get the policy’s identifier using
|
|
1541
|
-
* <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache policy is
|
|
1542
|
-
* not attached to a cache behavior, you can get the identifier using
|
|
1543
|
-
* <code>ListCachePolicies</code>.</p>
|
|
1544
|
-
*/
|
|
1545
|
-
public getCachePolicy(
|
|
1546
|
-
args: GetCachePolicyCommandInput,
|
|
1547
|
-
options?: __HttpHandlerOptions
|
|
1548
|
-
): Promise<GetCachePolicyCommandOutput>;
|
|
1549
|
-
public getCachePolicy(
|
|
1550
|
-
args: GetCachePolicyCommandInput,
|
|
1551
|
-
cb: (err: any, data?: GetCachePolicyCommandOutput) => void
|
|
1552
|
-
): void;
|
|
1553
|
-
public getCachePolicy(
|
|
1554
|
-
args: GetCachePolicyCommandInput,
|
|
1555
|
-
options: __HttpHandlerOptions,
|
|
1556
|
-
cb: (err: any, data?: GetCachePolicyCommandOutput) => void
|
|
1557
|
-
): void;
|
|
1558
|
-
public getCachePolicy(
|
|
1559
|
-
args: GetCachePolicyCommandInput,
|
|
1560
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCachePolicyCommandOutput) => void),
|
|
1561
|
-
cb?: (err: any, data?: GetCachePolicyCommandOutput) => void
|
|
1562
|
-
): Promise<GetCachePolicyCommandOutput> | void {
|
|
1563
|
-
const command = new GetCachePolicyCommand(args);
|
|
1564
|
-
if (typeof optionsOrCb === "function") {
|
|
1565
|
-
this.send(command, optionsOrCb);
|
|
1566
|
-
} else if (typeof cb === "function") {
|
|
1567
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1568
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1569
|
-
} else {
|
|
1570
|
-
return this.send(command, optionsOrCb);
|
|
1571
|
-
}
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1574
|
-
/**
|
|
1575
|
-
* <p>Gets a cache policy configuration.</p>
|
|
1576
|
-
* <p>To get a cache policy configuration, you must provide the policy’s identifier. If the cache
|
|
1577
|
-
* policy is attached to a distribution’s cache behavior, you can get the policy’s
|
|
1578
|
-
* identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
|
|
1579
|
-
* cache policy is not attached to a cache behavior, you can get the identifier using
|
|
1580
|
-
* <code>ListCachePolicies</code>.</p>
|
|
1581
|
-
*/
|
|
1582
|
-
public getCachePolicyConfig(
|
|
1583
|
-
args: GetCachePolicyConfigCommandInput,
|
|
1584
|
-
options?: __HttpHandlerOptions
|
|
1585
|
-
): Promise<GetCachePolicyConfigCommandOutput>;
|
|
1586
|
-
public getCachePolicyConfig(
|
|
1587
|
-
args: GetCachePolicyConfigCommandInput,
|
|
1588
|
-
cb: (err: any, data?: GetCachePolicyConfigCommandOutput) => void
|
|
1589
|
-
): void;
|
|
1590
|
-
public getCachePolicyConfig(
|
|
1591
|
-
args: GetCachePolicyConfigCommandInput,
|
|
1592
|
-
options: __HttpHandlerOptions,
|
|
1593
|
-
cb: (err: any, data?: GetCachePolicyConfigCommandOutput) => void
|
|
1594
|
-
): void;
|
|
1595
|
-
public getCachePolicyConfig(
|
|
1596
|
-
args: GetCachePolicyConfigCommandInput,
|
|
1597
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCachePolicyConfigCommandOutput) => void),
|
|
1598
|
-
cb?: (err: any, data?: GetCachePolicyConfigCommandOutput) => void
|
|
1599
|
-
): Promise<GetCachePolicyConfigCommandOutput> | void {
|
|
1600
|
-
const command = new GetCachePolicyConfigCommand(args);
|
|
1601
|
-
if (typeof optionsOrCb === "function") {
|
|
1602
|
-
this.send(command, optionsOrCb);
|
|
1603
|
-
} else if (typeof cb === "function") {
|
|
1604
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1605
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1606
|
-
} else {
|
|
1607
|
-
return this.send(command, optionsOrCb);
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
* <p>Get the information about an origin access identity. </p>
|
|
1613
|
-
*/
|
|
1614
|
-
public getCloudFrontOriginAccessIdentity(
|
|
1615
|
-
args: GetCloudFrontOriginAccessIdentityCommandInput,
|
|
1616
|
-
options?: __HttpHandlerOptions
|
|
1617
|
-
): Promise<GetCloudFrontOriginAccessIdentityCommandOutput>;
|
|
1618
|
-
public getCloudFrontOriginAccessIdentity(
|
|
1619
|
-
args: GetCloudFrontOriginAccessIdentityCommandInput,
|
|
1620
|
-
cb: (err: any, data?: GetCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
1621
|
-
): void;
|
|
1622
|
-
public getCloudFrontOriginAccessIdentity(
|
|
1623
|
-
args: GetCloudFrontOriginAccessIdentityCommandInput,
|
|
1624
|
-
options: __HttpHandlerOptions,
|
|
1625
|
-
cb: (err: any, data?: GetCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
1626
|
-
): void;
|
|
1627
|
-
public getCloudFrontOriginAccessIdentity(
|
|
1628
|
-
args: GetCloudFrontOriginAccessIdentityCommandInput,
|
|
1629
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCloudFrontOriginAccessIdentityCommandOutput) => void),
|
|
1630
|
-
cb?: (err: any, data?: GetCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
1631
|
-
): Promise<GetCloudFrontOriginAccessIdentityCommandOutput> | void {
|
|
1632
|
-
const command = new GetCloudFrontOriginAccessIdentityCommand(args);
|
|
1633
|
-
if (typeof optionsOrCb === "function") {
|
|
1634
|
-
this.send(command, optionsOrCb);
|
|
1635
|
-
} else if (typeof cb === "function") {
|
|
1636
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1637
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1638
|
-
} else {
|
|
1639
|
-
return this.send(command, optionsOrCb);
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* <p>Get the configuration information about an origin access identity. </p>
|
|
1645
|
-
*/
|
|
1646
|
-
public getCloudFrontOriginAccessIdentityConfig(
|
|
1647
|
-
args: GetCloudFrontOriginAccessIdentityConfigCommandInput,
|
|
1648
|
-
options?: __HttpHandlerOptions
|
|
1649
|
-
): Promise<GetCloudFrontOriginAccessIdentityConfigCommandOutput>;
|
|
1650
|
-
public getCloudFrontOriginAccessIdentityConfig(
|
|
1651
|
-
args: GetCloudFrontOriginAccessIdentityConfigCommandInput,
|
|
1652
|
-
cb: (err: any, data?: GetCloudFrontOriginAccessIdentityConfigCommandOutput) => void
|
|
1653
|
-
): void;
|
|
1654
|
-
public getCloudFrontOriginAccessIdentityConfig(
|
|
1655
|
-
args: GetCloudFrontOriginAccessIdentityConfigCommandInput,
|
|
1656
|
-
options: __HttpHandlerOptions,
|
|
1657
|
-
cb: (err: any, data?: GetCloudFrontOriginAccessIdentityConfigCommandOutput) => void
|
|
1658
|
-
): void;
|
|
1659
|
-
public getCloudFrontOriginAccessIdentityConfig(
|
|
1660
|
-
args: GetCloudFrontOriginAccessIdentityConfigCommandInput,
|
|
1661
|
-
optionsOrCb?:
|
|
1662
|
-
| __HttpHandlerOptions
|
|
1663
|
-
| ((err: any, data?: GetCloudFrontOriginAccessIdentityConfigCommandOutput) => void),
|
|
1664
|
-
cb?: (err: any, data?: GetCloudFrontOriginAccessIdentityConfigCommandOutput) => void
|
|
1665
|
-
): Promise<GetCloudFrontOriginAccessIdentityConfigCommandOutput> | void {
|
|
1666
|
-
const command = new GetCloudFrontOriginAccessIdentityConfigCommand(args);
|
|
1667
|
-
if (typeof optionsOrCb === "function") {
|
|
1668
|
-
this.send(command, optionsOrCb);
|
|
1669
|
-
} else if (typeof cb === "function") {
|
|
1670
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1671
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1672
|
-
} else {
|
|
1673
|
-
return this.send(command, optionsOrCb);
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
/**
|
|
1678
|
-
* <p>Get the information about a distribution.</p>
|
|
1679
|
-
*/
|
|
1680
|
-
public getDistribution(
|
|
1681
|
-
args: GetDistributionCommandInput,
|
|
1682
|
-
options?: __HttpHandlerOptions
|
|
1683
|
-
): Promise<GetDistributionCommandOutput>;
|
|
1684
|
-
public getDistribution(
|
|
1685
|
-
args: GetDistributionCommandInput,
|
|
1686
|
-
cb: (err: any, data?: GetDistributionCommandOutput) => void
|
|
1687
|
-
): void;
|
|
1688
|
-
public getDistribution(
|
|
1689
|
-
args: GetDistributionCommandInput,
|
|
1690
|
-
options: __HttpHandlerOptions,
|
|
1691
|
-
cb: (err: any, data?: GetDistributionCommandOutput) => void
|
|
1692
|
-
): void;
|
|
1693
|
-
public getDistribution(
|
|
1694
|
-
args: GetDistributionCommandInput,
|
|
1695
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDistributionCommandOutput) => void),
|
|
1696
|
-
cb?: (err: any, data?: GetDistributionCommandOutput) => void
|
|
1697
|
-
): Promise<GetDistributionCommandOutput> | void {
|
|
1698
|
-
const command = new GetDistributionCommand(args);
|
|
1699
|
-
if (typeof optionsOrCb === "function") {
|
|
1700
|
-
this.send(command, optionsOrCb);
|
|
1701
|
-
} else if (typeof cb === "function") {
|
|
1702
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1703
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1704
|
-
} else {
|
|
1705
|
-
return this.send(command, optionsOrCb);
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
/**
|
|
1710
|
-
* <p>Get the configuration information about a distribution. </p>
|
|
1711
|
-
*/
|
|
1712
|
-
public getDistributionConfig(
|
|
1713
|
-
args: GetDistributionConfigCommandInput,
|
|
1714
|
-
options?: __HttpHandlerOptions
|
|
1715
|
-
): Promise<GetDistributionConfigCommandOutput>;
|
|
1716
|
-
public getDistributionConfig(
|
|
1717
|
-
args: GetDistributionConfigCommandInput,
|
|
1718
|
-
cb: (err: any, data?: GetDistributionConfigCommandOutput) => void
|
|
1719
|
-
): void;
|
|
1720
|
-
public getDistributionConfig(
|
|
1721
|
-
args: GetDistributionConfigCommandInput,
|
|
1722
|
-
options: __HttpHandlerOptions,
|
|
1723
|
-
cb: (err: any, data?: GetDistributionConfigCommandOutput) => void
|
|
1724
|
-
): void;
|
|
1725
|
-
public getDistributionConfig(
|
|
1726
|
-
args: GetDistributionConfigCommandInput,
|
|
1727
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDistributionConfigCommandOutput) => void),
|
|
1728
|
-
cb?: (err: any, data?: GetDistributionConfigCommandOutput) => void
|
|
1729
|
-
): Promise<GetDistributionConfigCommandOutput> | void {
|
|
1730
|
-
const command = new GetDistributionConfigCommand(args);
|
|
1731
|
-
if (typeof optionsOrCb === "function") {
|
|
1732
|
-
this.send(command, optionsOrCb);
|
|
1733
|
-
} else if (typeof cb === "function") {
|
|
1734
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1735
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1736
|
-
} else {
|
|
1737
|
-
return this.send(command, optionsOrCb);
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
/**
|
|
1742
|
-
* <p>Get the field-level encryption configuration information.</p>
|
|
1743
|
-
*/
|
|
1744
|
-
public getFieldLevelEncryption(
|
|
1745
|
-
args: GetFieldLevelEncryptionCommandInput,
|
|
1746
|
-
options?: __HttpHandlerOptions
|
|
1747
|
-
): Promise<GetFieldLevelEncryptionCommandOutput>;
|
|
1748
|
-
public getFieldLevelEncryption(
|
|
1749
|
-
args: GetFieldLevelEncryptionCommandInput,
|
|
1750
|
-
cb: (err: any, data?: GetFieldLevelEncryptionCommandOutput) => void
|
|
1751
|
-
): void;
|
|
1752
|
-
public getFieldLevelEncryption(
|
|
1753
|
-
args: GetFieldLevelEncryptionCommandInput,
|
|
1754
|
-
options: __HttpHandlerOptions,
|
|
1755
|
-
cb: (err: any, data?: GetFieldLevelEncryptionCommandOutput) => void
|
|
1756
|
-
): void;
|
|
1757
|
-
public getFieldLevelEncryption(
|
|
1758
|
-
args: GetFieldLevelEncryptionCommandInput,
|
|
1759
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFieldLevelEncryptionCommandOutput) => void),
|
|
1760
|
-
cb?: (err: any, data?: GetFieldLevelEncryptionCommandOutput) => void
|
|
1761
|
-
): Promise<GetFieldLevelEncryptionCommandOutput> | void {
|
|
1762
|
-
const command = new GetFieldLevelEncryptionCommand(args);
|
|
1763
|
-
if (typeof optionsOrCb === "function") {
|
|
1764
|
-
this.send(command, optionsOrCb);
|
|
1765
|
-
} else if (typeof cb === "function") {
|
|
1766
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1767
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1768
|
-
} else {
|
|
1769
|
-
return this.send(command, optionsOrCb);
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
/**
|
|
1774
|
-
* <p>Get the field-level encryption configuration information.</p>
|
|
1775
|
-
*/
|
|
1776
|
-
public getFieldLevelEncryptionConfig(
|
|
1777
|
-
args: GetFieldLevelEncryptionConfigCommandInput,
|
|
1778
|
-
options?: __HttpHandlerOptions
|
|
1779
|
-
): Promise<GetFieldLevelEncryptionConfigCommandOutput>;
|
|
1780
|
-
public getFieldLevelEncryptionConfig(
|
|
1781
|
-
args: GetFieldLevelEncryptionConfigCommandInput,
|
|
1782
|
-
cb: (err: any, data?: GetFieldLevelEncryptionConfigCommandOutput) => void
|
|
1783
|
-
): void;
|
|
1784
|
-
public getFieldLevelEncryptionConfig(
|
|
1785
|
-
args: GetFieldLevelEncryptionConfigCommandInput,
|
|
1786
|
-
options: __HttpHandlerOptions,
|
|
1787
|
-
cb: (err: any, data?: GetFieldLevelEncryptionConfigCommandOutput) => void
|
|
1788
|
-
): void;
|
|
1789
|
-
public getFieldLevelEncryptionConfig(
|
|
1790
|
-
args: GetFieldLevelEncryptionConfigCommandInput,
|
|
1791
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFieldLevelEncryptionConfigCommandOutput) => void),
|
|
1792
|
-
cb?: (err: any, data?: GetFieldLevelEncryptionConfigCommandOutput) => void
|
|
1793
|
-
): Promise<GetFieldLevelEncryptionConfigCommandOutput> | void {
|
|
1794
|
-
const command = new GetFieldLevelEncryptionConfigCommand(args);
|
|
1795
|
-
if (typeof optionsOrCb === "function") {
|
|
1796
|
-
this.send(command, optionsOrCb);
|
|
1797
|
-
} else if (typeof cb === "function") {
|
|
1798
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1799
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1800
|
-
} else {
|
|
1801
|
-
return this.send(command, optionsOrCb);
|
|
1802
|
-
}
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* <p>Get the field-level encryption profile information.</p>
|
|
1807
|
-
*/
|
|
1808
|
-
public getFieldLevelEncryptionProfile(
|
|
1809
|
-
args: GetFieldLevelEncryptionProfileCommandInput,
|
|
1810
|
-
options?: __HttpHandlerOptions
|
|
1811
|
-
): Promise<GetFieldLevelEncryptionProfileCommandOutput>;
|
|
1812
|
-
public getFieldLevelEncryptionProfile(
|
|
1813
|
-
args: GetFieldLevelEncryptionProfileCommandInput,
|
|
1814
|
-
cb: (err: any, data?: GetFieldLevelEncryptionProfileCommandOutput) => void
|
|
1815
|
-
): void;
|
|
1816
|
-
public getFieldLevelEncryptionProfile(
|
|
1817
|
-
args: GetFieldLevelEncryptionProfileCommandInput,
|
|
1818
|
-
options: __HttpHandlerOptions,
|
|
1819
|
-
cb: (err: any, data?: GetFieldLevelEncryptionProfileCommandOutput) => void
|
|
1820
|
-
): void;
|
|
1821
|
-
public getFieldLevelEncryptionProfile(
|
|
1822
|
-
args: GetFieldLevelEncryptionProfileCommandInput,
|
|
1823
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFieldLevelEncryptionProfileCommandOutput) => void),
|
|
1824
|
-
cb?: (err: any, data?: GetFieldLevelEncryptionProfileCommandOutput) => void
|
|
1825
|
-
): Promise<GetFieldLevelEncryptionProfileCommandOutput> | void {
|
|
1826
|
-
const command = new GetFieldLevelEncryptionProfileCommand(args);
|
|
1827
|
-
if (typeof optionsOrCb === "function") {
|
|
1828
|
-
this.send(command, optionsOrCb);
|
|
1829
|
-
} else if (typeof cb === "function") {
|
|
1830
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1831
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1832
|
-
} else {
|
|
1833
|
-
return this.send(command, optionsOrCb);
|
|
1834
|
-
}
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
/**
|
|
1838
|
-
* <p>Get the field-level encryption profile configuration information.</p>
|
|
1839
|
-
*/
|
|
1840
|
-
public getFieldLevelEncryptionProfileConfig(
|
|
1841
|
-
args: GetFieldLevelEncryptionProfileConfigCommandInput,
|
|
1842
|
-
options?: __HttpHandlerOptions
|
|
1843
|
-
): Promise<GetFieldLevelEncryptionProfileConfigCommandOutput>;
|
|
1844
|
-
public getFieldLevelEncryptionProfileConfig(
|
|
1845
|
-
args: GetFieldLevelEncryptionProfileConfigCommandInput,
|
|
1846
|
-
cb: (err: any, data?: GetFieldLevelEncryptionProfileConfigCommandOutput) => void
|
|
1847
|
-
): void;
|
|
1848
|
-
public getFieldLevelEncryptionProfileConfig(
|
|
1849
|
-
args: GetFieldLevelEncryptionProfileConfigCommandInput,
|
|
1850
|
-
options: __HttpHandlerOptions,
|
|
1851
|
-
cb: (err: any, data?: GetFieldLevelEncryptionProfileConfigCommandOutput) => void
|
|
1852
|
-
): void;
|
|
1853
|
-
public getFieldLevelEncryptionProfileConfig(
|
|
1854
|
-
args: GetFieldLevelEncryptionProfileConfigCommandInput,
|
|
1855
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFieldLevelEncryptionProfileConfigCommandOutput) => void),
|
|
1856
|
-
cb?: (err: any, data?: GetFieldLevelEncryptionProfileConfigCommandOutput) => void
|
|
1857
|
-
): Promise<GetFieldLevelEncryptionProfileConfigCommandOutput> | void {
|
|
1858
|
-
const command = new GetFieldLevelEncryptionProfileConfigCommand(args);
|
|
1859
|
-
if (typeof optionsOrCb === "function") {
|
|
1860
|
-
this.send(command, optionsOrCb);
|
|
1861
|
-
} else if (typeof cb === "function") {
|
|
1862
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1863
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1864
|
-
} else {
|
|
1865
|
-
return this.send(command, optionsOrCb);
|
|
1866
|
-
}
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
|
-
/**
|
|
1870
|
-
* <p>Gets the code of a CloudFront function. To get configuration information and metadata about
|
|
1871
|
-
* a function, use <code>DescribeFunction</code>.</p>
|
|
1872
|
-
* <p>To get a function’s code, you must provide the function’s name and stage. To get these
|
|
1873
|
-
* values, you can use <code>ListFunctions</code>.</p>
|
|
1874
|
-
*/
|
|
1875
|
-
public getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
|
|
1876
|
-
public getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
1877
|
-
public getFunction(
|
|
1878
|
-
args: GetFunctionCommandInput,
|
|
1879
|
-
options: __HttpHandlerOptions,
|
|
1880
|
-
cb: (err: any, data?: GetFunctionCommandOutput) => void
|
|
1881
|
-
): void;
|
|
1882
|
-
public getFunction(
|
|
1883
|
-
args: GetFunctionCommandInput,
|
|
1884
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFunctionCommandOutput) => void),
|
|
1885
|
-
cb?: (err: any, data?: GetFunctionCommandOutput) => void
|
|
1886
|
-
): Promise<GetFunctionCommandOutput> | void {
|
|
1887
|
-
const command = new GetFunctionCommand(args);
|
|
1888
|
-
if (typeof optionsOrCb === "function") {
|
|
1889
|
-
this.send(command, optionsOrCb);
|
|
1890
|
-
} else if (typeof cb === "function") {
|
|
1891
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1892
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1893
|
-
} else {
|
|
1894
|
-
return this.send(command, optionsOrCb);
|
|
1895
|
-
}
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
/**
|
|
1899
|
-
* <p>Get the information about an invalidation. </p>
|
|
1900
|
-
*/
|
|
1901
|
-
public getInvalidation(
|
|
1902
|
-
args: GetInvalidationCommandInput,
|
|
1903
|
-
options?: __HttpHandlerOptions
|
|
1904
|
-
): Promise<GetInvalidationCommandOutput>;
|
|
1905
|
-
public getInvalidation(
|
|
1906
|
-
args: GetInvalidationCommandInput,
|
|
1907
|
-
cb: (err: any, data?: GetInvalidationCommandOutput) => void
|
|
1908
|
-
): void;
|
|
1909
|
-
public getInvalidation(
|
|
1910
|
-
args: GetInvalidationCommandInput,
|
|
1911
|
-
options: __HttpHandlerOptions,
|
|
1912
|
-
cb: (err: any, data?: GetInvalidationCommandOutput) => void
|
|
1913
|
-
): void;
|
|
1914
|
-
public getInvalidation(
|
|
1915
|
-
args: GetInvalidationCommandInput,
|
|
1916
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetInvalidationCommandOutput) => void),
|
|
1917
|
-
cb?: (err: any, data?: GetInvalidationCommandOutput) => void
|
|
1918
|
-
): Promise<GetInvalidationCommandOutput> | void {
|
|
1919
|
-
const command = new GetInvalidationCommand(args);
|
|
1920
|
-
if (typeof optionsOrCb === "function") {
|
|
1921
|
-
this.send(command, optionsOrCb);
|
|
1922
|
-
} else if (typeof cb === "function") {
|
|
1923
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1924
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1925
|
-
} else {
|
|
1926
|
-
return this.send(command, optionsOrCb);
|
|
1927
|
-
}
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
|
-
/**
|
|
1931
|
-
* <p>Gets a key group, including the date and time when the key group was last modified.</p>
|
|
1932
|
-
* <p>To get a key group, you must provide the key group’s identifier. If the key group is
|
|
1933
|
-
* referenced in a distribution’s cache behavior, you can get the key group’s identifier
|
|
1934
|
-
* using <code>ListDistributions</code> or <code>GetDistribution</code>. If the key group
|
|
1935
|
-
* is not referenced in a cache behavior, you can get the identifier using
|
|
1936
|
-
* <code>ListKeyGroups</code>.</p>
|
|
1937
|
-
*/
|
|
1938
|
-
public getKeyGroup(args: GetKeyGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyGroupCommandOutput>;
|
|
1939
|
-
public getKeyGroup(args: GetKeyGroupCommandInput, cb: (err: any, data?: GetKeyGroupCommandOutput) => void): void;
|
|
1940
|
-
public getKeyGroup(
|
|
1941
|
-
args: GetKeyGroupCommandInput,
|
|
1942
|
-
options: __HttpHandlerOptions,
|
|
1943
|
-
cb: (err: any, data?: GetKeyGroupCommandOutput) => void
|
|
1944
|
-
): void;
|
|
1945
|
-
public getKeyGroup(
|
|
1946
|
-
args: GetKeyGroupCommandInput,
|
|
1947
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetKeyGroupCommandOutput) => void),
|
|
1948
|
-
cb?: (err: any, data?: GetKeyGroupCommandOutput) => void
|
|
1949
|
-
): Promise<GetKeyGroupCommandOutput> | void {
|
|
1950
|
-
const command = new GetKeyGroupCommand(args);
|
|
1951
|
-
if (typeof optionsOrCb === "function") {
|
|
1952
|
-
this.send(command, optionsOrCb);
|
|
1953
|
-
} else if (typeof cb === "function") {
|
|
1954
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1955
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1956
|
-
} else {
|
|
1957
|
-
return this.send(command, optionsOrCb);
|
|
1958
|
-
}
|
|
1959
|
-
}
|
|
1960
|
-
|
|
1961
|
-
/**
|
|
1962
|
-
* <p>Gets a key group configuration.</p>
|
|
1963
|
-
* <p>To get a key group configuration, you must provide the key group’s identifier. If the
|
|
1964
|
-
* key group is referenced in a distribution’s cache behavior, you can get the key group’s
|
|
1965
|
-
* identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
|
|
1966
|
-
* key group is not referenced in a cache behavior, you can get the identifier using
|
|
1967
|
-
* <code>ListKeyGroups</code>.</p>
|
|
1968
|
-
*/
|
|
1969
|
-
public getKeyGroupConfig(
|
|
1970
|
-
args: GetKeyGroupConfigCommandInput,
|
|
1971
|
-
options?: __HttpHandlerOptions
|
|
1972
|
-
): Promise<GetKeyGroupConfigCommandOutput>;
|
|
1973
|
-
public getKeyGroupConfig(
|
|
1974
|
-
args: GetKeyGroupConfigCommandInput,
|
|
1975
|
-
cb: (err: any, data?: GetKeyGroupConfigCommandOutput) => void
|
|
1976
|
-
): void;
|
|
1977
|
-
public getKeyGroupConfig(
|
|
1978
|
-
args: GetKeyGroupConfigCommandInput,
|
|
1979
|
-
options: __HttpHandlerOptions,
|
|
1980
|
-
cb: (err: any, data?: GetKeyGroupConfigCommandOutput) => void
|
|
1981
|
-
): void;
|
|
1982
|
-
public getKeyGroupConfig(
|
|
1983
|
-
args: GetKeyGroupConfigCommandInput,
|
|
1984
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetKeyGroupConfigCommandOutput) => void),
|
|
1985
|
-
cb?: (err: any, data?: GetKeyGroupConfigCommandOutput) => void
|
|
1986
|
-
): Promise<GetKeyGroupConfigCommandOutput> | void {
|
|
1987
|
-
const command = new GetKeyGroupConfigCommand(args);
|
|
1988
|
-
if (typeof optionsOrCb === "function") {
|
|
1989
|
-
this.send(command, optionsOrCb);
|
|
1990
|
-
} else if (typeof cb === "function") {
|
|
1991
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1992
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1993
|
-
} else {
|
|
1994
|
-
return this.send(command, optionsOrCb);
|
|
1995
|
-
}
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* <p>Gets information about whether additional CloudWatch metrics are enabled for the specified
|
|
2000
|
-
* CloudFront distribution.</p>
|
|
2001
|
-
*/
|
|
2002
|
-
public getMonitoringSubscription(
|
|
2003
|
-
args: GetMonitoringSubscriptionCommandInput,
|
|
2004
|
-
options?: __HttpHandlerOptions
|
|
2005
|
-
): Promise<GetMonitoringSubscriptionCommandOutput>;
|
|
2006
|
-
public getMonitoringSubscription(
|
|
2007
|
-
args: GetMonitoringSubscriptionCommandInput,
|
|
2008
|
-
cb: (err: any, data?: GetMonitoringSubscriptionCommandOutput) => void
|
|
2009
|
-
): void;
|
|
2010
|
-
public getMonitoringSubscription(
|
|
2011
|
-
args: GetMonitoringSubscriptionCommandInput,
|
|
2012
|
-
options: __HttpHandlerOptions,
|
|
2013
|
-
cb: (err: any, data?: GetMonitoringSubscriptionCommandOutput) => void
|
|
2014
|
-
): void;
|
|
2015
|
-
public getMonitoringSubscription(
|
|
2016
|
-
args: GetMonitoringSubscriptionCommandInput,
|
|
2017
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMonitoringSubscriptionCommandOutput) => void),
|
|
2018
|
-
cb?: (err: any, data?: GetMonitoringSubscriptionCommandOutput) => void
|
|
2019
|
-
): Promise<GetMonitoringSubscriptionCommandOutput> | void {
|
|
2020
|
-
const command = new GetMonitoringSubscriptionCommand(args);
|
|
2021
|
-
if (typeof optionsOrCb === "function") {
|
|
2022
|
-
this.send(command, optionsOrCb);
|
|
2023
|
-
} else if (typeof cb === "function") {
|
|
2024
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2025
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2026
|
-
} else {
|
|
2027
|
-
return this.send(command, optionsOrCb);
|
|
2028
|
-
}
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
/**
|
|
2032
|
-
* <p>Gets an origin request policy, including the following metadata:</p>
|
|
2033
|
-
* <ul>
|
|
2034
|
-
* <li>
|
|
2035
|
-
* <p>The policy’s identifier.</p>
|
|
2036
|
-
* </li>
|
|
2037
|
-
* <li>
|
|
2038
|
-
* <p>The date and time when the policy was last modified.</p>
|
|
2039
|
-
* </li>
|
|
2040
|
-
* </ul>
|
|
2041
|
-
* <p>To get an origin request policy, you must provide the policy’s identifier. If the origin
|
|
2042
|
-
* request policy is attached to a distribution’s cache behavior, you can get the policy’s
|
|
2043
|
-
* identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the
|
|
2044
|
-
* origin request policy is not attached to a cache behavior, you can get the identifier
|
|
2045
|
-
* using <code>ListOriginRequestPolicies</code>.</p>
|
|
2046
|
-
*/
|
|
2047
|
-
public getOriginRequestPolicy(
|
|
2048
|
-
args: GetOriginRequestPolicyCommandInput,
|
|
2049
|
-
options?: __HttpHandlerOptions
|
|
2050
|
-
): Promise<GetOriginRequestPolicyCommandOutput>;
|
|
2051
|
-
public getOriginRequestPolicy(
|
|
2052
|
-
args: GetOriginRequestPolicyCommandInput,
|
|
2053
|
-
cb: (err: any, data?: GetOriginRequestPolicyCommandOutput) => void
|
|
2054
|
-
): void;
|
|
2055
|
-
public getOriginRequestPolicy(
|
|
2056
|
-
args: GetOriginRequestPolicyCommandInput,
|
|
2057
|
-
options: __HttpHandlerOptions,
|
|
2058
|
-
cb: (err: any, data?: GetOriginRequestPolicyCommandOutput) => void
|
|
2059
|
-
): void;
|
|
2060
|
-
public getOriginRequestPolicy(
|
|
2061
|
-
args: GetOriginRequestPolicyCommandInput,
|
|
2062
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetOriginRequestPolicyCommandOutput) => void),
|
|
2063
|
-
cb?: (err: any, data?: GetOriginRequestPolicyCommandOutput) => void
|
|
2064
|
-
): Promise<GetOriginRequestPolicyCommandOutput> | void {
|
|
2065
|
-
const command = new GetOriginRequestPolicyCommand(args);
|
|
2066
|
-
if (typeof optionsOrCb === "function") {
|
|
2067
|
-
this.send(command, optionsOrCb);
|
|
2068
|
-
} else if (typeof cb === "function") {
|
|
2069
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2070
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2071
|
-
} else {
|
|
2072
|
-
return this.send(command, optionsOrCb);
|
|
2073
|
-
}
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2076
|
-
/**
|
|
2077
|
-
* <p>Gets an origin request policy configuration.</p>
|
|
2078
|
-
* <p>To get an origin request policy configuration, you must provide the policy’s identifier. If
|
|
2079
|
-
* the origin request policy is attached to a distribution’s cache behavior, you can get
|
|
2080
|
-
* the policy’s identifier using <code>ListDistributions</code> or
|
|
2081
|
-
* <code>GetDistribution</code>. If the origin request policy is not attached to a cache
|
|
2082
|
-
* behavior, you can get the identifier using
|
|
2083
|
-
* <code>ListOriginRequestPolicies</code>.</p>
|
|
2084
|
-
*/
|
|
2085
|
-
public getOriginRequestPolicyConfig(
|
|
2086
|
-
args: GetOriginRequestPolicyConfigCommandInput,
|
|
2087
|
-
options?: __HttpHandlerOptions
|
|
2088
|
-
): Promise<GetOriginRequestPolicyConfigCommandOutput>;
|
|
2089
|
-
public getOriginRequestPolicyConfig(
|
|
2090
|
-
args: GetOriginRequestPolicyConfigCommandInput,
|
|
2091
|
-
cb: (err: any, data?: GetOriginRequestPolicyConfigCommandOutput) => void
|
|
2092
|
-
): void;
|
|
2093
|
-
public getOriginRequestPolicyConfig(
|
|
2094
|
-
args: GetOriginRequestPolicyConfigCommandInput,
|
|
2095
|
-
options: __HttpHandlerOptions,
|
|
2096
|
-
cb: (err: any, data?: GetOriginRequestPolicyConfigCommandOutput) => void
|
|
2097
|
-
): void;
|
|
2098
|
-
public getOriginRequestPolicyConfig(
|
|
2099
|
-
args: GetOriginRequestPolicyConfigCommandInput,
|
|
2100
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetOriginRequestPolicyConfigCommandOutput) => void),
|
|
2101
|
-
cb?: (err: any, data?: GetOriginRequestPolicyConfigCommandOutput) => void
|
|
2102
|
-
): Promise<GetOriginRequestPolicyConfigCommandOutput> | void {
|
|
2103
|
-
const command = new GetOriginRequestPolicyConfigCommand(args);
|
|
2104
|
-
if (typeof optionsOrCb === "function") {
|
|
2105
|
-
this.send(command, optionsOrCb);
|
|
2106
|
-
} else if (typeof cb === "function") {
|
|
2107
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2109
|
-
} else {
|
|
2110
|
-
return this.send(command, optionsOrCb);
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
/**
|
|
2115
|
-
* <p>Gets a public key.</p>
|
|
2116
|
-
*/
|
|
2117
|
-
public getPublicKey(
|
|
2118
|
-
args: GetPublicKeyCommandInput,
|
|
2119
|
-
options?: __HttpHandlerOptions
|
|
2120
|
-
): Promise<GetPublicKeyCommandOutput>;
|
|
2121
|
-
public getPublicKey(args: GetPublicKeyCommandInput, cb: (err: any, data?: GetPublicKeyCommandOutput) => void): void;
|
|
2122
|
-
public getPublicKey(
|
|
2123
|
-
args: GetPublicKeyCommandInput,
|
|
2124
|
-
options: __HttpHandlerOptions,
|
|
2125
|
-
cb: (err: any, data?: GetPublicKeyCommandOutput) => void
|
|
2126
|
-
): void;
|
|
2127
|
-
public getPublicKey(
|
|
2128
|
-
args: GetPublicKeyCommandInput,
|
|
2129
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPublicKeyCommandOutput) => void),
|
|
2130
|
-
cb?: (err: any, data?: GetPublicKeyCommandOutput) => void
|
|
2131
|
-
): Promise<GetPublicKeyCommandOutput> | void {
|
|
2132
|
-
const command = new GetPublicKeyCommand(args);
|
|
2133
|
-
if (typeof optionsOrCb === "function") {
|
|
2134
|
-
this.send(command, optionsOrCb);
|
|
2135
|
-
} else if (typeof cb === "function") {
|
|
2136
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2138
|
-
} else {
|
|
2139
|
-
return this.send(command, optionsOrCb);
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
|
|
2143
|
-
/**
|
|
2144
|
-
* <p>Gets a public key configuration.</p>
|
|
2145
|
-
*/
|
|
2146
|
-
public getPublicKeyConfig(
|
|
2147
|
-
args: GetPublicKeyConfigCommandInput,
|
|
2148
|
-
options?: __HttpHandlerOptions
|
|
2149
|
-
): Promise<GetPublicKeyConfigCommandOutput>;
|
|
2150
|
-
public getPublicKeyConfig(
|
|
2151
|
-
args: GetPublicKeyConfigCommandInput,
|
|
2152
|
-
cb: (err: any, data?: GetPublicKeyConfigCommandOutput) => void
|
|
2153
|
-
): void;
|
|
2154
|
-
public getPublicKeyConfig(
|
|
2155
|
-
args: GetPublicKeyConfigCommandInput,
|
|
2156
|
-
options: __HttpHandlerOptions,
|
|
2157
|
-
cb: (err: any, data?: GetPublicKeyConfigCommandOutput) => void
|
|
2158
|
-
): void;
|
|
2159
|
-
public getPublicKeyConfig(
|
|
2160
|
-
args: GetPublicKeyConfigCommandInput,
|
|
2161
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPublicKeyConfigCommandOutput) => void),
|
|
2162
|
-
cb?: (err: any, data?: GetPublicKeyConfigCommandOutput) => void
|
|
2163
|
-
): Promise<GetPublicKeyConfigCommandOutput> | void {
|
|
2164
|
-
const command = new GetPublicKeyConfigCommand(args);
|
|
2165
|
-
if (typeof optionsOrCb === "function") {
|
|
2166
|
-
this.send(command, optionsOrCb);
|
|
2167
|
-
} else if (typeof cb === "function") {
|
|
2168
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2170
|
-
} else {
|
|
2171
|
-
return this.send(command, optionsOrCb);
|
|
2172
|
-
}
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
|
-
/**
|
|
2176
|
-
* <p>Gets a real-time log configuration.</p>
|
|
2177
|
-
* <p>To get a real-time log configuration, you can provide the configuration’s name or its Amazon
|
|
2178
|
-
* Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the
|
|
2179
|
-
* name to identify the real-time log configuration to get.</p>
|
|
2180
|
-
*/
|
|
2181
|
-
public getRealtimeLogConfig(
|
|
2182
|
-
args: GetRealtimeLogConfigCommandInput,
|
|
2183
|
-
options?: __HttpHandlerOptions
|
|
2184
|
-
): Promise<GetRealtimeLogConfigCommandOutput>;
|
|
2185
|
-
public getRealtimeLogConfig(
|
|
2186
|
-
args: GetRealtimeLogConfigCommandInput,
|
|
2187
|
-
cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void
|
|
2188
|
-
): void;
|
|
2189
|
-
public getRealtimeLogConfig(
|
|
2190
|
-
args: GetRealtimeLogConfigCommandInput,
|
|
2191
|
-
options: __HttpHandlerOptions,
|
|
2192
|
-
cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void
|
|
2193
|
-
): void;
|
|
2194
|
-
public getRealtimeLogConfig(
|
|
2195
|
-
args: GetRealtimeLogConfigCommandInput,
|
|
2196
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRealtimeLogConfigCommandOutput) => void),
|
|
2197
|
-
cb?: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void
|
|
2198
|
-
): Promise<GetRealtimeLogConfigCommandOutput> | void {
|
|
2199
|
-
const command = new GetRealtimeLogConfigCommand(args);
|
|
2200
|
-
if (typeof optionsOrCb === "function") {
|
|
2201
|
-
this.send(command, optionsOrCb);
|
|
2202
|
-
} else if (typeof cb === "function") {
|
|
2203
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2204
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2205
|
-
} else {
|
|
2206
|
-
return this.send(command, optionsOrCb);
|
|
2207
|
-
}
|
|
2208
|
-
}
|
|
2209
|
-
|
|
2210
|
-
/**
|
|
2211
|
-
* <p>Gets information about a specified RTMP distribution, including the distribution configuration.</p>
|
|
2212
|
-
*/
|
|
2213
|
-
public getStreamingDistribution(
|
|
2214
|
-
args: GetStreamingDistributionCommandInput,
|
|
2215
|
-
options?: __HttpHandlerOptions
|
|
2216
|
-
): Promise<GetStreamingDistributionCommandOutput>;
|
|
2217
|
-
public getStreamingDistribution(
|
|
2218
|
-
args: GetStreamingDistributionCommandInput,
|
|
2219
|
-
cb: (err: any, data?: GetStreamingDistributionCommandOutput) => void
|
|
2220
|
-
): void;
|
|
2221
|
-
public getStreamingDistribution(
|
|
2222
|
-
args: GetStreamingDistributionCommandInput,
|
|
2223
|
-
options: __HttpHandlerOptions,
|
|
2224
|
-
cb: (err: any, data?: GetStreamingDistributionCommandOutput) => void
|
|
2225
|
-
): void;
|
|
2226
|
-
public getStreamingDistribution(
|
|
2227
|
-
args: GetStreamingDistributionCommandInput,
|
|
2228
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetStreamingDistributionCommandOutput) => void),
|
|
2229
|
-
cb?: (err: any, data?: GetStreamingDistributionCommandOutput) => void
|
|
2230
|
-
): Promise<GetStreamingDistributionCommandOutput> | void {
|
|
2231
|
-
const command = new GetStreamingDistributionCommand(args);
|
|
2232
|
-
if (typeof optionsOrCb === "function") {
|
|
2233
|
-
this.send(command, optionsOrCb);
|
|
2234
|
-
} else if (typeof cb === "function") {
|
|
2235
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2236
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2237
|
-
} else {
|
|
2238
|
-
return this.send(command, optionsOrCb);
|
|
2239
|
-
}
|
|
2240
|
-
}
|
|
2241
|
-
|
|
2242
|
-
/**
|
|
2243
|
-
* <p>Get the configuration information about a streaming distribution. </p>
|
|
2244
|
-
*/
|
|
2245
|
-
public getStreamingDistributionConfig(
|
|
2246
|
-
args: GetStreamingDistributionConfigCommandInput,
|
|
2247
|
-
options?: __HttpHandlerOptions
|
|
2248
|
-
): Promise<GetStreamingDistributionConfigCommandOutput>;
|
|
2249
|
-
public getStreamingDistributionConfig(
|
|
2250
|
-
args: GetStreamingDistributionConfigCommandInput,
|
|
2251
|
-
cb: (err: any, data?: GetStreamingDistributionConfigCommandOutput) => void
|
|
2252
|
-
): void;
|
|
2253
|
-
public getStreamingDistributionConfig(
|
|
2254
|
-
args: GetStreamingDistributionConfigCommandInput,
|
|
2255
|
-
options: __HttpHandlerOptions,
|
|
2256
|
-
cb: (err: any, data?: GetStreamingDistributionConfigCommandOutput) => void
|
|
2257
|
-
): void;
|
|
2258
|
-
public getStreamingDistributionConfig(
|
|
2259
|
-
args: GetStreamingDistributionConfigCommandInput,
|
|
2260
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetStreamingDistributionConfigCommandOutput) => void),
|
|
2261
|
-
cb?: (err: any, data?: GetStreamingDistributionConfigCommandOutput) => void
|
|
2262
|
-
): Promise<GetStreamingDistributionConfigCommandOutput> | void {
|
|
2263
|
-
const command = new GetStreamingDistributionConfigCommand(args);
|
|
2264
|
-
if (typeof optionsOrCb === "function") {
|
|
2265
|
-
this.send(command, optionsOrCb);
|
|
2266
|
-
} else if (typeof cb === "function") {
|
|
2267
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2268
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2269
|
-
} else {
|
|
2270
|
-
return this.send(command, optionsOrCb);
|
|
2271
|
-
}
|
|
2272
|
-
}
|
|
2273
|
-
|
|
2274
|
-
/**
|
|
2275
|
-
* <p>Gets a list of cache policies.</p>
|
|
2276
|
-
* <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
|
|
2277
|
-
* only the custom policies created in your account.</p>
|
|
2278
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2279
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2280
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2281
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2282
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
2283
|
-
*/
|
|
2284
|
-
public listCachePolicies(
|
|
2285
|
-
args: ListCachePoliciesCommandInput,
|
|
2286
|
-
options?: __HttpHandlerOptions
|
|
2287
|
-
): Promise<ListCachePoliciesCommandOutput>;
|
|
2288
|
-
public listCachePolicies(
|
|
2289
|
-
args: ListCachePoliciesCommandInput,
|
|
2290
|
-
cb: (err: any, data?: ListCachePoliciesCommandOutput) => void
|
|
2291
|
-
): void;
|
|
2292
|
-
public listCachePolicies(
|
|
2293
|
-
args: ListCachePoliciesCommandInput,
|
|
2294
|
-
options: __HttpHandlerOptions,
|
|
2295
|
-
cb: (err: any, data?: ListCachePoliciesCommandOutput) => void
|
|
2296
|
-
): void;
|
|
2297
|
-
public listCachePolicies(
|
|
2298
|
-
args: ListCachePoliciesCommandInput,
|
|
2299
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCachePoliciesCommandOutput) => void),
|
|
2300
|
-
cb?: (err: any, data?: ListCachePoliciesCommandOutput) => void
|
|
2301
|
-
): Promise<ListCachePoliciesCommandOutput> | void {
|
|
2302
|
-
const command = new ListCachePoliciesCommand(args);
|
|
2303
|
-
if (typeof optionsOrCb === "function") {
|
|
2304
|
-
this.send(command, optionsOrCb);
|
|
2305
|
-
} else if (typeof cb === "function") {
|
|
2306
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2307
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2308
|
-
} else {
|
|
2309
|
-
return this.send(command, optionsOrCb);
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
/**
|
|
2314
|
-
* <p>Lists origin access identities.</p>
|
|
2315
|
-
*/
|
|
2316
|
-
public listCloudFrontOriginAccessIdentities(
|
|
2317
|
-
args: ListCloudFrontOriginAccessIdentitiesCommandInput,
|
|
2318
|
-
options?: __HttpHandlerOptions
|
|
2319
|
-
): Promise<ListCloudFrontOriginAccessIdentitiesCommandOutput>;
|
|
2320
|
-
public listCloudFrontOriginAccessIdentities(
|
|
2321
|
-
args: ListCloudFrontOriginAccessIdentitiesCommandInput,
|
|
2322
|
-
cb: (err: any, data?: ListCloudFrontOriginAccessIdentitiesCommandOutput) => void
|
|
2323
|
-
): void;
|
|
2324
|
-
public listCloudFrontOriginAccessIdentities(
|
|
2325
|
-
args: ListCloudFrontOriginAccessIdentitiesCommandInput,
|
|
2326
|
-
options: __HttpHandlerOptions,
|
|
2327
|
-
cb: (err: any, data?: ListCloudFrontOriginAccessIdentitiesCommandOutput) => void
|
|
2328
|
-
): void;
|
|
2329
|
-
public listCloudFrontOriginAccessIdentities(
|
|
2330
|
-
args: ListCloudFrontOriginAccessIdentitiesCommandInput,
|
|
2331
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCloudFrontOriginAccessIdentitiesCommandOutput) => void),
|
|
2332
|
-
cb?: (err: any, data?: ListCloudFrontOriginAccessIdentitiesCommandOutput) => void
|
|
2333
|
-
): Promise<ListCloudFrontOriginAccessIdentitiesCommandOutput> | void {
|
|
2334
|
-
const command = new ListCloudFrontOriginAccessIdentitiesCommand(args);
|
|
2335
|
-
if (typeof optionsOrCb === "function") {
|
|
2336
|
-
this.send(command, optionsOrCb);
|
|
2337
|
-
} else if (typeof cb === "function") {
|
|
2338
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2339
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2340
|
-
} else {
|
|
2341
|
-
return this.send(command, optionsOrCb);
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
|
|
2345
|
-
/**
|
|
2346
|
-
* <p>Gets a list of aliases (also called CNAMEs or alternate domain names) that conflict or
|
|
2347
|
-
* overlap with the provided alias, and the associated CloudFront distributions and Amazon Web Services
|
|
2348
|
-
* accounts for each conflicting alias. In the returned list, the distribution and account
|
|
2349
|
-
* IDs are partially hidden, which allows you to identify the distributions and accounts
|
|
2350
|
-
* that you own, but helps to protect the information of ones that you don’t own.</p>
|
|
2351
|
-
* <p>Use this operation to find aliases that are in use in CloudFront that conflict or overlap
|
|
2352
|
-
* with the provided alias. For example, if you provide <code>www.example.com</code> as
|
|
2353
|
-
* input, the returned list can include <code>www.example.com</code> and the overlapping
|
|
2354
|
-
* wildcard alternate domain name (<code>*.example.com</code>), if they exist. If you
|
|
2355
|
-
* provide <code>*.example.com</code> as input, the returned list can include
|
|
2356
|
-
* <code>*.example.com</code> and any alternate domain names covered by that wildcard (for
|
|
2357
|
-
* example, <code>www.example.com</code>, <code>test.example.com</code>,
|
|
2358
|
-
* <code>dev.example.com</code>, and so on), if they exist.</p>
|
|
2359
|
-
* <p>To list conflicting aliases, you provide the alias to search and the ID of a distribution in
|
|
2360
|
-
* your account that has an attached SSL/TLS certificate that includes the provided alias.
|
|
2361
|
-
* For more information, including how to set up the distribution and certificate, see
|
|
2362
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move">Moving an alternate domain name to a different distribution</a>
|
|
2363
|
-
* in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
2364
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2365
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2366
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2367
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2368
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
2369
|
-
*/
|
|
2370
|
-
public listConflictingAliases(
|
|
2371
|
-
args: ListConflictingAliasesCommandInput,
|
|
2372
|
-
options?: __HttpHandlerOptions
|
|
2373
|
-
): Promise<ListConflictingAliasesCommandOutput>;
|
|
2374
|
-
public listConflictingAliases(
|
|
2375
|
-
args: ListConflictingAliasesCommandInput,
|
|
2376
|
-
cb: (err: any, data?: ListConflictingAliasesCommandOutput) => void
|
|
2377
|
-
): void;
|
|
2378
|
-
public listConflictingAliases(
|
|
2379
|
-
args: ListConflictingAliasesCommandInput,
|
|
2380
|
-
options: __HttpHandlerOptions,
|
|
2381
|
-
cb: (err: any, data?: ListConflictingAliasesCommandOutput) => void
|
|
2382
|
-
): void;
|
|
2383
|
-
public listConflictingAliases(
|
|
2384
|
-
args: ListConflictingAliasesCommandInput,
|
|
2385
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListConflictingAliasesCommandOutput) => void),
|
|
2386
|
-
cb?: (err: any, data?: ListConflictingAliasesCommandOutput) => void
|
|
2387
|
-
): Promise<ListConflictingAliasesCommandOutput> | void {
|
|
2388
|
-
const command = new ListConflictingAliasesCommand(args);
|
|
2389
|
-
if (typeof optionsOrCb === "function") {
|
|
2390
|
-
this.send(command, optionsOrCb);
|
|
2391
|
-
} else if (typeof cb === "function") {
|
|
2392
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2393
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2394
|
-
} else {
|
|
2395
|
-
return this.send(command, optionsOrCb);
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2398
|
-
|
|
2399
|
-
/**
|
|
2400
|
-
* <p>List CloudFront distributions.</p>
|
|
2401
|
-
*/
|
|
2402
|
-
public listDistributions(
|
|
2403
|
-
args: ListDistributionsCommandInput,
|
|
2404
|
-
options?: __HttpHandlerOptions
|
|
2405
|
-
): Promise<ListDistributionsCommandOutput>;
|
|
2406
|
-
public listDistributions(
|
|
2407
|
-
args: ListDistributionsCommandInput,
|
|
2408
|
-
cb: (err: any, data?: ListDistributionsCommandOutput) => void
|
|
2409
|
-
): void;
|
|
2410
|
-
public listDistributions(
|
|
2411
|
-
args: ListDistributionsCommandInput,
|
|
2412
|
-
options: __HttpHandlerOptions,
|
|
2413
|
-
cb: (err: any, data?: ListDistributionsCommandOutput) => void
|
|
2414
|
-
): void;
|
|
2415
|
-
public listDistributions(
|
|
2416
|
-
args: ListDistributionsCommandInput,
|
|
2417
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDistributionsCommandOutput) => void),
|
|
2418
|
-
cb?: (err: any, data?: ListDistributionsCommandOutput) => void
|
|
2419
|
-
): Promise<ListDistributionsCommandOutput> | void {
|
|
2420
|
-
const command = new ListDistributionsCommand(args);
|
|
2421
|
-
if (typeof optionsOrCb === "function") {
|
|
2422
|
-
this.send(command, optionsOrCb);
|
|
2423
|
-
} else if (typeof cb === "function") {
|
|
2424
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2425
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2426
|
-
} else {
|
|
2427
|
-
return this.send(command, optionsOrCb);
|
|
2428
|
-
}
|
|
2429
|
-
}
|
|
2430
|
-
|
|
2431
|
-
/**
|
|
2432
|
-
* <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
|
|
2433
|
-
* associated with the specified cache policy.</p>
|
|
2434
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2435
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2436
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2437
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2438
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
2439
|
-
*/
|
|
2440
|
-
public listDistributionsByCachePolicyId(
|
|
2441
|
-
args: ListDistributionsByCachePolicyIdCommandInput,
|
|
2442
|
-
options?: __HttpHandlerOptions
|
|
2443
|
-
): Promise<ListDistributionsByCachePolicyIdCommandOutput>;
|
|
2444
|
-
public listDistributionsByCachePolicyId(
|
|
2445
|
-
args: ListDistributionsByCachePolicyIdCommandInput,
|
|
2446
|
-
cb: (err: any, data?: ListDistributionsByCachePolicyIdCommandOutput) => void
|
|
2447
|
-
): void;
|
|
2448
|
-
public listDistributionsByCachePolicyId(
|
|
2449
|
-
args: ListDistributionsByCachePolicyIdCommandInput,
|
|
2450
|
-
options: __HttpHandlerOptions,
|
|
2451
|
-
cb: (err: any, data?: ListDistributionsByCachePolicyIdCommandOutput) => void
|
|
2452
|
-
): void;
|
|
2453
|
-
public listDistributionsByCachePolicyId(
|
|
2454
|
-
args: ListDistributionsByCachePolicyIdCommandInput,
|
|
2455
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDistributionsByCachePolicyIdCommandOutput) => void),
|
|
2456
|
-
cb?: (err: any, data?: ListDistributionsByCachePolicyIdCommandOutput) => void
|
|
2457
|
-
): Promise<ListDistributionsByCachePolicyIdCommandOutput> | void {
|
|
2458
|
-
const command = new ListDistributionsByCachePolicyIdCommand(args);
|
|
2459
|
-
if (typeof optionsOrCb === "function") {
|
|
2460
|
-
this.send(command, optionsOrCb);
|
|
2461
|
-
} else if (typeof cb === "function") {
|
|
2462
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2463
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2464
|
-
} else {
|
|
2465
|
-
return this.send(command, optionsOrCb);
|
|
2466
|
-
}
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
|
-
/**
|
|
2470
|
-
* <p>Gets a list of distribution IDs for distributions that have a cache behavior that references
|
|
2471
|
-
* the specified key group.</p>
|
|
2472
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2473
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2474
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2475
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2476
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
2477
|
-
*/
|
|
2478
|
-
public listDistributionsByKeyGroup(
|
|
2479
|
-
args: ListDistributionsByKeyGroupCommandInput,
|
|
2480
|
-
options?: __HttpHandlerOptions
|
|
2481
|
-
): Promise<ListDistributionsByKeyGroupCommandOutput>;
|
|
2482
|
-
public listDistributionsByKeyGroup(
|
|
2483
|
-
args: ListDistributionsByKeyGroupCommandInput,
|
|
2484
|
-
cb: (err: any, data?: ListDistributionsByKeyGroupCommandOutput) => void
|
|
2485
|
-
): void;
|
|
2486
|
-
public listDistributionsByKeyGroup(
|
|
2487
|
-
args: ListDistributionsByKeyGroupCommandInput,
|
|
2488
|
-
options: __HttpHandlerOptions,
|
|
2489
|
-
cb: (err: any, data?: ListDistributionsByKeyGroupCommandOutput) => void
|
|
2490
|
-
): void;
|
|
2491
|
-
public listDistributionsByKeyGroup(
|
|
2492
|
-
args: ListDistributionsByKeyGroupCommandInput,
|
|
2493
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDistributionsByKeyGroupCommandOutput) => void),
|
|
2494
|
-
cb?: (err: any, data?: ListDistributionsByKeyGroupCommandOutput) => void
|
|
2495
|
-
): Promise<ListDistributionsByKeyGroupCommandOutput> | void {
|
|
2496
|
-
const command = new ListDistributionsByKeyGroupCommand(args);
|
|
2497
|
-
if (typeof optionsOrCb === "function") {
|
|
2498
|
-
this.send(command, optionsOrCb);
|
|
2499
|
-
} else if (typeof cb === "function") {
|
|
2500
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2501
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2502
|
-
} else {
|
|
2503
|
-
return this.send(command, optionsOrCb);
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
|
-
/**
|
|
2508
|
-
* <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
|
|
2509
|
-
* associated with the specified origin request policy.</p>
|
|
2510
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2511
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2512
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2513
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2514
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
2515
|
-
*/
|
|
2516
|
-
public listDistributionsByOriginRequestPolicyId(
|
|
2517
|
-
args: ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
2518
|
-
options?: __HttpHandlerOptions
|
|
2519
|
-
): Promise<ListDistributionsByOriginRequestPolicyIdCommandOutput>;
|
|
2520
|
-
public listDistributionsByOriginRequestPolicyId(
|
|
2521
|
-
args: ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
2522
|
-
cb: (err: any, data?: ListDistributionsByOriginRequestPolicyIdCommandOutput) => void
|
|
2523
|
-
): void;
|
|
2524
|
-
public listDistributionsByOriginRequestPolicyId(
|
|
2525
|
-
args: ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
2526
|
-
options: __HttpHandlerOptions,
|
|
2527
|
-
cb: (err: any, data?: ListDistributionsByOriginRequestPolicyIdCommandOutput) => void
|
|
2528
|
-
): void;
|
|
2529
|
-
public listDistributionsByOriginRequestPolicyId(
|
|
2530
|
-
args: ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
2531
|
-
optionsOrCb?:
|
|
2532
|
-
| __HttpHandlerOptions
|
|
2533
|
-
| ((err: any, data?: ListDistributionsByOriginRequestPolicyIdCommandOutput) => void),
|
|
2534
|
-
cb?: (err: any, data?: ListDistributionsByOriginRequestPolicyIdCommandOutput) => void
|
|
2535
|
-
): Promise<ListDistributionsByOriginRequestPolicyIdCommandOutput> | void {
|
|
2536
|
-
const command = new ListDistributionsByOriginRequestPolicyIdCommand(args);
|
|
2537
|
-
if (typeof optionsOrCb === "function") {
|
|
2538
|
-
this.send(command, optionsOrCb);
|
|
2539
|
-
} else if (typeof cb === "function") {
|
|
2540
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2541
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2542
|
-
} else {
|
|
2543
|
-
return this.send(command, optionsOrCb);
|
|
2544
|
-
}
|
|
2545
|
-
}
|
|
2546
|
-
|
|
2547
|
-
/**
|
|
2548
|
-
* <p>Gets a list of distributions that have a cache behavior that’s associated with the specified
|
|
2549
|
-
* real-time log configuration.</p>
|
|
2550
|
-
* <p>You can specify the real-time log configuration by its name or its Amazon Resource Name
|
|
2551
|
-
* (ARN). You must provide at least one. If you provide both, CloudFront uses the name to
|
|
2552
|
-
* identify the real-time log configuration to list distributions for.</p>
|
|
2553
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2554
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2555
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2556
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2557
|
-
* response as the <code>Marker</code> value in the subsequent request. </p>
|
|
2558
|
-
*/
|
|
2559
|
-
public listDistributionsByRealtimeLogConfig(
|
|
2560
|
-
args: ListDistributionsByRealtimeLogConfigCommandInput,
|
|
2561
|
-
options?: __HttpHandlerOptions
|
|
2562
|
-
): Promise<ListDistributionsByRealtimeLogConfigCommandOutput>;
|
|
2563
|
-
public listDistributionsByRealtimeLogConfig(
|
|
2564
|
-
args: ListDistributionsByRealtimeLogConfigCommandInput,
|
|
2565
|
-
cb: (err: any, data?: ListDistributionsByRealtimeLogConfigCommandOutput) => void
|
|
2566
|
-
): void;
|
|
2567
|
-
public listDistributionsByRealtimeLogConfig(
|
|
2568
|
-
args: ListDistributionsByRealtimeLogConfigCommandInput,
|
|
2569
|
-
options: __HttpHandlerOptions,
|
|
2570
|
-
cb: (err: any, data?: ListDistributionsByRealtimeLogConfigCommandOutput) => void
|
|
2571
|
-
): void;
|
|
2572
|
-
public listDistributionsByRealtimeLogConfig(
|
|
2573
|
-
args: ListDistributionsByRealtimeLogConfigCommandInput,
|
|
2574
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDistributionsByRealtimeLogConfigCommandOutput) => void),
|
|
2575
|
-
cb?: (err: any, data?: ListDistributionsByRealtimeLogConfigCommandOutput) => void
|
|
2576
|
-
): Promise<ListDistributionsByRealtimeLogConfigCommandOutput> | void {
|
|
2577
|
-
const command = new ListDistributionsByRealtimeLogConfigCommand(args);
|
|
2578
|
-
if (typeof optionsOrCb === "function") {
|
|
2579
|
-
this.send(command, optionsOrCb);
|
|
2580
|
-
} else if (typeof cb === "function") {
|
|
2581
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2582
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2583
|
-
} else {
|
|
2584
|
-
return this.send(command, optionsOrCb);
|
|
2585
|
-
}
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
/**
|
|
2589
|
-
* <p>List the distributions that are associated with a specified WAF web ACL.</p>
|
|
2590
|
-
*/
|
|
2591
|
-
public listDistributionsByWebACLId(
|
|
2592
|
-
args: ListDistributionsByWebACLIdCommandInput,
|
|
2593
|
-
options?: __HttpHandlerOptions
|
|
2594
|
-
): Promise<ListDistributionsByWebACLIdCommandOutput>;
|
|
2595
|
-
public listDistributionsByWebACLId(
|
|
2596
|
-
args: ListDistributionsByWebACLIdCommandInput,
|
|
2597
|
-
cb: (err: any, data?: ListDistributionsByWebACLIdCommandOutput) => void
|
|
2598
|
-
): void;
|
|
2599
|
-
public listDistributionsByWebACLId(
|
|
2600
|
-
args: ListDistributionsByWebACLIdCommandInput,
|
|
2601
|
-
options: __HttpHandlerOptions,
|
|
2602
|
-
cb: (err: any, data?: ListDistributionsByWebACLIdCommandOutput) => void
|
|
2603
|
-
): void;
|
|
2604
|
-
public listDistributionsByWebACLId(
|
|
2605
|
-
args: ListDistributionsByWebACLIdCommandInput,
|
|
2606
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDistributionsByWebACLIdCommandOutput) => void),
|
|
2607
|
-
cb?: (err: any, data?: ListDistributionsByWebACLIdCommandOutput) => void
|
|
2608
|
-
): Promise<ListDistributionsByWebACLIdCommandOutput> | void {
|
|
2609
|
-
const command = new ListDistributionsByWebACLIdCommand(args);
|
|
2610
|
-
if (typeof optionsOrCb === "function") {
|
|
2611
|
-
this.send(command, optionsOrCb);
|
|
2612
|
-
} else if (typeof cb === "function") {
|
|
2613
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2614
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2615
|
-
} else {
|
|
2616
|
-
return this.send(command, optionsOrCb);
|
|
2617
|
-
}
|
|
2618
|
-
}
|
|
2619
|
-
|
|
2620
|
-
/**
|
|
2621
|
-
* <p>List all field-level encryption configurations that have been created in CloudFront for this account.</p>
|
|
2622
|
-
*/
|
|
2623
|
-
public listFieldLevelEncryptionConfigs(
|
|
2624
|
-
args: ListFieldLevelEncryptionConfigsCommandInput,
|
|
2625
|
-
options?: __HttpHandlerOptions
|
|
2626
|
-
): Promise<ListFieldLevelEncryptionConfigsCommandOutput>;
|
|
2627
|
-
public listFieldLevelEncryptionConfigs(
|
|
2628
|
-
args: ListFieldLevelEncryptionConfigsCommandInput,
|
|
2629
|
-
cb: (err: any, data?: ListFieldLevelEncryptionConfigsCommandOutput) => void
|
|
2630
|
-
): void;
|
|
2631
|
-
public listFieldLevelEncryptionConfigs(
|
|
2632
|
-
args: ListFieldLevelEncryptionConfigsCommandInput,
|
|
2633
|
-
options: __HttpHandlerOptions,
|
|
2634
|
-
cb: (err: any, data?: ListFieldLevelEncryptionConfigsCommandOutput) => void
|
|
2635
|
-
): void;
|
|
2636
|
-
public listFieldLevelEncryptionConfigs(
|
|
2637
|
-
args: ListFieldLevelEncryptionConfigsCommandInput,
|
|
2638
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFieldLevelEncryptionConfigsCommandOutput) => void),
|
|
2639
|
-
cb?: (err: any, data?: ListFieldLevelEncryptionConfigsCommandOutput) => void
|
|
2640
|
-
): Promise<ListFieldLevelEncryptionConfigsCommandOutput> | void {
|
|
2641
|
-
const command = new ListFieldLevelEncryptionConfigsCommand(args);
|
|
2642
|
-
if (typeof optionsOrCb === "function") {
|
|
2643
|
-
this.send(command, optionsOrCb);
|
|
2644
|
-
} else if (typeof cb === "function") {
|
|
2645
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2646
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2647
|
-
} else {
|
|
2648
|
-
return this.send(command, optionsOrCb);
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
|
|
2652
|
-
/**
|
|
2653
|
-
* <p>Request a list of field-level encryption profiles that have been created in CloudFront for this account.</p>
|
|
2654
|
-
*/
|
|
2655
|
-
public listFieldLevelEncryptionProfiles(
|
|
2656
|
-
args: ListFieldLevelEncryptionProfilesCommandInput,
|
|
2657
|
-
options?: __HttpHandlerOptions
|
|
2658
|
-
): Promise<ListFieldLevelEncryptionProfilesCommandOutput>;
|
|
2659
|
-
public listFieldLevelEncryptionProfiles(
|
|
2660
|
-
args: ListFieldLevelEncryptionProfilesCommandInput,
|
|
2661
|
-
cb: (err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void
|
|
2662
|
-
): void;
|
|
2663
|
-
public listFieldLevelEncryptionProfiles(
|
|
2664
|
-
args: ListFieldLevelEncryptionProfilesCommandInput,
|
|
2665
|
-
options: __HttpHandlerOptions,
|
|
2666
|
-
cb: (err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void
|
|
2667
|
-
): void;
|
|
2668
|
-
public listFieldLevelEncryptionProfiles(
|
|
2669
|
-
args: ListFieldLevelEncryptionProfilesCommandInput,
|
|
2670
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void),
|
|
2671
|
-
cb?: (err: any, data?: ListFieldLevelEncryptionProfilesCommandOutput) => void
|
|
2672
|
-
): Promise<ListFieldLevelEncryptionProfilesCommandOutput> | void {
|
|
2673
|
-
const command = new ListFieldLevelEncryptionProfilesCommand(args);
|
|
2674
|
-
if (typeof optionsOrCb === "function") {
|
|
2675
|
-
this.send(command, optionsOrCb);
|
|
2676
|
-
} else if (typeof cb === "function") {
|
|
2677
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2678
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2679
|
-
} else {
|
|
2680
|
-
return this.send(command, optionsOrCb);
|
|
2681
|
-
}
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
/**
|
|
2685
|
-
* <p>Gets a list of all CloudFront functions in your account.</p>
|
|
2686
|
-
* <p>You can optionally apply a filter to return only the functions that are in the
|
|
2687
|
-
* specified stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
|
|
2688
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2689
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2690
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2691
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2692
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
2693
|
-
*/
|
|
2694
|
-
public listFunctions(
|
|
2695
|
-
args: ListFunctionsCommandInput,
|
|
2696
|
-
options?: __HttpHandlerOptions
|
|
2697
|
-
): Promise<ListFunctionsCommandOutput>;
|
|
2698
|
-
public listFunctions(
|
|
2699
|
-
args: ListFunctionsCommandInput,
|
|
2700
|
-
cb: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
2701
|
-
): void;
|
|
2702
|
-
public listFunctions(
|
|
2703
|
-
args: ListFunctionsCommandInput,
|
|
2704
|
-
options: __HttpHandlerOptions,
|
|
2705
|
-
cb: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
2706
|
-
): void;
|
|
2707
|
-
public listFunctions(
|
|
2708
|
-
args: ListFunctionsCommandInput,
|
|
2709
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFunctionsCommandOutput) => void),
|
|
2710
|
-
cb?: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
2711
|
-
): Promise<ListFunctionsCommandOutput> | void {
|
|
2712
|
-
const command = new ListFunctionsCommand(args);
|
|
2713
|
-
if (typeof optionsOrCb === "function") {
|
|
2714
|
-
this.send(command, optionsOrCb);
|
|
2715
|
-
} else if (typeof cb === "function") {
|
|
2716
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2717
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2718
|
-
} else {
|
|
2719
|
-
return this.send(command, optionsOrCb);
|
|
2720
|
-
}
|
|
2721
|
-
}
|
|
2722
|
-
|
|
2723
|
-
/**
|
|
2724
|
-
* <p>Lists invalidation batches. </p>
|
|
2725
|
-
*/
|
|
2726
|
-
public listInvalidations(
|
|
2727
|
-
args: ListInvalidationsCommandInput,
|
|
2728
|
-
options?: __HttpHandlerOptions
|
|
2729
|
-
): Promise<ListInvalidationsCommandOutput>;
|
|
2730
|
-
public listInvalidations(
|
|
2731
|
-
args: ListInvalidationsCommandInput,
|
|
2732
|
-
cb: (err: any, data?: ListInvalidationsCommandOutput) => void
|
|
2733
|
-
): void;
|
|
2734
|
-
public listInvalidations(
|
|
2735
|
-
args: ListInvalidationsCommandInput,
|
|
2736
|
-
options: __HttpHandlerOptions,
|
|
2737
|
-
cb: (err: any, data?: ListInvalidationsCommandOutput) => void
|
|
2738
|
-
): void;
|
|
2739
|
-
public listInvalidations(
|
|
2740
|
-
args: ListInvalidationsCommandInput,
|
|
2741
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListInvalidationsCommandOutput) => void),
|
|
2742
|
-
cb?: (err: any, data?: ListInvalidationsCommandOutput) => void
|
|
2743
|
-
): Promise<ListInvalidationsCommandOutput> | void {
|
|
2744
|
-
const command = new ListInvalidationsCommand(args);
|
|
2745
|
-
if (typeof optionsOrCb === "function") {
|
|
2746
|
-
this.send(command, optionsOrCb);
|
|
2747
|
-
} else if (typeof cb === "function") {
|
|
2748
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2749
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2750
|
-
} else {
|
|
2751
|
-
return this.send(command, optionsOrCb);
|
|
2752
|
-
}
|
|
2753
|
-
}
|
|
2754
|
-
|
|
2755
|
-
/**
|
|
2756
|
-
* <p>Gets a list of key groups.</p>
|
|
2757
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2758
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2759
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2760
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2761
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
2762
|
-
*/
|
|
2763
|
-
public listKeyGroups(
|
|
2764
|
-
args: ListKeyGroupsCommandInput,
|
|
2765
|
-
options?: __HttpHandlerOptions
|
|
2766
|
-
): Promise<ListKeyGroupsCommandOutput>;
|
|
2767
|
-
public listKeyGroups(
|
|
2768
|
-
args: ListKeyGroupsCommandInput,
|
|
2769
|
-
cb: (err: any, data?: ListKeyGroupsCommandOutput) => void
|
|
2770
|
-
): void;
|
|
2771
|
-
public listKeyGroups(
|
|
2772
|
-
args: ListKeyGroupsCommandInput,
|
|
2773
|
-
options: __HttpHandlerOptions,
|
|
2774
|
-
cb: (err: any, data?: ListKeyGroupsCommandOutput) => void
|
|
2775
|
-
): void;
|
|
2776
|
-
public listKeyGroups(
|
|
2777
|
-
args: ListKeyGroupsCommandInput,
|
|
2778
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListKeyGroupsCommandOutput) => void),
|
|
2779
|
-
cb?: (err: any, data?: ListKeyGroupsCommandOutput) => void
|
|
2780
|
-
): Promise<ListKeyGroupsCommandOutput> | void {
|
|
2781
|
-
const command = new ListKeyGroupsCommand(args);
|
|
2782
|
-
if (typeof optionsOrCb === "function") {
|
|
2783
|
-
this.send(command, optionsOrCb);
|
|
2784
|
-
} else if (typeof cb === "function") {
|
|
2785
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2786
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2787
|
-
} else {
|
|
2788
|
-
return this.send(command, optionsOrCb);
|
|
2789
|
-
}
|
|
2790
|
-
}
|
|
2791
|
-
|
|
2792
|
-
/**
|
|
2793
|
-
* <p>Gets a list of origin request policies.</p>
|
|
2794
|
-
* <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
|
|
2795
|
-
* only the custom policies created in your account.</p>
|
|
2796
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2797
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2798
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2799
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2800
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
2801
|
-
*/
|
|
2802
|
-
public listOriginRequestPolicies(
|
|
2803
|
-
args: ListOriginRequestPoliciesCommandInput,
|
|
2804
|
-
options?: __HttpHandlerOptions
|
|
2805
|
-
): Promise<ListOriginRequestPoliciesCommandOutput>;
|
|
2806
|
-
public listOriginRequestPolicies(
|
|
2807
|
-
args: ListOriginRequestPoliciesCommandInput,
|
|
2808
|
-
cb: (err: any, data?: ListOriginRequestPoliciesCommandOutput) => void
|
|
2809
|
-
): void;
|
|
2810
|
-
public listOriginRequestPolicies(
|
|
2811
|
-
args: ListOriginRequestPoliciesCommandInput,
|
|
2812
|
-
options: __HttpHandlerOptions,
|
|
2813
|
-
cb: (err: any, data?: ListOriginRequestPoliciesCommandOutput) => void
|
|
2814
|
-
): void;
|
|
2815
|
-
public listOriginRequestPolicies(
|
|
2816
|
-
args: ListOriginRequestPoliciesCommandInput,
|
|
2817
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListOriginRequestPoliciesCommandOutput) => void),
|
|
2818
|
-
cb?: (err: any, data?: ListOriginRequestPoliciesCommandOutput) => void
|
|
2819
|
-
): Promise<ListOriginRequestPoliciesCommandOutput> | void {
|
|
2820
|
-
const command = new ListOriginRequestPoliciesCommand(args);
|
|
2821
|
-
if (typeof optionsOrCb === "function") {
|
|
2822
|
-
this.send(command, optionsOrCb);
|
|
2823
|
-
} else if (typeof cb === "function") {
|
|
2824
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2825
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2826
|
-
} else {
|
|
2827
|
-
return this.send(command, optionsOrCb);
|
|
2828
|
-
}
|
|
2829
|
-
}
|
|
2830
|
-
|
|
2831
|
-
/**
|
|
2832
|
-
* <p>List all public keys that have been added to CloudFront for this account.</p>
|
|
2833
|
-
*/
|
|
2834
|
-
public listPublicKeys(
|
|
2835
|
-
args: ListPublicKeysCommandInput,
|
|
2836
|
-
options?: __HttpHandlerOptions
|
|
2837
|
-
): Promise<ListPublicKeysCommandOutput>;
|
|
2838
|
-
public listPublicKeys(
|
|
2839
|
-
args: ListPublicKeysCommandInput,
|
|
2840
|
-
cb: (err: any, data?: ListPublicKeysCommandOutput) => void
|
|
2841
|
-
): void;
|
|
2842
|
-
public listPublicKeys(
|
|
2843
|
-
args: ListPublicKeysCommandInput,
|
|
2844
|
-
options: __HttpHandlerOptions,
|
|
2845
|
-
cb: (err: any, data?: ListPublicKeysCommandOutput) => void
|
|
2846
|
-
): void;
|
|
2847
|
-
public listPublicKeys(
|
|
2848
|
-
args: ListPublicKeysCommandInput,
|
|
2849
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPublicKeysCommandOutput) => void),
|
|
2850
|
-
cb?: (err: any, data?: ListPublicKeysCommandOutput) => void
|
|
2851
|
-
): Promise<ListPublicKeysCommandOutput> | void {
|
|
2852
|
-
const command = new ListPublicKeysCommand(args);
|
|
2853
|
-
if (typeof optionsOrCb === "function") {
|
|
2854
|
-
this.send(command, optionsOrCb);
|
|
2855
|
-
} else if (typeof cb === "function") {
|
|
2856
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2857
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2858
|
-
} else {
|
|
2859
|
-
return this.send(command, optionsOrCb);
|
|
2860
|
-
}
|
|
2861
|
-
}
|
|
2862
|
-
|
|
2863
|
-
/**
|
|
2864
|
-
* <p>Gets a list of real-time log configurations.</p>
|
|
2865
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
2866
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
2867
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
2868
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
2869
|
-
* response as the <code>Marker</code> value in the subsequent request. </p>
|
|
2870
|
-
*/
|
|
2871
|
-
public listRealtimeLogConfigs(
|
|
2872
|
-
args: ListRealtimeLogConfigsCommandInput,
|
|
2873
|
-
options?: __HttpHandlerOptions
|
|
2874
|
-
): Promise<ListRealtimeLogConfigsCommandOutput>;
|
|
2875
|
-
public listRealtimeLogConfigs(
|
|
2876
|
-
args: ListRealtimeLogConfigsCommandInput,
|
|
2877
|
-
cb: (err: any, data?: ListRealtimeLogConfigsCommandOutput) => void
|
|
2878
|
-
): void;
|
|
2879
|
-
public listRealtimeLogConfigs(
|
|
2880
|
-
args: ListRealtimeLogConfigsCommandInput,
|
|
2881
|
-
options: __HttpHandlerOptions,
|
|
2882
|
-
cb: (err: any, data?: ListRealtimeLogConfigsCommandOutput) => void
|
|
2883
|
-
): void;
|
|
2884
|
-
public listRealtimeLogConfigs(
|
|
2885
|
-
args: ListRealtimeLogConfigsCommandInput,
|
|
2886
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRealtimeLogConfigsCommandOutput) => void),
|
|
2887
|
-
cb?: (err: any, data?: ListRealtimeLogConfigsCommandOutput) => void
|
|
2888
|
-
): Promise<ListRealtimeLogConfigsCommandOutput> | void {
|
|
2889
|
-
const command = new ListRealtimeLogConfigsCommand(args);
|
|
2890
|
-
if (typeof optionsOrCb === "function") {
|
|
2891
|
-
this.send(command, optionsOrCb);
|
|
2892
|
-
} else if (typeof cb === "function") {
|
|
2893
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2894
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2895
|
-
} else {
|
|
2896
|
-
return this.send(command, optionsOrCb);
|
|
2897
|
-
}
|
|
2898
|
-
}
|
|
2899
|
-
|
|
2900
|
-
/**
|
|
2901
|
-
* <p>List streaming distributions. </p>
|
|
2902
|
-
*/
|
|
2903
|
-
public listStreamingDistributions(
|
|
2904
|
-
args: ListStreamingDistributionsCommandInput,
|
|
2905
|
-
options?: __HttpHandlerOptions
|
|
2906
|
-
): Promise<ListStreamingDistributionsCommandOutput>;
|
|
2907
|
-
public listStreamingDistributions(
|
|
2908
|
-
args: ListStreamingDistributionsCommandInput,
|
|
2909
|
-
cb: (err: any, data?: ListStreamingDistributionsCommandOutput) => void
|
|
2910
|
-
): void;
|
|
2911
|
-
public listStreamingDistributions(
|
|
2912
|
-
args: ListStreamingDistributionsCommandInput,
|
|
2913
|
-
options: __HttpHandlerOptions,
|
|
2914
|
-
cb: (err: any, data?: ListStreamingDistributionsCommandOutput) => void
|
|
2915
|
-
): void;
|
|
2916
|
-
public listStreamingDistributions(
|
|
2917
|
-
args: ListStreamingDistributionsCommandInput,
|
|
2918
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListStreamingDistributionsCommandOutput) => void),
|
|
2919
|
-
cb?: (err: any, data?: ListStreamingDistributionsCommandOutput) => void
|
|
2920
|
-
): Promise<ListStreamingDistributionsCommandOutput> | void {
|
|
2921
|
-
const command = new ListStreamingDistributionsCommand(args);
|
|
2922
|
-
if (typeof optionsOrCb === "function") {
|
|
2923
|
-
this.send(command, optionsOrCb);
|
|
2924
|
-
} else if (typeof cb === "function") {
|
|
2925
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2926
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2927
|
-
} else {
|
|
2928
|
-
return this.send(command, optionsOrCb);
|
|
2929
|
-
}
|
|
2930
|
-
}
|
|
2931
|
-
|
|
2932
|
-
/**
|
|
2933
|
-
* <p>List tags for a CloudFront resource.</p>
|
|
2934
|
-
*/
|
|
2935
|
-
public listTagsForResource(
|
|
2936
|
-
args: ListTagsForResourceCommandInput,
|
|
2937
|
-
options?: __HttpHandlerOptions
|
|
2938
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
2939
|
-
public listTagsForResource(
|
|
2940
|
-
args: ListTagsForResourceCommandInput,
|
|
2941
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
2942
|
-
): void;
|
|
2943
|
-
public listTagsForResource(
|
|
2944
|
-
args: ListTagsForResourceCommandInput,
|
|
2945
|
-
options: __HttpHandlerOptions,
|
|
2946
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
2947
|
-
): void;
|
|
2948
|
-
public listTagsForResource(
|
|
2949
|
-
args: ListTagsForResourceCommandInput,
|
|
2950
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
2951
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
2952
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
2953
|
-
const command = new ListTagsForResourceCommand(args);
|
|
2954
|
-
if (typeof optionsOrCb === "function") {
|
|
2955
|
-
this.send(command, optionsOrCb);
|
|
2956
|
-
} else if (typeof cb === "function") {
|
|
2957
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2958
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2959
|
-
} else {
|
|
2960
|
-
return this.send(command, optionsOrCb);
|
|
2961
|
-
}
|
|
2962
|
-
}
|
|
2963
|
-
|
|
2964
|
-
/**
|
|
2965
|
-
* <p>Publishes a CloudFront function by copying the function code from the <code>DEVELOPMENT</code>
|
|
2966
|
-
* stage to <code>LIVE</code>. This automatically updates all cache behaviors that are
|
|
2967
|
-
* using this function to use the newly published copy in the <code>LIVE</code>
|
|
2968
|
-
* stage.</p>
|
|
2969
|
-
* <p>When a function is published to the <code>LIVE</code> stage, you can attach the function to
|
|
2970
|
-
* a distribution’s cache behavior, using the function’s Amazon Resource Name (ARN).</p>
|
|
2971
|
-
* <p>To publish a function, you must provide the function’s name and version (<code>ETag</code>
|
|
2972
|
-
* value). To get these values, you can use <code>ListFunctions</code> and
|
|
2973
|
-
* <code>DescribeFunction</code>.</p>
|
|
2974
|
-
*/
|
|
2975
|
-
public publishFunction(
|
|
2976
|
-
args: PublishFunctionCommandInput,
|
|
2977
|
-
options?: __HttpHandlerOptions
|
|
2978
|
-
): Promise<PublishFunctionCommandOutput>;
|
|
2979
|
-
public publishFunction(
|
|
2980
|
-
args: PublishFunctionCommandInput,
|
|
2981
|
-
cb: (err: any, data?: PublishFunctionCommandOutput) => void
|
|
2982
|
-
): void;
|
|
2983
|
-
public publishFunction(
|
|
2984
|
-
args: PublishFunctionCommandInput,
|
|
2985
|
-
options: __HttpHandlerOptions,
|
|
2986
|
-
cb: (err: any, data?: PublishFunctionCommandOutput) => void
|
|
2987
|
-
): void;
|
|
2988
|
-
public publishFunction(
|
|
2989
|
-
args: PublishFunctionCommandInput,
|
|
2990
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PublishFunctionCommandOutput) => void),
|
|
2991
|
-
cb?: (err: any, data?: PublishFunctionCommandOutput) => void
|
|
2992
|
-
): Promise<PublishFunctionCommandOutput> | void {
|
|
2993
|
-
const command = new PublishFunctionCommand(args);
|
|
2994
|
-
if (typeof optionsOrCb === "function") {
|
|
2995
|
-
this.send(command, optionsOrCb);
|
|
2996
|
-
} else if (typeof cb === "function") {
|
|
2997
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2998
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2999
|
-
} else {
|
|
3000
|
-
return this.send(command, optionsOrCb);
|
|
3001
|
-
}
|
|
3002
|
-
}
|
|
3003
|
-
|
|
3004
|
-
/**
|
|
3005
|
-
* <p>Add tags to a CloudFront resource.</p>
|
|
3006
|
-
*/
|
|
3007
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
3008
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
3009
|
-
public tagResource(
|
|
3010
|
-
args: TagResourceCommandInput,
|
|
3011
|
-
options: __HttpHandlerOptions,
|
|
3012
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
3013
|
-
): void;
|
|
3014
|
-
public tagResource(
|
|
3015
|
-
args: TagResourceCommandInput,
|
|
3016
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
3017
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
3018
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
3019
|
-
const command = new TagResourceCommand(args);
|
|
3020
|
-
if (typeof optionsOrCb === "function") {
|
|
3021
|
-
this.send(command, optionsOrCb);
|
|
3022
|
-
} else if (typeof cb === "function") {
|
|
3023
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3024
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3025
|
-
} else {
|
|
3026
|
-
return this.send(command, optionsOrCb);
|
|
3027
|
-
}
|
|
3028
|
-
}
|
|
3029
|
-
|
|
3030
|
-
/**
|
|
3031
|
-
* <p>Tests a CloudFront function.</p>
|
|
3032
|
-
* <p>To test a function, you provide an <i>event object</i> that represents an HTTP
|
|
3033
|
-
* request or response that your CloudFront distribution could receive in production. CloudFront runs
|
|
3034
|
-
* the function, passing it the event object that you provided, and returns the function’s
|
|
3035
|
-
* result (the modified event object) in the response. The response also contains function
|
|
3036
|
-
* logs and error messages, if any exist. For more information about testing functions, see
|
|
3037
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function">Testing functions</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
3038
|
-
* <p>To test a function, you provide the function’s name and version (<code>ETag</code> value)
|
|
3039
|
-
* along with the event object. To get the function’s name and version, you can use
|
|
3040
|
-
* <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
|
|
3041
|
-
*/
|
|
3042
|
-
public testFunction(
|
|
3043
|
-
args: TestFunctionCommandInput,
|
|
3044
|
-
options?: __HttpHandlerOptions
|
|
3045
|
-
): Promise<TestFunctionCommandOutput>;
|
|
3046
|
-
public testFunction(args: TestFunctionCommandInput, cb: (err: any, data?: TestFunctionCommandOutput) => void): void;
|
|
3047
|
-
public testFunction(
|
|
3048
|
-
args: TestFunctionCommandInput,
|
|
3049
|
-
options: __HttpHandlerOptions,
|
|
3050
|
-
cb: (err: any, data?: TestFunctionCommandOutput) => void
|
|
3051
|
-
): void;
|
|
3052
|
-
public testFunction(
|
|
3053
|
-
args: TestFunctionCommandInput,
|
|
3054
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TestFunctionCommandOutput) => void),
|
|
3055
|
-
cb?: (err: any, data?: TestFunctionCommandOutput) => void
|
|
3056
|
-
): Promise<TestFunctionCommandOutput> | void {
|
|
3057
|
-
const command = new TestFunctionCommand(args);
|
|
3058
|
-
if (typeof optionsOrCb === "function") {
|
|
3059
|
-
this.send(command, optionsOrCb);
|
|
3060
|
-
} else if (typeof cb === "function") {
|
|
3061
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3062
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3063
|
-
} else {
|
|
3064
|
-
return this.send(command, optionsOrCb);
|
|
3065
|
-
}
|
|
3066
|
-
}
|
|
3067
|
-
|
|
3068
|
-
/**
|
|
3069
|
-
* <p>Remove tags from a CloudFront resource.</p>
|
|
3070
|
-
*/
|
|
3071
|
-
public untagResource(
|
|
3072
|
-
args: UntagResourceCommandInput,
|
|
3073
|
-
options?: __HttpHandlerOptions
|
|
3074
|
-
): Promise<UntagResourceCommandOutput>;
|
|
3075
|
-
public untagResource(
|
|
3076
|
-
args: UntagResourceCommandInput,
|
|
3077
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3078
|
-
): void;
|
|
3079
|
-
public untagResource(
|
|
3080
|
-
args: UntagResourceCommandInput,
|
|
3081
|
-
options: __HttpHandlerOptions,
|
|
3082
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3083
|
-
): void;
|
|
3084
|
-
public untagResource(
|
|
3085
|
-
args: UntagResourceCommandInput,
|
|
3086
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
3087
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3088
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
3089
|
-
const command = new UntagResourceCommand(args);
|
|
3090
|
-
if (typeof optionsOrCb === "function") {
|
|
3091
|
-
this.send(command, optionsOrCb);
|
|
3092
|
-
} else if (typeof cb === "function") {
|
|
3093
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3094
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3095
|
-
} else {
|
|
3096
|
-
return this.send(command, optionsOrCb);
|
|
3097
|
-
}
|
|
3098
|
-
}
|
|
3099
|
-
|
|
3100
|
-
/**
|
|
3101
|
-
* <p>Updates a cache policy configuration.</p>
|
|
3102
|
-
* <p>When you update a cache policy configuration, all the fields are updated with the
|
|
3103
|
-
* values provided in the request. You cannot update some fields independent of others. To
|
|
3104
|
-
* update a cache policy configuration:</p>
|
|
3105
|
-
* <ol>
|
|
3106
|
-
* <li>
|
|
3107
|
-
* <p>Use <code>GetCachePolicyConfig</code> to get the current configuration.</p>
|
|
3108
|
-
* </li>
|
|
3109
|
-
* <li>
|
|
3110
|
-
* <p>Locally modify the fields in the cache policy configuration that you want to
|
|
3111
|
-
* update.</p>
|
|
3112
|
-
* </li>
|
|
3113
|
-
* <li>
|
|
3114
|
-
* <p>Call <code>UpdateCachePolicy</code> by providing the entire cache policy
|
|
3115
|
-
* configuration, including the fields that you modified and those that you
|
|
3116
|
-
* didn’t.</p>
|
|
3117
|
-
* </li>
|
|
3118
|
-
* </ol>
|
|
3119
|
-
*/
|
|
3120
|
-
public updateCachePolicy(
|
|
3121
|
-
args: UpdateCachePolicyCommandInput,
|
|
3122
|
-
options?: __HttpHandlerOptions
|
|
3123
|
-
): Promise<UpdateCachePolicyCommandOutput>;
|
|
3124
|
-
public updateCachePolicy(
|
|
3125
|
-
args: UpdateCachePolicyCommandInput,
|
|
3126
|
-
cb: (err: any, data?: UpdateCachePolicyCommandOutput) => void
|
|
3127
|
-
): void;
|
|
3128
|
-
public updateCachePolicy(
|
|
3129
|
-
args: UpdateCachePolicyCommandInput,
|
|
3130
|
-
options: __HttpHandlerOptions,
|
|
3131
|
-
cb: (err: any, data?: UpdateCachePolicyCommandOutput) => void
|
|
3132
|
-
): void;
|
|
3133
|
-
public updateCachePolicy(
|
|
3134
|
-
args: UpdateCachePolicyCommandInput,
|
|
3135
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateCachePolicyCommandOutput) => void),
|
|
3136
|
-
cb?: (err: any, data?: UpdateCachePolicyCommandOutput) => void
|
|
3137
|
-
): Promise<UpdateCachePolicyCommandOutput> | void {
|
|
3138
|
-
const command = new UpdateCachePolicyCommand(args);
|
|
3139
|
-
if (typeof optionsOrCb === "function") {
|
|
3140
|
-
this.send(command, optionsOrCb);
|
|
3141
|
-
} else if (typeof cb === "function") {
|
|
3142
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3143
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3144
|
-
} else {
|
|
3145
|
-
return this.send(command, optionsOrCb);
|
|
3146
|
-
}
|
|
3147
|
-
}
|
|
3148
|
-
|
|
3149
|
-
/**
|
|
3150
|
-
* <p>Update an origin access identity. </p>
|
|
3151
|
-
*/
|
|
3152
|
-
public updateCloudFrontOriginAccessIdentity(
|
|
3153
|
-
args: UpdateCloudFrontOriginAccessIdentityCommandInput,
|
|
3154
|
-
options?: __HttpHandlerOptions
|
|
3155
|
-
): Promise<UpdateCloudFrontOriginAccessIdentityCommandOutput>;
|
|
3156
|
-
public updateCloudFrontOriginAccessIdentity(
|
|
3157
|
-
args: UpdateCloudFrontOriginAccessIdentityCommandInput,
|
|
3158
|
-
cb: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
3159
|
-
): void;
|
|
3160
|
-
public updateCloudFrontOriginAccessIdentity(
|
|
3161
|
-
args: UpdateCloudFrontOriginAccessIdentityCommandInput,
|
|
3162
|
-
options: __HttpHandlerOptions,
|
|
3163
|
-
cb: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
3164
|
-
): void;
|
|
3165
|
-
public updateCloudFrontOriginAccessIdentity(
|
|
3166
|
-
args: UpdateCloudFrontOriginAccessIdentityCommandInput,
|
|
3167
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void),
|
|
3168
|
-
cb?: (err: any, data?: UpdateCloudFrontOriginAccessIdentityCommandOutput) => void
|
|
3169
|
-
): Promise<UpdateCloudFrontOriginAccessIdentityCommandOutput> | void {
|
|
3170
|
-
const command = new UpdateCloudFrontOriginAccessIdentityCommand(args);
|
|
3171
|
-
if (typeof optionsOrCb === "function") {
|
|
3172
|
-
this.send(command, optionsOrCb);
|
|
3173
|
-
} else if (typeof cb === "function") {
|
|
3174
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3175
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3176
|
-
} else {
|
|
3177
|
-
return this.send(command, optionsOrCb);
|
|
3178
|
-
}
|
|
3179
|
-
}
|
|
3180
|
-
|
|
3181
|
-
/**
|
|
3182
|
-
* <p>Updates the configuration for a web distribution. </p>
|
|
3183
|
-
* <important>
|
|
3184
|
-
* <p>When you update a distribution, there are more required fields than when you create a distribution.
|
|
3185
|
-
* When you update your distribution by using this API action, follow the steps here to get the current configuration
|
|
3186
|
-
* and then make your updates, to make sure that you include all of the required fields. To view a summary,
|
|
3187
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html">Required
|
|
3188
|
-
* Fields for Create Distribution and Update Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
3189
|
-
* </important>
|
|
3190
|
-
* <p>The update process includes getting the current distribution configuration, updating the XML document that is
|
|
3191
|
-
* returned to make your changes, and then submitting an <code>UpdateDistribution</code> request to make the updates.</p>
|
|
3192
|
-
* <p>For information about updating a distribution using the CloudFront console instead, see
|
|
3193
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html">Creating a
|
|
3194
|
-
* Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
3195
|
-
*
|
|
3196
|
-
* <p>
|
|
3197
|
-
* <b>To update a web distribution using the CloudFront API</b>
|
|
3198
|
-
* </p>
|
|
3199
|
-
* <ol>
|
|
3200
|
-
* <li>
|
|
3201
|
-
* <p>Submit a
|
|
3202
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistributionConfig.html">GetDistributionConfig</a>
|
|
3203
|
-
* request to get the current configuration and an <code>Etag</code> header
|
|
3204
|
-
* for the distribution.</p>
|
|
3205
|
-
* <note>
|
|
3206
|
-
* <p>If you update the distribution again, you must get a new <code>Etag</code> header.</p>
|
|
3207
|
-
* </note>
|
|
3208
|
-
* </li>
|
|
3209
|
-
* <li>
|
|
3210
|
-
* <p>Update the XML document that was returned in the response to your <code>GetDistributionConfig</code> request to include
|
|
3211
|
-
* your changes. </p>
|
|
3212
|
-
* <important>
|
|
3213
|
-
* <p>When you edit the XML file, be aware of the following:</p>
|
|
3214
|
-
* <ul>
|
|
3215
|
-
* <li>
|
|
3216
|
-
* <p>You must strip out the ETag parameter that is returned.</p>
|
|
3217
|
-
* </li>
|
|
3218
|
-
* <li>
|
|
3219
|
-
* <p>Additional fields are required when you update a distribution. There may be fields included in the
|
|
3220
|
-
* XML file for features that you haven't configured for your distribution. This is expected and required to
|
|
3221
|
-
* successfully update the distribution.</p>
|
|
3222
|
-
* </li>
|
|
3223
|
-
* <li>
|
|
3224
|
-
* <p>You can't change the value of <code>CallerReference</code>. If you try to change this value, CloudFront returns an
|
|
3225
|
-
* <code>IllegalUpdate</code> error. </p>
|
|
3226
|
-
* </li>
|
|
3227
|
-
* <li>
|
|
3228
|
-
* <p>The new configuration replaces the existing configuration; the values that you specify in an
|
|
3229
|
-
* <code>UpdateDistribution</code> request are not merged into your existing configuration. When you add, delete, or
|
|
3230
|
-
* replace values in an element that allows multiple values (for example, <code>CNAME</code>), you must specify all of the
|
|
3231
|
-
* values that you want to appear in the updated distribution. In addition,
|
|
3232
|
-
* you must update the corresponding <code>Quantity</code> element.</p>
|
|
3233
|
-
* </li>
|
|
3234
|
-
* </ul>
|
|
3235
|
-
* </important>
|
|
3236
|
-
* </li>
|
|
3237
|
-
* <li>
|
|
3238
|
-
* <p>Submit an <code>UpdateDistribution</code> request to update the configuration for your distribution:</p>
|
|
3239
|
-
* <ul>
|
|
3240
|
-
* <li>
|
|
3241
|
-
* <p>In the request body, include the XML document that you updated in Step 2. The request body must include an
|
|
3242
|
-
* XML document with a <code>DistributionConfig</code> element.</p>
|
|
3243
|
-
* </li>
|
|
3244
|
-
* <li>
|
|
3245
|
-
* <p>Set the value of the HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront returned
|
|
3246
|
-
* when you submitted the <code>GetDistributionConfig</code> request in Step 1.</p>
|
|
3247
|
-
* </li>
|
|
3248
|
-
* </ul>
|
|
3249
|
-
* </li>
|
|
3250
|
-
* <li>
|
|
3251
|
-
* <p>Review the response to the <code>UpdateDistribution</code> request to confirm that the configuration was
|
|
3252
|
-
* successfully updated.</p>
|
|
3253
|
-
* </li>
|
|
3254
|
-
* <li>
|
|
3255
|
-
* <p>Optional: Submit a
|
|
3256
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html">GetDistribution</a>
|
|
3257
|
-
* request to confirm that your changes have propagated.
|
|
3258
|
-
* When propagation is complete, the value of <code>Status</code> is <code>Deployed</code>.</p>
|
|
3259
|
-
* </li>
|
|
3260
|
-
* </ol>
|
|
3261
|
-
*/
|
|
3262
|
-
public updateDistribution(
|
|
3263
|
-
args: UpdateDistributionCommandInput,
|
|
3264
|
-
options?: __HttpHandlerOptions
|
|
3265
|
-
): Promise<UpdateDistributionCommandOutput>;
|
|
3266
|
-
public updateDistribution(
|
|
3267
|
-
args: UpdateDistributionCommandInput,
|
|
3268
|
-
cb: (err: any, data?: UpdateDistributionCommandOutput) => void
|
|
3269
|
-
): void;
|
|
3270
|
-
public updateDistribution(
|
|
3271
|
-
args: UpdateDistributionCommandInput,
|
|
3272
|
-
options: __HttpHandlerOptions,
|
|
3273
|
-
cb: (err: any, data?: UpdateDistributionCommandOutput) => void
|
|
3274
|
-
): void;
|
|
3275
|
-
public updateDistribution(
|
|
3276
|
-
args: UpdateDistributionCommandInput,
|
|
3277
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDistributionCommandOutput) => void),
|
|
3278
|
-
cb?: (err: any, data?: UpdateDistributionCommandOutput) => void
|
|
3279
|
-
): Promise<UpdateDistributionCommandOutput> | void {
|
|
3280
|
-
const command = new UpdateDistributionCommand(args);
|
|
3281
|
-
if (typeof optionsOrCb === "function") {
|
|
3282
|
-
this.send(command, optionsOrCb);
|
|
3283
|
-
} else if (typeof cb === "function") {
|
|
3284
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3286
|
-
} else {
|
|
3287
|
-
return this.send(command, optionsOrCb);
|
|
3288
|
-
}
|
|
3289
|
-
}
|
|
3290
|
-
|
|
3291
|
-
/**
|
|
3292
|
-
* <p>Update a field-level encryption configuration. </p>
|
|
3293
|
-
*/
|
|
3294
|
-
public updateFieldLevelEncryptionConfig(
|
|
3295
|
-
args: UpdateFieldLevelEncryptionConfigCommandInput,
|
|
3296
|
-
options?: __HttpHandlerOptions
|
|
3297
|
-
): Promise<UpdateFieldLevelEncryptionConfigCommandOutput>;
|
|
3298
|
-
public updateFieldLevelEncryptionConfig(
|
|
3299
|
-
args: UpdateFieldLevelEncryptionConfigCommandInput,
|
|
3300
|
-
cb: (err: any, data?: UpdateFieldLevelEncryptionConfigCommandOutput) => void
|
|
3301
|
-
): void;
|
|
3302
|
-
public updateFieldLevelEncryptionConfig(
|
|
3303
|
-
args: UpdateFieldLevelEncryptionConfigCommandInput,
|
|
3304
|
-
options: __HttpHandlerOptions,
|
|
3305
|
-
cb: (err: any, data?: UpdateFieldLevelEncryptionConfigCommandOutput) => void
|
|
3306
|
-
): void;
|
|
3307
|
-
public updateFieldLevelEncryptionConfig(
|
|
3308
|
-
args: UpdateFieldLevelEncryptionConfigCommandInput,
|
|
3309
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFieldLevelEncryptionConfigCommandOutput) => void),
|
|
3310
|
-
cb?: (err: any, data?: UpdateFieldLevelEncryptionConfigCommandOutput) => void
|
|
3311
|
-
): Promise<UpdateFieldLevelEncryptionConfigCommandOutput> | void {
|
|
3312
|
-
const command = new UpdateFieldLevelEncryptionConfigCommand(args);
|
|
3313
|
-
if (typeof optionsOrCb === "function") {
|
|
3314
|
-
this.send(command, optionsOrCb);
|
|
3315
|
-
} else if (typeof cb === "function") {
|
|
3316
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3318
|
-
} else {
|
|
3319
|
-
return this.send(command, optionsOrCb);
|
|
3320
|
-
}
|
|
3321
|
-
}
|
|
3322
|
-
|
|
3323
|
-
/**
|
|
3324
|
-
* <p>Update a field-level encryption profile. </p>
|
|
3325
|
-
*/
|
|
3326
|
-
public updateFieldLevelEncryptionProfile(
|
|
3327
|
-
args: UpdateFieldLevelEncryptionProfileCommandInput,
|
|
3328
|
-
options?: __HttpHandlerOptions
|
|
3329
|
-
): Promise<UpdateFieldLevelEncryptionProfileCommandOutput>;
|
|
3330
|
-
public updateFieldLevelEncryptionProfile(
|
|
3331
|
-
args: UpdateFieldLevelEncryptionProfileCommandInput,
|
|
3332
|
-
cb: (err: any, data?: UpdateFieldLevelEncryptionProfileCommandOutput) => void
|
|
3333
|
-
): void;
|
|
3334
|
-
public updateFieldLevelEncryptionProfile(
|
|
3335
|
-
args: UpdateFieldLevelEncryptionProfileCommandInput,
|
|
3336
|
-
options: __HttpHandlerOptions,
|
|
3337
|
-
cb: (err: any, data?: UpdateFieldLevelEncryptionProfileCommandOutput) => void
|
|
3338
|
-
): void;
|
|
3339
|
-
public updateFieldLevelEncryptionProfile(
|
|
3340
|
-
args: UpdateFieldLevelEncryptionProfileCommandInput,
|
|
3341
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFieldLevelEncryptionProfileCommandOutput) => void),
|
|
3342
|
-
cb?: (err: any, data?: UpdateFieldLevelEncryptionProfileCommandOutput) => void
|
|
3343
|
-
): Promise<UpdateFieldLevelEncryptionProfileCommandOutput> | void {
|
|
3344
|
-
const command = new UpdateFieldLevelEncryptionProfileCommand(args);
|
|
3345
|
-
if (typeof optionsOrCb === "function") {
|
|
3346
|
-
this.send(command, optionsOrCb);
|
|
3347
|
-
} else if (typeof cb === "function") {
|
|
3348
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3349
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3350
|
-
} else {
|
|
3351
|
-
return this.send(command, optionsOrCb);
|
|
3352
|
-
}
|
|
3353
|
-
}
|
|
3354
|
-
|
|
3355
|
-
/**
|
|
3356
|
-
* <p>Updates a CloudFront function.</p>
|
|
3357
|
-
* <p>You can update a function’s code or the comment that describes the function. You
|
|
3358
|
-
* cannot update a function’s name.</p>
|
|
3359
|
-
* <p>To update a function, you provide the function’s name and version (<code>ETag</code> value)
|
|
3360
|
-
* along with the updated function code. To get the name and version, you can use
|
|
3361
|
-
* <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
|
|
3362
|
-
*/
|
|
3363
|
-
public updateFunction(
|
|
3364
|
-
args: UpdateFunctionCommandInput,
|
|
3365
|
-
options?: __HttpHandlerOptions
|
|
3366
|
-
): Promise<UpdateFunctionCommandOutput>;
|
|
3367
|
-
public updateFunction(
|
|
3368
|
-
args: UpdateFunctionCommandInput,
|
|
3369
|
-
cb: (err: any, data?: UpdateFunctionCommandOutput) => void
|
|
3370
|
-
): void;
|
|
3371
|
-
public updateFunction(
|
|
3372
|
-
args: UpdateFunctionCommandInput,
|
|
3373
|
-
options: __HttpHandlerOptions,
|
|
3374
|
-
cb: (err: any, data?: UpdateFunctionCommandOutput) => void
|
|
3375
|
-
): void;
|
|
3376
|
-
public updateFunction(
|
|
3377
|
-
args: UpdateFunctionCommandInput,
|
|
3378
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFunctionCommandOutput) => void),
|
|
3379
|
-
cb?: (err: any, data?: UpdateFunctionCommandOutput) => void
|
|
3380
|
-
): Promise<UpdateFunctionCommandOutput> | void {
|
|
3381
|
-
const command = new UpdateFunctionCommand(args);
|
|
3382
|
-
if (typeof optionsOrCb === "function") {
|
|
3383
|
-
this.send(command, optionsOrCb);
|
|
3384
|
-
} else if (typeof cb === "function") {
|
|
3385
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3386
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3387
|
-
} else {
|
|
3388
|
-
return this.send(command, optionsOrCb);
|
|
3389
|
-
}
|
|
3390
|
-
}
|
|
3391
|
-
|
|
3392
|
-
/**
|
|
3393
|
-
* <p>Updates a key group.</p>
|
|
3394
|
-
* <p>When you update a key group, all the fields are updated with the values provided in
|
|
3395
|
-
* the request. You cannot update some fields independent of others. To update a key
|
|
3396
|
-
* group:</p>
|
|
3397
|
-
* <ol>
|
|
3398
|
-
* <li>
|
|
3399
|
-
* <p>Get the current key group with <code>GetKeyGroup</code> or
|
|
3400
|
-
* <code>GetKeyGroupConfig</code>.</p>
|
|
3401
|
-
* </li>
|
|
3402
|
-
* <li>
|
|
3403
|
-
* <p>Locally modify the fields in the key group that you want to update. For
|
|
3404
|
-
* example, add or remove public key IDs.</p>
|
|
3405
|
-
* </li>
|
|
3406
|
-
* <li>
|
|
3407
|
-
* <p>Call <code>UpdateKeyGroup</code> with the entire key group object, including
|
|
3408
|
-
* the fields that you modified and those that you didn’t.</p>
|
|
3409
|
-
* </li>
|
|
3410
|
-
* </ol>
|
|
3411
|
-
*/
|
|
3412
|
-
public updateKeyGroup(
|
|
3413
|
-
args: UpdateKeyGroupCommandInput,
|
|
3414
|
-
options?: __HttpHandlerOptions
|
|
3415
|
-
): Promise<UpdateKeyGroupCommandOutput>;
|
|
3416
|
-
public updateKeyGroup(
|
|
3417
|
-
args: UpdateKeyGroupCommandInput,
|
|
3418
|
-
cb: (err: any, data?: UpdateKeyGroupCommandOutput) => void
|
|
3419
|
-
): void;
|
|
3420
|
-
public updateKeyGroup(
|
|
3421
|
-
args: UpdateKeyGroupCommandInput,
|
|
3422
|
-
options: __HttpHandlerOptions,
|
|
3423
|
-
cb: (err: any, data?: UpdateKeyGroupCommandOutput) => void
|
|
3424
|
-
): void;
|
|
3425
|
-
public updateKeyGroup(
|
|
3426
|
-
args: UpdateKeyGroupCommandInput,
|
|
3427
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateKeyGroupCommandOutput) => void),
|
|
3428
|
-
cb?: (err: any, data?: UpdateKeyGroupCommandOutput) => void
|
|
3429
|
-
): Promise<UpdateKeyGroupCommandOutput> | void {
|
|
3430
|
-
const command = new UpdateKeyGroupCommand(args);
|
|
3431
|
-
if (typeof optionsOrCb === "function") {
|
|
3432
|
-
this.send(command, optionsOrCb);
|
|
3433
|
-
} else if (typeof cb === "function") {
|
|
3434
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3435
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3436
|
-
} else {
|
|
3437
|
-
return this.send(command, optionsOrCb);
|
|
3438
|
-
}
|
|
3439
|
-
}
|
|
3440
|
-
|
|
3441
|
-
/**
|
|
3442
|
-
* <p>Updates an origin request policy configuration.</p>
|
|
3443
|
-
* <p>When you update an origin request policy configuration, all the fields are updated
|
|
3444
|
-
* with the values provided in the request. You cannot update some fields independent of
|
|
3445
|
-
* others. To update an origin request policy configuration:</p>
|
|
3446
|
-
* <ol>
|
|
3447
|
-
* <li>
|
|
3448
|
-
* <p>Use <code>GetOriginRequestPolicyConfig</code> to get the current configuration.</p>
|
|
3449
|
-
* </li>
|
|
3450
|
-
* <li>
|
|
3451
|
-
* <p>Locally modify the fields in the origin request policy configuration that you
|
|
3452
|
-
* want to update.</p>
|
|
3453
|
-
* </li>
|
|
3454
|
-
* <li>
|
|
3455
|
-
* <p>Call <code>UpdateOriginRequestPolicy</code> by providing the entire origin
|
|
3456
|
-
* request policy configuration, including the fields that you modified and those
|
|
3457
|
-
* that you didn’t.</p>
|
|
3458
|
-
* </li>
|
|
3459
|
-
* </ol>
|
|
3460
|
-
*/
|
|
3461
|
-
public updateOriginRequestPolicy(
|
|
3462
|
-
args: UpdateOriginRequestPolicyCommandInput,
|
|
3463
|
-
options?: __HttpHandlerOptions
|
|
3464
|
-
): Promise<UpdateOriginRequestPolicyCommandOutput>;
|
|
3465
|
-
public updateOriginRequestPolicy(
|
|
3466
|
-
args: UpdateOriginRequestPolicyCommandInput,
|
|
3467
|
-
cb: (err: any, data?: UpdateOriginRequestPolicyCommandOutput) => void
|
|
3468
|
-
): void;
|
|
3469
|
-
public updateOriginRequestPolicy(
|
|
3470
|
-
args: UpdateOriginRequestPolicyCommandInput,
|
|
3471
|
-
options: __HttpHandlerOptions,
|
|
3472
|
-
cb: (err: any, data?: UpdateOriginRequestPolicyCommandOutput) => void
|
|
3473
|
-
): void;
|
|
3474
|
-
public updateOriginRequestPolicy(
|
|
3475
|
-
args: UpdateOriginRequestPolicyCommandInput,
|
|
3476
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateOriginRequestPolicyCommandOutput) => void),
|
|
3477
|
-
cb?: (err: any, data?: UpdateOriginRequestPolicyCommandOutput) => void
|
|
3478
|
-
): Promise<UpdateOriginRequestPolicyCommandOutput> | void {
|
|
3479
|
-
const command = new UpdateOriginRequestPolicyCommand(args);
|
|
3480
|
-
if (typeof optionsOrCb === "function") {
|
|
3481
|
-
this.send(command, optionsOrCb);
|
|
3482
|
-
} else if (typeof cb === "function") {
|
|
3483
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3484
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3485
|
-
} else {
|
|
3486
|
-
return this.send(command, optionsOrCb);
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3489
|
-
|
|
3490
|
-
/**
|
|
3491
|
-
* <p>Update public key information. Note that the only value you can change is the comment.</p>
|
|
3492
|
-
*/
|
|
3493
|
-
public updatePublicKey(
|
|
3494
|
-
args: UpdatePublicKeyCommandInput,
|
|
3495
|
-
options?: __HttpHandlerOptions
|
|
3496
|
-
): Promise<UpdatePublicKeyCommandOutput>;
|
|
3497
|
-
public updatePublicKey(
|
|
3498
|
-
args: UpdatePublicKeyCommandInput,
|
|
3499
|
-
cb: (err: any, data?: UpdatePublicKeyCommandOutput) => void
|
|
3500
|
-
): void;
|
|
3501
|
-
public updatePublicKey(
|
|
3502
|
-
args: UpdatePublicKeyCommandInput,
|
|
3503
|
-
options: __HttpHandlerOptions,
|
|
3504
|
-
cb: (err: any, data?: UpdatePublicKeyCommandOutput) => void
|
|
3505
|
-
): void;
|
|
3506
|
-
public updatePublicKey(
|
|
3507
|
-
args: UpdatePublicKeyCommandInput,
|
|
3508
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdatePublicKeyCommandOutput) => void),
|
|
3509
|
-
cb?: (err: any, data?: UpdatePublicKeyCommandOutput) => void
|
|
3510
|
-
): Promise<UpdatePublicKeyCommandOutput> | void {
|
|
3511
|
-
const command = new UpdatePublicKeyCommand(args);
|
|
3512
|
-
if (typeof optionsOrCb === "function") {
|
|
3513
|
-
this.send(command, optionsOrCb);
|
|
3514
|
-
} else if (typeof cb === "function") {
|
|
3515
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3516
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3517
|
-
} else {
|
|
3518
|
-
return this.send(command, optionsOrCb);
|
|
3519
|
-
}
|
|
3520
|
-
}
|
|
3521
|
-
|
|
3522
|
-
/**
|
|
3523
|
-
* <p>Updates a real-time log configuration.</p>
|
|
3524
|
-
* <p>When you update a real-time log configuration, all the parameters are updated with the
|
|
3525
|
-
* values provided in the request. You cannot update some parameters independent of others.
|
|
3526
|
-
* To update a real-time log configuration:</p>
|
|
3527
|
-
* <ol>
|
|
3528
|
-
* <li>
|
|
3529
|
-
* <p>Call <code>GetRealtimeLogConfig</code> to get the current real-time log
|
|
3530
|
-
* configuration.</p>
|
|
3531
|
-
* </li>
|
|
3532
|
-
* <li>
|
|
3533
|
-
* <p>Locally modify the parameters in the real-time log configuration that you want
|
|
3534
|
-
* to update.</p>
|
|
3535
|
-
* </li>
|
|
3536
|
-
* <li>
|
|
3537
|
-
* <p>Call this API (<code>UpdateRealtimeLogConfig</code>) by providing the entire
|
|
3538
|
-
* real-time log configuration, including the parameters that you modified and
|
|
3539
|
-
* those that you didn’t.</p>
|
|
3540
|
-
* </li>
|
|
3541
|
-
* </ol>
|
|
3542
|
-
* <p>You cannot update a real-time log configuration’s <code>Name</code> or
|
|
3543
|
-
* <code>ARN</code>.</p>
|
|
3544
|
-
*/
|
|
3545
|
-
public updateRealtimeLogConfig(
|
|
3546
|
-
args: UpdateRealtimeLogConfigCommandInput,
|
|
3547
|
-
options?: __HttpHandlerOptions
|
|
3548
|
-
): Promise<UpdateRealtimeLogConfigCommandOutput>;
|
|
3549
|
-
public updateRealtimeLogConfig(
|
|
3550
|
-
args: UpdateRealtimeLogConfigCommandInput,
|
|
3551
|
-
cb: (err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void
|
|
3552
|
-
): void;
|
|
3553
|
-
public updateRealtimeLogConfig(
|
|
3554
|
-
args: UpdateRealtimeLogConfigCommandInput,
|
|
3555
|
-
options: __HttpHandlerOptions,
|
|
3556
|
-
cb: (err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void
|
|
3557
|
-
): void;
|
|
3558
|
-
public updateRealtimeLogConfig(
|
|
3559
|
-
args: UpdateRealtimeLogConfigCommandInput,
|
|
3560
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void),
|
|
3561
|
-
cb?: (err: any, data?: UpdateRealtimeLogConfigCommandOutput) => void
|
|
3562
|
-
): Promise<UpdateRealtimeLogConfigCommandOutput> | void {
|
|
3563
|
-
const command = new UpdateRealtimeLogConfigCommand(args);
|
|
3564
|
-
if (typeof optionsOrCb === "function") {
|
|
3565
|
-
this.send(command, optionsOrCb);
|
|
3566
|
-
} else if (typeof cb === "function") {
|
|
3567
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3568
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3569
|
-
} else {
|
|
3570
|
-
return this.send(command, optionsOrCb);
|
|
3571
|
-
}
|
|
3572
|
-
}
|
|
3573
|
-
|
|
3574
|
-
/**
|
|
3575
|
-
* <p>Update a streaming distribution. </p>
|
|
3576
|
-
*/
|
|
3577
|
-
public updateStreamingDistribution(
|
|
3578
|
-
args: UpdateStreamingDistributionCommandInput,
|
|
3579
|
-
options?: __HttpHandlerOptions
|
|
3580
|
-
): Promise<UpdateStreamingDistributionCommandOutput>;
|
|
3581
|
-
public updateStreamingDistribution(
|
|
3582
|
-
args: UpdateStreamingDistributionCommandInput,
|
|
3583
|
-
cb: (err: any, data?: UpdateStreamingDistributionCommandOutput) => void
|
|
3584
|
-
): void;
|
|
3585
|
-
public updateStreamingDistribution(
|
|
3586
|
-
args: UpdateStreamingDistributionCommandInput,
|
|
3587
|
-
options: __HttpHandlerOptions,
|
|
3588
|
-
cb: (err: any, data?: UpdateStreamingDistributionCommandOutput) => void
|
|
3589
|
-
): void;
|
|
3590
|
-
public updateStreamingDistribution(
|
|
3591
|
-
args: UpdateStreamingDistributionCommandInput,
|
|
3592
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateStreamingDistributionCommandOutput) => void),
|
|
3593
|
-
cb?: (err: any, data?: UpdateStreamingDistributionCommandOutput) => void
|
|
3594
|
-
): Promise<UpdateStreamingDistributionCommandOutput> | void {
|
|
3595
|
-
const command = new UpdateStreamingDistributionCommand(args);
|
|
3596
|
-
if (typeof optionsOrCb === "function") {
|
|
3597
|
-
this.send(command, optionsOrCb);
|
|
3598
|
-
} else if (typeof cb === "function") {
|
|
3599
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3600
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3601
|
-
} else {
|
|
3602
|
-
return this.send(command, optionsOrCb);
|
|
3603
|
-
}
|
|
3604
|
-
}
|
|
3605
|
-
}
|