# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFront module Endpoints class AssociateAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CopyDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCachePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCloudFrontOriginAccessIdentity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateContinuousDeploymentPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateDistributionWithTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFieldLevelEncryptionConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFieldLevelEncryptionProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateInvalidation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateKeyGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateMonitoringSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateOriginAccessControl def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateOriginRequestPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreatePublicKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateRealtimeLogConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateResponseHeadersPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateStreamingDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateStreamingDistributionWithTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteCachePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteCloudFrontOriginAccessIdentity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteContinuousDeploymentPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFieldLevelEncryptionConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFieldLevelEncryptionProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteKeyGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteMonitoringSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteOriginAccessControl def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteOriginRequestPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeletePublicKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteRealtimeLogConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteResponseHeadersPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteStreamingDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCachePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCachePolicyConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCloudFrontOriginAccessIdentity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCloudFrontOriginAccessIdentityConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetContinuousDeploymentPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetContinuousDeploymentPolicyConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetDistributionConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFieldLevelEncryption def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFieldLevelEncryptionConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFieldLevelEncryptionProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFieldLevelEncryptionProfileConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInvalidation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetKeyGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetKeyGroupConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetMonitoringSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetOriginAccessControl def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetOriginAccessControlConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetOriginRequestPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetOriginRequestPolicyConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetPublicKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetPublicKeyConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetRealtimeLogConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetResponseHeadersPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetResponseHeadersPolicyConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetStreamingDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetStreamingDistributionConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListCachePolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListCloudFrontOriginAccessIdentities def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListConflictingAliases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListContinuousDeploymentPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListDistributions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListDistributionsByCachePolicyId def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListDistributionsByKeyGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListDistributionsByOriginRequestPolicyId def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListDistributionsByRealtimeLogConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListDistributionsByResponseHeadersPolicyId def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListDistributionsByWebACLId def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListFieldLevelEncryptionConfigs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListFieldLevelEncryptionProfiles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListFunctions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListInvalidations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListKeyGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListOriginAccessControls def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListOriginRequestPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListPublicKeys def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListRealtimeLogConfigs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListResponseHeadersPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListStreamingDistributions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTagsForResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PublishFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class TagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class TestFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UntagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateCachePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateCloudFrontOriginAccessIdentity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateContinuousDeploymentPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateDistributionWithStagingConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFieldLevelEncryptionConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFieldLevelEncryptionProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateKeyGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateOriginAccessControl def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateOriginRequestPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdatePublicKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateRealtimeLogConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateResponseHeadersPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateStreamingDistribution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end end end