NetworkFlowMonitor / Paginator / ListPerformanceMonitors
ListPerformanceMonitors¶
- class NetworkFlowMonitor.Paginator.ListPerformanceMonitors¶
paginator = client.get_paginator('list_performance_monitors')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
NetworkFlowMonitor.Client.list_performance_monitors().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( monitorStatus='PENDING'|'ACTIVE'|'INACTIVE'|'ERROR'|'DELETING', monitorType='VPC', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
monitorStatus (string) – 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.
monitorType (string) – 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.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'monitors': [ { 'monitorArn': 'string', 'monitorName': 'string', 'monitorStatus': 'PENDING'|'ACTIVE'|'INACTIVE'|'ERROR'|'DELETING', 'monitorType': 'VPC', 'targets': [ { 'type': 'AWS::EC2::VPC', 'identifier': 'string' }, ] }, ], 'NextToken': 'string' }
Response Structure
(dict) –
monitors (list) –
The performance monitors in the account.
(dict) –
A summary of information about a performance monitor, including the ARN, the name, the status, and the resources that it tracks network performance for.
monitorArn (string) –
The Amazon Resource Name (ARN) of the performance monitor.
monitorName (string) –
The name of the performance monitor.
monitorStatus (string) –
The status of a performance monitor. The status can be one of the following
PENDING: The performance monitor is in the process of being created.ACTIVE: The performance monitor is active.INACTIVE: The performance monitor is inactive.ERROR: The performance monitor can’t be created or updated.DELETING: The performance monitor is in the process of being deleted.
monitorType (string) –
The type of resource that you monitor determines the type of the performance monitor.
targets (list) –
The resources that the performance monitor tracks network performance for.
(dict) –
A resource that a performance monitor tracks network performance for.
type (string) –
The type of the resource that you want Network Flow Monitor to track network performance for. Specify
AWS::EC2::VPC.identifier (string) –
The Amazon Resource Name (ARN) of the resource that you want Network Flow Monitor to track network performance for.
NextToken (string) –
A token to resume pagination.