describeDBSubnetGroups method
Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.
For an overview of CIDR ranges, go to the Wikipedia Tutorial.
May throw DBSubnetGroupNotFoundFault.
Parameter dBSubnetGroupName
:
The name of the DB subnet group to return details for.
Parameter filters
:
This parameter isn't currently supported.
Parameter marker
:
An optional pagination token provided by a previous DescribeDBSubnetGroups
request. If this parameter is specified, the response includes only
records beyond the marker, up to the value specified by
MaxRecords
.
Parameter maxRecords
:
The maximum number of records to include in the response. If more records
exist than the specified MaxRecords
value, a pagination token
called a marker is included in the response so that you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
Implementation
Future<DBSubnetGroupMessage> describeDBSubnetGroups({
String? dBSubnetGroupName,
List<Filter>? filters,
String? marker,
int? maxRecords,
}) async {
final $request = <String, dynamic>{};
dBSubnetGroupName?.also((arg) => $request['DBSubnetGroupName'] = arg);
filters?.also((arg) => $request['Filters'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeDBSubnetGroups',
version: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeDBSubnetGroupsMessage'],
shapes: shapes,
resultWrapper: 'DescribeDBSubnetGroupsResult',
);
return DBSubnetGroupMessage.fromXml($result);
}