register_thing

IoT.Client.register_thing(**kwargs)

Provisions a thing in the device registry. RegisterThing calls other IoT control plane APIs. These calls might exceed your account level IoT Throttling Limits and cause throttle errors. Please contact Amazon Web Services Customer Support to raise your throttling limits if necessary.

Requires permission to access the RegisterThing action.

See also: AWS API Documentation

Request Syntax

response = client.register_thing(
    templateBody='string',
    parameters={
        'string': 'string'
    }
)
Parameters
Return type

dict

Returns

Response Syntax

{
    'certificatePem': 'string',
    'resourceArns': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • certificatePem (string) --

      The certificate data, in PEM format.

    • resourceArns (dict) --

      ARNs for the generated resources.

      • (string) --
        • (string) --

Exceptions

  • IoT.Client.exceptions.InternalFailureException
  • IoT.Client.exceptions.ServiceUnavailableException
  • IoT.Client.exceptions.InvalidRequestException
  • IoT.Client.exceptions.UnauthorizedException
  • IoT.Client.exceptions.ThrottlingException
  • IoT.Client.exceptions.ConflictingResourceUpdateException
  • IoT.Client.exceptions.ResourceRegistrationFailureException