dynamodb

package
v0.4.1-0...-d745f3b Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	DynamoDB   dynamodbiface.DynamoDBAPI
	Cloudwatch cloudwatchiface.CloudWatchAPI
	Pricing    pricingWaste.PricingInterface
}

func (*Client) AnalyzeDynamodBTableWaste

func (client *Client) AnalyzeDynamodBTableWaste(ctx context.Context, region string) ([]util.AWSWastedResource, error)

func (*Client) GetDynamoDBTablePricing

func (client *Client) GetDynamoDBTablePricing(ctx context.Context, region string) (map[DynamoPricingFacet]*util.Price, error)

func (*Client) GetUnusedDynamoDBTables

func (client *Client) GetUnusedDynamoDBTables(ctx context.Context) ([]util.AWSResourceObject, error)

type DynamoDBTable

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

func (DynamoDBTable) ID

func (a DynamoDBTable) ID() string

func (DynamoDBTable) Type

func (a DynamoDBTable) Type() string

type DynamoPricingFacet

type DynamoPricingFacet string
const (
	ReadCapacityUnitHours      DynamoPricingFacet = "ReadCapacityUnit-Hrs"
	WriteCapacityUnitHours     DynamoPricingFacet = "WriteCapacityUnit-Hrs"
	ReplWriteCapacityUnitHours DynamoPricingFacet = "ReplWriteCapacityUnit-Hrs"
)

Jump to

Keyboard shortcuts

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