logo
Expand description

The AWS Cost and Usage Report API enables you to programmatically create, query, and delete AWS Cost and Usage report definitions.

AWS Cost and Usage reports track the monthly AWS costs and usage associated with your AWS account. The report contains line items for each unique combination of AWS product, usage type, and operation that your AWS account uses. You can configure the AWS Cost and Usage report to show only the data that you want, using the AWS Cost and Usage API.

Service Endpoint

The AWS Cost and Usage Report API provides the following endpoint:

  • cur.us-east-1.amazonaws.com

If you’re using the service, you’re probably looking for CostAndUsageReportClient and CostAndUsageReport.

Structs

A client for the AWS Cost and Usage Report Service API.

Deletes the specified report.

If the action is successful, the service sends back an HTTP 200 response.

Requests a list of AWS Cost and Usage reports owned by the account.

If the action is successful, the service sends back an HTTP 200 response.

Creates a Cost and Usage Report.

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

The definition of AWS Cost and Usage Report. You can specify the report name, time unit, report format, compression format, S3 bucket, additional artifacts, and schema elements in the definition.

Enums

Errors returned by DeleteReportDefinition

Errors returned by DescribeReportDefinitions

Errors returned by ModifyReportDefinition

Errors returned by PutReportDefinition

Traits

Trait representing the capabilities of the AWS Cost and Usage Report Service API. AWS Cost and Usage Report Service clients implement this trait.