describeDBParameters method

Future<DBParameterGroupDetails> describeDBParameters({
  1. required String dBParameterGroupName,
  2. String? marker,
  3. int? maxRecords,
  4. String? source,
})

Implementation

Future<DBParameterGroupDetails> describeDBParameters({
  required String dBParameterGroupName,
  String? marker,
  int? maxRecords,
  String? source,
}) async {
  ArgumentError.checkNotNull(dBParameterGroupName, 'dBParameterGroupName');
  final $request = <String, dynamic>{};
  $request['DBParameterGroupName'] = dBParameterGroupName;
  marker?.also((arg) => $request['Marker'] = arg);
  maxRecords?.also((arg) => $request['MaxRecords'] = arg);
  source?.also((arg) => $request['Source'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeDBParameters',
    version: '2013-01-10',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeDBParametersMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeDBParametersResult',
  );
  return DBParameterGroupDetails.fromXml($result);
}