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