deleteStudio method
Removes an Amazon EMR Studio from the Studio metadata store.
May throw InternalServerException.
May throw InvalidRequestException.
Parameter studioId :
The ID of the Amazon EMR Studio.
Implementation
Future<void> deleteStudio({
required String studioId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'ElasticMapReduce.DeleteStudio'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'StudioId': studioId,
},
);
}