resetDBParameterGroup method
May throw InvalidDBParameterGroupStateFault. May throw DBParameterGroupNotFoundFault.
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);
}