describePipeline method
Retrieves information about a pipeline.
May throw InvalidRequestException. May throw ResourceNotFoundException. May throw InternalFailureException. May throw ServiceUnavailableException. May throw ThrottlingException.
Parameter pipelineName
:
The name of the pipeline whose information is retrieved.
Implementation
Future<DescribePipelineResponse> describePipeline({
required String pipelineName,
}) async {
ArgumentError.checkNotNull(pipelineName, 'pipelineName');
_s.validateStringLength(
'pipelineName',
pipelineName,
1,
128,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/pipelines/${Uri.encodeComponent(pipelineName)}',
exceptionFnMap: _exceptionFns,
);
return DescribePipelineResponse.fromJson(response);
}