list_performance_monitors
¶
list_performance_monitors(
*,
config_overrides: Optional[NetworkFlowMonitorClientConfig] = 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/network_flow_monitor.py
1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 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 | |