listDataflowEndpointGroups method

Future<ListDataflowEndpointGroupsResponse> listDataflowEndpointGroups({
  1. int? maxResults,
  2. String? nextToken,
})

Returns a list of DataflowEndpoint groups.

May throw InvalidParameterException. May throw DependencyException. May throw ResourceNotFoundException.

Parameter maxResults : Maximum number of dataflow endpoint groups returned.

Parameter nextToken : Next token returned in the request of a previous ListDataflowEndpointGroups call. Used to get the next page of results.

Implementation

Future<ListDataflowEndpointGroupsResponse> listDataflowEndpointGroups({
  int? maxResults,
  String? nextToken,
}) async {
  final $query = <String, List<String>>{
    if (maxResults != null) 'maxResults': [maxResults.toString()],
    if (nextToken != null) 'nextToken': [nextToken],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/dataflowEndpointGroup',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return ListDataflowEndpointGroupsResponse.fromJson(response);
}