CloudWatch#
Client#
- class CloudWatch.Client#
A low-level client representing Amazon CloudWatch
Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the applications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track metrics, which are the variables you want to measure for your resources and applications.
CloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2 instances. Then, use this data to determine whether you should launch additional instances to handle increased load. You can also use this data to stop under-used instances to save money.
In addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor your own custom metrics. With CloudWatch, you gain system-wide visibility into resource utilization, application performance, and operational health.
import boto3 client = boto3.client('cloudwatch')
These are the available methods:
- can_paginate
- close
- delete_alarms
- delete_anomaly_detector
- delete_dashboards
- delete_insight_rules
- delete_metric_stream
- describe_alarm_history
- describe_alarms
- describe_alarms_for_metric
- describe_anomaly_detectors
- describe_insight_rules
- disable_alarm_actions
- disable_insight_rules
- enable_alarm_actions
- enable_insight_rules
- get_dashboard
- get_insight_rule_report
- get_metric_data
- get_metric_statistics
- get_metric_stream
- get_metric_widget_image
- get_paginator
- get_waiter
- list_dashboards
- list_managed_insight_rules
- list_metric_streams
- list_metrics
- list_tags_for_resource
- put_anomaly_detector
- put_composite_alarm
- put_dashboard
- put_insight_rule
- put_managed_insight_rules
- put_metric_alarm
- put_metric_data
- put_metric_stream
- set_alarm_state
- start_metric_streams
- stop_metric_streams
- tag_resource
- untag_resource
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
Waiters#
Waiters are available on a client instance via the get_waiter
method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.
The available waiters are:
Resources#
Resources are available in boto3 via the resource
method. For more detailed instructions and examples on the usage of resources, see the resources user guide.
The available resources are: