lib/aws-sdk-ecr/endpoints.rb in aws-sdk-ecr-1.65.0 vs lib/aws-sdk-ecr/endpoints.rb in aws-sdk-ecr-1.66.0

- old
+ new

@@ -570,10 +570,38 @@ endpoint: endpoint, ) end end + class UpdatePullThroughCacheRule + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ECR::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 UploadLayerPart + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ECR::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 ValidatePullThroughCacheRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ECR::EndpointParameters.new(