update_hypervisor
¶
update_hypervisor(
hypervisor_arn: ServerArn,
*,
config_overrides: Optional[BackupGatewayClientConfig] = None,
host: Optional[Host] = None,
username: Optional[Username] = None,
password: Optional[Password] = None,
name: Optional[Name] = None,
log_group_arn: Optional[LogGroupArn] = None,
) -> UpdateHypervisorOutput
Updates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.
Parameters:
-
hypervisor_arn(ServerArn) –The Amazon Resource Name (ARN) of the hypervisor to update.
-
host(Optional[Host], default:None) –The updated host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
-
username(Optional[Username], default:None) –The updated username for the hypervisor.
-
password(Optional[Password], default:None) –The updated password for the hypervisor.
-
name(Optional[Name], default:None) –The updated name for the hypervisor
-
log_group_arn(Optional[LogGroupArn], default:None) –The Amazon Resource Name (ARN) of the group of gateways within the requested log.
Raises:
-
InternalServerException–The operation did not succeed because an internal error occurred. Try again later.
-
ThrottlingException–TPS has been limited to protect against intentional or unintentional high request volumes.
-
ValidationException–The operation did not succeed because a validation error occurred.
-
AccessDeniedException–The operation cannot proceed because you have insufficient permissions.
-
ConflictException–The operation cannot proceed because it is not supported.
-
ResourceNotFoundException–A resource that is required for the action wasn't found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup_gateway/_services/backup_gateway.py
1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 | |