modify_cluster_db_revision
async
¶
modify_cluster_db_revision(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
cluster_identifier: Optional[String] = None,
revision_target: Optional[String] = None,
) -> ModifyClusterDbRevisionResult
Modifies the database revision of a cluster. The database revision is a unique revision of the database running in a cluster.
Parameters:
-
cluster_identifier(Optional[String], default:None) –The unique identifier of a cluster whose database revision you want to modify.
Example:
examplecluster -
revision_target(Optional[String], default:None) –The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
Raises:
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
ClusterOnLatestRevisionFault–Cluster is already on the latest database revision.
-
InvalidClusterStateFault–The specified cluster is not in the
availablestate. -
UnsupportedOperationFault–The requested operation isn't supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/async_redshift.py
9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 | |