register_thing
¶
register_thing(
template_body: TemplateBody,
*,
config_overrides: Optional[IoTClientConfig] = None,
parameters: Optional[Parameters] = None,
) -> RegisterThingResponse
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.
Parameters:
-
template_body(TemplateBody) –The provisioning template. See Provisioning Devices That Have Device Certificates for more information.
-
parameters(Optional[Parameters], default:None) –The parameters for provisioning a thing. See Provisioning Templates for more information.
Raises:
-
ConflictingResourceUpdateException–A conflicting resource update exception. This exception is thrown when two pending updates cause a conflict.
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceRegistrationFailureException–The resource registration failed.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 | |