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 |
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.
CancelCertificateTransfer' | |
|
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.
Instances
newCancelCertificateTransferResponse :: CancelCertificateTransferResponse Source #
Create a value of CancelCertificateTransferResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.