modify_cluster_maintenance
¶
modify_cluster_maintenance(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
cluster_identifier: Optional[String] = None,
defer_maintenance: Optional[BooleanOptional] = None,
defer_maintenance_identifier: Optional[String] = None,
defer_maintenance_start_time: Optional[TStamp] = None,
defer_maintenance_end_time: Optional[TStamp] = None,
defer_maintenance_duration: Optional[IntegerOptional] = None,
) -> ModifyClusterMaintenanceResult
Modifies the maintenance settings of a cluster.
Parameters:
-
cluster_identifier(Optional[String], default:None) –A unique identifier for the cluster.
-
defer_maintenance(Optional[BooleanOptional], default:None) –A boolean indicating whether to enable the deferred maintenance window.
-
defer_maintenance_identifier(Optional[String], default:None) –A unique identifier for the deferred maintenance window.
-
defer_maintenance_start_time(Optional[TStamp], default:None) –A timestamp indicating the start time for the deferred maintenance window.
-
defer_maintenance_end_time(Optional[TStamp], default:None) –A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
-
defer_maintenance_duration(Optional[IntegerOptional], default:None) –An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 60 days or less.
Raises:
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
InvalidClusterStateFault–The specified cluster is not in the
availablestate. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/redshift.py
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 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 | |