lib/aws-sdk-cloudfront/endpoints.rb in aws-sdk-cloudfront-1.69.0 vs lib/aws-sdk-cloudfront/endpoints.rb in aws-sdk-cloudfront-1.70.0

- old
+ new

@@ -23,10 +23,24 @@ 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 @@ -51,10 +65,24 @@ 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 @@ -289,10 +317,24 @@ 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 @@ -527,10 +569,38 @@ 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 @@ -877,10 +947,24 @@ 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 @@ -1214,9 +1298,23 @@ ) 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(