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
2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 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 | |