Lambda / Client / resume_durable_execution
resume_durable_execution¶
- Lambda.Client.resume_durable_execution(**kwargs)¶
Resumes a paused durable execution. If the pause interrupted an invocation, or an operation completed while the execution was paused, Lambda invokes your function. Otherwise, the execution continues to wait for its pending operations.
If the execution status is
PAUSING, this operation cancels the pause, and the in-progress invocation continues. This operation returns a successful response while the execution status is stillPAUSEDorPAUSING, and the status changes toRUNNINGwhen Lambda processes the request. For more information about resuming executions, see Pausing and resuming durable executions.See also: AWS API Documentation
Request Syntax
response = client.resume_durable_execution( DurableExecutionArn='string', ClientToken='string', Reason='string' )
- Parameters:
DurableExecutionArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the durable execution.
ClientToken (string) –
A unique, case-sensitive identifier that you provide so that the request completes no more than one time. If you repeat a request with the same client token and parameters within 15 minutes, Lambda doesn’t resume the execution again and returns a successful response instead of an error.
This field is autopopulated if not provided.
Reason (string) – A description of why you’re resuming the execution. Lambda records the reason in the execution history.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
Lambda.Client.exceptions.InvalidParameterValueExceptionLambda.Client.exceptions.KMSInvalidStateExceptionLambda.Client.exceptions.ResourceConflictExceptionLambda.Client.exceptions.ServiceExceptionLambda.Client.exceptions.TooManyRequestsExceptionLambda.Client.exceptions.KMSNotFoundExceptionLambda.Client.exceptions.ResourceNotFoundExceptionLambda.Client.exceptions.KMSAccessDeniedExceptionLambda.Client.exceptions.KMSDisabledException