Lambda / Client / delete_durable_execution

delete_durable_execution

Lambda.Client.delete_durable_execution(**kwargs)

Deletes a completed Lambda durable execution and its data. The execution must be in a terminal state ( SUCCEEDED, FAILED, STOPPED, or TIMED_OUT). Otherwise, this operation returns a ResourceConflictException.

The execution has DELETING status until the deletion finishes. For more information, see Deleting durable executions.

See also: AWS API Documentation

Request Syntax

response = client.delete_durable_execution(
    DurableExecutionArn='string'
)
Parameters:

DurableExecutionArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the durable execution.

Return type:

dict

Returns:

Response Syntax

{
    'DeletionRequestTimestamp': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • DeletionRequestTimestamp (datetime) –

      The timestamp when Lambda accepted the deletion request (ISO 8601 format).

Exceptions

  • Lambda.Client.exceptions.InvalidParameterValueException

  • Lambda.Client.exceptions.ResourceConflictException

  • Lambda.Client.exceptions.ServiceException

  • Lambda.Client.exceptions.TooManyRequestsException

  • Lambda.Client.exceptions.ResourceNotFoundException