listJournalS3Exports method
Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS account and Region.
This action returns a maximum of MaxResults
items, and is
paginated so that you can retrieve all the items by calling
ListJournalS3Exports
multiple times.
This action does not return any expired export jobs. For more information, see Export Job Expiration in the Amazon QLDB Developer Guide.
Parameter maxResults
:
The maximum number of results to return in a single
ListJournalS3Exports
request. (The actual number of results
returned might be fewer.)
Parameter nextToken
:
A pagination token, indicating that you want to retrieve the next page of
results. If you received a value for NextToken
in the
response from a previous ListJournalS3Exports
call, then you
should use that value as input here.
Implementation
Future<ListJournalS3ExportsResponse> listJournalS3Exports({
int? maxResults,
String? nextToken,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
100,
);
_s.validateStringLength(
'nextToken',
nextToken,
4,
1024,
);
final $query = <String, List<String>>{
if (maxResults != null) 'max_results': [maxResults.toString()],
if (nextToken != null) 'next_token': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/journal-s3-exports',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListJournalS3ExportsResponse.fromJson(response);
}