listExports method
Lists completed exports within the past 90 days.
May throw LimitExceededException. May throw InternalServerError.
Parameter maxResults
:
Maximum number of results to return per page.
Parameter nextToken
:
An optional string that, if supplied, must be copied from the output of a
previous call to ListExports
. When provided in this manner,
the API fetches the next page of results.
Parameter tableArn
:
The Amazon Resource Name (ARN) associated with the exported table.
Implementation
Future<ListExportsOutput> listExports({
int? maxResults,
String? nextToken,
String? tableArn,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
25,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'DynamoDB_20120810.ListExports'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (maxResults != null) 'MaxResults': maxResults,
if (nextToken != null) 'NextToken': nextToken,
if (tableArn != null) 'TableArn': tableArn,
},
);
return ListExportsOutput.fromJson(jsonResponse.body);
}