deleteDBClusterParameterGroup method

Future<void> deleteDBClusterParameterGroup({
  1. required String dBClusterParameterGroupName,
})

Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters.

May throw InvalidDBParameterGroupStateFault. May throw DBParameterGroupNotFoundFault.

Parameter dBClusterParameterGroupName : The name of the cluster parameter group.

Constraints:

  • Must be the name of an existing cluster parameter group.
  • You can't delete a default cluster parameter group.
  • Cannot be associated with any clusters.

Implementation

Future<void> deleteDBClusterParameterGroup({
  required String dBClusterParameterGroupName,
}) async {
  ArgumentError.checkNotNull(
      dBClusterParameterGroupName, 'dBClusterParameterGroupName');
  final $request = <String, dynamic>{};
  $request['DBClusterParameterGroupName'] = dBClusterParameterGroupName;
  await _protocol.send(
    $request,
    action: 'DeleteDBClusterParameterGroup',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DeleteDBClusterParameterGroupMessage'],
    shapes: shapes,
  );
}