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

Defined in Network.AWS.DeviceFarm.ListDevices

Data ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

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

Defined in Network.AWS.DeviceFarm.ListDevices

Show ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

Generic ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

Associated Types

type Rep ListDevices :: Type -> Type #

Hashable ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

ToJSON ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

AWSPager ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

AWSRequest ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

Associated Types

type Rs ListDevices :: Type #

ToHeaders ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

Methods

toHeaders :: ListDevices -> [Header] #

ToPath ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

ToQuery ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

NFData ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

Methods

rnf :: ListDevices -> () #

type Rep ListDevices Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

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

Defined in Network.AWS.DeviceFarm.ListDevices

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

Defined in Network.AWS.DeviceFarm.ListDevices

Data ListDevicesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

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

Defined in Network.AWS.DeviceFarm.ListDevices

Show ListDevicesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

Generic ListDevicesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

Associated Types

type Rep ListDevicesResponse :: Type -> Type #

NFData ListDevicesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

Methods

rnf :: ListDevicesResponse -> () #

type Rep ListDevicesResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListDevices

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