describePipelineExecution method
Future<DescribePipelineExecutionResponse>
describePipelineExecution({
- required String pipelineExecutionArn,
Describes the details of a pipeline execution.
May throw ResourceNotFound.
Parameter pipelineExecutionArn
:
The Amazon Resource Name (ARN) of the pipeline execution.
Implementation
Future<DescribePipelineExecutionResponse> describePipelineExecution({
required String pipelineExecutionArn,
}) async {
ArgumentError.checkNotNull(pipelineExecutionArn, 'pipelineExecutionArn');
_s.validateStringLength(
'pipelineExecutionArn',
pipelineExecutionArn,
0,
256,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribePipelineExecution'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'PipelineExecutionArn': pipelineExecutionArn,
},
);
return DescribePipelineExecutionResponse.fromJson(jsonResponse.body);
}