describeDBSubnetGroups method
May throw DBSubnetGroupNotFoundFault.
Implementation
Future<DBSubnetGroupMessage> describeDBSubnetGroups({
String? dBSubnetGroupName,
String? marker,
int? maxRecords,
}) async {
final $request = <String, dynamic>{};
dBSubnetGroupName?.also((arg) => $request['DBSubnetGroupName'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeDBSubnetGroups',
version: '2013-01-10',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeDBSubnetGroupsMessage'],
shapes: shapes,
resultWrapper: 'DescribeDBSubnetGroupsResult',
);
return DBSubnetGroupMessage.fromXml($result);
}