get_fuota_task
(**kwargs)¶Gets information about a FUOTA task.
See also: AWS API Documentation
Request Syntax
response = client.get_fuota_task(
Id='string'
)
[REQUIRED]
The ID of a FUOTA task.
{
'Arn': 'string',
'Id': 'string',
'Status': 'Pending'|'FuotaSession_Waiting'|'In_FuotaSession'|'FuotaDone'|'Delete_Waiting',
'Name': 'string',
'Description': 'string',
'LoRaWAN': {
'RfRegion': 'string',
'StartTime': datetime(2015, 1, 1)
},
'FirmwareUpdateImage': 'string',
'FirmwareUpdateRole': 'string',
'CreatedAt': datetime(2015, 1, 1),
'RedundancyPercent': 123,
'FragmentSizeBytes': 123,
'FragmentIntervalMS': 123
}
Response Structure
The arn of a FUOTA task.
The ID of a FUOTA task.
The status of a FUOTA task.
The name of a FUOTA task.
The description of the new resource.
The LoRaWAN information returned from getting a FUOTA task.
The frequency band (RFRegion) value.
Start time of a FUOTA task.
The S3 URI points to a firmware update image that is to be used with a FUOTA task.
The firmware update role that is to be used with a FUOTA task.
Created at timestamp for the resource.
The percentage of added redundant fragments. For example, if firmware file is 100 bytes and fragment size is 10 bytes, with RedundancyPercent
set to 50(%), the final number of encoded fragments is (100 / 10) + (100 / 10 * 50%) = 15.
The size of each fragment in bytes. Currently only supported in fuota tasks with multicast groups.
The interval of sending fragments in milliseconds. Currently the interval will be rounded to the nearest second. Note that this interval only controls the timing when the cloud sends the fragments down. The actual delay of receiving fragments at device side depends on the device's class and the communication delay with the cloud.
Exceptions
IoTWireless.Client.exceptions.ValidationException
IoTWireless.Client.exceptions.ResourceNotFoundException
IoTWireless.Client.exceptions.AccessDeniedException
IoTWireless.Client.exceptions.InternalServerException
IoTWireless.Client.exceptions.ThrottlingException