IoT / Client / get_registration_code
get_registration_code#
- IoT.Client.get_registration_code()#
Gets a registration code used to register a CA certificate with IoT.
IoT will create a registration code as part of this API call if the registration code doesn’t exist or has been deleted. If you already have a registration code, this API call will return the same registration code.
Requires permission to access the GetRegistrationCode action.
See also: AWS API Documentation
Request Syntax
response = client.get_registration_code()
- Return type:
dict
- Returns:
Response Syntax
{ 'registrationCode': 'string' }
Response Structure
(dict) –
The output from the GetRegistrationCode operation.
registrationCode (string) –
The CA certificate registration code.
Exceptions