IoTWireless / Client / update_fuota_task
update_fuota_task#
- IoTWireless.Client.update_fuota_task(**kwargs)#
Updates properties of a FUOTA task.
See also: AWS API Documentation
Request Syntax
response = client.update_fuota_task( Id='string', Name='string', Description='string', LoRaWAN={ 'RfRegion': 'EU868'|'US915'|'AU915'|'AS923-1'|'AS923-2'|'AS923-3'|'AS923-4'|'EU433'|'CN470'|'CN779'|'RU864'|'KR920'|'IN865' }, FirmwareUpdateImage='string', FirmwareUpdateRole='string', RedundancyPercent=123, FragmentSizeBytes=123, FragmentIntervalMS=123 )
- Parameters:
Id (string) –
[REQUIRED]
The ID of a FUOTA task.
Name (string) – The name of a FUOTA task.
Description (string) – The description of the new resource.
LoRaWAN (dict) –
The LoRaWAN information used with a FUOTA task.
RfRegion (string) –
Supported RfRegions
FirmwareUpdateImage (string) – The S3 URI points to a firmware update image that is to be used with a FUOTA task.
FirmwareUpdateRole (string) – The firmware update role that is to be used with a FUOTA task.
RedundancyPercent (integer) – The percentage of the added fragments that are redundant. For example, if the size of the firmware image file is 100 bytes and the fragment size is 10 bytes, with
RedundancyPercent
set to 50(%), the final number of encoded fragments is (100 / 10) + (100 / 10 * 50%) = 15.FragmentSizeBytes (integer) – The size of each fragment in bytes. This parameter is supported only for FUOTA tasks with multicast groups.
FragmentIntervalMS (integer) –
The interval for sending fragments in milliseconds, rounded to the nearest second.
Note
This interval only determines the timing for when the Cloud sends down the fragments to yor device. There can be a delay for when your device will receive these fragments. This delay depends on the device’s class and the communication delay with the cloud.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
IoTWireless.Client.exceptions.ValidationException
IoTWireless.Client.exceptions.ResourceNotFoundException
IoTWireless.Client.exceptions.AccessDeniedException
IoTWireless.Client.exceptions.ConflictException
IoTWireless.Client.exceptions.InternalServerException
IoTWireless.Client.exceptions.ThrottlingException