IoTWireless.Client.
create_fuota_task
(**kwargs)¶Creates a FUOTA task.
See also: AWS API Documentation
Request Syntax
response = client.create_fuota_task(
Name='string',
Description='string',
ClientRequestToken='string',
LoRaWAN={
'RfRegion': 'EU868'|'US915'|'AU915'|'AS923-1'
},
FirmwareUpdateImage='string',
FirmwareUpdateRole='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
RedundancyPercent=123,
FragmentSizeBytes=123,
FragmentIntervalMS=123
)
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
This field is autopopulated if not provided.
The LoRaWAN information used with a FUOTA task.
Supported RfRegions
[REQUIRED]
The S3 URI points to a firmware update image that is to be used with a FUOTA task.
[REQUIRED]
The firmware update role that is to be used with a FUOTA task.
The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
RedundancyPercent
set to 50(%), the final number of encoded fragments is (100 / 10) + (100 / 10 * 50%) = 15.dict
Response Syntax
{
'Arn': 'string',
'Id': 'string'
}
Response Structure
(dict) --
Arn (string) --
The arn of a FUOTA task.
Id (string) --
The ID of a FUOTA task.
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