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.ListDevicePools

Contents

Description

Gets information about device pools.

This operation returns paginated results.

Synopsis

Creating a Request

listDevicePools Source #

Arguments

:: Text

ldpArn

-> ListDevicePools 

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

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

  • ldpNextToken - 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.
  • ldpType - The device pools' type. Allowed values include: * CURATED: A device pool that is created and managed by AWS Device Farm. * PRIVATE: A device pool that is created and managed by the device pool developer.
  • ldpArn - The project ARN.

data ListDevicePools Source #

Represents the result of a list device pools request.

See: listDevicePools smart constructor.

Instances

Eq ListDevicePools Source # 
Data ListDevicePools Source # 

Methods

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

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

toConstr :: ListDevicePools -> Constr #

dataTypeOf :: ListDevicePools -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDevicePools Source # 
Show ListDevicePools Source # 
Generic ListDevicePools Source # 
Hashable ListDevicePools Source # 
ToJSON ListDevicePools Source # 
NFData ListDevicePools Source # 

Methods

rnf :: ListDevicePools -> () #

AWSPager ListDevicePools Source # 
AWSRequest ListDevicePools Source # 
ToHeaders ListDevicePools Source # 
ToPath ListDevicePools Source # 
ToQuery ListDevicePools Source # 
type Rep ListDevicePools Source # 
type Rep ListDevicePools = D1 * (MetaData "ListDevicePools" "Network.AWS.DeviceFarm.ListDevicePools" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ListDevicePools'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldpType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DevicePoolType))) (S1 * (MetaSel (Just Symbol "_ldpArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListDevicePools Source # 

Request Lenses

ldpNextToken :: Lens' ListDevicePools (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.

ldpType :: Lens' ListDevicePools (Maybe DevicePoolType) Source #

The device pools' type. Allowed values include: * CURATED: A device pool that is created and managed by AWS Device Farm. * PRIVATE: A device pool that is created and managed by the device pool developer.

Destructuring the Response

listDevicePoolsResponse Source #

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

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

  • ldprsDevicePools - Information about the device pools.
  • ldprsNextToken - 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.
  • ldprsResponseStatus - -- | The response status code.

data ListDevicePoolsResponse Source #

Represents the result of a list device pools request.

See: listDevicePoolsResponse smart constructor.

Instances

Eq ListDevicePoolsResponse Source # 
Data ListDevicePoolsResponse Source # 

Methods

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

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

toConstr :: ListDevicePoolsResponse -> Constr #

dataTypeOf :: ListDevicePoolsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDevicePoolsResponse Source # 
Show ListDevicePoolsResponse Source # 
Generic ListDevicePoolsResponse Source # 
NFData ListDevicePoolsResponse Source # 

Methods

rnf :: ListDevicePoolsResponse -> () #

type Rep ListDevicePoolsResponse Source # 
type Rep ListDevicePoolsResponse = D1 * (MetaData "ListDevicePoolsResponse" "Network.AWS.DeviceFarm.ListDevicePools" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ListDevicePoolsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldprsDevicePools") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DevicePool]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldprsDevicePools :: Lens' ListDevicePoolsResponse [DevicePool] Source #

Information about the device pools.

ldprsNextToken :: Lens' ListDevicePoolsResponse (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.