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

Defined in Network.AWS.DeviceFarm.ListSamples

Data ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

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

Defined in Network.AWS.DeviceFarm.ListSamples

Show ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

Generic ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

Associated Types

type Rep ListSamples :: Type -> Type #

Hashable ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

ToJSON ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

AWSPager ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

AWSRequest ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

Associated Types

type Rs ListSamples :: Type #

ToHeaders ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

Methods

toHeaders :: ListSamples -> [Header] #

ToPath ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

ToQuery ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

NFData ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

Methods

rnf :: ListSamples -> () #

type Rep ListSamples Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

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

Defined in Network.AWS.DeviceFarm.ListSamples

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

Defined in Network.AWS.DeviceFarm.ListSamples

Data ListSamplesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

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

Defined in Network.AWS.DeviceFarm.ListSamples

Show ListSamplesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

Generic ListSamplesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

Associated Types

type Rep ListSamplesResponse :: Type -> Type #

NFData ListSamplesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

Methods

rnf :: ListSamplesResponse -> () #

type Rep ListSamplesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListSamples

type Rep ListSamplesResponse = D1 (MetaData "ListSamplesResponse" "Network.AWS.DeviceFarm.ListSamples" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "ListSamplesResponse'" PrefixI True) (S1 (MetaSel (Just "_lrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lrsSamples") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Sample])) :*: S1 (MetaSel (Just "_lrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.