listReceiptRuleSets method
Lists the receipt rule sets that exist under your AWS account in the
current AWS Region. If there are additional receipt rule sets to be
retrieved, you will receive a NextToken
that you can provide
to the next call to ListReceiptRuleSets
to retrieve the
additional entries.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter nextToken
:
A token returned from a previous call to ListReceiptRuleSets
to indicate the position in the receipt rule set list.
Implementation
Future<ListReceiptRuleSetsResponse> listReceiptRuleSets({
String? nextToken,
}) async {
final $request = <String, dynamic>{};
nextToken?.also((arg) => $request['NextToken'] = arg);
final $result = await _protocol.send(
$request,
action: 'ListReceiptRuleSets',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['ListReceiptRuleSetsRequest'],
shapes: shapes,
resultWrapper: 'ListReceiptRuleSetsResult',
);
return ListReceiptRuleSetsResponse.fromXml($result);
}