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

Description

The ListReviewableHITs operation retrieves the HITs with Status equal to Reviewable or Status equal to Reviewing that belong to the Requester calling the operation.

This operation returns paginated results.

Synopsis

Creating a Request

data ListReviewableHITs Source #

See: newListReviewableHITs smart constructor.

Constructors

ListReviewableHITs' 

Fields

Instances

Instances details
Eq ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Read ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Show ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Generic ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Associated Types

type Rep ListReviewableHITs :: Type -> Type #

NFData ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Methods

rnf :: ListReviewableHITs -> () #

Hashable ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

ToJSON ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

AWSPager ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

AWSRequest ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Associated Types

type AWSResponse ListReviewableHITs #

ToHeaders ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

ToPath ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

ToQuery ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

type Rep ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

type Rep ListReviewableHITs = D1 ('MetaData "ListReviewableHITs" "Amazonka.MechanicalTurk.ListReviewableHITs" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ListReviewableHITs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReviewableHITStatus)) :*: S1 ('MetaSel ('Just "hITTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

newListReviewableHITs :: ListReviewableHITs Source #

Create a value of ListReviewableHITs 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:status:ListReviewableHITs', listReviewableHITs_status - Can be either Reviewable or Reviewing. Reviewable is the default value.

$sel:hITTypeId:ListReviewableHITs', listReviewableHITs_hITTypeId - The ID of the HIT type of the HITs to consider for the query. If not specified, all HITs for the Reviewer are considered

$sel:nextToken:ListReviewableHITs', listReviewableHITs_nextToken - Pagination Token

$sel:maxResults:ListReviewableHITs', listReviewableHITs_maxResults - Limit the number of results returned.

Request Lenses

listReviewableHITs_status :: Lens' ListReviewableHITs (Maybe ReviewableHITStatus) Source #

Can be either Reviewable or Reviewing. Reviewable is the default value.

listReviewableHITs_hITTypeId :: Lens' ListReviewableHITs (Maybe Text) Source #

The ID of the HIT type of the HITs to consider for the query. If not specified, all HITs for the Reviewer are considered

listReviewableHITs_maxResults :: Lens' ListReviewableHITs (Maybe Natural) Source #

Limit the number of results returned.

Destructuring the Response

data ListReviewableHITsResponse Source #

See: newListReviewableHITsResponse smart constructor.

Constructors

ListReviewableHITsResponse' 

Fields

Instances

Instances details
Eq ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Read ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Show ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Generic ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Associated Types

type Rep ListReviewableHITsResponse :: Type -> Type #

NFData ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

type Rep ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

type Rep ListReviewableHITsResponse = D1 ('MetaData "ListReviewableHITsResponse" "Amazonka.MechanicalTurk.ListReviewableHITs" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ListReviewableHITsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "numResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "hITs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HIT])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListReviewableHITsResponse Source #

Create a value of ListReviewableHITsResponse 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:nextToken:ListReviewableHITs', listReviewableHITsResponse_nextToken - Undocumented member.

$sel:numResults:ListReviewableHITsResponse', listReviewableHITsResponse_numResults - The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.

$sel:hITs:ListReviewableHITsResponse', listReviewableHITsResponse_hITs - The list of HIT elements returned by the query.

$sel:httpStatus:ListReviewableHITsResponse', listReviewableHITsResponse_httpStatus - The response's http status code.

Response Lenses

listReviewableHITsResponse_numResults :: Lens' ListReviewableHITsResponse (Maybe Int) Source #

The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.

listReviewableHITsResponse_hITs :: Lens' ListReviewableHITsResponse (Maybe [HIT]) Source #

The list of HIT elements returned by the query.