Documentation ¶
Index ¶
- func CostAndUsageFilterGenerator(req types2.CostAndUsageRequestType) ...
- func CostAndUsageGroupByGenerator(req types2.CostAndUsageRequestType) []types.GroupDefinition
- func CostForecastFilterGenerator(req types2.GetCostForecastRequest) ...
- func CreateForecastDimensionFilter(m map[string]string) []types2.Dimension
- func ExtractForecastFilters(d map[string]string) types2.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 types2.CostAndUsageRequestType) *types. Expression
func CostAndUsageGroupByGenerator ¶
func CostAndUsageGroupByGenerator(req types2.CostAndUsageRequestType) []types.GroupDefinition
func CostForecastFilterGenerator ¶
func CostForecastFilterGenerator(req types2.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 types2.CostAndUsageRequestType) ( *costexplorer.GetCostAndUsageOutput, error)
func (*Service) GetCostForecast ¶
func (srv *Service) GetCostForecast(ctx context.Context, req types2.GetCostForecastRequest) ( *costexplorer. GetCostForecastOutput, error)
Click to show internal directories.
Click to hide internal directories.