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

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

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.

/// 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 CancelCertificateTransfer ( string certificateId ) : CancelCertificateTransferResponse
certificateId string The ID of the certificate.
Результат CancelCertificateTransferResponse
        public CancelCertificateTransferResponse CancelCertificateTransfer(string certificateId)
        {
            var request = new CancelCertificateTransferRequest();
            request.CertificateId = certificateId;
            return CancelCertificateTransfer(request);
        }

Same methods

AmazonIoTClient::CancelCertificateTransfer ( CancelCertificateTransferRequest request ) : CancelCertificateTransferResponse
AmazonIoTClient