amazonka-mechanicalturk-2.0: Amazon Mechanical Turk SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.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

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 #

Generic ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Associated Types

type Rep ListReviewableHITs :: Type -> Type #

Read ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Show ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

NFData ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Methods

rnf :: ListReviewableHITs -> () #

Eq ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Hashable ListReviewableHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

type AWSResponse 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" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" 'False) (C1 ('MetaCons "ListReviewableHITs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "hITTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReviewableHITStatus)))))

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:

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:maxResults:ListReviewableHITs', listReviewableHITs_maxResults - Limit the number of results returned.

ListReviewableHITs, listReviewableHITs_nextToken - Pagination Token

ListReviewableHITs, listReviewableHITs_status - Can be either Reviewable or Reviewing. Reviewable is the default value.

Request Lenses

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.

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

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

Destructuring the Response

data ListReviewableHITsResponse Source #

See: newListReviewableHITsResponse smart constructor.

Constructors

ListReviewableHITsResponse' 

Fields

Instances

Instances details
Generic ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Associated Types

type Rep ListReviewableHITsResponse :: Type -> Type #

Read ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Show ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

NFData ListReviewableHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListReviewableHITs

Eq 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" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" 'False) (C1 ('MetaCons "ListReviewableHITsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "hITs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HIT])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "numResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: 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:hITs:ListReviewableHITsResponse', listReviewableHITsResponse_hITs - The list of HIT elements returned by the query.

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:httpStatus:ListReviewableHITsResponse', listReviewableHITsResponse_httpStatus - The response's http status code.

Response Lenses

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

The list of HIT elements returned by the query.

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.