bcdaaws

package
v0.0.0-...-c530239 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: CC0-1.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParameter

func GetParameter(ctx context.Context, client *ssm.Client, keyname string) (string, error)

Returns the value of a single parameter from the SSM Parameter Store

func GetParameters

func GetParameters(ctx context.Context, client *ssm.Client, keynames []string) (map[string]string, error)

Returns a list of parameters from the SSM Parameter Store

func ParseS3Directory

func ParseS3Directory(bucket, key string) string

func ParseSQSEvent

func ParseSQSEvent(event events.SQSEvent) (*events.S3Event, error)

TODO: Iterate over records

func PutMetricSample

func PutMetricSample(
	ctx context.Context,
	namespace string,
	name string,
	unit types.StandardUnit,
	value float64,
	dimensions []types.Dimension,
) error

Types

type Sampler

type Sampler struct {
	Ctx       context.Context
	Namespace string
	Unit      string
	Service   *cloudwatch.Client
}

Jump to

Keyboard shortcuts

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