amazonka-iot-1.4.5: 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.DetachThingPrincipal

Contents

Description

Detaches the specified principal from the specified thing.

Synopsis

Creating a Request

detachThingPrincipal #

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

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

  • dtpThingName - The name of the thing.
  • dtpPrincipal - If the principal is a certificate, this value must be ARN of the certificate. If the principal is an Amazon Cognito identity, this value must be the ID of the Amazon Cognito identity.

data DetachThingPrincipal #

The input for the DetachThingPrincipal operation.

See: detachThingPrincipal smart constructor.

Instances

Eq DetachThingPrincipal # 
Data DetachThingPrincipal # 

Methods

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

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

toConstr :: DetachThingPrincipal -> Constr #

dataTypeOf :: DetachThingPrincipal -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DetachThingPrincipal # 
Show DetachThingPrincipal # 
Generic DetachThingPrincipal # 
Hashable DetachThingPrincipal # 
NFData DetachThingPrincipal # 

Methods

rnf :: DetachThingPrincipal -> () #

AWSRequest DetachThingPrincipal # 
ToQuery DetachThingPrincipal # 
ToPath DetachThingPrincipal # 
ToHeaders DetachThingPrincipal # 
type Rep DetachThingPrincipal # 
type Rep DetachThingPrincipal = D1 (MetaData "DetachThingPrincipal" "Network.AWS.IoT.DetachThingPrincipal" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" False) (C1 (MetaCons "DetachThingPrincipal'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtpThingName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dtpPrincipal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DetachThingPrincipal # 

Request Lenses

dtpThingName :: Lens' DetachThingPrincipal Text #

The name of the thing.

dtpPrincipal :: Lens' DetachThingPrincipal Text #

If the principal is a certificate, this value must be ARN of the certificate. If the principal is an Amazon Cognito identity, this value must be the ID of the Amazon Cognito identity.

Destructuring the Response

detachThingPrincipalResponse #

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

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

data DetachThingPrincipalResponse #

The output from the DetachThingPrincipal operation.

See: detachThingPrincipalResponse smart constructor.

Instances

Eq DetachThingPrincipalResponse # 
Data DetachThingPrincipalResponse # 

Methods

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

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

toConstr :: DetachThingPrincipalResponse -> Constr #

dataTypeOf :: DetachThingPrincipalResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DetachThingPrincipalResponse # 
Show DetachThingPrincipalResponse # 
Generic DetachThingPrincipalResponse # 
NFData DetachThingPrincipalResponse # 
type Rep DetachThingPrincipalResponse # 
type Rep DetachThingPrincipalResponse = D1 (MetaData "DetachThingPrincipalResponse" "Network.AWS.IoT.DetachThingPrincipal" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" True) (C1 (MetaCons "DetachThingPrincipalResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dtprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses