Did I find the right examples for you? yes no

All Samples(10)  |  Call(8)  |  Derive(0)  |  Import(2)
:type aws_access_key_id: string
:param aws_access_key_id: Your AWS Access Key ID

:type aws_secret_access_key: string
:param aws_secret_access_key: Your AWS Secret Access Key

:rtype: :class:`boto.ec2.cloudwatch.CloudWatchConnection`
:return: A connection to Amazon's EC2 Monitoring service

        def connect_cloudwatch(aws_access_key_id=None, aws_secret_access_key=None, **kwargs):
    """
    :type aws_access_key_id: string
    :param aws_access_key_id: Your AWS Access Key ID

    :type aws_secret_access_key: string
    :param aws_secret_access_key: Your AWS Secret Access Key

    :rtype: :class:`boto.ec2.cloudwatch.CloudWatchConnection`
    :return: A connection to Amazon's EC2 Monitoring service
    """
    from boto.ec2.cloudwatch import CloudWatchConnection
    return CloudWatchConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
        


src/e/v/EVE-Market-Data-Relay-HEAD/examples/python/cloudwatch_grapher/cloudwatch_grapher.py   EVE-Market-Data-Relay(Download)
 
conn = boto.connect_cloudwatch(
    aws_access_key_id=AWS_ACCESS_KEY_ID,
    aws_secret_access_key=AWS_SECRET_ACCESS_KEY,
)

src/b/e/bellatrix-1.1.10/bellatrix/lib/ec2_lib.py   bellatrix(Download)
    def getCloudWatchConnection(self):
        return boto.connect_cloudwatch(self._key, self._sec)
 
    def getEC2Connection(self):
        return boto.connect_ec2(self._key, self._sec)

src/p/a/paws-HEAD/ec2_easy_alarm.py   paws(Download)
    ec2 = boto.connect_ec2()
    sns = boto.connect_sns()
    cw = boto.connect_cloudwatch()
 
    # Make sure the instance in question exists and

src/o/s/OSMWorldData-HEAD/street-labels/verify-streets.py   OSMWorldData(Download)
import logging
 
from boto import connect_s3, connect_cloudwatch
optparser = OptionParser(usage="""%prog [options] <s3 bucket/input path> <s3 bucket/output path>
 
    input_s3 = connect_s3().get_bucket(input_bucket)
    output_s3 = connect_s3().get_bucket(output_bucket)
    cloudwatch = connect_cloudwatch()
 
    input_keys = (key for key in input_s3.list(input_prefix) if key.name.endswith('.json.bz2'))

src/o/s/OSMWorldData-HEAD/route-labels/verify-routes.py   OSMWorldData(Download)
import logging
 
from boto import connect_s3, connect_cloudwatch
optparser = OptionParser(usage="""%prog [options] <s3 bucket/input path> <s3 bucket/output path>
 
    input_s3 = connect_s3().get_bucket(input_bucket)
    output_s3 = connect_s3().get_bucket(output_bucket)
    cloudwatch = connect_cloudwatch()
 
    input_keys = (key for key in input_s3.list(input_prefix) if key.name.endswith('.json.bz2'))

src/n/a/nagios-cloudwatch-plugin-0.2.4/check_cloudwatch.py   nagios-cloudwatch-plugin(Download)
    def probe(self):
        logging.info('getting stats from cloudwatch')
        cw = boto.connect_cloudwatch()
        start_time = datetime.utcnow() - timedelta(seconds=self.period) - timedelta(seconds=self.lag)
        logging.info(start_time)
    def probe(self):
        logging.info('getting stats from cloudwatch')
        cw = boto.connect_cloudwatch()
 
        datapoint1_start_time = (datetime.utcnow() - timedelta(seconds=self.period) - timedelta(seconds=self.lag)) - timedelta(seconds=self.delta)

src/t/i/tiopatinhas-HEAD/tp/cw.py   tiopatinhas(Download)
    def __init__(self, ag_name, lower, upper, lower_threshold, upper_threshold):
        self.cloudwatch = boto.connect_cloudwatch()
        self.upper = upper - 3
        self.lower = lower + 3
        self.lower_threshold = lower_threshold