Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalRegion ¶
func GetLocalRegion() string
GetLocalRegion gets the region ID from the instance metadata.
Types ¶
type Client ¶
type Client interface { // Query sends a list of queries to Cloudwatch for metric results. Query(queries []config.MetricDataQuery) ([]cloudwatch.MetricDataResult, error) // Query sends a CloudWatch GetMetricDataInput to CloudWatch API for metric results. QueryCloudWatch(query cloudwatch.GetMetricDataInput) ([]cloudwatch.MetricDataResult, error) }
Client represents a client for Amazon CloudWatch.
func NewCloudWatchClient ¶
func NewCloudWatchClient() Client
NewCloudWatchClient creates a new CloudWatch client.
Click to show internal directories.
Click to hide internal directories.