NAME

Paws::MTurk::CreateHITType - Arguments for method CreateHITType on Paws::MTurk

DESCRIPTION

This class represents the parameters used for calling the method CreateHITType on the Amazon Mechanical Turk service. Use the attributes of this class as arguments to method CreateHITType.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateHITType.

SYNOPSIS

    my $mturk-requester = Paws->service('MTurk');
    my $CreateHITTypeResponse = $mturk -requester->CreateHITType(
      AssignmentDurationInSeconds => 1,
      Description                 => 'MyString',
      Reward                      => 'MyCurrencyAmount',
      Title                       => 'MyString',
      AutoApprovalDelayInSeconds  => 1,                    # OPTIONAL
      Keywords                    => 'MyString',           # OPTIONAL
      QualificationRequirements   => [
        {
          Comparator => 'LessThan'
          , # values: LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo, EqualTo, NotEqualTo, Exists, DoesNotExist, In, NotIn
          QualificationTypeId => 'MyString',
          ActionsGuarded      => 'Accept'
          , # values: Accept, PreviewAndAccept, DiscoverPreviewAndAccept; OPTIONAL
          IntegerValues => [ 1, ... ],    # OPTIONAL
          LocaleValues => [
            {
              Country     => 'MyCountryParameters',    # min: 2, max: 2
              Subdivision => 'MyCountryParameters',    # min: 2, max: 2
            },
            ...
          ],                                           # OPTIONAL
          RequiredToPreview => 1,                      # OPTIONAL
        },
        ...
      ],                                               # OPTIONAL
    );

    # Results:
    my $HITTypeId = $CreateHITTypeResponse->HITTypeId;

    # Returns a L<Paws::MTurk::CreateHITTypeResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester/CreateHITType

ATTRIBUTES

REQUIRED AssignmentDurationInSeconds => Int

The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does not complete the assignment within the specified duration, the assignment is considered abandoned. If the HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other users to find and accept.

AutoApprovalDelayInSeconds => Int

The number of seconds after an assignment for the HIT has been submitted, after which the assignment is considered Approved automatically unless the Requester explicitly rejects it.

REQUIRED Description => Str

A general description of the HIT. A description includes detailed information about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of search results, and in the HIT and assignment screens. A good description gives the user enough information to evaluate the HIT before accepting it.

Keywords => Str

One or more words or phrases that describe the HIT, separated by commas. These words are used in searches to find HITs.

QualificationRequirements => ArrayRef[Paws::MTurk::QualificationRequirement]

Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.

REQUIRED Reward => Str

The amount of money the Requester will pay a Worker for successfully completing the HIT.

REQUIRED Title => Str

The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is mentioned.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateHITType in Paws::MTurk

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues