IoT1ClickProjects.Client.associate_device_with_placement(**kwargs)¶Associates a physical device with a placement.
See also: AWS API Documentation
Request Syntax
response = client.associate_device_with_placement(
projectName='string',
placementName='string',
deviceId='string',
deviceTemplateName='string'
)
[REQUIRED]
The name of the project containing the placement in which to associate the device.
[REQUIRED]
The name of the placement in which to associate the device.
[REQUIRED]
The ID of the physical device to be associated with the given placement in the project. Note that a mandatory 4 character prefix is required for all deviceId values.
[REQUIRED]
The device template name to associate with the device ID.
dict
Response Syntax
{}
Response Structure
Exceptions
IoT1ClickProjects.Client.exceptions.InternalFailureExceptionIoT1ClickProjects.Client.exceptions.InvalidRequestExceptionIoT1ClickProjects.Client.exceptions.ResourceConflictExceptionIoT1ClickProjects.Client.exceptions.ResourceNotFoundException