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

Contents

Description

Attaches the specified principal to the specified thing.

Synopsis

Creating a Request

attachThingPrincipal Source #

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

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

data AttachThingPrincipal Source #

The input for the AttachThingPrincipal operation.

See: attachThingPrincipal smart constructor.

Instances
Eq AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Data AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Methods

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

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

toConstr :: AttachThingPrincipal -> Constr #

dataTypeOf :: AttachThingPrincipal -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Show AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Generic AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Associated Types

type Rep AttachThingPrincipal :: Type -> Type #

Hashable AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

ToJSON AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

AWSRequest AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Associated Types

type Rs AttachThingPrincipal :: Type #

ToHeaders AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

ToPath AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

ToQuery AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

NFData AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Methods

rnf :: AttachThingPrincipal -> () #

type Rep AttachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

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

Defined in Network.AWS.IoT.AttachThingPrincipal

Request Lenses

atpPrincipal :: Lens' AttachThingPrincipal Text Source #

The principal, such as a certificate or other credential.

Destructuring the Response

attachThingPrincipalResponse Source #

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

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

data AttachThingPrincipalResponse Source #

The output from the AttachThingPrincipal operation.

See: attachThingPrincipalResponse smart constructor.

Instances
Eq AttachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Data AttachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Methods

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

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

toConstr :: AttachThingPrincipalResponse -> Constr #

dataTypeOf :: AttachThingPrincipalResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Show AttachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Generic AttachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

Associated Types

type Rep AttachThingPrincipalResponse :: Type -> Type #

NFData AttachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

type Rep AttachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.AttachThingPrincipal

type Rep AttachThingPrincipalResponse = D1 (MetaData "AttachThingPrincipalResponse" "Network.AWS.IoT.AttachThingPrincipal" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" True) (C1 (MetaCons "AttachThingPrincipalResponse'" PrefixI True) (S1 (MetaSel (Just "_atprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses