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

Defined in Network.AWS.DeviceFarm.ListDevicePools

Data ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

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

Defined in Network.AWS.DeviceFarm.ListDevicePools

Show ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

Generic ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

Associated Types

type Rep ListDevicePools :: Type -> Type #

Hashable ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

ToJSON ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

AWSPager ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

AWSRequest ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

Associated Types

type Rs ListDevicePools :: Type #

ToHeaders ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

ToPath ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

ToQuery ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

NFData ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

Methods

rnf :: ListDevicePools -> () #

type Rep ListDevicePools Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

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

Defined in Network.AWS.DeviceFarm.ListDevicePools

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

Defined in Network.AWS.DeviceFarm.ListDevicePools

Data ListDevicePoolsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

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

Defined in Network.AWS.DeviceFarm.ListDevicePools

Show ListDevicePoolsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

Generic ListDevicePoolsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

Associated Types

type Rep ListDevicePoolsResponse :: Type -> Type #

NFData ListDevicePoolsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

Methods

rnf :: ListDevicePoolsResponse -> () #

type Rep ListDevicePoolsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevicePools

type Rep ListDevicePoolsResponse = D1 (MetaData "ListDevicePoolsResponse" "Network.AWS.DeviceFarm.ListDevicePools" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "ListDevicePoolsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldprsDevicePools") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DevicePool])) :*: (S1 (MetaSel (Just "_ldprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.