modifyDBClusterParameterGroup method
Modifies the parameters of a cluster parameter group. To modify more than
one parameter, submit a list of the following: ParameterName
,
ParameterValue
, and ApplyMethod
. A maximum of 20
parameters can be modified in a single request.
May throw DBParameterGroupNotFoundFault. May throw InvalidDBParameterGroupStateFault.
Parameter dBClusterParameterGroupName
:
The name of the cluster parameter group to modify.
Parameter parameters
:
A list of parameters in the cluster parameter group to modify.
Implementation
Future<DBClusterParameterGroupNameMessage> modifyDBClusterParameterGroup({
required String dBClusterParameterGroupName,
required List<Parameter> parameters,
}) async {
ArgumentError.checkNotNull(
dBClusterParameterGroupName, 'dBClusterParameterGroupName');
ArgumentError.checkNotNull(parameters, 'parameters');
final $request = <String, dynamic>{};
$request['DBClusterParameterGroupName'] = dBClusterParameterGroupName;
$request['Parameters'] = parameters;
final $result = await _protocol.send(
$request,
action: 'ModifyDBClusterParameterGroup',
version: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['ModifyDBClusterParameterGroupMessage'],
shapes: shapes,
resultWrapper: 'ModifyDBClusterParameterGroupResult',
);
return DBClusterParameterGroupNameMessage.fromXml($result);
}