Module: Aws::EMRServerless

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

Overview

This module provides support for EMR Serverless. This module is available in the ‘aws-sdk-emrserverless` 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.

emr_serverless = Aws::EMRServerless::Client.new
resp = emr_serverless.cancel_job_run(params)

See Client for more information.

# Errors

Errors returned from EMR Serverless are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::EMRServerless::Errors::ServiceError
  # rescues all EMR Serverless 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.37.0'