list_notebook_executions
async
¶
list_notebook_executions(
*,
config_overrides: Optional[AsyncEMRClientConfig] = None,
editor_id: Optional[XmlStringMaxLen256] = None,
status: Optional[NotebookExecutionStatus] = None,
from_: Optional[Date] = None,
to: Optional[Date] = None,
marker: Optional[Marker] = None,
execution_engine_id: Optional[XmlString] = None,
) -> ListNotebookExecutionsOutput
Provides summaries of all notebook executions. You can filter the list based on multiple criteria such as status, time range, and editor id. Returns a maximum of 50 notebook executions and a marker to track the paging of a longer notebook execution list across multiple ListNotebookExecutions calls.
Parameters:
-
editor_id(Optional[XmlStringMaxLen256], default:None) –The unique ID of the editor associated with the notebook execution.
-
status(Optional[NotebookExecutionStatus], default:None) –The status filter for listing notebook executions.
-
START_PENDINGindicates that the cluster has received the execution request but execution has not begun. -
STARTINGindicates that the execution is starting on the cluster. -
RUNNINGindicates that the execution is being processed by the cluster. -
FINISHINGindicates that execution processing is in the final stages. -
FINISHEDindicates that the execution has completed without error. -
FAILINGindicates that the execution is failing and will not finish successfully. -
FAILEDindicates that the execution failed. -
STOP_PENDINGindicates that the cluster has received aStopNotebookExecutionrequest and the stop is pending. -
STOPPINGindicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecutionrequest. -
STOPPEDindicates that the execution stopped because of aStopNotebookExecutionrequest.
-
-
from_(Optional[Date], default:None) –The beginning of time range filter for listing notebook executions. The default is the timestamp of 30 days ago.
-
to(Optional[Date], default:None) –The end of time range filter for listing notebook executions. The default is the current timestamp.
-
marker(Optional[Marker], default:None) –The pagination token, returned by a previous
ListNotebookExecutionscall, that indicates the start of the list for thisListNotebookExecutionscall. -
execution_engine_id(Optional[XmlString], default:None) –The unique ID of the execution engine.
Raises:
-
InternalServerError–Indicates that an error occurred while processing the request and that the request was not completed.
-
InvalidRequestException–This exception occurs when there is something wrong with user input.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_emr/_services/async_emr.py
2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 | |