describeStudio method
Returns details for the specified Amazon EMR Studio including ID, Name, VPC, Studio access URL, and so on.
May throw InternalServerException.
May throw InvalidRequestException.
Parameter studioId :
The Amazon EMR Studio ID.
Implementation
Future<DescribeStudioOutput> describeStudio({
required String studioId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'ElasticMapReduce.DescribeStudio'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'StudioId': studioId,
},
);
return DescribeStudioOutput.fromJson(jsonResponse.body);
}