describeEngineDefaultParameters method

Future<DescribeEngineDefaultParametersResult> describeEngineDefaultParameters({
  1. required String dBParameterGroupFamily,
  2. List<Filter>? filters,
  3. String? marker,
  4. int? maxRecords,
})

Implementation

Future<DescribeEngineDefaultParametersResult>
    describeEngineDefaultParameters({
  required String dBParameterGroupFamily,
  List<Filter>? filters,
  String? marker,
  int? maxRecords,
}) async {
  ArgumentError.checkNotNull(
      dBParameterGroupFamily, 'dBParameterGroupFamily');
  final $request = <String, dynamic>{};
  $request['DBParameterGroupFamily'] = dBParameterGroupFamily;
  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: 'DescribeEngineDefaultParameters',
    version: '2013-09-09',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeEngineDefaultParametersMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeEngineDefaultParametersResult',
  );
  return DescribeEngineDefaultParametersResult.fromXml($result);
}