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

Description

The GetAssignment operation retrieves the details of the specified Assignment.

Synopsis

Creating a Request

data GetAssignment Source #

See: newGetAssignment smart constructor.

Constructors

GetAssignment' 

Fields

Instances

Instances details
Eq GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Read GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Show GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Generic GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Associated Types

type Rep GetAssignment :: Type -> Type #

NFData GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Methods

rnf :: GetAssignment -> () #

Hashable GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

ToJSON GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

AWSRequest GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Associated Types

type AWSResponse GetAssignment #

ToHeaders GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

ToPath GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

ToQuery GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

type Rep GetAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

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

Defined in Amazonka.MechanicalTurk.GetAssignment

newGetAssignment Source #

Create a value of GetAssignment 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:assignmentId:GetAssignment', getAssignment_assignmentId - The ID of the Assignment to be retrieved.

Request Lenses

getAssignment_assignmentId :: Lens' GetAssignment Text Source #

The ID of the Assignment to be retrieved.

Destructuring the Response

data GetAssignmentResponse Source #

See: newGetAssignmentResponse smart constructor.

Constructors

GetAssignmentResponse' 

Fields

Instances

Instances details
Eq GetAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Read GetAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Show GetAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Generic GetAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Associated Types

type Rep GetAssignmentResponse :: Type -> Type #

NFData GetAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

Methods

rnf :: GetAssignmentResponse -> () #

type Rep GetAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAssignment

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

newGetAssignmentResponse Source #

Create a value of GetAssignmentResponse 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:GetAssignmentResponse', getAssignmentResponse_hit - The HIT associated with this assignment. The response includes one HIT element.

$sel:assignment:GetAssignmentResponse', getAssignmentResponse_assignment - The assignment. The response includes one Assignment element.

$sel:httpStatus:GetAssignmentResponse', getAssignmentResponse_httpStatus - The response's http status code.

Response Lenses

getAssignmentResponse_hit :: Lens' GetAssignmentResponse (Maybe HIT) Source #

The HIT associated with this assignment. The response includes one HIT element.

getAssignmentResponse_assignment :: Lens' GetAssignmentResponse (Maybe Assignment) Source #

The assignment. The response includes one Assignment element.