put_report_definition
(**kwargs)¶Creates the report definition for a report in Application Cost Profiler.
See also: AWS API Documentation
Request Syntax
response = client.put_report_definition(
reportId='string',
reportDescription='string',
reportFrequency='MONTHLY'|'DAILY'|'ALL',
format='CSV'|'PARQUET',
destinationS3Location={
'bucket': 'string',
'prefix': 'string'
}
)
[REQUIRED]
Required. ID of the report. You can choose any valid string matching the pattern for the ID.
[REQUIRED]
Required. Description of the report.
[REQUIRED]
Required. The cadence to generate the report.
[REQUIRED]
Required. The format to use for the generated report.
[REQUIRED]
Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report.
Name of the S3 bucket.
Prefix for the location to write to.
dict
Response Syntax
{
'reportId': 'string'
}
Response Structure
(dict) --
reportId (string) --
ID of the report.
Exceptions
ApplicationCostProfiler.Client.exceptions.InternalServerException
ApplicationCostProfiler.Client.exceptions.ThrottlingException
ApplicationCostProfiler.Client.exceptions.ValidationException
ApplicationCostProfiler.Client.exceptions.AccessDeniedException
ApplicationCostProfiler.Client.exceptions.ServiceQuotaExceededException