cloudwatchlogs

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLogGroup

func CreateLogGroup(ctx context.Context, client *cloudwatchlogs.Client, req CreateLogGroupRequest) error

func CreateOrUpdateLogGroup

func CreateOrUpdateLogGroup(ctx context.Context, client *cloudwatchlogs.Client, req CreateLogGroupRequest) error

func DeleteLogGroup

func DeleteLogGroup(ctx context.Context, client *cloudwatchlogs.Client, req DeleteLogGroupRequest) error

func IsNotFoundError

func IsNotFoundError(err error) bool

func UpdateLogGroup

func UpdateLogGroup(ctx context.Context, client *cloudwatchlogs.Client, req UpdateLogGroupRequest) error

Types

type CreateLogGroupRequest

type CreateLogGroupRequest struct {
	Name          string
	RetentionDays int32
}

type DeleteLogGroupRequest

type DeleteLogGroupRequest struct {
	Name string
}

type GetLogGroupRequest

type GetLogGroupRequest struct {
	Name string
}

type GetLogGroupResponse

type GetLogGroupResponse struct {
	// contains filtered or unexported fields
}

func (GetLogGroupResponse) LogGroup

func (r GetLogGroupResponse) LogGroup() *types.LogGroup

type UpdateLogGroupRequest

type UpdateLogGroupRequest struct {
	Name          string
	RetentionDays int32
}

Jump to

Keyboard shortcuts

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