describeConfigurationSet method
Future<DescribeConfigurationSetResponse>
describeConfigurationSet({
- required String configurationSetName,
- List<
ConfigurationSetAttribute> ? configurationSetAttributeNames,
Returns the details of the specified configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
May throw ConfigurationSetDoesNotExistException.
Parameter configurationSetName
:
The name of the configuration set to describe.
Parameter configurationSetAttributeNames
:
A list of configuration set attributes to return.
Implementation
Future<DescribeConfigurationSetResponse> describeConfigurationSet({
required String configurationSetName,
List<ConfigurationSetAttribute>? configurationSetAttributeNames,
}) async {
ArgumentError.checkNotNull(configurationSetName, 'configurationSetName');
final $request = <String, dynamic>{};
$request['ConfigurationSetName'] = configurationSetName;
configurationSetAttributeNames?.also((arg) =>
$request['ConfigurationSetAttributeNames'] =
arg.map((e) => e.toValue()).toList());
final $result = await _protocol.send(
$request,
action: 'DescribeConfigurationSet',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeConfigurationSetRequest'],
shapes: shapes,
resultWrapper: 'DescribeConfigurationSetResult',
);
return DescribeConfigurationSetResponse.fromXml($result);
}