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
2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 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 | |