The heat.cfn_client.boto_client_cloudwatch Module

Client implementation based on the boto AWS client library

class heat.cfn_client.boto_client_cloudwatch.BotoCWClient(aws_access_key_id=None, aws_secret_access_key=None, is_secure=True, port=None, proxy=None, proxy_port=None, proxy_user=None, proxy_pass=None, debug=0, https_connection_factory=None, region=None, path='/', security_token=None, validate_certs=True)[source]

Bases: boto.ec2.cloudwatch.CloudWatchConnection

Wrapper class for boto CloudWatchConnection class

ALARM_STATES = ('OK', 'ALARM', 'INSUFFICIENT_DATA')
DEFAULT_NAMESPACE = 'heat/unknown'
METRIC_COMPARISONS = ('>=', '>', '<', '<=')
METRIC_STATISTICS = ('Average', 'Sum', 'SampleCount', 'Maximum', 'Minimum')
METRIC_UNITS = ('Seconds', 'Microseconds', 'Milliseconds', 'Bytes', 'Kilobytes', 'Megabytes', 'Gigabytes', 'Terabytes', 'Bits', 'Kilobits', 'Megabits', 'Gigabits', 'Terabits', 'Percent', 'Count', 'Bytes/Second', 'Kilobytes/Second', 'Megabytes/Second', 'Gigabytes/Second', 'Terabytes/Second', 'Bits/Second', 'Kilobits/Second', 'Megabits/Second', 'Gigabits/Second', 'Terabits/Second', 'Count/Second', None)
describe_alarm(**kwargs)[source]
format_metric(metrics)[source]

Return string formatted representation of boto.ec2.cloudwatch.metric.Metric objects

format_metric_alarm(alarms)[source]

Return string formatted representation of boto.ec2.cloudwatch.alarm.MetricAlarm objects

list_metrics(**kwargs)[source]
put_metric_data(**kwargs)[source]

Publish metric data points to CloudWatch

set_alarm_state(**kwargs)[source]
heat.cfn_client.boto_client_cloudwatch.get_client(port=None, aws_access_key=None, aws_secret_key=None)[source]

Returns a new boto CloudWatch client connection to a heat server Note : Configuration goes in /etc/boto.cfg, not via arguments

This Page