describeDBSecurityGroups method

Future<DBSecurityGroupMessage> describeDBSecurityGroups({
  1. String? dBSecurityGroupName,
  2. String? marker,
  3. int? maxRecords,
})

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-02-12',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeDBSecurityGroupsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeDBSecurityGroupsResult',
  );
  return DBSecurityGroupMessage.fromXml($result);
}