Documentation ¶
Index ¶
- type CloudwatchAPIClient
- func (c *CloudwatchAPIClient) GetMetricData(ctx context.Context, params *cloudwatch.GetMetricDataInput, ...) (*cloudwatch.GetMetricDataOutput, error)
- func (c *CloudwatchAPIClient) Insert(namespace, metricName string, dims map[string]string)
- func (c *CloudwatchAPIClient) InsertRandom(namespace, metricName string, count int)
- func (c *CloudwatchAPIClient) ListMetrics(ctx context.Context, params *cloudwatch.ListMetricsInput, ...) (*cloudwatch.ListMetricsOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudwatchAPIClient ¶
type CloudwatchAPIClient struct { cloudwatch.ListMetricsAPIClient cloudwatch.GetMetricDataAPIClient // contains filtered or unexported fields }
func NewCloudwatchAPIClient ¶
func NewCloudwatchAPIClient() *CloudwatchAPIClient
func (*CloudwatchAPIClient) GetMetricData ¶
func (c *CloudwatchAPIClient) GetMetricData(ctx context.Context, params *cloudwatch.GetMetricDataInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.GetMetricDataOutput, error)
func (*CloudwatchAPIClient) Insert ¶
func (c *CloudwatchAPIClient) Insert(namespace, metricName string, dims map[string]string)
func (*CloudwatchAPIClient) InsertRandom ¶
func (c *CloudwatchAPIClient) InsertRandom(namespace, metricName string, count int)
func (*CloudwatchAPIClient) ListMetrics ¶
func (c *CloudwatchAPIClient) ListMetrics(ctx context.Context, params *cloudwatch.ListMetricsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.ListMetricsOutput, error)
Click to show internal directories.
Click to hide internal directories.