NetworkFlowMonitor / Client / get_performance_monitor
get_performance_monitor¶
- NetworkFlowMonitor.Client.get_performance_monitor(**kwargs)¶
Returns information about a performance monitor, including the resources that it monitors, its status, and the tags for the monitor.
See also: AWS API Documentation
Request Syntax
response = client.get_performance_monitor( monitorName='string' )
- Parameters:
monitorName (string) –
[REQUIRED]
The name of the performance monitor.
- Return type:
dict
- Returns:
Response Syntax
{ 'monitorArn': 'string', 'monitorName': 'string', 'monitorStatus': 'PENDING'|'ACTIVE'|'INACTIVE'|'ERROR'|'DELETING', 'monitorType': 'VPC', 'targets': [ { 'type': 'AWS::EC2::VPC', 'identifier': 'string' }, ], 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'tags': { 'string': 'string' } }
Response Structure
(dict) –
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.
createdAt (datetime) –
The date and time when the performance monitor was created.
modifiedAt (datetime) –
The date and time when the performance monitor was last modified.
tags (dict) –
The tags for a performance monitor.
(string) –
(string) –
Exceptions
NetworkFlowMonitor.Client.exceptions.ResourceNotFoundExceptionNetworkFlowMonitor.Client.exceptions.ValidationExceptionNetworkFlowMonitor.Client.exceptions.ThrottlingExceptionNetworkFlowMonitor.Client.exceptions.AccessDeniedExceptionNetworkFlowMonitor.Client.exceptions.InternalServerException