update_wireless_device
async
¶
update_wireless_device(
id: WirelessDeviceId,
*,
config_overrides: Optional[AsyncIoTWirelessClientConfig] = None,
destination_name: Optional[DestinationName] = None,
name: Optional[WirelessDeviceName] = None,
description: Optional[Description] = None,
lo_ra_wan: Optional[LoRaWANUpdateDevice] = None,
positioning: Optional[PositioningConfigStatus] = None,
sidewalk: Optional[SidewalkUpdateWirelessDevice] = None,
) -> UpdateWirelessDeviceResponse
Updates properties of a wireless device.
Parameters:
-
id(WirelessDeviceId) –The ID of the resource to update.
-
destination_name(Optional[DestinationName], default:None) –The name of the new destination for the device.
-
name(Optional[WirelessDeviceName], default:None) –The new name of the resource.
The following special characters aren't accepted:
<>^#~$ -
description(Optional[Description], default:None) –A new description of the resource.
-
lo_ra_wan(Optional[LoRaWANUpdateDevice], default:None) –The updated wireless device's configuration.
-
positioning(Optional[PositioningConfigStatus], default:None) –The integration status of the Device Location feature for LoRaWAN and Sidewalk devices.
-
sidewalk(Optional[SidewalkUpdateWirelessDevice], default:None) –The updated sidewalk properties.
Raises:
-
AccessDeniedException–User does not have permission to perform this action.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–Resource does not exist.
-
ThrottlingException–The request was denied because it exceeded the allowed API request rate.
-
ValidationException–The input did not meet the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_wireless/_services/async_io_t_wireless.py
7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 | |