cwmessagebatch

package
v0.0.0-...-0b529bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GZipBody

func GZipBody(req *request.Request)

Types

type Aggregator

type Aggregator struct {
	Client *cloudwatch.CloudWatch
	Config Config
}

func (*Aggregator) PutMetricData

func (*Aggregator) PutMetricDataWithContext

func (c *Aggregator) PutMetricDataWithContext(ctx aws.Context, input *cloudwatch.PutMetricDataInput, reqs ...request.Option) (*cloudwatch.PutMetricDataOutput, error)

Match API of cloudwatch interface

type CloudwatchClient

type CloudwatchClient interface {
	PutMetricDataWithContext(aws.Context, *cloudwatch.PutMetricDataInput, ...request.Option) (*cloudwatch.PutMetricDataOutput, error)
}

type Config

type Config struct {
	SkipResetUTC          bool
	SkipClearInvalidUnits bool
	SerialSends           bool
	OnDroppedDatum        func(datum *cloudwatch.MetricDatum)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL