Documentation ¶
Index ¶
- func New(cfg iaws.Config) *cloudwatch.CloudWatch
- type API
- func (a *API) IsEnabled() bool
- func (a *API) Setup(cfg iaws.Config)
- func (a *API) UpdateKinesisAlarmState(ctx aws.Context, name, reason string) error
- func (a *API) UpdateKinesisDownscaleAlarm(ctx aws.Context, name, stream, topic string, shards int64) error
- func (a *API) UpdateKinesisUpscaleAlarm(ctx aws.Context, name, stream, topic string, shards int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg iaws.Config) *cloudwatch.CloudWatch
New returns a configured CloudWatch client.
Types ¶
type API ¶
type API struct {
Client cloudwatchiface.CloudWatchAPI
}
API wraps the CloudWatch API interface.
func (*API) UpdateKinesisAlarmState ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.