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

Description

The ListHITs operation returns all of a Requester's HITs. The operation returns HITs of any status, except for HITs that have been deleted of with the DeleteHIT operation or that have been auto-deleted.

This operation returns paginated results.

Synopsis

Creating a Request

data ListHITs Source #

See: newListHITs smart constructor.

Constructors

ListHITs' 

Fields

Instances

Instances details
Eq ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Read ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Show ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Generic ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Associated Types

type Rep ListHITs :: Type -> Type #

Methods

from :: ListHITs -> Rep ListHITs x #

to :: Rep ListHITs x -> ListHITs #

NFData ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Methods

rnf :: ListHITs -> () #

Hashable ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Methods

hashWithSalt :: Int -> ListHITs -> Int #

hash :: ListHITs -> Int #

ToJSON ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

AWSPager ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

AWSRequest ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Associated Types

type AWSResponse ListHITs #

ToHeaders ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Methods

toHeaders :: ListHITs -> [Header] #

ToPath ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

ToQuery ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

type Rep ListHITs Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

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

Defined in Amazonka.MechanicalTurk.ListHITs

newListHITs :: ListHITs Source #

Create a value of ListHITs 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:ListHITs', listHITs_nextToken - Pagination token

$sel:maxResults:ListHITs', listHITs_maxResults - Undocumented member.

Request Lenses

Destructuring the Response

data ListHITsResponse Source #

See: newListHITsResponse smart constructor.

Constructors

ListHITsResponse' 

Fields

Instances

Instances details
Eq ListHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Read ListHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Show ListHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Generic ListHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Associated Types

type Rep ListHITsResponse :: Type -> Type #

NFData ListHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

Methods

rnf :: ListHITsResponse -> () #

type Rep ListHITsResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListHITs

type Rep ListHITsResponse = D1 ('MetaData "ListHITsResponse" "Amazonka.MechanicalTurk.ListHITs" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ListHITsResponse'" '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))))

newListHITsResponse Source #

Create a value of ListHITsResponse 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:ListHITs', listHITsResponse_nextToken - Undocumented member.

$sel:numResults:ListHITsResponse', listHITsResponse_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:ListHITsResponse', listHITsResponse_hITs - The list of HIT elements returned by the query.

$sel:httpStatus:ListHITsResponse', listHITsResponse_httpStatus - The response's http status code.

Response Lenses

listHITsResponse_numResults :: Lens' ListHITsResponse (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.

listHITsResponse_hITs :: Lens' ListHITsResponse (Maybe [HIT]) Source #

The list of HIT elements returned by the query.

listHITsResponse_httpStatus :: Lens' ListHITsResponse Int Source #

The response's http status code.