logs

package
v0.0.0-...-a6d12f4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetentionPeriod

func RetentionPeriod() int64

Types

type CloudWatchLog

type CloudWatchLog struct {
	LogGroupName    string `json:"logGroupName"`
	RetentionPeriod int64  `json:"retentionInDays"`
}

func NewFromEvent

func NewFromEvent(event events.CloudWatchEvent) (cwLog CloudWatchLog)

func (*CloudWatchLog) UpdateRetentionPolicy

func (cwLog *CloudWatchLog) UpdateRetentionPolicy(client cloudwatchlogsiface.CloudWatchLogsAPI, retentionPeriod int64) (err error)

Jump to

Keyboard shortcuts

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