Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListNotebookExecutionsCommandProtected

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.

Example

Use a bare-bones client and the command you need to make an API call.

import { EMRClient, ListNotebookExecutionsCommand } from "@aws-sdk/client-emr"; // ES Modules import
// const { EMRClient, ListNotebookExecutionsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
const client = new EMRClient(config);
const input = { // ListNotebookExecutionsInput
EditorId: "STRING_VALUE",
Status: "START_PENDING" || "STARTING" || "RUNNING" || "FINISHING" || "FINISHED" || "FAILING" || "FAILED" || "STOP_PENDING" || "STOPPING" || "STOPPED",
From: new Date("TIMESTAMP"),
To: new Date("TIMESTAMP"),
Marker: "STRING_VALUE",
ExecutionEngineId: "STRING_VALUE",
};
const command = new ListNotebookExecutionsCommand(input);
const response = await client.send(command);
// { // ListNotebookExecutionsOutput
// NotebookExecutions: [ // NotebookExecutionSummaryList
// { // NotebookExecutionSummary
// NotebookExecutionId: "STRING_VALUE",
// EditorId: "STRING_VALUE",
// NotebookExecutionName: "STRING_VALUE",
// Status: "START_PENDING" || "STARTING" || "RUNNING" || "FINISHING" || "FINISHED" || "FAILING" || "FAILED" || "STOP_PENDING" || "STOPPING" || "STOPPED",
// StartTime: new Date("TIMESTAMP"),
// EndTime: new Date("TIMESTAMP"),
// NotebookS3Location: { // NotebookS3LocationForOutput
// Bucket: "STRING_VALUE",
// Key: "STRING_VALUE",
// },
// ExecutionEngineId: "STRING_VALUE",
// },
// ],
// Marker: "STRING_VALUE",
// };

Param

ListNotebookExecutionsCommandInput

Returns

ListNotebookExecutionsCommandOutput

See

Throws

InternalServerError (server fault)

Indicates that an error occurred while processing the request and that the request was not completed.

Throws

InvalidRequestException (client fault)

This exception occurs when there is something wrong with user input.

Throws

EMRServiceException

Base exception class for all service exceptions from EMR service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods