IoT / Client / accept_certificate_transfer
accept_certificate_transfer#
- IoT.Client.accept_certificate_transfer(**kwargs)#
Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
Requires permission to access the AcceptCertificateTransfer action.
See also: AWS API Documentation
Request Syntax
response = client.accept_certificate_transfer( certificateId='string', setAsActive=True|False )
- Parameters:
certificateId (string) –
[REQUIRED]
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
setAsActive (boolean) – Specifies whether the certificate is active.
- Returns:
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