Documentation ¶
Index ¶
Constants ¶
View Source
const COLUMN_BILLING_PERIOD = 7
View Source
const COLUMN_COSTS = 24
View Source
const COLUMN_CURRENCYCODE = 20
View Source
const COLUMN_LINEITEMTYPE = 10
View Source
const COLUMN_PRODUCTCODE = 13
View Source
const COLUMN_REGION = 63
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(skipHeadline bool) core.S3EventProcessor
New creates a processor to generate billing reports.
Types ¶
type BillingReportProcessor ¶
type BillingReportProcessor struct {
// contains filtered or unexported fields
}
BillingReportProcessor reads context from a AWS billing report and generates a biling report events with sumarized amounts.
func (*BillingReportProcessor) ProcessEvent ¶
func (processor *BillingReportProcessor) ProcessEvent(entity awsevents.S3Entity, content []byte) (proto.Message, error)
Process is called to process given event for a S3 object. If download option is enable via config it will pass S3 object content as well.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.