ModifyReportDefinition
Allows you to programmatically update your report preferences.
Request Syntax
{
"ReportDefinition": {
"AdditionalArtifacts": [ "string
" ],
"AdditionalSchemaElements": [ "string
" ],
"BillingViewArn": "string
",
"Compression": "string
",
"Format": "string
",
"RefreshClosedReports": boolean
,
"ReportName": "string
",
"ReportStatus": {
"lastDelivery": "string
",
"lastStatus": "string
"
},
"ReportVersioning": "string
",
"S3Bucket": "string
",
"S3Prefix": "string
",
"S3Region": "string
",
"TimeUnit": "string
"
},
"ReportName": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- ReportDefinition
-
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.
Type: ReportDefinition object
Required: Yes
- ReportName
-
The name of the report that you want to create. The name must be unique, is case sensitive, and can't include spaces.
Type: String
Length Constraints: Maximum length of 256.
Pattern:
[0-9A-Za-z!\-_.*\'()]+
Required: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalErrorException
-
An error on the server occurred during the processing of your request. Try again later.
HTTP Status Code: 500
- ValidationException
-
The input fails to satisfy the constraints specified by an AWS service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: