get_link_associations
async
¶
get_link_associations(
global_network_id: GlobalNetworkId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
device_id: Optional[DeviceId] = None,
link_id: Optional[LinkId] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetLinkAssociationsResponse
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network.
-
device_id(Optional[DeviceId], default:None) –The ID of the device.
-
link_id(Optional[LinkId], default:None) –The ID of the link.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
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
3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 | |