describeReceiptRuleSet method
Returns the details of the specified receipt rule set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
May throw RuleSetDoesNotExistException.
Parameter ruleSetName
:
The name of the receipt rule set to describe.
Implementation
Future<DescribeReceiptRuleSetResponse> describeReceiptRuleSet({
required String ruleSetName,
}) async {
ArgumentError.checkNotNull(ruleSetName, 'ruleSetName');
final $request = <String, dynamic>{};
$request['RuleSetName'] = ruleSetName;
final $result = await _protocol.send(
$request,
action: 'DescribeReceiptRuleSet',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeReceiptRuleSetRequest'],
shapes: shapes,
resultWrapper: 'DescribeReceiptRuleSetResult',
);
return DescribeReceiptRuleSetResponse.fromXml($result);
}