update_report_definition

ApplicationCostProfiler.Client.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