get_links
async
¶
get_links(
global_network_id: GlobalNetworkId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = 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/async_network_manager.py
4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 | |