modify_global_cluster
async
¶
modify_global_cluster(
*,
config_overrides: Optional[AsyncNeptuneClientConfig] = None,
global_cluster_identifier: Optional[GlobalClusterIdentifier] = None,
new_global_cluster_identifier: Optional[GlobalClusterIdentifier] = None,
deletion_protection: Optional[BooleanOptional] = None,
engine_version: Optional[String] = None,
allow_major_version_upgrade: Optional[BooleanOptional] = None,
) -> ModifyGlobalClusterResult
Modify a setting for an Amazon Neptune global cluster. You can change one or more database configuration parameters by specifying these parameters and their new values in the request.
Parameters:
-
global_cluster_identifier(Optional[GlobalClusterIdentifier], default:None) –The DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.
Constraints: Must match the identifier of an existing global database cluster.
-
new_global_cluster_identifier(Optional[GlobalClusterIdentifier], default:None) –A new cluster identifier to assign to the global database. This value is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2 -
-
deletion_protection(Optional[BooleanOptional], default:None) –Indicates whether the global database has deletion protection enabled. The global database cannot be deleted when deletion protection is enabled.
-
engine_version(Optional[String], default:None) –The version number of the database engine to which you want to upgrade. Changing this parameter will result in an outage. The change is applied during the next maintenance window unless
ApplyImmediatelyis enabled.To list all of the available Neptune engine versions, use the following command:
-
allow_major_version_upgrade(Optional[BooleanOptional], default:None) –A value that indicates whether major version upgrades are allowed.
Constraints: You must allow major version upgrades if you specify a value for the
EngineVersionparameter that is a different major version than the DB cluster's current version.If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version, so you will need to apply any custom parameter groups after completing the upgrade.
Raises:
-
GlobalClusterAlreadyExistsFault–The
GlobalClusterIdentifieralready exists. Choose a new global database identifier (unique name) to create a new global database cluster. -
GlobalClusterNotFoundFault–The
GlobalClusterIdentifierdoesn't refer to an existing global database cluster. -
InvalidDBClusterStateFault–The DB cluster is not in a valid state.
-
InvalidDBInstanceStateFault–The specified DB instance is not in the available state.
-
InvalidGlobalClusterStateFault–The global cluster is in an invalid state and can't perform the requested operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_neptune/_services/async_neptune.py
5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 | |