@aws-sdk/client-cloudfront 3.193.0 → 3.194.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 +11 -0
- package/dist-cjs/CloudFrontClient.js +11 -8
- package/dist-cjs/commands/AssociateAliasCommand.js +10 -0
- package/dist-cjs/commands/CreateCachePolicyCommand.js +10 -0
- package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +10 -0
- package/dist-cjs/commands/CreateDistributionCommand.js +10 -0
- package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +10 -0
- package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +10 -0
- package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +10 -0
- package/dist-cjs/commands/CreateFunctionCommand.js +10 -0
- package/dist-cjs/commands/CreateInvalidationCommand.js +10 -0
- package/dist-cjs/commands/CreateKeyGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/CreateOriginAccessControlCommand.js +10 -0
- package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +10 -0
- package/dist-cjs/commands/CreatePublicKeyCommand.js +10 -0
- package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +10 -0
- package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +10 -0
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +10 -0
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +10 -0
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +10 -0
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +10 -0
- package/dist-cjs/commands/DeleteDistributionCommand.js +10 -0
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +10 -0
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +10 -0
- package/dist-cjs/commands/DeleteFunctionCommand.js +10 -0
- package/dist-cjs/commands/DeleteKeyGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/DeleteOriginAccessControlCommand.js +10 -0
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +10 -0
- package/dist-cjs/commands/DeletePublicKeyCommand.js +10 -0
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +10 -0
- package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +10 -0
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +10 -0
- package/dist-cjs/commands/DescribeFunctionCommand.js +10 -0
- package/dist-cjs/commands/GetCachePolicyCommand.js +10 -0
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +10 -0
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +10 -0
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +10 -0
- package/dist-cjs/commands/GetDistributionCommand.js +10 -0
- package/dist-cjs/commands/GetDistributionConfigCommand.js +10 -0
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +10 -0
- package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +10 -0
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +10 -0
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +10 -0
- package/dist-cjs/commands/GetFunctionCommand.js +10 -0
- package/dist-cjs/commands/GetInvalidationCommand.js +10 -0
- package/dist-cjs/commands/GetKeyGroupCommand.js +10 -0
- package/dist-cjs/commands/GetKeyGroupConfigCommand.js +10 -0
- package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/GetOriginAccessControlCommand.js +10 -0
- package/dist-cjs/commands/GetOriginAccessControlConfigCommand.js +10 -0
- package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +10 -0
- package/dist-cjs/commands/GetPublicKeyCommand.js +10 -0
- package/dist-cjs/commands/GetPublicKeyConfigCommand.js +10 -0
- package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +10 -0
- package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +10 -0
- package/dist-cjs/commands/GetStreamingDistributionCommand.js +10 -0
- package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +10 -0
- package/dist-cjs/commands/ListCachePoliciesCommand.js +10 -0
- package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +10 -0
- package/dist-cjs/commands/ListConflictingAliasesCommand.js +10 -0
- package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +10 -0
- package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +10 -0
- package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +10 -0
- package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +10 -0
- package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +10 -0
- package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +10 -0
- package/dist-cjs/commands/ListDistributionsCommand.js +10 -0
- package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +10 -0
- package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +10 -0
- package/dist-cjs/commands/ListFunctionsCommand.js +10 -0
- package/dist-cjs/commands/ListInvalidationsCommand.js +10 -0
- package/dist-cjs/commands/ListKeyGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListOriginAccessControlsCommand.js +10 -0
- package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +10 -0
- package/dist-cjs/commands/ListPublicKeysCommand.js +10 -0
- package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +10 -0
- package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +10 -0
- package/dist-cjs/commands/ListStreamingDistributionsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/PublishFunctionCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/TestFunctionCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateCachePolicyCommand.js +10 -0
- package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +10 -0
- package/dist-cjs/commands/UpdateDistributionCommand.js +10 -0
- package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +10 -0
- package/dist-cjs/commands/UpdateFunctionCommand.js +10 -0
- package/dist-cjs/commands/UpdateKeyGroupCommand.js +10 -0
- package/dist-cjs/commands/UpdateOriginAccessControlCommand.js +10 -0
- package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +10 -0
- package/dist-cjs/commands/UpdatePublicKeyCommand.js +10 -0
- package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +10 -0
- package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +864 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/CloudFrontClient.js +12 -9
- package/dist-es/commands/AssociateAliasCommand.js +10 -0
- package/dist-es/commands/CreateCachePolicyCommand.js +10 -0
- package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +10 -0
- package/dist-es/commands/CreateDistributionCommand.js +10 -0
- package/dist-es/commands/CreateDistributionWithTagsCommand.js +10 -0
- package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +10 -0
- package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +10 -0
- package/dist-es/commands/CreateFunctionCommand.js +10 -0
- package/dist-es/commands/CreateInvalidationCommand.js +10 -0
- package/dist-es/commands/CreateKeyGroupCommand.js +10 -0
- package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +10 -0
- package/dist-es/commands/CreateOriginAccessControlCommand.js +10 -0
- package/dist-es/commands/CreateOriginRequestPolicyCommand.js +10 -0
- package/dist-es/commands/CreatePublicKeyCommand.js +10 -0
- package/dist-es/commands/CreateRealtimeLogConfigCommand.js +10 -0
- package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +10 -0
- package/dist-es/commands/CreateStreamingDistributionCommand.js +10 -0
- package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +10 -0
- package/dist-es/commands/DeleteCachePolicyCommand.js +10 -0
- package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +10 -0
- package/dist-es/commands/DeleteDistributionCommand.js +10 -0
- package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +10 -0
- package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +10 -0
- package/dist-es/commands/DeleteFunctionCommand.js +10 -0
- package/dist-es/commands/DeleteKeyGroupCommand.js +10 -0
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +10 -0
- package/dist-es/commands/DeleteOriginAccessControlCommand.js +10 -0
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +10 -0
- package/dist-es/commands/DeletePublicKeyCommand.js +10 -0
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +10 -0
- package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +10 -0
- package/dist-es/commands/DeleteStreamingDistributionCommand.js +10 -0
- package/dist-es/commands/DescribeFunctionCommand.js +10 -0
- package/dist-es/commands/GetCachePolicyCommand.js +10 -0
- package/dist-es/commands/GetCachePolicyConfigCommand.js +10 -0
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +10 -0
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +10 -0
- package/dist-es/commands/GetDistributionCommand.js +10 -0
- package/dist-es/commands/GetDistributionConfigCommand.js +10 -0
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js +10 -0
- package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +10 -0
- package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +10 -0
- package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +10 -0
- package/dist-es/commands/GetFunctionCommand.js +10 -0
- package/dist-es/commands/GetInvalidationCommand.js +10 -0
- package/dist-es/commands/GetKeyGroupCommand.js +10 -0
- package/dist-es/commands/GetKeyGroupConfigCommand.js +10 -0
- package/dist-es/commands/GetMonitoringSubscriptionCommand.js +10 -0
- package/dist-es/commands/GetOriginAccessControlCommand.js +10 -0
- package/dist-es/commands/GetOriginAccessControlConfigCommand.js +10 -0
- package/dist-es/commands/GetOriginRequestPolicyCommand.js +10 -0
- package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +10 -0
- package/dist-es/commands/GetPublicKeyCommand.js +10 -0
- package/dist-es/commands/GetPublicKeyConfigCommand.js +10 -0
- package/dist-es/commands/GetRealtimeLogConfigCommand.js +10 -0
- package/dist-es/commands/GetResponseHeadersPolicyCommand.js +10 -0
- package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +10 -0
- package/dist-es/commands/GetStreamingDistributionCommand.js +10 -0
- package/dist-es/commands/GetStreamingDistributionConfigCommand.js +10 -0
- package/dist-es/commands/ListCachePoliciesCommand.js +10 -0
- package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +10 -0
- package/dist-es/commands/ListConflictingAliasesCommand.js +10 -0
- package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +10 -0
- package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +10 -0
- package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +10 -0
- package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +10 -0
- package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +10 -0
- package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +10 -0
- package/dist-es/commands/ListDistributionsCommand.js +10 -0
- package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +10 -0
- package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +10 -0
- package/dist-es/commands/ListFunctionsCommand.js +10 -0
- package/dist-es/commands/ListInvalidationsCommand.js +10 -0
- package/dist-es/commands/ListKeyGroupsCommand.js +10 -0
- package/dist-es/commands/ListOriginAccessControlsCommand.js +10 -0
- package/dist-es/commands/ListOriginRequestPoliciesCommand.js +10 -0
- package/dist-es/commands/ListPublicKeysCommand.js +10 -0
- package/dist-es/commands/ListRealtimeLogConfigsCommand.js +10 -0
- package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +10 -0
- package/dist-es/commands/ListStreamingDistributionsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/PublishFunctionCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/TestFunctionCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateCachePolicyCommand.js +10 -0
- package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +10 -0
- package/dist-es/commands/UpdateDistributionCommand.js +10 -0
- package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +10 -0
- package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +10 -0
- package/dist-es/commands/UpdateFunctionCommand.js +10 -0
- package/dist-es/commands/UpdateKeyGroupCommand.js +10 -0
- package/dist-es/commands/UpdateOriginAccessControlCommand.js +10 -0
- package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +10 -0
- package/dist-es/commands/UpdatePublicKeyCommand.js +10 -0
- package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +10 -0
- package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +10 -0
- package/dist-es/commands/UpdateStreamingDistributionCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +861 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/CloudFrontClient.d.ts +6 -9
- package/dist-types/commands/AssociateAliasCommand.d.ts +2 -0
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +2 -0
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +2 -0
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +2 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -0
- package/dist-types/commands/CreateInvalidationCommand.d.ts +2 -0
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +2 -0
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +2 -0
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +2 -0
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +2 -0
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +2 -0
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +2 -0
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFunctionCommand.d.ts +2 -0
- package/dist-types/commands/GetCachePolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +2 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +2 -0
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +2 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +2 -0
- package/dist-types/commands/GetInvalidationCommand.d.ts +2 -0
- package/dist-types/commands/GetKeyGroupCommand.d.ts +2 -0
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +2 -0
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetPublicKeyCommand.d.ts +2 -0
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +2 -0
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +2 -0
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +2 -0
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +2 -0
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +2 -0
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -0
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +2 -0
- package/dist-types/commands/ListInvalidationsCommand.d.ts +2 -0
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +2 -0
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +2 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +2 -0
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +2 -0
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +2 -0
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/PublishFunctionCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/TestFunctionCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +2 -0
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/CloudFrontClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateOriginAccessControlCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteOriginAccessControlCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListOriginAccessControlsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -2
- package/dist-cjs/endpoints.js +0 -154
- package/dist-es/endpoints.js +0 -150
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdatePublicKeyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_1_1 = require("../models/models_1");
|
|
@@ -10,8 +11,17 @@ class UpdatePublicKeyCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePublicKeyCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "CloudFrontClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateRealtimeLogConfigCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_1_1 = require("../models/models_1");
|
|
@@ -10,8 +11,17 @@ class UpdateRealtimeLogConfigCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRealtimeLogConfigCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "CloudFrontClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateResponseHeadersPolicyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_1_1 = require("../models/models_1");
|
|
@@ -10,8 +11,17 @@ class UpdateResponseHeadersPolicyCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateResponseHeadersPolicyCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "CloudFrontClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateStreamingDistributionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_1_1 = require("../models/models_1");
|
|
@@ -10,8 +11,17 @@ class UpdateStreamingDistributionCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateStreamingDistributionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "CloudFrontClient";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return {
|
|
7
|
+
...options,
|
|
8
|
+
useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
|
|
9
|
+
useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
|
|
10
|
+
defaultSigningName: "cloudfront",
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|