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
4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 | |