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 |
Rejects a pending certificate transfer. After IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
Requires permission to access the RejectCertificateTransfer action.
Synopsis
- data RejectCertificateTransfer = RejectCertificateTransfer' {}
- newRejectCertificateTransfer :: Text -> RejectCertificateTransfer
- rejectCertificateTransfer_rejectReason :: Lens' RejectCertificateTransfer (Maybe Text)
- rejectCertificateTransfer_certificateId :: Lens' RejectCertificateTransfer Text
- data RejectCertificateTransferResponse = RejectCertificateTransferResponse' {
- newRejectCertificateTransferResponse :: RejectCertificateTransferResponse
Creating a Request
data RejectCertificateTransfer Source #
The input for the RejectCertificateTransfer operation.
See: newRejectCertificateTransfer
smart constructor.
RejectCertificateTransfer' | |
|
Instances
newRejectCertificateTransfer Source #
Create a value of RejectCertificateTransfer
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:rejectReason:RejectCertificateTransfer'
, rejectCertificateTransfer_rejectReason
- The reason the certificate transfer was rejected.
$sel:certificateId:RejectCertificateTransfer'
, rejectCertificateTransfer_certificateId
- The ID of the certificate. (The last part of the certificate ARN
contains the certificate ID.)
Request Lenses
rejectCertificateTransfer_rejectReason :: Lens' RejectCertificateTransfer (Maybe Text) Source #
The reason the certificate transfer was rejected.
rejectCertificateTransfer_certificateId :: Lens' RejectCertificateTransfer Text Source #
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
Destructuring the Response
data RejectCertificateTransferResponse Source #
See: newRejectCertificateTransferResponse
smart constructor.
Instances
newRejectCertificateTransferResponse :: RejectCertificateTransferResponse Source #
Create a value of RejectCertificateTransferResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.