list_notebook_executions
¶
list_notebook_executions(
*,
config_overrides: Optional[EMRClientConfig] = 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/emr.py
2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 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 | |