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, orTIMED_OUT). Otherwise, this operation returns aResourceConflictException.The execution has
DELETINGstatus 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.InvalidParameterValueExceptionLambda.Client.exceptions.ResourceConflictExceptionLambda.Client.exceptions.ServiceExceptionLambda.Client.exceptions.TooManyRequestsExceptionLambda.Client.exceptions.ResourceNotFoundException