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

Contents

Description

Detaches the specified principal from the specified thing.

Synopsis

Creating a Request

detachThingPrincipal Source #

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 Source #

The input for the DetachThingPrincipal operation.

See: detachThingPrincipal smart constructor.

Instances
Eq DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Data DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.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 Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Show DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Generic DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Associated Types

type Rep DetachThingPrincipal :: Type -> Type #

Hashable DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

AWSRequest DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Associated Types

type Rs DetachThingPrincipal :: Type #

ToHeaders DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

ToPath DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

ToQuery DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

NFData DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Methods

rnf :: DetachThingPrincipal -> () #

type Rep DetachThingPrincipal Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

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

Defined in Network.AWS.IoT.DetachThingPrincipal

Request Lenses

dtpPrincipal :: Lens' DetachThingPrincipal Text Source #

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 Source #

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 Source #

The output from the DetachThingPrincipal operation.

See: detachThingPrincipalResponse smart constructor.

Instances
Eq DetachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Data DetachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

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 Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Show DetachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Generic DetachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

Associated Types

type Rep DetachThingPrincipalResponse :: Type -> Type #

NFData DetachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

type Rep DetachThingPrincipalResponse Source # 
Instance details

Defined in Network.AWS.IoT.DetachThingPrincipal

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

Response Lenses