@aws-sdk/client-cloudfront 3.193.0 → 3.196.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 +19 -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 +5 -3
- 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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.196.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,13 +19,14 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.196.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.193.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.196.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.193.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.193.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.193.0",
|
|
28
28
|
"@aws-sdk/middleware-content-length": "3.193.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.193.0",
|
|
29
30
|
"@aws-sdk/middleware-host-header": "3.193.0",
|
|
30
31
|
"@aws-sdk/middleware-logger": "3.193.0",
|
|
31
32
|
"@aws-sdk/middleware-recursion-detection": "3.193.0",
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
47
48
|
"@aws-sdk/util-defaults-mode-browser": "3.193.0",
|
|
48
49
|
"@aws-sdk/util-defaults-mode-node": "3.193.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.196.0",
|
|
49
51
|
"@aws-sdk/util-user-agent-browser": "3.193.0",
|
|
50
52
|
"@aws-sdk/util-user-agent-node": "3.193.0",
|
|
51
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
package/dist-cjs/endpoints.js
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
6
|
-
"aws-cn-global": {
|
|
7
|
-
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "cloudfront.cn-northwest-1.amazonaws.com.cn",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
signingRegion: "cn-northwest-1",
|
|
14
|
-
},
|
|
15
|
-
"aws-global": {
|
|
16
|
-
variants: [
|
|
17
|
-
{
|
|
18
|
-
hostname: "cloudfront.amazonaws.com",
|
|
19
|
-
tags: [],
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
signingRegion: "us-east-1",
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
const partitionHash = {
|
|
26
|
-
aws: {
|
|
27
|
-
regions: [
|
|
28
|
-
"af-south-1",
|
|
29
|
-
"ap-east-1",
|
|
30
|
-
"ap-northeast-1",
|
|
31
|
-
"ap-northeast-2",
|
|
32
|
-
"ap-northeast-3",
|
|
33
|
-
"ap-south-1",
|
|
34
|
-
"ap-southeast-1",
|
|
35
|
-
"ap-southeast-2",
|
|
36
|
-
"ap-southeast-3",
|
|
37
|
-
"aws-global",
|
|
38
|
-
"ca-central-1",
|
|
39
|
-
"eu-central-1",
|
|
40
|
-
"eu-north-1",
|
|
41
|
-
"eu-south-1",
|
|
42
|
-
"eu-west-1",
|
|
43
|
-
"eu-west-2",
|
|
44
|
-
"eu-west-3",
|
|
45
|
-
"me-central-1",
|
|
46
|
-
"me-south-1",
|
|
47
|
-
"sa-east-1",
|
|
48
|
-
"us-east-1",
|
|
49
|
-
"us-east-2",
|
|
50
|
-
"us-west-1",
|
|
51
|
-
"us-west-2",
|
|
52
|
-
],
|
|
53
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
54
|
-
variants: [
|
|
55
|
-
{
|
|
56
|
-
hostname: "cloudfront.{region}.amazonaws.com",
|
|
57
|
-
tags: [],
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
hostname: "cloudfront-fips.{region}.amazonaws.com",
|
|
61
|
-
tags: ["fips"],
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
hostname: "cloudfront-fips.{region}.api.aws",
|
|
65
|
-
tags: ["dualstack", "fips"],
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
hostname: "cloudfront.{region}.api.aws",
|
|
69
|
-
tags: ["dualstack"],
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
endpoint: "aws-global",
|
|
73
|
-
},
|
|
74
|
-
"aws-cn": {
|
|
75
|
-
regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
|
|
76
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
77
|
-
variants: [
|
|
78
|
-
{
|
|
79
|
-
hostname: "cloudfront.{region}.amazonaws.com.cn",
|
|
80
|
-
tags: [],
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
hostname: "cloudfront-fips.{region}.amazonaws.com.cn",
|
|
84
|
-
tags: ["fips"],
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
hostname: "cloudfront-fips.{region}.api.amazonwebservices.com.cn",
|
|
88
|
-
tags: ["dualstack", "fips"],
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
hostname: "cloudfront.{region}.api.amazonwebservices.com.cn",
|
|
92
|
-
tags: ["dualstack"],
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
endpoint: "aws-cn-global",
|
|
96
|
-
},
|
|
97
|
-
"aws-iso": {
|
|
98
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
99
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
100
|
-
variants: [
|
|
101
|
-
{
|
|
102
|
-
hostname: "cloudfront.{region}.c2s.ic.gov",
|
|
103
|
-
tags: [],
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
hostname: "cloudfront-fips.{region}.c2s.ic.gov",
|
|
107
|
-
tags: ["fips"],
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
},
|
|
111
|
-
"aws-iso-b": {
|
|
112
|
-
regions: ["us-isob-east-1"],
|
|
113
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
114
|
-
variants: [
|
|
115
|
-
{
|
|
116
|
-
hostname: "cloudfront.{region}.sc2s.sgov.gov",
|
|
117
|
-
tags: [],
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
hostname: "cloudfront-fips.{region}.sc2s.sgov.gov",
|
|
121
|
-
tags: ["fips"],
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
},
|
|
125
|
-
"aws-us-gov": {
|
|
126
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
127
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
128
|
-
variants: [
|
|
129
|
-
{
|
|
130
|
-
hostname: "cloudfront.{region}.amazonaws.com",
|
|
131
|
-
tags: [],
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
hostname: "cloudfront-fips.{region}.amazonaws.com",
|
|
135
|
-
tags: ["fips"],
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
hostname: "cloudfront-fips.{region}.api.aws",
|
|
139
|
-
tags: ["dualstack", "fips"],
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
hostname: "cloudfront.{region}.api.aws",
|
|
143
|
-
tags: ["dualstack"],
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
},
|
|
147
|
-
};
|
|
148
|
-
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
149
|
-
...options,
|
|
150
|
-
signingService: "cloudfront",
|
|
151
|
-
regionHash,
|
|
152
|
-
partitionHash,
|
|
153
|
-
});
|
|
154
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
package/dist-es/endpoints.js
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
const regionHash = {
|
|
3
|
-
"aws-cn-global": {
|
|
4
|
-
variants: [
|
|
5
|
-
{
|
|
6
|
-
hostname: "cloudfront.cn-northwest-1.amazonaws.com.cn",
|
|
7
|
-
tags: [],
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
signingRegion: "cn-northwest-1",
|
|
11
|
-
},
|
|
12
|
-
"aws-global": {
|
|
13
|
-
variants: [
|
|
14
|
-
{
|
|
15
|
-
hostname: "cloudfront.amazonaws.com",
|
|
16
|
-
tags: [],
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
signingRegion: "us-east-1",
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
const partitionHash = {
|
|
23
|
-
aws: {
|
|
24
|
-
regions: [
|
|
25
|
-
"af-south-1",
|
|
26
|
-
"ap-east-1",
|
|
27
|
-
"ap-northeast-1",
|
|
28
|
-
"ap-northeast-2",
|
|
29
|
-
"ap-northeast-3",
|
|
30
|
-
"ap-south-1",
|
|
31
|
-
"ap-southeast-1",
|
|
32
|
-
"ap-southeast-2",
|
|
33
|
-
"ap-southeast-3",
|
|
34
|
-
"aws-global",
|
|
35
|
-
"ca-central-1",
|
|
36
|
-
"eu-central-1",
|
|
37
|
-
"eu-north-1",
|
|
38
|
-
"eu-south-1",
|
|
39
|
-
"eu-west-1",
|
|
40
|
-
"eu-west-2",
|
|
41
|
-
"eu-west-3",
|
|
42
|
-
"me-central-1",
|
|
43
|
-
"me-south-1",
|
|
44
|
-
"sa-east-1",
|
|
45
|
-
"us-east-1",
|
|
46
|
-
"us-east-2",
|
|
47
|
-
"us-west-1",
|
|
48
|
-
"us-west-2",
|
|
49
|
-
],
|
|
50
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
51
|
-
variants: [
|
|
52
|
-
{
|
|
53
|
-
hostname: "cloudfront.{region}.amazonaws.com",
|
|
54
|
-
tags: [],
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
hostname: "cloudfront-fips.{region}.amazonaws.com",
|
|
58
|
-
tags: ["fips"],
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
hostname: "cloudfront-fips.{region}.api.aws",
|
|
62
|
-
tags: ["dualstack", "fips"],
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
hostname: "cloudfront.{region}.api.aws",
|
|
66
|
-
tags: ["dualstack"],
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
endpoint: "aws-global",
|
|
70
|
-
},
|
|
71
|
-
"aws-cn": {
|
|
72
|
-
regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
|
|
73
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
74
|
-
variants: [
|
|
75
|
-
{
|
|
76
|
-
hostname: "cloudfront.{region}.amazonaws.com.cn",
|
|
77
|
-
tags: [],
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
hostname: "cloudfront-fips.{region}.amazonaws.com.cn",
|
|
81
|
-
tags: ["fips"],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
hostname: "cloudfront-fips.{region}.api.amazonwebservices.com.cn",
|
|
85
|
-
tags: ["dualstack", "fips"],
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
hostname: "cloudfront.{region}.api.amazonwebservices.com.cn",
|
|
89
|
-
tags: ["dualstack"],
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
endpoint: "aws-cn-global",
|
|
93
|
-
},
|
|
94
|
-
"aws-iso": {
|
|
95
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
96
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
97
|
-
variants: [
|
|
98
|
-
{
|
|
99
|
-
hostname: "cloudfront.{region}.c2s.ic.gov",
|
|
100
|
-
tags: [],
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
hostname: "cloudfront-fips.{region}.c2s.ic.gov",
|
|
104
|
-
tags: ["fips"],
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
},
|
|
108
|
-
"aws-iso-b": {
|
|
109
|
-
regions: ["us-isob-east-1"],
|
|
110
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
111
|
-
variants: [
|
|
112
|
-
{
|
|
113
|
-
hostname: "cloudfront.{region}.sc2s.sgov.gov",
|
|
114
|
-
tags: [],
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
hostname: "cloudfront-fips.{region}.sc2s.sgov.gov",
|
|
118
|
-
tags: ["fips"],
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
},
|
|
122
|
-
"aws-us-gov": {
|
|
123
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
124
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
125
|
-
variants: [
|
|
126
|
-
{
|
|
127
|
-
hostname: "cloudfront.{region}.amazonaws.com",
|
|
128
|
-
tags: [],
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
hostname: "cloudfront-fips.{region}.amazonaws.com",
|
|
132
|
-
tags: ["fips"],
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
hostname: "cloudfront-fips.{region}.api.aws",
|
|
136
|
-
tags: ["dualstack", "fips"],
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
hostname: "cloudfront.{region}.api.aws",
|
|
140
|
-
tags: ["dualstack"],
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
},
|
|
144
|
-
};
|
|
145
|
-
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
146
|
-
...options,
|
|
147
|
-
signingService: "cloudfront",
|
|
148
|
-
regionHash,
|
|
149
|
-
partitionHash,
|
|
150
|
-
});
|