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'
}
)
[REQUIRED]
The provisioning template. See Provisioning Devices That Have Device Certificates for more information.
The parameters for provisioning a thing. See Provisioning Templates for more information.
dict
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.
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