get_links
¶
get_links(
global_network_id: GlobalNetworkId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
link_ids: Optional[LinkIdList] = None,
site_id: Optional[SiteId] = None,
type: Optional[ConstrainedString] = None,
provider: Optional[ConstrainedString] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetLinksResponse
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network.
-
link_ids(Optional[LinkIdList], default:None) –One or more link IDs. The maximum is 10.
-
site_id(Optional[SiteId], default:None) –The ID of the site.
-
type(Optional[ConstrainedString], default:None) –The link type.
-
provider(Optional[ConstrainedString], default:None) –The link provider.
-
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/network_manager.py
3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 | |