listSatellites method
Returns a list of satellites.
May throw InvalidParameterException. May throw DependencyException. May throw ResourceNotFoundException.
Parameter maxResults
:
Maximum number of satellites returned.
Parameter nextToken
:
Next token that can be supplied in the next call to get the next page of
satellites.
Implementation
Future<ListSatellitesResponse> listSatellites({
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: '/satellite',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListSatellitesResponse.fromJson(response);
}