lib/aws-sdk-ecr/endpoints.rb in aws-sdk-ecr-1.78.0 vs lib/aws-sdk-ecr/endpoints.rb in aws-sdk-ecr-1.79.0
- old
+ new
@@ -108,10 +108,24 @@
endpoint: endpoint,
)
end
end
+ class CreateRepositoryCreationTemplate
+ 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 DeleteLifecyclePolicy
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end
@@ -164,10 +178,24 @@
endpoint: endpoint,
)
end
end
+ class DeleteRepositoryCreationTemplate
+ 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 DeleteRepositoryPolicy
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end
@@ -262,10 +290,24 @@
endpoint: endpoint,
)
end
end
+ class DescribeRepositoryCreationTemplates
+ 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 GetAuthorizationToken
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end
@@ -571,9 +613,23 @@
)
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 UpdateRepositoryCreationTemplate
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end
Aws::ECR::EndpointParameters.new(