LambdaClient.pause_durable_execution
rboto-lambda==0.4.0 · Service index · Types
Model summary (excerpt): Pauses a running durable execution . While an execution is paused, Lambda doesn't invoke your function, but pending operations such as waits and callbacks continue to complete. If an invocation is in progress, the execution status changes to PAUSING until the invocation reaches its next checkpoint, and then changes to PAUSED . This operation returns a successful response while the execution...
Install and imports
Signature
async def pause_durable_execution(
*,
durable_execution_arn: str,
client_token: str | None = None,
reason: str | None = None,
execution_timeout_paused: bool | None = None,
) -> PauseDurableExecutionOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
durable_execution_arn |
Yes | The Amazon Resource Name (ARN) of the durable execution. |
client_token |
No | 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 pause the execution again and returns a successful response instead of an error. |
reason |
No | A description of why you're pausing the execution. Lambda records the reason in the execution history. |
execution_timeout_paused |
No | Specifies whether to pause the execution timeout while the execution is paused. If true , Lambda extends the execution timeout by the time the execution spends paused. An execution with a paused timeout still times out 366 days after it started. The default value is true . |
Output
PauseDurableExecutionOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_lambda.exceptions:
InvalidParameterValueError, KMSAccessDeniedError, KMSDisabledError, KMSInvalidStateError, KMSNotFoundError, ResourceConflictError, ResourceNotFoundError, ServiceError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.