Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_report_definition

update_report_definition(**kwargs)

Updates existing report in AWS Application Cost Profiler.

See also: AWS API Documentation

Request Syntax

response = client.update_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 to update.

  • 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