update_db_cluster
async
¶
update_db_cluster(
db_cluster_id: DbClusterId,
*,
config_overrides: Optional[AsyncTimestreamInfluxDBClientConfig] = None,
log_delivery_configuration: Optional[LogDeliveryConfiguration] = None,
db_parameter_group_identifier: Optional[DbParameterGroupIdentifier] = None,
port: Optional[Port] = None,
db_instance_type: Optional[DbInstanceType] = None,
deployment_configuration: Optional[DeploymentConfiguration] = None,
failover_mode: Optional[FailoverMode] = None,
maintenance_schedule: Optional[MaintenanceSchedule] = None,
db_backup_configurations: Optional[DbBackupConfigurationInputList] = None,
) -> UpdateDbClusterOutput
Updates a Timestream for InfluxDB cluster.
Parameters:
-
db_cluster_id(DbClusterId) –Service-generated unique identifier of the DB cluster to update.
-
log_delivery_configuration(Optional[LogDeliveryConfiguration], default:None) –The log delivery configuration to apply to the DB cluster.
-
db_parameter_group_identifier(Optional[DbParameterGroupIdentifier], default:None) –Update the DB cluster to use the specified DB parameter group.
-
port(Optional[Port], default:None) –Update the DB cluster to use the specified port.
-
db_instance_type(Optional[DbInstanceType], default:None) –Update the DB cluster to use the specified DB instance Type.
You can't specify both dbInstanceType and deploymentConfiguration in the same request. When you use deploymentConfiguration, the instance type is specified per node group.
-
deployment_configuration(Optional[DeploymentConfiguration], default:None) –The updated compute topology for the cluster, defined as a set of node groups. Use deploymentConfiguration to change the cluster's topology or scale its compute in a single call. You can't specify both deploymentConfiguration and dbInstanceType in the same request. When you provide a deployment configuration, Timestream for InfluxDB ignores any node-count parameters in the associated DB parameter group.
-
failover_mode(Optional[FailoverMode], default:None) –Update the DB cluster's failover behavior.
-
maintenance_schedule(Optional[MaintenanceSchedule], default:None) –Specifies the maintenance schedule for the DB cluster, including the preferred maintenance window and timezone.
-
db_backup_configurations(Optional[DbBackupConfigurationInputList], default:None) –A list of backup configurations to update for the DB cluster.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request conflicts with an existing resource in Timestream for InfluxDB.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The requested resource was not found or does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by Timestream for InfluxDB.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_timestream_influxdb/_services/async_timestream_influx_db.py
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 | |