update_connection
¶
update_connection(
global_network_id: GlobalNetworkId,
connection_id: ConnectionId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
link_id: Optional[LinkId] = None,
connected_link_id: Optional[LinkId] = None,
description: Optional[ConstrainedString] = None,
) -> UpdateConnectionResponse
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network.
-
connection_id(ConnectionId) –The ID of the connection.
-
link_id(Optional[LinkId], default:None) –The ID of the link for the first device in the connection.
-
connected_link_id(Optional[LinkId], default:None) –The ID of the link for the second device in the connection.
-
description(Optional[ConstrainedString], default:None) –A description of the connection.
Length Constraints: Maximum length of 256 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.
-
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
6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 | |