list_peerings
¶
list_peerings(
*,
config_overrides: Optional[NetworkManagerClientConfig] = 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/network_manager.py
5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 | |