describeNotebookExecution method
Future<DescribeNotebookExecutionOutput>
describeNotebookExecution({
- required String notebookExecutionId,
Provides details of a notebook execution.
May throw InternalServerError. May throw InvalidRequestException.
Parameter notebookExecutionId
:
The unique identifier of the notebook execution.
Implementation
Future<DescribeNotebookExecutionOutput> describeNotebookExecution({
required String notebookExecutionId,
}) async {
ArgumentError.checkNotNull(notebookExecutionId, 'notebookExecutionId');
_s.validateStringLength(
'notebookExecutionId',
notebookExecutionId,
0,
256,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'ElasticMapReduce.DescribeNotebookExecution'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'NotebookExecutionId': notebookExecutionId,
},
);
return DescribeNotebookExecutionOutput.fromJson(jsonResponse.body);
}