We are excited to announce our new API Documentation.
Protected
Creates a new Amazon EMR Studio.
Use a bare-bones client and the command you need to make an API call.
import { EMRClient, CreateStudioCommand } from "@aws-sdk/client-emr"; // ES Modules import// const { EMRClient, CreateStudioCommand } = require("@aws-sdk/client-emr"); // CommonJS importconst client = new EMRClient(config);const input = { // CreateStudioInput Name: "STRING_VALUE", // required Description: "STRING_VALUE", AuthMode: "SSO" || "IAM", // required VpcId: "STRING_VALUE", // required SubnetIds: [ // SubnetIdList // required "STRING_VALUE", ], ServiceRole: "STRING_VALUE", // required UserRole: "STRING_VALUE", WorkspaceSecurityGroupId: "STRING_VALUE", // required EngineSecurityGroupId: "STRING_VALUE", // required DefaultS3Location: "STRING_VALUE", // required IdpAuthUrl: "STRING_VALUE", IdpRelayStateParameterName: "STRING_VALUE", Tags: [ // TagList { // Tag Key: "STRING_VALUE", Value: "STRING_VALUE", }, ],};const command = new CreateStudioCommand(input);const response = await client.send(command);// { // CreateStudioOutput// StudioId: "STRING_VALUE",// Url: "STRING_VALUE",// };
CreateStudioCommandInput
CreateStudioCommandOutput
input
response
config
InternalServerException (server fault)
This exception occurs when there is an internal failure in the Amazon EMR service.
InvalidRequestException (client fault)
This exception occurs when there is something wrong with user input.
EMRServiceException
Base exception class for all service exceptions from EMR service.
Readonly
Static
Creates a new Amazon EMR Studio.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateStudioCommandInput
Returns
CreateStudioCommandOutput
See
input
shape.response
shape.config
shape.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.