list_performance_monitors
async
¶
list_performance_monitors(
*,
config_overrides: Optional[AsyncNetworkFlowMonitorClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[MaxResults] = None,
monitor_status: Optional[MonitorStatus] = None,
monitor_type: Optional[PerformanceMonitorType] = None,
) -> ListPerformanceMonitorsOutput
Returns a list of the performance monitors in an account. You can optionally return only the monitors that have a specific status or type.
Results are paginated. Use the nextToken parameter to return additional results.
Parameters:
-
next_token(Optional[str], default:None) –The token for the next set of results. You receive this token from a previous call.
-
max_results(Optional[MaxResults], default:None) –The number of performance monitors that you want to return with this call. If you don't specify a value, the default is 25.
-
monitor_status(Optional[MonitorStatus], default:None) –The status of the performance monitors that you want to return. If you don't specify a status, Network Flow Monitor returns performance monitors with any status.
-
monitor_type(Optional[PerformanceMonitorType], default:None) –The type of the performance monitors that you want to return. If you don't specify a type, Network Flow Monitor returns performance monitors of any type.
Raises:
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
InternalServerException–An internal error occurred.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–Invalid request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkflowmonitor/_services/async_network_flow_monitor.py
1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 | |