createDBParameterGroup method
May throw DBParameterGroupQuotaExceededFault. May throw DBParameterGroupAlreadyExistsFault.
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);
}