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
11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 | |