You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::ECR
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon EC2 Container Registry.
Aws::ECR::Client
The Client class provides one-to-one mapping for each API operation.
ecr = Aws::ECR::Client.new(region: 'us-east-1')
ecr.operation_names
#=> [:batch_check_layer_availability, :batch_delete_image, :batch_get_image, :complete_layer_upload, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = ecr.batch_check_layer_availability(params)
See Client for more information.
Aws::ECR::Errors
Errors returned from Amazon EC2 Container Registry are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::ECR::Errors::ServiceError
# rescues all errors returned by Amazon EC2 Container Registry
end
See Errors for more information.
Defined Under Namespace
Modules: Errors, Types Classes: Client