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

Contents

Description

Gets the device, as an administrator.

Requires developer credentials.

Synopsis

Creating a Request

adminGetDevice #

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

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

data AdminGetDevice #

Represents the request to get the device, as an administrator.

See: adminGetDevice smart constructor.

Instances

Eq AdminGetDevice # 
Data AdminGetDevice # 

Methods

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

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

toConstr :: AdminGetDevice -> Constr #

dataTypeOf :: AdminGetDevice -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdminGetDevice # 
Generic AdminGetDevice # 

Associated Types

type Rep AdminGetDevice :: * -> * #

Hashable AdminGetDevice # 
ToJSON AdminGetDevice # 
NFData AdminGetDevice # 

Methods

rnf :: AdminGetDevice -> () #

AWSRequest AdminGetDevice # 
ToHeaders AdminGetDevice # 
ToPath AdminGetDevice # 
ToQuery AdminGetDevice # 
type Rep AdminGetDevice # 
type Rep AdminGetDevice = D1 * (MetaData "AdminGetDevice" "Network.AWS.CognitoIdentityProvider.AdminGetDevice" "amazonka-cognito-idp-1.6.0-HX2vHucaSbyYp7rG4n6Wk" False) (C1 * (MetaCons "AdminGetDevice'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_agdDeviceKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_agdUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_agdUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Sensitive Text))))))
type Rs AdminGetDevice # 

Request Lenses

Destructuring the Response

adminGetDeviceResponse #

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

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

data AdminGetDeviceResponse #

Gets the device response, as an administrator.

See: adminGetDeviceResponse smart constructor.

Instances

Eq AdminGetDeviceResponse # 
Data AdminGetDeviceResponse # 

Methods

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

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

toConstr :: AdminGetDeviceResponse -> Constr #

dataTypeOf :: AdminGetDeviceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdminGetDeviceResponse # 
Generic AdminGetDeviceResponse # 
NFData AdminGetDeviceResponse # 

Methods

rnf :: AdminGetDeviceResponse -> () #

type Rep AdminGetDeviceResponse # 
type Rep AdminGetDeviceResponse = D1 * (MetaData "AdminGetDeviceResponse" "Network.AWS.CognitoIdentityProvider.AdminGetDevice" "amazonka-cognito-idp-1.6.0-HX2vHucaSbyYp7rG4n6Wk" False) (C1 * (MetaCons "AdminGetDeviceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_agdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_agdrsDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * DeviceType))))

Response Lenses

agdrsResponseStatus :: Lens' AdminGetDeviceResponse Int #

  • - | The response status code.