listSchemaMappings method
Returns a list of all the SchemaMappings that have been
created for an Amazon Web Services account.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter maxResults :
The maximum number of objects returned per page.
Parameter nextToken :
The pagination token from the previous API call.
Implementation
Future<ListSchemaMappingsOutput> listSchemaMappings({
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: '/schemas',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListSchemaMappingsOutput.fromJson(response);
}