describeDBEngineVersions method

Future<DBEngineVersionMessage> describeDBEngineVersions({
  1. String? dBParameterGroupFamily,
  2. bool? defaultOnly,
  3. String? engine,
  4. String? engineVersion,
  5. bool? listSupportedCharacterSets,
  6. String? marker,
  7. int? maxRecords,
})

Implementation

Future<DBEngineVersionMessage> describeDBEngineVersions({
  String? dBParameterGroupFamily,
  bool? defaultOnly,
  String? engine,
  String? engineVersion,
  bool? listSupportedCharacterSets,
  String? marker,
  int? maxRecords,
}) async {
  final $request = <String, dynamic>{};
  dBParameterGroupFamily
      ?.also((arg) => $request['DBParameterGroupFamily'] = arg);
  defaultOnly?.also((arg) => $request['DefaultOnly'] = arg);
  engine?.also((arg) => $request['Engine'] = arg);
  engineVersion?.also((arg) => $request['EngineVersion'] = arg);
  listSupportedCharacterSets
      ?.also((arg) => $request['ListSupportedCharacterSets'] = arg);
  marker?.also((arg) => $request['Marker'] = arg);
  maxRecords?.also((arg) => $request['MaxRecords'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeDBEngineVersions',
    version: '2013-02-12',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeDBEngineVersionsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeDBEngineVersionsResult',
  );
  return DBEngineVersionMessage.fromXml($result);
}