Documentation ¶
Index ¶
- type CloudWatch
- func (svc *CloudWatch) DoGetMetricStatistics(in *SDK.GetMetricStatisticsInput) (*SDK.GetMetricStatisticsOutput, error)
- func (svc *CloudWatch) Errorf(format string, v ...interface{})
- func (svc *CloudWatch) GetMetricStatistics(in MetricStatisticsInput) (*MetricStatisticsResponse, error)
- func (svc *CloudWatch) Infof(format string, v ...interface{})
- func (svc *CloudWatch) SetLogger(logger log.Logger)
- type Datapoint
- type Dimension
- type MetricStatisticsInput
- type MetricStatisticsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudWatch ¶
type CloudWatch struct {
// contains filtered or unexported fields
}
CloudWatch has CloudWatch client.
func (*CloudWatch) DoGetMetricStatistics ¶
func (svc *CloudWatch) DoGetMetricStatistics(in *SDK.GetMetricStatisticsInput) (*SDK.GetMetricStatisticsOutput, error)
DoGetMetricStatistics executes GetMetricStatistics operation.
func (*CloudWatch) Errorf ¶
func (svc *CloudWatch) Errorf(format string, v ...interface{})
Errorf logging error information.
func (*CloudWatch) GetMetricStatistics ¶
func (svc *CloudWatch) GetMetricStatistics(in MetricStatisticsInput) (*MetricStatisticsResponse, error)
GetMetricStatistics executes GetMetricStatistics operation.
func (*CloudWatch) Infof ¶
func (svc *CloudWatch) Infof(format string, v ...interface{})
Infof logging information.
func (*CloudWatch) SetLogger ¶
func (svc *CloudWatch) SetLogger(logger log.Logger)
SetLogger sets logger.
type Datapoint ¶
type Datapoint struct { Average float64 ExtendedStatistics map[string]float64 Maximum float64 Minimum float64 SampleCount float64 Sum float64 Unit string Timestamp time.Time }
func NewDatapoint ¶
type MetricStatisticsInput ¶
type MetricStatisticsInput struct { StartTime time.Time EndTime time.Time Period int64 MetricName string Namespace string Unit string Statistics []string ExtendedStatistics []string Dimensions []Dimension // Key: Dimension.Name, Value: Dimension.Value. // If you use same key and differenct values, then use Dimensions. DimensionsMap map[string]string }
func (MetricStatisticsInput) ToInput ¶
func (o MetricStatisticsInput) ToInput() *SDK.GetMetricStatisticsInput
type MetricStatisticsResponse ¶
func NewMetricStatisticsResponse ¶
func NewMetricStatisticsResponse(out *SDK.GetMetricStatisticsOutput) *MetricStatisticsResponse
Click to show internal directories.
Click to hide internal directories.