createDBParameterGroup method

Future<CreateDBParameterGroupResult> createDBParameterGroup({
  1. required String dBParameterGroupFamily,
  2. required String dBParameterGroupName,
  3. required String description,
})

Implementation

Future<CreateDBParameterGroupResult> createDBParameterGroup({
  required String dBParameterGroupFamily,
  required String dBParameterGroupName,
  required String description,
}) async {
  ArgumentError.checkNotNull(
      dBParameterGroupFamily, 'dBParameterGroupFamily');
  ArgumentError.checkNotNull(dBParameterGroupName, 'dBParameterGroupName');
  ArgumentError.checkNotNull(description, 'description');
  final $request = <String, dynamic>{};
  $request['DBParameterGroupFamily'] = dBParameterGroupFamily;
  $request['DBParameterGroupName'] = dBParameterGroupName;
  $request['Description'] = description;
  final $result = await _protocol.send(
    $request,
    action: 'CreateDBParameterGroup',
    version: '2013-01-10',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['CreateDBParameterGroupMessage'],
    shapes: shapes,
    resultWrapper: 'CreateDBParameterGroupResult',
  );
  return CreateDBParameterGroupResult.fromXml($result);
}