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

Contents

Description

Lists devices, as an administrator.

Requires developer credentials.

Synopsis

Creating a Request

adminListDevices #

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

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

data AdminListDevices #

Represents the request to list devices, as an administrator.

See: adminListDevices smart constructor.

Instances

Eq AdminListDevices # 
Data AdminListDevices # 

Methods

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

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

toConstr :: AdminListDevices -> Constr #

dataTypeOf :: AdminListDevices -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdminListDevices # 
Generic AdminListDevices # 
Hashable AdminListDevices # 
ToJSON AdminListDevices # 
NFData AdminListDevices # 

Methods

rnf :: AdminListDevices -> () #

AWSRequest AdminListDevices # 
ToHeaders AdminListDevices # 
ToPath AdminListDevices # 
ToQuery AdminListDevices # 
type Rep AdminListDevices # 
type Rep AdminListDevices = D1 * (MetaData "AdminListDevices" "Network.AWS.CognitoIdentityProvider.AdminListDevices" "amazonka-cognito-idp-1.6.0-HX2vHucaSbyYp7rG4n6Wk" False) (C1 * (MetaCons "AdminListDevices'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_aldPaginationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_aldLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aldUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_aldUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Sensitive Text))))))
type Rs AdminListDevices # 

Request Lenses

aldLimit :: Lens' AdminListDevices (Maybe Natural) #

The limit of the devices request.

Destructuring the Response

adminListDevicesResponse #

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

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

data AdminListDevicesResponse #

Lists the device's response, as an administrator.

See: adminListDevicesResponse smart constructor.

Instances

Eq AdminListDevicesResponse # 
Data AdminListDevicesResponse # 

Methods

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

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

toConstr :: AdminListDevicesResponse -> Constr #

dataTypeOf :: AdminListDevicesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdminListDevicesResponse # 
Generic AdminListDevicesResponse # 
NFData AdminListDevicesResponse # 
type Rep AdminListDevicesResponse # 
type Rep AdminListDevicesResponse = D1 * (MetaData "AdminListDevicesResponse" "Network.AWS.CognitoIdentityProvider.AdminListDevices" "amazonka-cognito-idp-1.6.0-HX2vHucaSbyYp7rG4n6Wk" False) (C1 * (MetaCons "AdminListDevicesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_aldrsPaginationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aldrsDevices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DeviceType]))) (S1 * (MetaSel (Just Symbol "_aldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

aldrsDevices :: Lens' AdminListDevicesResponse [DeviceType] #

The devices in the list of devices response.

aldrsResponseStatus :: Lens' AdminListDevicesResponse Int #

  • - | The response status code.