amazonka-devicefarm-1.5.0: Amazon Device Farm SDK.

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

Contents

Description

Gets information about tests.

This operation returns paginated results.

Synopsis

Creating a Request

listTests Source #

Arguments

:: Text

ltArn

-> ListTests 

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

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

  • ltNextToken - 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.
  • ltArn - The tests' ARNs.

data ListTests Source #

Represents a request to the list tests operation.

See: listTests smart constructor.

Instances

Eq ListTests Source # 
Data ListTests Source # 

Methods

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

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

toConstr :: ListTests -> Constr #

dataTypeOf :: ListTests -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTests Source # 
Show ListTests Source # 
Generic ListTests Source # 

Associated Types

type Rep ListTests :: * -> * #

Hashable ListTests Source # 
ToJSON ListTests Source # 
NFData ListTests Source # 

Methods

rnf :: ListTests -> () #

AWSPager ListTests Source # 
AWSRequest ListTests Source # 
ToQuery ListTests Source # 
ToPath ListTests Source # 
ToHeaders ListTests Source # 

Methods

toHeaders :: ListTests -> [Header] #

type Rep ListTests Source # 
type Rep ListTests = D1 (MetaData "ListTests" "Network.AWS.DeviceFarm.ListTests" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" False) (C1 (MetaCons "ListTests'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListTests Source # 

Request Lenses

ltNextToken :: Lens' ListTests (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.

ltArn :: Lens' ListTests Text Source #

The tests' ARNs.

Destructuring the Response

listTestsResponse Source #

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

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

  • ltrsTests - Information about the tests.
  • ltrsNextToken - 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.
  • ltrsResponseStatus - -- | The response status code.

data ListTestsResponse Source #

Represents the result of a list tests request.

See: listTestsResponse smart constructor.

Instances

Eq ListTestsResponse Source # 
Data ListTestsResponse Source # 

Methods

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

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

toConstr :: ListTestsResponse -> Constr #

dataTypeOf :: ListTestsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTestsResponse Source # 
Show ListTestsResponse Source # 
Generic ListTestsResponse Source # 
NFData ListTestsResponse Source # 

Methods

rnf :: ListTestsResponse -> () #

type Rep ListTestsResponse Source # 
type Rep ListTestsResponse = D1 (MetaData "ListTestsResponse" "Network.AWS.DeviceFarm.ListTests" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" False) (C1 (MetaCons "ListTestsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltrsTests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Test]))) ((:*:) (S1 (MetaSel (Just Symbol "_ltrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

ltrsTests :: Lens' ListTestsResponse [Test] Source #

Information about the tests.

ltrsNextToken :: Lens' ListTestsResponse (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.

ltrsResponseStatus :: Lens' ListTestsResponse Int Source #

  • - | The response status code.