listPipelines method
Gets a summary of all of the pipelines associated with your account.
May throw ValidationException. May throw InvalidNextTokenException.
Parameter nextToken
:
An identifier that was returned from the previous list pipelines call. It
can be used to return the next set of pipelines in the list.
Implementation
Future<ListPipelinesOutput> listPipelines({
String? nextToken,
}) async {
_s.validateStringLength(
'nextToken',
nextToken,
1,
2048,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CodePipeline_20150709.ListPipelines'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (nextToken != null) 'nextToken': nextToken,
},
);
return ListPipelinesOutput.fromJson(jsonResponse.body);
}