update_link
¶
update_link(
global_network_id: GlobalNetworkId,
link_id: LinkId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = 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/network_manager.py
7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 | |