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