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
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 | |