IoTWireless / Client / create_wireless_gateway_task

create_wireless_gateway_task#

IoTWireless.Client.create_wireless_gateway_task(**kwargs)#

Creates a task for a wireless gateway.

See also: AWS API Documentation

Request Syntax

response = client.create_wireless_gateway_task(
    Id='string',
    WirelessGatewayTaskDefinitionId='string'
)
Parameters:
  • Id (string) –

    [REQUIRED]

    The ID of the resource to update.

  • WirelessGatewayTaskDefinitionId (string) –

    [REQUIRED]

    The ID of the WirelessGatewayTaskDefinition.

Return type:

dict

Returns:

Response Syntax

{
    'WirelessGatewayTaskDefinitionId': 'string',
    'Status': 'PENDING'|'IN_PROGRESS'|'FIRST_RETRY'|'SECOND_RETRY'|'COMPLETED'|'FAILED'
}

Response Structure

  • (dict) –

    • WirelessGatewayTaskDefinitionId (string) –

      The ID of the WirelessGatewayTaskDefinition.

    • Status (string) –

      The status of the request.

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