put_report_definition
async
¶
put_report_definition(
report_id: ReportId,
report_description: ReportDescription,
report_frequency: ReportFrequency,
format: Format,
destination_s3_location: S3Location,
*,
config_overrides: Optional[AsyncApplicationCostProfilerClientConfig] = None,
) -> PutReportDefinitionResult
Creates the report definition for a report in Application Cost Profiler.
Parameters:
-
report_id(ReportId) –Required. ID of the report. You can choose any valid string matching the pattern for the ID.
-
report_description(ReportDescription) –Required. Description of the report.
-
report_frequency(ReportFrequency) –Required. The cadence to generate the report.
-
format(Format) –Required. The format to use for the generated report.
-
destination_s3_location(S3Location) –Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report.
Raises:
-
AccessDeniedException–You do not have permission to perform this action.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ServiceQuotaExceededException–Your request exceeds one or more of the service quotas.
-
ThrottlingException–The calls to AWS Application Cost Profiler API are throttled. The request was denied.
-
ValidationException–The input fails to satisfy the constraints for the API.
-
UnknownServiceError–The service returned an error code this client does not model.