AWS Cost and Usage Report Service (version v1.*.*)

delete_report_definition#

Deletes the specified report.

Parameters

$body#

Deletes the specified report.

Type: object

{
"ReportName" : "string"
}

describe_report_definitions#

Lists the AWS Cost and Usage reports available to this account.

This operation has no parameters

modify_report_definition#

Allows you to programatically update your report preferences.

Parameters

$body#

Type: object

{
"ReportName" : "Required string",
"ReportDefinition" : {
"AdditionalArtifacts" : [ "string. Possible values: REDSHIFT | QUICKSIGHT | ATHENA" ],
"ReportName" : "Required string",
"Compression" : "Required string. Possible values: ZIP | GZIP | Parquet",
"Format" : "Required string. Possible values: textORcsv | Parquet",
"RefreshClosedReports" : "Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.",
"S3Bucket" : "Required string",
"ReportVersioning" : "Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.",
"S3Region" : "Required string. Possible values: us-east-1 | us-west-1 | us-west-2 | eu-central-1 | eu-west-1 | ap-southeast-1 | ap-southeast-2 | ap-northeast-1 | eu-north-1 | ap-northeast-3 | ap-east-1",
"TimeUnit" : "Required string. Possible values: HOURLY | DAILY",
"S3Prefix" : "Required string",
"AdditionalSchemaElements" : [ "string. Possible values: RESOURCES" ]
}
}

put_report_definition#

Creates a new report using the description that you provide.

Parameters

$body#

Creates a Cost and Usage Report.

Type: object

{
"ReportDefinition" : {
"AdditionalArtifacts" : [ "string. Possible values: REDSHIFT | QUICKSIGHT | ATHENA" ],
"ReportName" : "Required string",
"Compression" : "Required string. Possible values: ZIP | GZIP | Parquet",
"Format" : "Required string. Possible values: textORcsv | Parquet",
"RefreshClosedReports" : "Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.",
"S3Bucket" : "Required string",
"ReportVersioning" : "Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.",
"S3Region" : "Required string. Possible values: us-east-1 | us-west-1 | us-west-2 | eu-central-1 | eu-west-1 | ap-southeast-1 | ap-southeast-2 | ap-northeast-1 | eu-north-1 | ap-northeast-3 | ap-east-1",
"TimeUnit" : "Required string. Possible values: HOURLY | DAILY",
"S3Prefix" : "Required string",
"AdditionalSchemaElements" : [ "string. Possible values: RESOURCES" ]
}
}