amazonka-devicefarm-1.2.0: Amazon Device Farm SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DeviceFarm.ListRuns

Contents

Description

Gets information about runs.

See: AWS API Reference for ListRuns.

Synopsis

Creating a Request

listRuns Source

Arguments

:: Text

lrArn

-> ListRuns 

Creates a value of ListRuns with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

lrNextToken :: 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.

lrArn :: Lens' ListRuns Text Source

The runs' ARNs.

Destructuring the Response

listRunsResponse Source

Creates a value of ListRunsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

lrrsRuns :: Lens' ListRunsResponse [Run] Source

Information about the runs.

lrrsNextToken :: Lens' ListRunsResponse (Maybe Text) Source

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

lrrsStatus :: Lens' ListRunsResponse Int Source

The response status code.