@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
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
-
const
|
|
5
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a, _b, _c, _d, _e;
|
|
8
8
|
return ({
|
|
9
9
|
apiVersion: "2020-05-31",
|
|
10
10
|
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
|
|
12
|
+
logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
|
|
13
13
|
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "CloudFront",
|
|
14
14
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
15
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
+
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
4
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
5
6
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
@@ -7,18 +8,20 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
10
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
13
|
export class CloudFrontClient extends __Client {
|
|
12
14
|
constructor(configuration) {
|
|
13
15
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
-
const _config_1 =
|
|
15
|
-
const _config_2 =
|
|
16
|
-
const _config_3 =
|
|
17
|
-
const _config_4 =
|
|
18
|
-
const _config_5 =
|
|
19
|
-
const _config_6 =
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
17
|
+
const _config_2 = resolveRegionConfig(_config_1);
|
|
18
|
+
const _config_3 = resolveEndpointConfig(_config_2);
|
|
19
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
20
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
21
|
+
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
22
|
+
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
23
|
+
super(_config_7);
|
|
24
|
+
this.config = _config_7;
|
|
22
25
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
26
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
27
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateAliasRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateAliasCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateAliasCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateCachePolicyRequestFilterSensitiveLog, CreateCachePolicyResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateCachePolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateCachePolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateCloudFrontOriginAccessIdentityRequestFilterSensitiveLog, CreateCloudFrontOriginAccessIdentityResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateCloudFrontOriginAccessIdentityCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateCloudFrontOriginAccessIdentityCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateDistributionRequestFilterSensitiveLog, CreateDistributionResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateDistributionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateDistributionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateDistributionWithTagsRequestFilterSensitiveLog, CreateDistributionWithTagsResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateDistributionWithTagsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateDistributionWithTagsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateFieldLevelEncryptionConfigRequestFilterSensitiveLog, CreateFieldLevelEncryptionConfigResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateFieldLevelEncryptionConfigCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateFieldLevelEncryptionConfigCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateFieldLevelEncryptionProfileRequestFilterSensitiveLog, CreateFieldLevelEncryptionProfileResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateFieldLevelEncryptionProfileCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateFieldLevelEncryptionProfileCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateFunctionRequestFilterSensitiveLog, CreateFunctionResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateFunctionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateFunctionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateInvalidationRequestFilterSensitiveLog, CreateInvalidationResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateInvalidationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateInvalidationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateKeyGroupRequestFilterSensitiveLog, CreateKeyGroupResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateKeyGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateKeyGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateMonitoringSubscriptionRequestFilterSensitiveLog, CreateMonitoringSubscriptionResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateMonitoringSubscriptionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateMonitoringSubscriptionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateOriginAccessControlRequestFilterSensitiveLog, CreateOriginAccessControlResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateOriginAccessControlCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateOriginAccessControlCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateOriginRequestPolicyRequestFilterSensitiveLog, CreateOriginRequestPolicyResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateOriginRequestPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateOriginRequestPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreatePublicKeyRequestFilterSensitiveLog, CreatePublicKeyResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreatePublicKeyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreatePublicKeyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateRealtimeLogConfigRequestFilterSensitiveLog, CreateRealtimeLogConfigResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateRealtimeLogConfigCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateRealtimeLogConfigCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateResponseHeadersPolicyRequestFilterSensitiveLog, CreateResponseHeadersPolicyResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateResponseHeadersPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateResponseHeadersPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateStreamingDistributionRequestFilterSensitiveLog, CreateStreamingDistributionResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateStreamingDistributionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateStreamingDistributionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateStreamingDistributionWithTagsRequestFilterSensitiveLog, CreateStreamingDistributionWithTagsResultFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateStreamingDistributionWithTagsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateStreamingDistributionWithTagsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteCachePolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteCachePolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCachePolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteCloudFrontOriginAccessIdentityRequestFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteCloudFrontOriginAccessIdentityCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCloudFrontOriginAccessIdentityCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteDistributionRequestFilterSensitiveLog } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteDistributionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteDistributionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteFieldLevelEncryptionConfigRequestFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteFieldLevelEncryptionConfigCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFieldLevelEncryptionConfigCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteFieldLevelEncryptionProfileRequestFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteFieldLevelEncryptionProfileCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFieldLevelEncryptionProfileCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteFunctionRequestFilterSensitiveLog } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteFunctionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFunctionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CloudFrontClient";
|