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
11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 | |