listExports method
Lists all exported output values in the account and Region in which you
call this action. Use this action to see the exported output values that
you can import into other stacks. To import values, use the
Fn::ImportValue
function.
For more information, see AWS CloudFormation Export Stack Output Values.
Parameter nextToken
:
A string (provided by the ListExports response output) that
identifies the next page of exported output values that you asked to
retrieve.
Implementation
Future<ListExportsOutput> listExports({
String? nextToken,
}) async {
_s.validateStringLength(
'nextToken',
nextToken,
1,
1024,
);
final $request = <String, dynamic>{};
nextToken?.also((arg) => $request['NextToken'] = arg);
final $result = await _protocol.send(
$request,
action: 'ListExports',
version: '2010-05-15',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['ListExportsInput'],
shapes: shapes,
resultWrapper: 'ListExportsResult',
);
return ListExportsOutput.fromXml($result);
}