getBlueprintRun method
Retrieves the details of a blueprint run.
May throw EntityNotFoundException.
May throw InternalServiceException.
May throw OperationTimeoutException.
Parameter blueprintName :
The name of the blueprint.
Parameter runId :
The run ID for the blueprint run you want to retrieve.
Implementation
Future<GetBlueprintRunResponse> getBlueprintRun({
required String blueprintName,
required String runId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.GetBlueprintRun'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'BlueprintName': blueprintName,
'RunId': runId,
},
);
return GetBlueprintRunResponse.fromJson(jsonResponse.body);
}