Amazon.IoT.AmazonIoTClient.RejectCertificateTransfer C# (CSharp) Метод

RejectCertificateTransfer() публичный Метод

Rejects a pending certificate transfer. After AWS 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.

/// An unexpected error has occurred. /// /// The request is not valid. /// /// The specified resource does not exist. /// /// The service is temporarily unavailable. /// /// The rate exceeds the limit. /// /// You can't revert the certificate transfer because the transfer is already complete. /// /// You are not authorized to perform this operation. ///
public RejectCertificateTransfer ( string certificateId ) : RejectCertificateTransferResponse
certificateId string The ID of the certificate.
Результат RejectCertificateTransferResponse
        public RejectCertificateTransferResponse RejectCertificateTransfer(string certificateId)
        {
            var request = new RejectCertificateTransferRequest();
            request.CertificateId = certificateId;
            return RejectCertificateTransfer(request);
        }

Same methods

AmazonIoTClient::RejectCertificateTransfer ( RejectCertificateTransferRequest request ) : RejectCertificateTransferResponse
AmazonIoTClient