modifyDBParameterGroup method

Future<DBParameterGroupNameMessage> modifyDBParameterGroup({
  1. required String dBParameterGroupName,
  2. required List<Parameter> parameters,
})

Implementation

Future<DBParameterGroupNameMessage> modifyDBParameterGroup({
  required String dBParameterGroupName,
  required List<Parameter> parameters,
}) async {
  ArgumentError.checkNotNull(dBParameterGroupName, 'dBParameterGroupName');
  ArgumentError.checkNotNull(parameters, 'parameters');
  final $request = <String, dynamic>{};
  $request['DBParameterGroupName'] = dBParameterGroupName;
  $request['Parameters'] = parameters;
  final $result = await _protocol.send(
    $request,
    action: 'ModifyDBParameterGroup',
    version: '2013-02-12',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['ModifyDBParameterGroupMessage'],
    shapes: shapes,
    resultWrapper: 'ModifyDBParameterGroupResult',
  );
  return DBParameterGroupNameMessage.fromXml($result);
}