update_hit_type_of_hit

MTurk.Client.update_hit_type_of_hit(**kwargs)

The UpdateHITTypeOfHIT operation allows you to change the HITType properties of a HIT. This operation disassociates the HIT from its old HITType properties and associates it with the new HITType properties. The HIT takes on the properties of the new HITType in place of the old ones.

See also: AWS API Documentation

Request Syntax

response = client.update_hit_type_of_hit(
    HITId='string',
    HITTypeId='string'
)
Parameters
  • HITId (string) --

    [REQUIRED]

    The HIT to update.

  • HITTypeId (string) --

    [REQUIRED]

    The ID of the new HIT type.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • MTurk.Client.exceptions.ServiceFault
  • MTurk.Client.exceptions.RequestError