list_peerings
async
¶
list_peerings(
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
core_network_id: Optional[CoreNetworkId] = None,
peering_type: Optional[PeeringType] = None,
edge_location: Optional[ExternalRegionCode] = None,
state: Optional[PeeringState] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListPeeringsResponse
Lists the peerings for a core network.
Parameters:
-
core_network_id(Optional[CoreNetworkId], default:None) –The ID of a core network.
-
peering_type(Optional[PeeringType], default:None) –Returns a list of a peering requests.
-
edge_location(Optional[ExternalRegionCode], default:None) –Returns a list edge locations for the
-
state(Optional[PeeringState], default:None) –Returns a list of the peering request states.
-
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.
-
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
7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 | |