DeleteDataGroup
Deletes a data group. Before you delete a data group, drop the databases in it.
You can delete a data group only when its status is active, create-failed, or inaccessible-encryption-credentials.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- DataGroupIdentifier
-
The data group to delete. You can specify:
-
The data group identifier.
-
The data group ARN.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
(arn:aws[a-z\-]*:rds(-[a-z]*)?:[a-z0-9\-]*:[0-9]*:data-group:)?dg-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}Required: Yes
-
Response Elements
The following element is returned by the service.
- DataGroup
-
Describes a data group. A data group is a container for one or more databases in an Aurora DB cluster that you manage as a single unit.
This data type is used as a response element in the
CreateDataGroup,DeleteDataGroup,DescribeDataGroups,ModifyDataGroup, andMoveDataGroupactions.Type: DataGroup object
Errors
For information about the errors that are common to all actions, see Common Error Types.
- DataGroupNotFoundFault
-
Amazon RDS couldn't find the specified data group. Verify that the data group identifier is correct.
HTTP Status Code: 404
- InvalidDataGroupStateFault
-
The data group isn't in a valid state for the requested operation. Wait until the data group is in a valid state and try again.
HTTP Status Code: 400
- InvalidDBClusterStateFault
-
The requested operation can't be performed while the cluster is in this state.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: