describeDBSecurityGroups method

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

Implementation

Future<DBSecurityGroupMessage> describeDBSecurityGroups({
  String? dBSecurityGroupName,
  List<Filter>? filters,
  String? marker,
  int? maxRecords,
}) async {
  final $request = <String, dynamic>{};
  dBSecurityGroupName?.also((arg) => $request['DBSecurityGroupName'] = 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: 'DescribeDBSecurityGroups',
    version: '2013-09-09',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeDBSecurityGroupsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeDBSecurityGroupsResult',
  );
  return DBSecurityGroupMessage.fromXml($result);
}