@aws-sdk/client-cloudfront 3.192.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 +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 +29 -27
- 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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.194.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.193.0...v3.194.0) (2022-10-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **endpoint:** add restXml endpoints 2.0 models ([#4069](https://github.com/aws/aws-sdk-js-v3/issues/4069)) ([4da5ff3](https://github.com/aws/aws-sdk-js-v3/commit/4da5ff38e5bf2b0b371f29cdbec6ee65a8fb5909))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.193.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.192.0...v3.193.0) (2022-10-20)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudfront
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.192.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.191.0...v3.192.0) (2022-10-19)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-cloudfront
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CloudFrontClient = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
6
7
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
8
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
9
|
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
@@ -10,18 +11,20 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
13
15
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
14
16
|
class CloudFrontClient extends smithy_client_1.Client {
|
|
15
17
|
constructor(configuration) {
|
|
16
18
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
17
|
-
const _config_1 = (0,
|
|
18
|
-
const _config_2 = (0, config_resolver_1.
|
|
19
|
-
const _config_3 = (0,
|
|
20
|
-
const _config_4 = (0,
|
|
21
|
-
const _config_5 = (0,
|
|
22
|
-
const _config_6 = (0,
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
20
|
+
const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
|
|
21
|
+
const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
|
|
22
|
+
const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
|
|
23
|
+
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
24
|
+
const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
|
|
25
|
+
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
|
26
|
+
super(_config_7);
|
|
27
|
+
this.config = _config_7;
|
|
25
28
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
26
29
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
27
30
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AssociateAliasCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class AssociateAliasCommand 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, AssociateAliasCommand.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.CreateCachePolicyCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateCachePolicyCommand 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, CreateCachePolicyCommand.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.CreateCloudFrontOriginAccessIdentityCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateCloudFrontOriginAccessIdentityCommand extends smithy_client_1.Comman
|
|
|
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, CreateCloudFrontOriginAccessIdentityCommand.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.CreateDistributionCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateDistributionCommand 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, CreateDistributionCommand.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.CreateDistributionWithTagsCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateDistributionWithTagsCommand 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, CreateDistributionWithTagsCommand.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.CreateFieldLevelEncryptionConfigCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateFieldLevelEncryptionConfigCommand 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, CreateFieldLevelEncryptionConfigCommand.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.CreateFieldLevelEncryptionProfileCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateFieldLevelEncryptionProfileCommand 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, CreateFieldLevelEncryptionProfileCommand.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.CreateFunctionCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateFunctionCommand 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, CreateFunctionCommand.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.CreateInvalidationCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateInvalidationCommand 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, CreateInvalidationCommand.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.CreateKeyGroupCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateKeyGroupCommand 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, CreateKeyGroupCommand.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.CreateMonitoringSubscriptionCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateMonitoringSubscriptionCommand 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, CreateMonitoringSubscriptionCommand.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.CreateOriginAccessControlCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateOriginAccessControlCommand 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, CreateOriginAccessControlCommand.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.CreateOriginRequestPolicyCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateOriginRequestPolicyCommand 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, CreateOriginRequestPolicyCommand.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.CreatePublicKeyCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreatePublicKeyCommand 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, CreatePublicKeyCommand.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.CreateRealtimeLogConfigCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateRealtimeLogConfigCommand 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, CreateRealtimeLogConfigCommand.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.CreateResponseHeadersPolicyCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateResponseHeadersPolicyCommand 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, CreateResponseHeadersPolicyCommand.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.CreateStreamingDistributionCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateStreamingDistributionCommand 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, CreateStreamingDistributionCommand.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.CreateStreamingDistributionWithTagsCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateStreamingDistributionWithTagsCommand 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, CreateStreamingDistributionWithTagsCommand.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.DeleteCachePolicyCommand = 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_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class DeleteCachePolicyCommand 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, DeleteCachePolicyCommand.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.DeleteCloudFrontOriginAccessIdentityCommand = 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 DeleteCloudFrontOriginAccessIdentityCommand extends smithy_client_1.Comman
|
|
|
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, DeleteCloudFrontOriginAccessIdentityCommand.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.DeleteDistributionCommand = 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 DeleteDistributionCommand 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, DeleteDistributionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "CloudFrontClient";
|