libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
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.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
Eq ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Read ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Show ListJobs Source # 
Instance details

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

NFData ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Methods

rnf :: ListJobs -> () #

Hashable ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

ToJSON 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 #

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

type Rep ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

type Rep ListJobs = D1 ('MetaData "ListJobs" "Amazonka.DeviceFarm.ListJobs" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" '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)))
type AWSResponse ListJobs Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

newListJobs Source #

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:

$sel:nextToken: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.

$sel:arn: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
Eq ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Read ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Show ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Generic ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Associated Types

type Rep ListJobsResponse :: Type -> Type #

NFData ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

Methods

rnf :: ListJobsResponse -> () #

type Rep ListJobsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListJobs

type Rep ListJobsResponse = D1 ('MetaData "ListJobsResponse" "Amazonka.DeviceFarm.ListJobs" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" '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.

$sel:nextToken: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.