IoT.Client.
get_registration_code
()¶Gets a registration code used to register a CA certificate with IoT.
Requires permission to access the GetRegistrationCode action.
See also: AWS API Documentation
Request Syntax
response = client.get_registration_code()
{
'registrationCode': 'string'
}
Response Structure
The output from the GetRegistrationCode operation.
The CA certificate registration code.
Exceptions
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.InvalidRequestException