Module: Aws::ECR

Defined in:
lib/aws-sdk-ecr/endpoint_parameters.rb,
lib/aws-sdk-ecr/plugins/endpoints.rb,
lib/aws-sdk-ecr/endpoint_provider.rb,
lib/aws-sdk-ecr/client_api.rb,
lib/aws-sdk-ecr/endpoints.rb,
lib/aws-sdk-ecr/resource.rb,
lib/aws-sdk-ecr/waiters.rb,
lib/aws-sdk-ecr/errors.rb,
lib/aws-sdk-ecr/client.rb,
lib/aws-sdk-ecr/types.rb,
lib/aws-sdk-ecr.rb

Overview

This module provides support for Amazon EC2 Container Registry. This module is available in the ‘aws-sdk-ecr` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

ecr = Aws::ECR::Client.new
resp = ecr.batch_check_layer_availability(params)

See Client for more information.

# Errors

Errors returned from Amazon EC2 Container Registry are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ECR::Errors::ServiceError
  # rescues all Amazon EC2 Container Registry API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types, Waiters Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.78.0'