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