{"note":"OpenAPI conversion -- returning structured metadata","name":"amazonaws-com-applicationcostprofiler","description":"AWS Application Cost Profiler","version":"2020-09-10","base_url":"","endpoints":6,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api AWS Application Cost Profiler\n@version 2020-09-10\n@auth AWS SigV4\n@endpoints 6\n@toc reportDefinition(5), importApplicationUsage(1)\n\n@group reportDefinition\n@endpoint DELETE /reportDefinition/{reportId}\n@desc Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being generated.\n@required {reportId: str}\n@returns(200) {reportId: str?}\n\n@endpoint GET /reportDefinition/{reportId}\n@desc Retrieves the definition of a report already configured in AWS Application Cost Profiler.\n@required {reportId: str}\n@returns(200) {reportId: str, reportDescription: str, reportFrequency: str, format: str, destinationS3Location: S3Location{bucket: str, prefix: str}, createdAt: str(timestamp), lastUpdated: str(timestamp)}\n\n@endgroup\n\n@group importApplicationUsage\n@endpoint POST /importApplicationUsage\n@desc Ingests application usage data from Amazon Simple Storage Service (Amazon S3). The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously.\n@required {sourceS3Location: SourceS3Location}\n@returns(200) {importId: str}\n\n@endgroup\n\n@group reportDefinition\n@endpoint GET /reportDefinition\n@desc Retrieves a list of all reports and their configurations for your AWS account. The maximum number of reports is one.\n@optional {nextToken: str, maxResults: int}\n@returns(200) {reportDefinitions: [ReportDefinition]?, nextToken: str?}\n\n@endpoint POST /reportDefinition\n@desc Creates the report definition for a report in Application Cost Profiler.\n@required {reportId: str, reportDescription: str, reportFrequency: str, format: str, destinationS3Location: S3Location}\n@returns(200) {reportId: str?}\n\n@endpoint PUT /reportDefinition/{reportId}\n@desc Updates existing report in AWS Application Cost Profiler.\n@required {reportId: str, reportDescription: str, reportFrequency: str, format: str, destinationS3Location: S3Location}\n@returns(200) {reportId: str?}\n\n@endgroup\n\n@end\n"}