modify_db_shard_group
¶
modify_db_shard_group(
*,
config_overrides: Optional[RDSClientConfig] = 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/rds.py
12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 | |