Module: Aws::Athena

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

Overview

This module provides support for Amazon Athena. This module is available in the ‘aws-sdk-athena` 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.

athena = Aws::Athena::Client.new
resp = athena.batch_get_named_query(params)

See Client for more information.

# Errors

Errors returned from Amazon Athena are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Athena::Errors::ServiceError
  # rescues all Amazon Athena 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.97.0'