libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MechanicalTurk.UpdateExpirationForHIT

Description

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.

Synopsis

Creating a Request

data UpdateExpirationForHIT Source #

See: newUpdateExpirationForHIT smart constructor.

Constructors

UpdateExpirationForHIT' 

Fields

Instances

Instances details
Eq UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Read UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Show UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Generic UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Associated Types

type Rep UpdateExpirationForHIT :: Type -> Type #

NFData UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Methods

rnf :: UpdateExpirationForHIT -> () #

Hashable UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

ToJSON UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

AWSRequest UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Associated Types

type AWSResponse UpdateExpirationForHIT #

ToHeaders UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

ToPath UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

ToQuery UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

type Rep UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

type Rep UpdateExpirationForHIT = D1 ('MetaData "UpdateExpirationForHIT" "Amazonka.MechanicalTurk.UpdateExpirationForHIT" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "UpdateExpirationForHIT'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hITId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "expireAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))
type AWSResponse UpdateExpirationForHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

newUpdateExpirationForHIT Source #

Create a value of UpdateExpirationForHIT with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hITId:UpdateExpirationForHIT', updateExpirationForHIT_hITId - The HIT to update.

$sel:expireAt:UpdateExpirationForHIT', updateExpirationForHIT_expireAt - The date and time at which you want the HIT to expire

Request Lenses

updateExpirationForHIT_expireAt :: Lens' UpdateExpirationForHIT UTCTime Source #

The date and time at which you want the HIT to expire

Destructuring the Response

data UpdateExpirationForHITResponse Source #

See: newUpdateExpirationForHITResponse smart constructor.

Constructors

UpdateExpirationForHITResponse' 

Fields

Instances

Instances details
Eq UpdateExpirationForHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Read UpdateExpirationForHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Show UpdateExpirationForHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Generic UpdateExpirationForHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

Associated Types

type Rep UpdateExpirationForHITResponse :: Type -> Type #

NFData UpdateExpirationForHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

type Rep UpdateExpirationForHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateExpirationForHIT

type Rep UpdateExpirationForHITResponse = D1 ('MetaData "UpdateExpirationForHITResponse" "Amazonka.MechanicalTurk.UpdateExpirationForHIT" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "UpdateExpirationForHITResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateExpirationForHITResponse Source #

Create a value of UpdateExpirationForHITResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateExpirationForHITResponse', updateExpirationForHITResponse_httpStatus - The response's http status code.

Response Lenses