Module: Aws::Imagebuilder
- Defined in:
- lib/aws-sdk-imagebuilder/endpoint_parameters.rb,
lib/aws-sdk-imagebuilder/plugins/endpoints.rb,
lib/aws-sdk-imagebuilder/endpoint_provider.rb,
lib/aws-sdk-imagebuilder/client_api.rb,
lib/aws-sdk-imagebuilder/endpoints.rb,
lib/aws-sdk-imagebuilder/resource.rb,
lib/aws-sdk-imagebuilder/errors.rb,
lib/aws-sdk-imagebuilder/client.rb,
lib/aws-sdk-imagebuilder/types.rb,
lib/aws-sdk-imagebuilder.rb
Overview
This module provides support for EC2 Image Builder. This module is available in the ‘aws-sdk-imagebuilder` 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.
imagebuilder = Aws::Imagebuilder::Client.new
resp = imagebuilder.cancel_image_creation(params)
See Client for more information.
# Errors
Errors returned from EC2 Image Builder are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::Imagebuilder::Errors::ServiceError
# rescues all EC2 Image Builder API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource
service collapse
- GEM_VERSION =
'1.74.0'