amazonka-devicefarm-1.6.0: 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.ListDevices

Contents

Description

Gets information about unique device types.

This operation returns paginated results.

Synopsis

Creating a Request

listDevices :: ListDevices Source #

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

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

  • ldArn - The Amazon Resource Name (ARN) of the project.
  • ldNextToken - 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.

data ListDevices Source #

Represents the result of a list devices request.

See: listDevices smart constructor.

Instances

Eq ListDevices Source # 
Data ListDevices Source # 

Methods

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

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

toConstr :: ListDevices -> Constr #

dataTypeOf :: ListDevices -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDevices Source # 
Show ListDevices Source # 
Generic ListDevices Source # 

Associated Types

type Rep ListDevices :: * -> * #

Hashable ListDevices Source # 
ToJSON ListDevices Source # 
NFData ListDevices Source # 

Methods

rnf :: ListDevices -> () #

AWSPager ListDevices Source # 
AWSRequest ListDevices Source # 
ToHeaders ListDevices Source # 

Methods

toHeaders :: ListDevices -> [Header] #

ToPath ListDevices Source # 
ToQuery ListDevices Source # 
type Rep ListDevices Source # 
type Rep ListDevices = D1 * (MetaData "ListDevices" "Network.AWS.DeviceFarm.ListDevices" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ListDevices'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))
type Rs ListDevices Source # 

Request Lenses

ldArn :: Lens' ListDevices (Maybe Text) Source #

The Amazon Resource Name (ARN) of the project.

ldNextToken :: Lens' ListDevices (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.

Destructuring the Response

listDevicesResponse Source #

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

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

  • ldrsNextToken - 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.
  • ldrsDevices - Information about the devices.
  • ldrsResponseStatus - -- | The response status code.

data ListDevicesResponse Source #

Represents the result of a list devices operation.

See: listDevicesResponse smart constructor.

Instances

Eq ListDevicesResponse Source # 
Data ListDevicesResponse Source # 

Methods

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

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

toConstr :: ListDevicesResponse -> Constr #

dataTypeOf :: ListDevicesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDevicesResponse Source # 
Show ListDevicesResponse Source # 
Generic ListDevicesResponse Source # 
NFData ListDevicesResponse Source # 

Methods

rnf :: ListDevicesResponse -> () #

type Rep ListDevicesResponse Source # 
type Rep ListDevicesResponse = D1 * (MetaData "ListDevicesResponse" "Network.AWS.DeviceFarm.ListDevices" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ListDevicesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsDevices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Device]))) (S1 * (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldrsNextToken :: Lens' ListDevicesResponse (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.

ldrsDevices :: Lens' ListDevicesResponse [Device] Source #

Information about the devices.

ldrsResponseStatus :: Lens' ListDevicesResponse Int Source #

  • - | The response status code.