associateWirelessDeviceWithThing method
Associates a wireless device with a thing.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter id :
The ID of the resource to update.
Parameter thingArn :
The ARN of the thing to associate with the wireless device.
Implementation
Future<void> associateWirelessDeviceWithThing({
required String id,
required String thingArn,
}) async {
final $payload = <String, dynamic>{
'ThingArn': thingArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri: '/wireless-devices/${Uri.encodeComponent(id)}/thing',
exceptionFnMap: _exceptionFns,
);
}