amazonka-iot-1.4.4: Amazon IoT 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.IoT.GetRegistrationCode

Contents

Description

Gets a registration code used to register a CA certificate with AWS IoT.

Synopsis

Creating a Request

getRegistrationCode :: GetRegistrationCode Source #

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

data GetRegistrationCode Source #

The input to the GetRegistrationCode operation.

See: getRegistrationCode smart constructor.

Instances

Eq GetRegistrationCode Source # 
Data GetRegistrationCode Source # 

Methods

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

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

toConstr :: GetRegistrationCode -> Constr #

dataTypeOf :: GetRegistrationCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRegistrationCode Source # 
Show GetRegistrationCode Source # 
Generic GetRegistrationCode Source # 
Hashable GetRegistrationCode Source # 
NFData GetRegistrationCode Source # 

Methods

rnf :: GetRegistrationCode -> () #

AWSRequest GetRegistrationCode Source # 
ToPath GetRegistrationCode Source # 
ToHeaders GetRegistrationCode Source # 
ToQuery GetRegistrationCode Source # 
type Rep GetRegistrationCode Source # 
type Rep GetRegistrationCode = D1 (MetaData "GetRegistrationCode" "Network.AWS.IoT.GetRegistrationCode" "amazonka-iot-1.4.4-DeZW0JwAfGmFb7dFqhSZgL" False) (C1 (MetaCons "GetRegistrationCode'" PrefixI False) U1)
type Rs GetRegistrationCode Source # 

Destructuring the Response

getRegistrationCodeResponse Source #

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

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

data GetRegistrationCodeResponse Source #

The output from the GetRegistrationCode operation.

See: getRegistrationCodeResponse smart constructor.

Instances

Eq GetRegistrationCodeResponse Source # 
Data GetRegistrationCodeResponse Source # 

Methods

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

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

toConstr :: GetRegistrationCodeResponse -> Constr #

dataTypeOf :: GetRegistrationCodeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRegistrationCodeResponse Source # 
Show GetRegistrationCodeResponse Source # 
Generic GetRegistrationCodeResponse Source # 
NFData GetRegistrationCodeResponse Source # 
type Rep GetRegistrationCodeResponse Source # 
type Rep GetRegistrationCodeResponse = D1 (MetaData "GetRegistrationCodeResponse" "Network.AWS.IoT.GetRegistrationCode" "amazonka-iot-1.4.4-DeZW0JwAfGmFb7dFqhSZgL" False) (C1 (MetaCons "GetRegistrationCodeResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grcrsRegistrationCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_grcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

grcrsRegistrationCode :: Lens' GetRegistrationCodeResponse (Maybe Text) Source #

The CA certificate registration code.