ApplicationCostProfiler / Client / get_report_definition

get_report_definition#

ApplicationCostProfiler.Client.get_report_definition(**kwargs)#

Retrieves the definition of a report already configured in AWS Application Cost Profiler.

See also: AWS API Documentation

Request Syntax

response = client.get_report_definition(
    reportId='string'
)
Parameters:

reportId (string) –

[REQUIRED]

ID of the report to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'reportId': 'string',
    'reportDescription': 'string',
    'reportFrequency': 'MONTHLY'|'DAILY'|'ALL',
    'format': 'CSV'|'PARQUET',
    'destinationS3Location': {
        'bucket': 'string',
        'prefix': 'string'
    },
    'createdAt': datetime(2015, 1, 1),
    'lastUpdated': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • reportId (string) –

      ID of the report retrieved.

    • reportDescription (string) –

      Description of the report.

    • reportFrequency (string) –

      Cadence used to generate the report.

    • format (string) –

      Format of the generated report.

    • destinationS3Location (dict) –

      Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.

      • bucket (string) –

        Name of the S3 bucket.

      • prefix (string) –

        Prefix for the location to write to.

    • createdAt (datetime) –

      Timestamp (milliseconds) when this report definition was created.

    • lastUpdated (datetime) –

      Timestamp (milliseconds) when this report definition was last updated.

Exceptions