Documentation
¶
Index ¶
- func CostAndUsageFilterGenerator(req model.CostAndUsageRequestType) ...
- func CostAndUsageGroupByGenerator(req model.CostAndUsageRequestType) []types.GroupDefinition
- func CostForecastFilterGenerator(req model.GetCostForecastRequest) ...
- func CreateForecastDimensionFilter(m map[string]string) []model.Dimension
- func ExtractForecastFilters(d map[string]string) model.Filter
- func Profile() string
- func ToSlice(d costexplorer.GetDimensionValuesOutput) []string
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CostAndUsageFilterGenerator ¶
func CostAndUsageFilterGenerator(req model.CostAndUsageRequestType) *types. Expression
func CostAndUsageGroupByGenerator ¶
func CostAndUsageGroupByGenerator(req model.CostAndUsageRequestType) []types.GroupDefinition
func CostForecastFilterGenerator ¶
func CostForecastFilterGenerator(req model.GetCostForecastRequest) *types. Expression
func ToSlice ¶
func ToSlice(d costexplorer.GetDimensionValuesOutput) []string
Types ¶
type Service ¶
type Service struct {
*costexplorer.Client
}
func (*Service) GetCostAndUsage ¶
func (srv *Service) GetCostAndUsage(ctx context.Context, req model.CostAndUsageRequestType) ( *costexplorer.GetCostAndUsageOutput, error)
func (*Service) GetCostForecast ¶
func (srv *Service) GetCostForecast(ctx context.Context, req model.GetCostForecastRequest) ( *costexplorer. GetCostForecastOutput, error)
Click to show internal directories.
Click to hide internal directories.