listPipelines method
Lists the pipeline identifiers for all active pipelines that you have permission to access.
May throw InternalServiceError. May throw InvalidRequestException.
Parameter marker
:
The starting point for the results to be returned. For the first call,
this value should be empty. As long as there are more results, continue to
call ListPipelines
with the marker value from the previous
call to retrieve the next set of results.
Implementation
Future<ListPipelinesOutput> listPipelines({
String? marker,
}) async {
_s.validateStringLength(
'marker',
marker,
0,
1024,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'DataPipeline.ListPipelines'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (marker != null) 'marker': marker,
},
);
return ListPipelinesOutput.fromJson(jsonResponse.body);
}