aws

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoscalingGetInstanceCount

func AutoscalingGetInstanceCount(ctx context.Context, region string, name string) (float64, error)

AutoscalingGetInstanceCount uses various techniques to estimate number of instances in an AutoScaling group. In order of preference:

  1. CloudWatch monthly average
  2. Instantaneous count right now
  3. Mean of min-size and max-size

func DynamoDBGetRRU

func DynamoDBGetRRU(ctx context.Context, region string, table string) (float64, error)

func DynamoDBGetStorageBytes

func DynamoDBGetStorageBytes(ctx context.Context, region string, table string) (int64, error)

func DynamoDBGetWRU

func DynamoDBGetWRU(ctx context.Context, region string, table string) (float64, error)

func EC2DescribeOS

func EC2DescribeOS(ctx context.Context, region string, ami string) (string, error)

func EKSGetNodeGroupAutoscalingGroups

func EKSGetNodeGroupAutoscalingGroups(ctx context.Context, region string, clusterName string, nodeGroupName string) ([]string, error)

func LambdaGetDurationAvg

func LambdaGetDurationAvg(ctx context.Context, region string, fn string) (float64, error)

func LambdaGetInvocations

func LambdaGetInvocations(ctx context.Context, region string, fn string) (float64, error)

func S3FindMetricsFilter

func S3FindMetricsFilter(ctx context.Context, region string, bucket string) (string, error)

func S3GetBucketDataBytes

func S3GetBucketDataBytes(ctx context.Context, region string, bucket string, filterName string, metric string) (float64, error)

func S3GetBucketRequests

func S3GetBucketRequests(ctx context.Context, region string, bucket string, filterName string, metrics []string) (int64, error)

func S3GetBucketSizeBytes

func S3GetBucketSizeBytes(ctx context.Context, region string, bucket string, storageType string) (float64, error)

func WithTestEndpoint

func WithTestEndpoint(ctx context.Context, url string) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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