We are excited to announce our new API Documentation.
Protected
Fetches mapping details for the specified Amazon EMR Studio and identity (user or group).
Use a bare-bones client and the command you need to make an API call.
import { EMRClient, GetStudioSessionMappingCommand } from "@aws-sdk/client-emr"; // ES Modules import// const { EMRClient, GetStudioSessionMappingCommand } = require("@aws-sdk/client-emr"); // CommonJS importconst client = new EMRClient(config);const input = { // GetStudioSessionMappingInput StudioId: "STRING_VALUE", // required IdentityId: "STRING_VALUE", IdentityName: "STRING_VALUE", IdentityType: "USER" || "GROUP", // required};const command = new GetStudioSessionMappingCommand(input);const response = await client.send(command);// { // GetStudioSessionMappingOutput// SessionMapping: { // SessionMappingDetail// StudioId: "STRING_VALUE",// IdentityId: "STRING_VALUE",// IdentityName: "STRING_VALUE",// IdentityType: "USER" || "GROUP",// SessionPolicyArn: "STRING_VALUE",// CreationTime: new Date("TIMESTAMP"),// LastModifiedTime: new Date("TIMESTAMP"),// },// };
GetStudioSessionMappingCommandInput
GetStudioSessionMappingCommandOutput
input
response
config
InternalServerError (server fault)
Indicates that an error occurred while processing the request and that the request was not completed.
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
Fetches mapping details for the specified Amazon EMR Studio and identity (user or group).
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetStudioSessionMappingCommandInput
Returns
GetStudioSessionMappingCommandOutput
See
input
shape.response
shape.config
shape.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.