IoT.Client.
reject_certificate_transfer
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.reject_certificate_transfer(
certificateId='string',
rejectReason='string'
)
[REQUIRED]
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
None
Exceptions
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.TransferAlreadyCompletedException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException