Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *ClientOptions) *Client
func (*Client) PrintHistoricalCostByOrg ¶
func (client *Client) PrintHistoricalCostByOrg(out io.Writer, options *PrintHistoricalCostByOrgOptions) error
type ClientOptions ¶ added in v1.4.0
type CostBreakdown ¶
type CostBreakdown map[string]CostByProduct
org_name/product_name/charge_type/month/cost
type CostByProduct ¶
type CostByProduct map[string]CostByChargeType
product_name/charge_type/month/cost
type PrintHistoricalCostByOrgOptions ¶ added in v1.4.0
type PrintHistoricalCostByOrgOptions struct { View string `short:"v" enum:"summary,sub-org" default:"summary" help:"Cost breakdown view (summary, sub-org)."` Output string `short:"o" enum:"table,tsv,json,csv" default:"table" help:"Formatting style for output (table, tsv, json, csv)."` StartMonth string `short:"s" help:"Cost beginning this month."` EndMonth string `short:"e" help:"Cost ending this month."` Estimate bool `default:"false" help:"Get estimated cost."` }
Click to show internal directories.
Click to hide internal directories.