put_report_definition

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'
    }
)
Parameters
  • reportId (string) --

    [REQUIRED]

    Required. ID of the report. You can choose any valid string matching the pattern for the ID.

  • reportDescription (string) --

    [REQUIRED]

    Required. Description of the report.

  • reportFrequency (string) --

    [REQUIRED]

    Required. The cadence to generate the report.

  • format (string) --

    [REQUIRED]

    Required. The format to use for the generated report.

  • destinationS3Location (dict) --

    [REQUIRED]

    Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report.

    • bucket (string) -- [REQUIRED]

      Name of the S3 bucket.

    • prefix (string) -- [REQUIRED]

      Prefix for the location to write to.

Return type

dict

Returns

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