update_expiration_for_hit
(**kwargs)¶The UpdateExpirationForHIT
operation allows you update the expiration time of a HIT. If you update it to a time in the past, the HIT will be immediately expired.
See also: AWS API Documentation
Request Syntax
response = client.update_expiration_for_hit(
HITId='string',
ExpireAt=datetime(2015, 1, 1)
)
[REQUIRED]
The HIT to update.
[REQUIRED]
The date and time at which you want the HIT to expire
dict
Response Syntax
{}
Response Structure
Exceptions
MTurk.Client.exceptions.ServiceFault
MTurk.Client.exceptions.RequestError