IoT / Client / delete_command_execution

delete_command_execution#

IoT.Client.delete_command_execution(**kwargs)#

Delete a command execution.

Note

Only command executions that enter a terminal state can be deleted from your account.

See also: AWS API Documentation

Request Syntax

response = client.delete_command_execution(
    executionId='string',
    targetArn='string'
)
Parameters:
  • executionId (string) –

    [REQUIRED]

    The unique identifier of the command execution that you want to delete from your account.

  • targetArn (string) –

    [REQUIRED]

    The Amazon Resource Number (ARN) of the target device for which you want to delete command executions.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • IoT.Client.exceptions.ConflictException

  • IoT.Client.exceptions.ValidationException

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.InternalServerException