Module: Aws::Textract

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

Overview

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

textract = Aws::Textract::Client.new
resp = textract.analyze_document(params)

See Client for more information.

# Errors

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

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