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
5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 | |