amazonka-iot-1.6.1: Amazon IoT 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.IoT.RegisterThing

Contents

Description

Provisions a thing.

Synopsis

Creating a Request

registerThing Source #

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

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

data RegisterThing Source #

See: registerThing smart constructor.

Instances
Eq RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Data RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Methods

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

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

toConstr :: RegisterThing -> Constr #

dataTypeOf :: RegisterThing -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Show RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Generic RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Associated Types

type Rep RegisterThing :: Type -> Type #

Hashable RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

ToJSON RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

AWSRequest RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Associated Types

type Rs RegisterThing :: Type #

ToHeaders RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

ToPath RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

ToQuery RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

NFData RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Methods

rnf :: RegisterThing -> () #

type Rep RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

type Rep RegisterThing = D1 (MetaData "RegisterThing" "Network.AWS.IoT.RegisterThing" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "RegisterThing'" PrefixI True) (S1 (MetaSel (Just "_rtParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_rtTemplateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs RegisterThing Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Request Lenses

rtParameters :: Lens' RegisterThing (HashMap Text Text) Source #

The parameters for provisioning a thing. See Programmatic Provisioning for more information.

rtTemplateBody :: Lens' RegisterThing Text Source #

The provisioning template. See Programmatic Provisioning for more information.

Destructuring the Response

registerThingResponse Source #

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

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

data RegisterThingResponse Source #

See: registerThingResponse smart constructor.

Instances
Eq RegisterThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Data RegisterThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Methods

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

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

toConstr :: RegisterThingResponse -> Constr #

dataTypeOf :: RegisterThingResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Show RegisterThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Generic RegisterThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Associated Types

type Rep RegisterThingResponse :: Type -> Type #

NFData RegisterThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

Methods

rnf :: RegisterThingResponse -> () #

type Rep RegisterThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.RegisterThing

type Rep RegisterThingResponse = D1 (MetaData "RegisterThingResponse" "Network.AWS.IoT.RegisterThing" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "RegisterThingResponse'" PrefixI True) (S1 (MetaSel (Just "_rtrsCertificatePem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rtrsResourceARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_rtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

rtrsResourceARNs :: Lens' RegisterThingResponse (HashMap Text Text) Source #

ARNs for the generated resources.

rtrsResponseStatus :: Lens' RegisterThingResponse Int Source #

  • - | The response status code.