modify_global_cluster
¶
modify_global_cluster(
*,
config_overrides: Optional[NeptuneClientConfig] = 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/neptune.py
4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 | |