amazonka-iot-1.6.0: 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.CancelCertificateTransfer

Contents

Description

Cancels a pending transfer for the specified certificate.

Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.

After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.

Synopsis

Creating a Request

cancelCertificateTransfer #

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

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

  • cctCertificateId - The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

data CancelCertificateTransfer #

The input for the CancelCertificateTransfer operation.

See: cancelCertificateTransfer smart constructor.

Instances

Eq CancelCertificateTransfer # 
Data CancelCertificateTransfer # 

Methods

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

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

toConstr :: CancelCertificateTransfer -> Constr #

dataTypeOf :: CancelCertificateTransfer -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelCertificateTransfer # 
Show CancelCertificateTransfer # 
Generic CancelCertificateTransfer # 
Hashable CancelCertificateTransfer # 
ToJSON CancelCertificateTransfer # 
NFData CancelCertificateTransfer # 
AWSRequest CancelCertificateTransfer # 
ToHeaders CancelCertificateTransfer # 
ToPath CancelCertificateTransfer # 
ToQuery CancelCertificateTransfer # 
type Rep CancelCertificateTransfer # 
type Rep CancelCertificateTransfer = D1 * (MetaData "CancelCertificateTransfer" "Network.AWS.IoT.CancelCertificateTransfer" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" True) (C1 * (MetaCons "CancelCertificateTransfer'" PrefixI True) (S1 * (MetaSel (Just Symbol "_cctCertificateId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs CancelCertificateTransfer # 

Request Lenses

cctCertificateId :: Lens' CancelCertificateTransfer Text #

The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Destructuring the Response

cancelCertificateTransferResponse :: CancelCertificateTransferResponse #

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

data CancelCertificateTransferResponse #

See: cancelCertificateTransferResponse smart constructor.

Instances

Eq CancelCertificateTransferResponse # 
Data CancelCertificateTransferResponse # 

Methods

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

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

toConstr :: CancelCertificateTransferResponse -> Constr #

dataTypeOf :: CancelCertificateTransferResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelCertificateTransferResponse # 
Show CancelCertificateTransferResponse # 
Generic CancelCertificateTransferResponse # 
NFData CancelCertificateTransferResponse # 
type Rep CancelCertificateTransferResponse # 
type Rep CancelCertificateTransferResponse = D1 * (MetaData "CancelCertificateTransferResponse" "Network.AWS.IoT.CancelCertificateTransfer" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" False) (C1 * (MetaCons "CancelCertificateTransferResponse'" PrefixI False) (U1 *))