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.GetHIT

Description

The GetHIT operation retrieves the details of the specified HIT.

Synopsis

Creating a Request

data GetHIT Source #

See: newGetHIT smart constructor.

Constructors

GetHIT' 

Fields

  • hITId :: Text

    The ID of the HIT to be retrieved.

Instances

Instances details
Eq GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Methods

(==) :: GetHIT -> GetHIT -> Bool #

(/=) :: GetHIT -> GetHIT -> Bool #

Read GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Show GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Generic GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Associated Types

type Rep GetHIT :: Type -> Type #

Methods

from :: GetHIT -> Rep GetHIT x #

to :: Rep GetHIT x -> GetHIT #

NFData GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Methods

rnf :: GetHIT -> () #

Hashable GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Methods

hashWithSalt :: Int -> GetHIT -> Int #

hash :: GetHIT -> Int #

ToJSON GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

AWSRequest GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Associated Types

type AWSResponse GetHIT #

ToHeaders GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Methods

toHeaders :: GetHIT -> [Header] #

ToPath GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Methods

toPath :: GetHIT -> ByteString #

ToQuery GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

type Rep GetHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

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

Defined in Amazonka.MechanicalTurk.GetHIT

newGetHIT Source #

Create a value of GetHIT 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:GetHIT', getHIT_hITId - The ID of the HIT to be retrieved.

Request Lenses

getHIT_hITId :: Lens' GetHIT Text Source #

The ID of the HIT to be retrieved.

Destructuring the Response

data GetHITResponse Source #

See: newGetHITResponse smart constructor.

Constructors

GetHITResponse' 

Fields

Instances

Instances details
Eq GetHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Read GetHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Show GetHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Generic GetHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Associated Types

type Rep GetHITResponse :: Type -> Type #

NFData GetHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

Methods

rnf :: GetHITResponse -> () #

type Rep GetHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetHIT

type Rep GetHITResponse = D1 ('MetaData "GetHITResponse" "Amazonka.MechanicalTurk.GetHIT" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "GetHITResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HIT)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetHITResponse Source #

Create a value of GetHITResponse 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:hit:GetHITResponse', getHITResponse_hit - Contains the requested HIT data.

$sel:httpStatus:GetHITResponse', getHITResponse_httpStatus - The response's http status code.

Response Lenses

getHITResponse_hit :: Lens' GetHITResponse (Maybe HIT) Source #

Contains the requested HIT data.

getHITResponse_httpStatus :: Lens' GetHITResponse Int Source #

The response's http status code.