DeleteParameterGroup - Amazon MemoryDB

DeleteParameterGroup

Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters. You cannot delete the default parameter groups in your account.

Request Syntax

{ "ParameterGroupName": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

ParameterGroupName

The name of the parameter group to delete.

Type: String

Required: Yes

Response Syntax

{ "ParameterGroup": { "ARN": "string", "Description": "string", "Family": "string", "Name": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ParameterGroup

The parameter group that has been deleted.

Type: ParameterGroup object

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidParameterCombinationException

HTTP Status Code: 400

InvalidParameterGroupStateFault

HTTP Status Code: 400

InvalidParameterValueException

HTTP Status Code: 400

ParameterGroupNotFoundFault

HTTP Status Code: 400

ServiceLinkedRoleNotFoundFault

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: