Module

AWS.CostExplorer.Types

#Key

#GroupDefinition

type GroupDefinition = { key :: Maybe Key }

#DateInterval

type DateInterval = { end :: DateTime, start :: DateTime }

#MetricValue

type MetricValue = { amount :: Maybe Amount }

#Metric

type Metric = { unblendedCost :: Maybe MetricValue }

#Group

type Group = { keys :: Array Key, metrics :: Maybe Metric }

#ResultByTime

type ResultByTime = { groups :: Array Group, timePeriod :: Maybe DateInterval }

#CostAndUsage

type CostAndUsage = { groupDefinitions :: Array GroupDefinition, nextPageToken :: Maybe NextPageToken, resultsByTime :: Array ResultByTime }

Modules