listMissionProfiles method

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

Returns a list of mission profiles.

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

Parameter maxResults : Maximum number of mission profiles returned.

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

Implementation

Future<ListMissionProfilesResponse> listMissionProfiles({
  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: '/missionprofile',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return ListMissionProfilesResponse.fromJson(response);
}