listSdiSources method

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

List all the SdiSources in the AWS account.

May throw BadGatewayException. May throw BadRequestException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw TooManyRequestsException.

Parameter maxResults : The maximum number of items to return.

Parameter nextToken : The token to retrieve the next page of results.

Implementation

Future<ListSdiSourcesResponse> listSdiSources({
  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: '/prod/sdiSources',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return ListSdiSourcesResponse.fromJson(response);
}