amazonka-cognito-idp-1.4.5: Amazon Cognito Identity Provider SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoIdentityProvider.GetDevice

Contents

Description

Gets the device.

Synopsis

Creating a Request

getDevice Source #

Arguments

:: Text

gdDeviceKey

-> GetDevice 

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

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

data GetDevice Source #

Represents the request to get the device.

See: getDevice smart constructor.

Instances

Eq GetDevice Source # 
Data GetDevice Source # 

Methods

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

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

toConstr :: GetDevice -> Constr #

dataTypeOf :: GetDevice -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDevice Source # 
Show GetDevice Source # 
Generic GetDevice Source # 

Associated Types

type Rep GetDevice :: * -> * #

Hashable GetDevice Source # 
ToJSON GetDevice Source # 
NFData GetDevice Source # 

Methods

rnf :: GetDevice -> () #

AWSRequest GetDevice Source # 
ToPath GetDevice Source # 
ToHeaders GetDevice Source # 

Methods

toHeaders :: GetDevice -> [Header] #

ToQuery GetDevice Source # 
type Rep GetDevice Source # 
type Rep GetDevice = D1 (MetaData "GetDevice" "Network.AWS.CognitoIdentityProvider.GetDevice" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "GetDevice'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) (S1 (MetaSel (Just Symbol "_gdDeviceKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetDevice Source # 

Request Lenses

Destructuring the Response

getDeviceResponse Source #

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

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

data GetDeviceResponse Source #

Gets the device response.

See: getDeviceResponse smart constructor.

Instances

Eq GetDeviceResponse Source # 
Data GetDeviceResponse Source # 

Methods

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

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

toConstr :: GetDeviceResponse -> Constr #

dataTypeOf :: GetDeviceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeviceResponse Source # 
Show GetDeviceResponse Source # 
Generic GetDeviceResponse Source # 
NFData GetDeviceResponse Source # 

Methods

rnf :: GetDeviceResponse -> () #

type Rep GetDeviceResponse Source # 
type Rep GetDeviceResponse = D1 (MetaData "GetDeviceResponse" "Network.AWS.CognitoIdentityProvider.GetDevice" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "GetDeviceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_gdrsDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DeviceType))))

Response Lenses

gdrsResponseStatus :: Lens' GetDeviceResponse Int Source #

  • - | The response status code.