Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (c *CostExplorer) GetCostAndUsage(ctx context.Context, input *costexplorer.GetCostAndUsageInput) ([]*costexplorer.ResultByTime, error)
GetCostAndUsage gets cost and usage information from the cost explorer service
Click to show internal directories.
Click to hide internal directories.