update_connection
async
¶
update_connection(
global_network_id: GlobalNetworkId,
connection_id: ConnectionId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = 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/async_network_manager.py
8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 | |