describeDBParameterGroups method

Future<DBParameterGroupsMessage> describeDBParameterGroups({
  1. String? dBParameterGroupName,
  2. String? marker,
  3. int? maxRecords,
})

Implementation

Future<DBParameterGroupsMessage> describeDBParameterGroups({
  String? dBParameterGroupName,
  String? marker,
  int? maxRecords,
}) async {
  final $request = <String, dynamic>{};
  dBParameterGroupName?.also((arg) => $request['DBParameterGroupName'] = arg);
  marker?.also((arg) => $request['Marker'] = arg);
  maxRecords?.also((arg) => $request['MaxRecords'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeDBParameterGroups',
    version: '2013-02-12',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeDBParameterGroupsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeDBParameterGroupsResult',
  );
  return DBParameterGroupsMessage.fromXml($result);
}