Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.IoT.CancelCertificateTransfer
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, 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.
Requires permission to access the CancelCertificateTransfer action.
Synopsis
- data CancelCertificateTransfer = CancelCertificateTransfer' {}
- newCancelCertificateTransfer :: Text -> CancelCertificateTransfer
- cancelCertificateTransfer_certificateId :: Lens' CancelCertificateTransfer Text
- data CancelCertificateTransferResponse = CancelCertificateTransferResponse' {
- newCancelCertificateTransferResponse :: CancelCertificateTransferResponse
Creating a Request
data CancelCertificateTransfer Source #
The input for the CancelCertificateTransfer operation.
See: newCancelCertificateTransfer
smart constructor.
Constructors
CancelCertificateTransfer' | |
Fields
|
Instances
newCancelCertificateTransfer Source #
Create a value of CancelCertificateTransfer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:certificateId:CancelCertificateTransfer'
, cancelCertificateTransfer_certificateId
- The ID of the certificate. (The last part of the certificate ARN
contains the certificate ID.)
Request Lenses
cancelCertificateTransfer_certificateId :: Lens' CancelCertificateTransfer Text Source #
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
Destructuring the Response
data CancelCertificateTransferResponse Source #
See: newCancelCertificateTransferResponse
smart constructor.
Constructors
CancelCertificateTransferResponse' | |
Instances
Eq CancelCertificateTransferResponse Source # | |
Read CancelCertificateTransferResponse Source # | |
Show CancelCertificateTransferResponse Source # | |
Defined in Amazonka.IoT.CancelCertificateTransfer Methods showsPrec :: Int -> CancelCertificateTransferResponse -> ShowS # | |
Generic CancelCertificateTransferResponse Source # | |
Defined in Amazonka.IoT.CancelCertificateTransfer Associated Types type Rep CancelCertificateTransferResponse :: Type -> Type # | |
NFData CancelCertificateTransferResponse Source # | |
Defined in Amazonka.IoT.CancelCertificateTransfer Methods rnf :: CancelCertificateTransferResponse -> () # | |
type Rep CancelCertificateTransferResponse Source # | |
Defined in Amazonka.IoT.CancelCertificateTransfer |
newCancelCertificateTransferResponse :: CancelCertificateTransferResponse Source #
Create a value of CancelCertificateTransferResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.