@Override
    public CancelCertificateTransferResult cancelCertificateTransfer(CancelCertificateTransferRequest request) {
        request = beforeClientExecution(request);
        return executeCancelCertificateTransfer(request);
    }
@ Override public CancelCertificateTransferResult cancelCertificateTransfer ( CancelCertificateTransferRequest request ) { request = beforeClientExecution ( request ) ; return executeCancelCertificateTransfer ( request ) ; }
<p>
Cancels a pending transfer for the specified certificate.
</p>
<p>
<b>Note</b> Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations
can use <a>RejectCertificateTransfer</a> 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.
</p>
<p>
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to
INACTIVE.
</p>

@param cancelCertificateTransferRequest
The input for the CancelCertificateTransfer operation.
@return Result of the CancelCertificateTransfer operation returned by the service.
@throws ResourceNotFoundException
The specified resource does not exist.
@throws TransferAlreadyCompletedException
You can't revert the certificate transfer because the transfer is already complete.
@throws InvalidRequestException
The request is not valid.
@throws ThrottlingException
The rate exceeds the limit.
@throws UnauthorizedException
You are not authorized to perform this operation.
@throws ServiceUnavailableException
The service is temporarily unavailable.
@throws InternalFailureException
An unexpected error has occurred.
@sample AWSIot.CancelCertificateTransfer