Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudWatch ¶
type CloudWatch struct {
Service aws.AWSService
// contains filtered or unexported fields
}
The CloudWatch type encapsulates all the CloudWatch operations in a region.
func NewCloudWatch ¶
func NewCloudWatch(auth aws.Auth, region aws.ServiceInfo, namespace string) (*CloudWatch, error)
Create a new CloudWatch object for a given namespace
func (*CloudWatch) GetMetricStatistics ¶
func (c *CloudWatch) GetMetricStatistics(req *GetMetricStatisticsRequest) (result *GetMetricStatisticsResponse, err error)
Get statistics for specified metric
If the arguments are invalid or the server returns an error, the error will be set and the other values undefined.
func (*CloudWatch) PutMetricData ¶
func (c *CloudWatch) PutMetricData(metrics []MetricDatum) (result *aws.BaseResponse, err error)
type GetMetricStatisticsResponse ¶
type GetMetricStatisticsResponse struct {
GetMetricStatisticsResult GetMetricStatisticsResult
ResponseMetadata aws.ResponseMetadata
}
type MetricDatum ¶
Click to show internal directories.
Click to hide internal directories.