AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The CreateHITWithHITType
operation creates a new Human Intelligence Task (HIT)
using an existing HITTypeID generated by the CreateHITType
operation.
This is an alternative way to create HITs from the CreateHIT
operation. This
is the recommended best practice for Requesters who are creating large numbers of
HITs.
CreateHITWithHITType also supports several ways to provide question data: by providing
a value for the Question
parameter that fully specifies the contents of the
HIT, or by providing a HitLayoutId
and associated HitLayoutParameters
.
If a HIT is created with 10 or more maximum assignments, there is an additional fee. For more information, see Amazon Mechanical Turk Pricing.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateHITWithHITType and EndCreateHITWithHITType.
Namespace: Amazon.MTurk
Assembly: AWSSDK.MTurk.dll
Version: 3.x.y.z
public virtual Task<CreateHITWithHITTypeResponse> CreateHITWithHITTypeAsync( CreateHITWithHITTypeRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the CreateHITWithHITType service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
RequestErrorException | Your request is invalid. |
ServiceException | Amazon Mechanical Turk is temporarily unable to process your request. Try your call again. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5