amazonka-devicefarm-1.6.1: Amazon Device Farm SDK.

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

Network.AWS.DeviceFarm.ListRuns

Contents

Description

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

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:

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

data ListRuns Source #

Represents a request to the list runs operation.

See: listRuns smart constructor.

Instances
Eq ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Data ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Show ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Generic ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Associated Types

type Rep ListRuns :: Type -> Type #

Methods

from :: ListRuns -> Rep ListRuns x #

to :: Rep ListRuns x -> ListRuns #

Hashable ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Methods

hashWithSalt :: Int -> ListRuns -> Int #

hash :: ListRuns -> Int #

ToJSON ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

AWSPager ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

AWSRequest ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Associated Types

type Rs ListRuns :: Type #

ToHeaders ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Methods

toHeaders :: ListRuns -> [Header] #

ToPath ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

ToQuery ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

NFData ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Methods

rnf :: ListRuns -> () #

type Rep ListRuns Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

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

Defined in Network.AWS.DeviceFarm.ListRuns

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

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:

  • lrrsRuns - Information about the runs.
  • lrrsNextToken - 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 - -- | The response status code.

data ListRunsResponse Source #

Represents the result of a list runs request.

See: listRunsResponse smart constructor.

Instances
Eq ListRunsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Data ListRunsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Show ListRunsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Generic ListRunsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Associated Types

type Rep ListRunsResponse :: Type -> Type #

NFData ListRunsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

Methods

rnf :: ListRunsResponse -> () #

type Rep ListRunsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListRuns

type Rep ListRunsResponse = D1 (MetaData "ListRunsResponse" "Network.AWS.DeviceFarm.ListRuns" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "ListRunsResponse'" PrefixI True) (S1 (MetaSel (Just "_lrrsRuns") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Run])) :*: (S1 (MetaSel (Just "_lrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.