resetDBParameterGroup method

Future<DBParameterGroupNameMessage> resetDBParameterGroup({
  1. required String dBParameterGroupName,
  2. List<Parameter>? parameters,
  3. bool? resetAllParameters,
})

Implementation

Future<DBParameterGroupNameMessage> resetDBParameterGroup({
  required String dBParameterGroupName,
  List<Parameter>? parameters,
  bool? resetAllParameters,
}) async {
  ArgumentError.checkNotNull(dBParameterGroupName, 'dBParameterGroupName');
  final $request = <String, dynamic>{};
  $request['DBParameterGroupName'] = dBParameterGroupName;
  parameters?.also((arg) => $request['Parameters'] = arg);
  resetAllParameters?.also((arg) => $request['ResetAllParameters'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'ResetDBParameterGroup',
    version: '2013-01-10',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['ResetDBParameterGroupMessage'],
    shapes: shapes,
    resultWrapper: 'ResetDBParameterGroupResult',
  );
  return DBParameterGroupNameMessage.fromXml($result);
}