listPipelines method

Future<ListPipelinesResponse> listPipelines({
  1. String? ascending,
  2. String? pageToken,
})

The ListPipelines operation gets a list of the pipelines associated with the current AWS account.

May throw ValidationException. May throw IncompatibleVersionException. May throw AccessDeniedException. May throw InternalServiceException.

Parameter ascending : To list pipelines in chronological order by the date and time that they were created, enter true. To list pipelines in reverse chronological order, enter false.

Parameter pageToken : When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

Implementation

Future<ListPipelinesResponse> listPipelines({
  String? ascending,
  String? pageToken,
}) async {
  final $query = <String, List<String>>{
    if (ascending != null) 'Ascending': [ascending],
    if (pageToken != null) 'PageToken': [pageToken],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/2012-09-25/pipelines',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return ListPipelinesResponse.fromJson(response);
}