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 still PAUSED or PAUSING, and the status changes to RUNNING when 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.InvalidParameterValueException

  • Lambda.Client.exceptions.KMSInvalidStateException

  • Lambda.Client.exceptions.ResourceConflictException

  • Lambda.Client.exceptions.ServiceException

  • Lambda.Client.exceptions.TooManyRequestsException

  • Lambda.Client.exceptions.KMSNotFoundException

  • Lambda.Client.exceptions.ResourceNotFoundException

  • Lambda.Client.exceptions.KMSAccessDeniedException

  • Lambda.Client.exceptions.KMSDisabledException