Skip to content

Get Billing Group Cost Report

billingconductor_get_billing_group_cost_report R Documentation

Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group

Description

Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.

Usage

billingconductor_get_billing_group_cost_report(Arn, BillingPeriodRange,
  GroupBy, MaxResults, NextToken)

Arguments

Arn

[required] The Amazon Resource Number (ARN) that uniquely identifies the billing group.

BillingPeriodRange

A time range for which the margin summary is effective. You can specify up to 12 months.

GroupBy

A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.

MaxResults

The maximum number of margin summary reports to retrieve.

NextToken

The pagination token used on subsequent calls to get reports.

Value

A list with the following syntax:

list(
  BillingGroupCostReportResults = list(
    list(
      Arn = "string",
      AWSCost = "string",
      ProformaCost = "string",
      Margin = "string",
      MarginPercentage = "string",
      Currency = "string",
      Attributes = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_billing_group_cost_report(
  Arn = "string",
  BillingPeriodRange = list(
    InclusiveStartBillingPeriod = "string",
    ExclusiveEndBillingPeriod = "string"
  ),
  GroupBy = list(
    "PRODUCT_NAME"|"BILLING_PERIOD"
  ),
  MaxResults = 123,
  NextToken = "string"
)