create_wireless_gateway_task_definition
(**kwargs)¶Creates a gateway task definition.
See also: AWS API Documentation
Request Syntax
response = client.create_wireless_gateway_task_definition(
AutoCreateTasks=True|False,
Name='string',
Update={
'UpdateDataSource': 'string',
'UpdateDataRole': 'string',
'LoRaWAN': {
'UpdateSignature': 'string',
'SigKeyCrc': 123,
'CurrentVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
},
'UpdateVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
}
}
},
ClientRequestToken='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false
, the task must me created by calling CreateWirelessGatewayTask
.
Information about the gateways to update.
The link to the S3 bucket.
The IAM role used to read data from the S3 bucket.
The properties that relate to the LoRaWAN wireless gateway.
The signature used to verify the update firmware.
The CRC of the signature private key to check.
The version of the gateways that should receive the update.
The version of the wireless gateway firmware.
The model number of the wireless gateway.
The basic station version of the wireless gateway.
The firmware version to update the gateway to.
The version of the wireless gateway firmware.
The model number of the wireless gateway.
The basic station version of the wireless gateway.
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 tags 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.
dict
Response Syntax
{
'Id': 'string',
'Arn': 'string'
}
Response Structure
(dict) --
Id (string) --
The ID of the new wireless gateway task definition.
Arn (string) --
The Amazon Resource Name of the resource.
Exceptions
IoTWireless.Client.exceptions.ValidationException
IoTWireless.Client.exceptions.AccessDeniedException
IoTWireless.Client.exceptions.ResourceNotFoundException
IoTWireless.Client.exceptions.ConflictException
IoTWireless.Client.exceptions.InternalServerException
IoTWireless.Client.exceptions.ThrottlingException