Module: Aws::Comprehend
- Defined in:
- lib/aws-sdk-comprehend/endpoint_parameters.rb,
lib/aws-sdk-comprehend/plugins/endpoints.rb,
lib/aws-sdk-comprehend/endpoint_provider.rb,
lib/aws-sdk-comprehend/client_api.rb,
lib/aws-sdk-comprehend/endpoints.rb,
lib/aws-sdk-comprehend/resource.rb,
lib/aws-sdk-comprehend/errors.rb,
lib/aws-sdk-comprehend/client.rb,
lib/aws-sdk-comprehend/types.rb,
lib/aws-sdk-comprehend.rb
Overview
This module provides support for Amazon Comprehend. This module is available in the ‘aws-sdk-comprehend` 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.
comprehend = Aws::Comprehend::Client.new
resp = comprehend.batch_detect_dominant_language(params)
See Client for more information.
# Errors
Errors returned from Amazon Comprehend are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::Comprehend::Errors::ServiceError
# rescues all Amazon Comprehend 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.93.0'