AWS SDK Version 3 for .NET
API Reference

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.

Container for the parameters to the CreateAdditionalAssignmentsForHIT operation. 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.

  • HITs created with fewer than 10 assignments cannot be extended to have 10 or more assignments. Attempting to add assignments in a way that brings the total number of assignments for a HIT from fewer than 10 assignments to 10 or more assignments will result in an AWS.MechanicalTurk.InvalidMaximumAssignmentsIncrease exception.

  • HITs that were created before July 22, 2015 cannot be extended. Attempting to extend HITs that were created before July 22, 2015 will result in an AWS.MechanicalTurk.HITTooOldForExtension exception.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.MTurk.AmazonMTurkRequest
      Amazon.MTurk.Model.CreateAdditionalAssignmentsForHITRequest

Namespace: Amazon.MTurk.Model
Assembly: AWSSDK.MTurk.dll
Version: 3.x.y.z

Syntax

C#
public class CreateAdditionalAssignmentsForHITRequest : AmazonMTurkRequest
         IAmazonWebServiceRequest

The CreateAdditionalAssignmentsForHITRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property HITId System.String

Gets and sets the property HITId.

The ID of the HIT to extend.

Public Property NumberOfAdditionalAssignments System.Int32

Gets and sets the property NumberOfAdditionalAssignments.

The number of additional assignments to request for this HIT.

Public Property UniqueRequestToken System.String

Gets and sets the property UniqueRequestToken.

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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms