IoTWireless / Client / list_wireless_gateway_task_definitions

list_wireless_gateway_task_definitions#

IoTWireless.Client.list_wireless_gateway_task_definitions(**kwargs)#

List the wireless gateway tasks definitions registered to your AWS account.

See also: AWS API Documentation

Request Syntax

response = client.list_wireless_gateway_task_definitions(
    MaxResults=123,
    NextToken='string',
    TaskDefinitionType='UPDATE'
)
Parameters:
  • MaxResults (integer) – The maximum number of results to return in this operation.

  • NextToken (string) – To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

  • TaskDefinitionType (string) – A filter to list only the wireless gateway task definitions that use this task definition type.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'TaskDefinitions': [
        {
            'Id': 'string',
            'LoRaWAN': {
                'CurrentVersion': {
                    'PackageVersion': 'string',
                    'Model': 'string',
                    'Station': 'string'
                },
                'UpdateVersion': {
                    'PackageVersion': 'string',
                    'Model': 'string',
                    'Station': 'string'
                }
            },
            'Arn': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • NextToken (string) –

      The token to use to get the next set of results, or null if there are no additional results.

    • TaskDefinitions (list) –

      The list of task definitions.

      • (dict) –

        UpdateWirelessGatewayTaskEntry object.

        • Id (string) –

          The ID of the new wireless gateway task entry.

        • LoRaWAN (dict) –

          The properties that relate to the LoRaWAN wireless gateway.

          • CurrentVersion (dict) –

            The version of the gateways that should receive the update.

            • PackageVersion (string) –

              The version of the wireless gateway firmware.

            • Model (string) –

              The model number of the wireless gateway.

            • Station (string) –

              The basic station version of the wireless gateway.

          • UpdateVersion (dict) –

            The firmware version to update the gateway to.

            • PackageVersion (string) –

              The version of the wireless gateway firmware.

            • Model (string) –

              The model number of the wireless gateway.

            • Station (string) –

              The basic station version of the wireless gateway.

        • Arn (string) –

          The Amazon Resource Name of the resource.

Exceptions