IoT1ClickDevicesService.Client.
claim_devices_by_claim_code
(**kwargs)¶Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with the device(s).
See also: AWS API Documentation
Request Syntax
response = client.claim_devices_by_claim_code(
ClaimCode='string'
)
[REQUIRED]
The claim code, starting with "C-", as provided by the device manufacturer.
{
'ClaimCode': 'string',
'Total': 123
}
Response Structure
200 response
The claim code provided by the device manufacturer.
The total number of devices associated with the claim code that has been processed in the claim request.
Exceptions
IoT1ClickDevicesService.Client.exceptions.InvalidRequestException
IoT1ClickDevicesService.Client.exceptions.InternalFailureException
IoT1ClickDevicesService.Client.exceptions.ForbiddenException