lib/aws-sdk-ecr/endpoints.rb in aws-sdk-ecr-1.79.0 vs lib/aws-sdk-ecr/endpoints.rb in aws-sdk-ecr-1.80.0
- old
+ new
@@ -304,10 +304,24 @@
endpoint: endpoint,
)
end
end
+ class GetAccountSetting
+ 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
@@ -431,9 +445,23 @@
)
end
end
class ListTagsForResource
+ 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 PutAccountSetting
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end
Aws::ECR::EndpointParameters.new(