listApplications method
Lists applications owned by the requester.
May throw NotFoundException. May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException.
Parameter maxItems
:
The total number of items to return.
Parameter nextToken
:
A token to specify where to start paginating.
Implementation
Future<ListApplicationsResponse> listApplications({
int? maxItems,
String? nextToken,
}) async {
_s.validateNumRange(
'maxItems',
maxItems,
1,
100,
);
final $query = <String, List<String>>{
if (maxItems != null) 'maxItems': [maxItems.toString()],
if (nextToken != null) 'nextToken': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/applications',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListApplicationsResponse.fromJson(response);
}