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

Description

Gets information about runs, given an AWS Device Farm project ARN.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRuns Source #

Represents a request to the list runs operation.

See: newListRuns smart constructor.

Constructors

ListRuns' 

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 Amazon Resource Name (ARN) of the project for which you want to list runs.

Instances

Instances details
Eq ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Read ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Show ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Generic ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Associated Types

type Rep ListRuns :: Type -> Type #

Methods

from :: ListRuns -> Rep ListRuns x #

to :: Rep ListRuns x -> ListRuns #

NFData ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Methods

rnf :: ListRuns -> () #

Hashable ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Methods

hashWithSalt :: Int -> ListRuns -> Int #

hash :: ListRuns -> Int #

ToJSON ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

AWSPager ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

AWSRequest ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Associated Types

type AWSResponse ListRuns #

ToHeaders ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Methods

toHeaders :: ListRuns -> [Header] #

ToPath ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

ToQuery ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

type Rep ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

type Rep ListRuns = D1 ('MetaData "ListRuns" "Amazonka.DeviceFarm.ListRuns" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListRuns'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListRuns Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

newListRuns Source #

Create a value of ListRuns 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:ListRuns', listRuns_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:ListRuns', listRuns_arn - The Amazon Resource Name (ARN) of the project for which you want to list runs.

Request Lenses

listRuns_nextToken :: Lens' ListRuns (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.

listRuns_arn :: Lens' ListRuns Text Source #

The Amazon Resource Name (ARN) of the project for which you want to list runs.

Destructuring the Response

data ListRunsResponse Source #

Represents the result of a list runs request.

See: newListRunsResponse smart constructor.

Constructors

ListRunsResponse' 

Fields

  • runs :: Maybe [Run]

    Information about the runs.

  • 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 ListRunsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Read ListRunsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Show ListRunsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Generic ListRunsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Associated Types

type Rep ListRunsResponse :: Type -> Type #

NFData ListRunsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

Methods

rnf :: ListRunsResponse -> () #

type Rep ListRunsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListRuns

type Rep ListRunsResponse = D1 ('MetaData "ListRunsResponse" "Amazonka.DeviceFarm.ListRuns" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListRunsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "runs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Run])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRunsResponse Source #

Create a value of ListRunsResponse 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:runs:ListRunsResponse', listRunsResponse_runs - Information about the runs.

$sel:nextToken:ListRuns', listRunsResponse_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:ListRunsResponse', listRunsResponse_httpStatus - The response's http status code.

Response Lenses

listRunsResponse_runs :: Lens' ListRunsResponse (Maybe [Run]) Source #

Information about the runs.

listRunsResponse_nextToken :: Lens' ListRunsResponse (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.

listRunsResponse_httpStatus :: Lens' ListRunsResponse Int Source #

The response's http status code.