update_link
async
¶
update_link(
global_network_id: GlobalNetworkId,
link_id: LinkId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
description: Optional[ConstrainedString] = None,
type: Optional[ConstrainedString] = None,
bandwidth: Optional[Bandwidth] = None,
provider: Optional[ConstrainedString] = None,
) -> UpdateLinkResponse
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network.
-
link_id(LinkId) –The ID of the link.
-
description(Optional[ConstrainedString], default:None) –A description of the link.
Constraints: Maximum length of 256 characters.
-
type(Optional[ConstrainedString], default:None) –The type of the link.
Constraints: Maximum length of 128 characters.
-
bandwidth(Optional[Bandwidth], default:None) –The upload and download speed in Mbps.
-
provider(Optional[ConstrainedString], default:None) –The provider of the link.
Constraints: Maximum length of 128 characters.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ServiceQuotaExceededException–A service limit was exceeded.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkmanager/_services/async_network_manager.py
9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 | |