Module: Aws::Batch

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

Overview

This module provides support for AWS Batch. This module is available in the ‘aws-sdk-batch` 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.

batch = Aws::Batch::Client.new
resp = batch.cancel_job(params)

See Client for more information.

# Errors

Errors returned from AWS Batch are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Batch::Errors::ServiceError
  # rescues all AWS Batch 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.85.0'