Menu
AWS Billing and Cost Management
User Guide (Version 2.0)

DescribeReportDefinitions

Describes your AWS Cost and Usage reports.

Request Parameters

The request requires the following data in JSON format.

MaxResults

Optional integer. Specifies the maximum number of results to return in response.

Type: Integer

Valid value: 5

Required: No

Response Elements

This operation returns the following parameters.

ReportDefinition

Returns one or more ReportDefinition objects.

Type: ReportDefinition object

Errors

InternalErrorException

An error on the server occurred during the processing of your request. Try again later.

HTTP Status Code: 500

Examples

The following example requests the AWS Cost and Usage reports for the account.

Sample Request

Copy
{ "Operation": "com.amazonaws.awsorigamiservicegateway#DescribeReportDefinitions", "Service": "com.amazonaws.awsorigamiservicegateway#AWSOrigamiServiceGatewayService", "Input": { "MaxResults": 5 } }

Sample Response

The following example requests the AWS Cost and Usage reports for the account.

Copy
{ "ReportDefinitions": [ { "AdditionalArtifacts": ["QUICKSIGHT"], "AdditionalSchemaElements": ["RESOURCES"], "Compression": "GZIP", "Format": "textORcsv", "ReportName": "Example Report", "S3Bucket": "example-s3-bucket", "S3Prefix": "example prefix", "S3Region": "us-east-1", "TimeUnit": "HOURLY" }, { "AdditionalArtifacts": ["QUICKSIGHT"], "AdditionalSchemaElements": ["RESOURCES"], "Compression": "GZIP", "Format": "textORcsv", "ReportName": "Example Report 2", "S3Bucket": "example-s3-bucket", "S3Prefix": "example prefix", "S3Region": "us-east-1", "TimeUnit": "HOURLY" }] }