costexplorer

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrCode

func ErrCode(msg string, err error) error

Types

type CostExplorer

type CostExplorer struct {
	Service costexploreriface.CostExplorerAPI
}

CostExplorer is a wrapper around the aws costexplorer service with some default config info

func NewSession

func NewSession(account common.Account) CostExplorer

NewSession creates a new costexplorer session

func (*CostExplorer) GetCostAndUsage

GetCostAndUsage gets cost and usage information from the cost explorer service

Jump to

Keyboard shortcuts

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