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