describeDBSecurityGroups method
May throw DBSecurityGroupNotFoundFault.
Implementation
Future<DBSecurityGroupMessage> describeDBSecurityGroups({
String? dBSecurityGroupName,
String? marker,
int? maxRecords,
}) async {
final $request = <String, dynamic>{};
dBSecurityGroupName?.also((arg) => $request['DBSecurityGroupName'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeDBSecurityGroups',
version: '2013-01-10',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeDBSecurityGroupsMessage'],
shapes: shapes,
resultWrapper: 'DescribeDBSecurityGroupsResult',
);
return DBSecurityGroupMessage.fromXml($result);
}