Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListStudiosCommandProtected

Returns a list of all Amazon EMR Studios associated with the Amazon Web Services account. The list includes details such as ID, Studio Access URL, and creation time for each Studio.

Example

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

import { EMRClient, ListStudiosCommand } from "@aws-sdk/client-emr"; // ES Modules import
// const { EMRClient, ListStudiosCommand } = require("@aws-sdk/client-emr"); // CommonJS import
const client = new EMRClient(config);
const input = { // ListStudiosInput
Marker: "STRING_VALUE",
};
const command = new ListStudiosCommand(input);
const response = await client.send(command);
// { // ListStudiosOutput
// Studios: [ // StudioSummaryList
// { // StudioSummary
// StudioId: "STRING_VALUE",
// Name: "STRING_VALUE",
// VpcId: "STRING_VALUE",
// Description: "STRING_VALUE",
// Url: "STRING_VALUE",
// AuthMode: "SSO" || "IAM",
// CreationTime: new Date("TIMESTAMP"),
// },
// ],
// Marker: "STRING_VALUE",
// };

Param

ListStudiosCommandInput

Returns

ListStudiosCommandOutput

See

Throws

InternalServerException (server fault)

This exception occurs when there is an internal failure in the Amazon EMR service.

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