modify_db_shard_group
async
¶
modify_db_shard_group(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
db_shard_group_identifier: Optional[DBShardGroupIdentifier] = None,
max_acu: Optional[DoubleOptional] = None,
min_acu: Optional[DoubleOptional] = None,
compute_redundancy: Optional[IntegerOptional] = None,
) -> DBShardGroup
Modifies the settings of an Aurora Limitless Database DB shard group. You can change one or more settings by specifying these parameters and the new values in the request.
Parameters:
-
db_shard_group_identifier(Optional[DBShardGroupIdentifier], default:None) –The name of the DB shard group to modify.
-
max_acu(Optional[DoubleOptional], default:None) –The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
-
min_acu(Optional[DoubleOptional], default:None) –The minimum capacity of the DB shard group in Aurora capacity units (ACUs).
-
compute_redundancy(Optional[IntegerOptional], default:None) –Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:
-
0 - Creates a DB shard group without a standby DB shard group. This is the default value.
-
1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ).
-
2 - Creates a DB shard group with two standby DB shard groups in two different AZs.
-
Raises:
-
DBShardGroupAlreadyExistsFault–The specified DB shard group name must be unique in your Amazon Web Services account in the specified Amazon Web Services Region.
-
DBShardGroupNotFoundFault–The specified DB shard group name wasn't found.
-
InvalidDBClusterStateFault–The requested operation can't be performed while the cluster is in this state.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rds/_services/async_rds.py
12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 | |