ModifyDataGroup
Modifies the settings of a data group. You can enable the data group endpoint, rename it, or disable it.
You can modify a data group only when its status is active. To move a data group to another DB cluster, use MoveDataGroup.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- DataGroupIdentifier
-
The data group to modify. 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
-
- DataGroupEndpointName
-
The name of the data group endpoint. The name must be unique in your AWS account in the current AWS Region.
To rename an existing endpoint, specify the new name without
EnableEndpoint.Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern:
[a-zA-Z][a-zA-Z0-9]*([-][a-zA-Z0-9]+)*Required: No
- EnableEndpoint
-
Specifies whether to enable the data group endpoint. To enable the endpoint, specify
trueandDataGroupEndpointName. To disable it, specifyfalse.Type: Boolean
Required: No
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.
- DataGroupEndpointAlreadyExistsFault
-
The specified data group endpoint name is already in use in your AWS account in the current AWS Region. Specify a different name.
HTTP Status Code: 400
- DataGroupEndpointNameRequiredFault
-
You must specify
DataGroupEndpointNamewhen you enable the data group endpoint.HTTP Status Code: 400
- DataGroupEndpointQuotaExceededFault
-
The request would result in you exceeding the allowed number of data group endpoints.
HTTP Status Code: 400
- DataGroupNotFoundFault
-
Amazon RDS couldn't find the specified data group. Verify that the data group identifier is correct.
HTTP Status Code: 404
- DBClusterNotFoundFault
-
DBClusterIdentifierdoesn't refer to an existing DB cluster.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: