describeDBSubnetGroups method

Future<DBSubnetGroupMessage> describeDBSubnetGroups({
  1. String? dBSubnetGroupName,
  2. String? marker,
  3. int? maxRecords,
})

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);
}