Versions in this module Expand all Collapse all v1 v1.1.0 Aug 30, 2017 Changes in this version + const ParserVersion + var ColumnAvailabilityZone = Column + var ColumnBillingBucket = Column + var ColumnBillingPeriod = Column + var ColumnBillingPeriodEndDate = Column + var ColumnBillingPeriodStartDate = Column + var ColumnBillingReportPath = Column + var ColumnBlendedCost = Column + var ColumnBlendedRate = Column + var ColumnDataTransferDest = Column + var ColumnDataTransferSource = Column + var ColumnDescription = Column + var ColumnEC2InstanceFamily = Column + var ColumnEC2InstancePricing = Column + var ColumnEC2InstanceType = Column + var ColumnLineItemID = Column + var ColumnOperation = Column + var ColumnPayerAccountID = Column + var ColumnPricingTerm = Column + var ColumnPricingUnit = Column + var ColumnProductCode = Column + var ColumnProductFamily = Column + var ColumnProductLocation = Column + var ColumnRegion = Column + var ColumnResourceID = Column + var ColumnS3Bucket = Column + var ColumnService = Column + var ColumnUnblendedCost = Column + var ColumnUnblendedRate = Column + var ColumnUsageAccountID = Column + var ColumnUsageAmount = Column + var ColumnUsageFamily = Column + var ColumnUsageType = Column + var DataTransferFamilyMatcher = regexp.MustCompile("^" + dataTransferFamilyStr + "$") + var RegionMapping map[string]AWSRegion + var ResourceTagMatcher = regexp.MustCompile("^resourceTags/(user|aws):.*") + func APINameToColumnName(apiname string) *string + type AWSRegion struct + Code string + DisplayName string + Name string + type Column struct + APIName string + ColumnName string + DisplayName string + Parser ColumnParser + func APINameToColumn(apiname string) *Column + func GetColumnByName(columnName string) *Column + type ColumnParser func(string, string) (*parsedValues, error) + type LineItem struct + Fields map[string]interface{} + Tags map[string]string + Timestamp time.Time + func ParseLine(columnNames []string, line []string) (*LineItem, error)