amazonka-devicefarm-1.4.3: Amazon Device Farm SDK.

Copyright(c) 2013-2016 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.

This operation returns paginated results.

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:

data ListRuns Source #

Represents a request to the list runs operation.

See: listRuns smart constructor.

Instances

Eq ListRuns Source # 
Data ListRuns Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListRuns -> c ListRuns #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListRuns #

toConstr :: ListRuns -> Constr #

dataTypeOf :: ListRuns -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListRuns) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListRuns) #

gmapT :: (forall b. Data b => b -> b) -> ListRuns -> ListRuns #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListRuns -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListRuns -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListRuns -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListRuns -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListRuns -> m ListRuns #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListRuns -> m ListRuns #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListRuns -> m ListRuns #

Read ListRuns Source # 
Show ListRuns Source # 
Generic ListRuns Source # 

Associated Types

type Rep ListRuns :: * -> * #

Methods

from :: ListRuns -> Rep ListRuns x #

to :: Rep ListRuns x -> ListRuns #

Hashable ListRuns Source # 

Methods

hashWithSalt :: Int -> ListRuns -> Int #

hash :: ListRuns -> Int #

ToJSON ListRuns Source # 
NFData ListRuns Source # 

Methods

rnf :: ListRuns -> () #

AWSPager ListRuns Source # 
AWSRequest ListRuns Source # 
ToQuery ListRuns Source # 
ToPath ListRuns Source # 
ToHeaders ListRuns Source # 

Methods

toHeaders :: ListRuns -> [Header] #

type Rep ListRuns Source # 
type Rep ListRuns = D1 (MetaData "ListRuns" "Network.AWS.DeviceFarm.ListRuns" "amazonka-devicefarm-1.4.3-JIWH0Jp8oKH7T0lsXw5vcY" False) (C1 (MetaCons "ListRuns'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListRuns Source # 

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:

data ListRunsResponse Source #

Represents the result of a list runs request.

See: listRunsResponse smart constructor.

Instances

Eq ListRunsResponse Source # 
Data ListRunsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListRunsResponse -> c ListRunsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListRunsResponse #

toConstr :: ListRunsResponse -> Constr #

dataTypeOf :: ListRunsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListRunsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListRunsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListRunsResponse -> ListRunsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListRunsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListRunsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListRunsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListRunsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListRunsResponse -> m ListRunsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListRunsResponse -> m ListRunsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListRunsResponse -> m ListRunsResponse #

Read ListRunsResponse Source # 
Show ListRunsResponse Source # 
Generic ListRunsResponse Source # 
NFData ListRunsResponse Source # 

Methods

rnf :: ListRunsResponse -> () #

type Rep ListRunsResponse Source # 
type Rep ListRunsResponse = D1 (MetaData "ListRunsResponse" "Network.AWS.DeviceFarm.ListRuns" "amazonka-devicefarm-1.4.3-JIWH0Jp8oKH7T0lsXw5vcY" False) (C1 (MetaCons "ListRunsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrrsRuns") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Run]))) ((:*:) (S1 (MetaSel (Just Symbol "_lrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

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.

lrrsResponseStatus :: Lens' ListRunsResponse Int Source #

The response status code.