amazonka-devicefarm-2.0: Amazon Device Farm 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.DeviceFarm.ListJobs

Description

Gets information about jobs for a given test run.

This operation returns paginated results.

Synopsis

Creating a Request

data ListJobs Source #

Represents a request to the list jobs operation.

See: newListJobs smart constructor.

Constructors

ListJobs' 

Fields

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

  • arn :: Text

    The run's Amazon Resource Name (ARN).

Instances

Instances details
ToJSON ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

ToHeaders ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Methods

toHeaders :: ListJobs -> [Header] #

ToPath ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

ToQuery ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

AWSPager ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

AWSRequest ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Associated Types

type AWSResponse ListJobs #

Generic ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Associated Types

type Rep ListJobs :: Type -> Type #

Methods

from :: ListJobs -> Rep ListJobs x #

to :: Rep ListJobs x -> ListJobs #

Read ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Show ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

NFData ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Methods

rnf :: ListJobs -> () #

Eq ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Hashable ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

type AWSResponse ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

type Rep ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

type Rep ListJobs = D1 ('MetaData "ListJobs" "Amazonka.DeviceFarm.ListJobs" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "ListJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newListJobs Source #

Arguments

:: Text

ListJobs

-> ListJobs 

Create a value of ListJobs 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:

ListJobs, listJobs_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

ListJobs, listJobs_arn - The run's Amazon Resource Name (ARN).

Request Lenses

listJobs_nextToken :: Lens' ListJobs (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listJobs_arn :: Lens' ListJobs Text Source #

The run's Amazon Resource Name (ARN).

Destructuring the Response

data ListJobsResponse Source #

Represents the result of a list jobs request.

See: newListJobsResponse smart constructor.

Constructors

ListJobsResponse' 

Fields

  • jobs :: Maybe [Job]

    Information about the jobs.

  • nextToken :: Maybe Text

    If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Associated Types

type Rep ListJobsResponse :: Type -> Type #

Read ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Show ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

NFData ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Methods

rnf :: ListJobsResponse -> () #

Eq ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

type Rep ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

type Rep ListJobsResponse = D1 ('MetaData "ListJobsResponse" "Amazonka.DeviceFarm.ListJobs" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "ListJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Job])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListJobsResponse Source #

Create a value of ListJobsResponse 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:jobs:ListJobsResponse', listJobsResponse_jobs - Information about the jobs.

ListJobs, listJobsResponse_nextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

$sel:httpStatus:ListJobsResponse', listJobsResponse_httpStatus - The response's http status code.

Response Lenses

listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [Job]) Source #

Information about the jobs.

listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text) Source #

If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #

The response's http status code.