amazonka-cognito-idp-1.6.0: Amazon Cognito Identity Provider 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.CognitoIdentityProvider.ListDevices

Contents

Description

Lists the devices.

Synopsis

Creating a Request

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:

data ListDevices Source #

Represents the request to list the devices.

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 #

Show ListDevices Source # 
Generic ListDevices Source # 

Associated Types

type Rep ListDevices :: * -> * #

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

Methods

rnf :: ListDevices -> () #

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.CognitoIdentityProvider.ListDevices" "amazonka-cognito-idp-1.6.0-JhJp6CX0k821Z1WSNBuBfd" False) (C1 * (MetaCons "ListDevices'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldPaginationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_ldAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Sensitive Text))))))
type Rs ListDevices Source # 

Request Lenses

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

The pagination token for the list request.

ldLimit :: Lens' ListDevices (Maybe Natural) Source #

The limit of the device request.

ldAccessToken :: Lens' ListDevices Text Source #

The access tokens for the request to list devices.

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:

data ListDevicesResponse Source #

Represents the response to list devices.

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 #

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

Methods

rnf :: ListDevicesResponse -> () #

type Rep ListDevicesResponse Source # 
type Rep ListDevicesResponse = D1 * (MetaData "ListDevicesResponse" "Network.AWS.CognitoIdentityProvider.ListDevices" "amazonka-cognito-idp-1.6.0-JhJp6CX0k821Z1WSNBuBfd" False) (C1 * (MetaCons "ListDevicesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsPaginationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsDevices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DeviceType]))) (S1 * (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldrsPaginationToken :: Lens' ListDevicesResponse (Maybe Text) Source #

The pagination token for the list device response.

ldrsDevices :: Lens' ListDevicesResponse [DeviceType] Source #

The devices returned in the list devices response.

ldrsResponseStatus :: Lens' ListDevicesResponse Int Source #

  • - | The response status code.