amazonka-devicefarm-1.4.5: 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.ListSamples

Contents

Description

Gets information about samples, given an AWS Device Farm project ARN

This operation returns paginated results.

Synopsis

Creating a Request

listSamples Source #

Arguments

:: Text

lsArn

-> ListSamples 

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

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

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

data ListSamples Source #

Represents a request to the list samples operation.

See: listSamples smart constructor.

Instances

Eq ListSamples Source # 
Data ListSamples Source # 

Methods

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

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

toConstr :: ListSamples -> Constr #

dataTypeOf :: ListSamples -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListSamples Source # 
Show ListSamples Source # 
Generic ListSamples Source # 

Associated Types

type Rep ListSamples :: * -> * #

Hashable ListSamples Source # 
ToJSON ListSamples Source # 
NFData ListSamples Source # 

Methods

rnf :: ListSamples -> () #

AWSPager ListSamples Source # 
AWSRequest ListSamples Source # 
ToPath ListSamples Source # 
ToHeaders ListSamples Source # 

Methods

toHeaders :: ListSamples -> [Header] #

ToQuery ListSamples Source # 
type Rep ListSamples Source # 
type Rep ListSamples = D1 (MetaData "ListSamples" "Network.AWS.DeviceFarm.ListSamples" "amazonka-devicefarm-1.4.5-LrcbJwVFRJYIwYk0B89BMk" False) (C1 (MetaCons "ListSamples'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListSamples Source # 

Request Lenses

lsNextToken :: Lens' ListSamples (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.

lsArn :: Lens' ListSamples Text Source #

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

Destructuring the Response

listSamplesResponse Source #

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

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

  • lrsNextToken - 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.
  • lrsSamples - Information about the samples.
  • lrsResponseStatus - -- | The response status code.

data ListSamplesResponse Source #

Represents the result of a list samples request.

See: listSamplesResponse smart constructor.

Instances

Eq ListSamplesResponse Source # 
Data ListSamplesResponse Source # 

Methods

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

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

toConstr :: ListSamplesResponse -> Constr #

dataTypeOf :: ListSamplesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListSamplesResponse Source # 
Show ListSamplesResponse Source # 
Generic ListSamplesResponse Source # 
NFData ListSamplesResponse Source # 

Methods

rnf :: ListSamplesResponse -> () #

type Rep ListSamplesResponse Source # 
type Rep ListSamplesResponse = D1 (MetaData "ListSamplesResponse" "Network.AWS.DeviceFarm.ListSamples" "amazonka-devicefarm-1.4.5-LrcbJwVFRJYIwYk0B89BMk" False) (C1 (MetaCons "ListSamplesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lrsSamples") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Sample]))) (S1 (MetaSel (Just Symbol "_lrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lrsNextToken :: Lens' ListSamplesResponse (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.

lrsSamples :: Lens' ListSamplesResponse [Sample] Source #

Information about the samples.

lrsResponseStatus :: Lens' ListSamplesResponse Int Source #

  • - | The response status code.