logs

package
v0.0.0-...-7d6ca94 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 DestinationArn

func DestinationArn() (destinationArn string, err error)

Types

type CloudWatchLog

type CloudWatchLog struct {
	LogGroupName   string `json:"logGroupName"`
	FilterName     string `json:"filterName"`
	DestinationArn string `json:"destinationArn"`
}

func NewFromEvent

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

func (*CloudWatchLog) DeleteSubscriptionFilter

func (cwLog *CloudWatchLog) DeleteSubscriptionFilter(client cloudwatchlogsiface.CloudWatchLogsAPI, filterName string) (err error)

func (*CloudWatchLog) UpdateSubscriptionFilter

func (cwLog *CloudWatchLog) UpdateSubscriptionFilter(client cloudwatchlogsiface.CloudWatchLogsAPI, destinationArn string) (err error)

Jump to

Keyboard shortcuts

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