amazonka-mechanicalturk-1.6.1: Amazon Mechanical Turk SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

The CreateAdditionalAssignmentsForHIT operation increases the maximum number of assignments of an existing HIT.

To extend the maximum number of assignments, specify the number of additional assignments.

Synopsis

# Creating a Request

Arguments

 :: Text caafhitHITId -> Int caafhitNumberOfAdditionalAssignments -> CreateAdditionalAssignmentsForHIT

Creates a value of CreateAdditionalAssignmentsForHIT with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• caafhitUniqueRequestToken - A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken , subsequent calls will return an error with a message containing the request ID.
• caafhitHITId - The ID of the HIT to extend.
• caafhitNumberOfAdditionalAssignments - The number of additional assignments to request for this HIT.

See: createAdditionalAssignmentsForHIT smart constructor.

Instances

# Request Lenses

A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken , subsequent calls will return an error with a message containing the request ID.

The ID of the HIT to extend.

The number of additional assignments to request for this HIT.

# Destructuring the Response

Arguments

 :: Int caafhitrsResponseStatus -> CreateAdditionalAssignmentsForHITResponse

Creates a value of CreateAdditionalAssignmentsForHITResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• caafhitrsResponseStatus - -- | The response status code.

See: createAdditionalAssignmentsForHITResponse smart constructor.

Instances