LicenseManager / Client / update_license_manager_report_generator

update_license_manager_report_generator#

LicenseManager.Client.update_license_manager_report_generator(**kwargs)#

Updates a report generator.

After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.

See also: AWS API Documentation

Request Syntax

response = client.update_license_manager_report_generator(
    LicenseManagerReportGeneratorArn='string',
    ReportGeneratorName='string',
    Type=[
        'LicenseConfigurationSummaryReport'|'LicenseConfigurationUsageReport',
    ],
    ReportContext={
        'licenseConfigurationArns': [
            'string',
        ]
    },
    ReportFrequency={
        'value': 123,
        'period': 'DAY'|'WEEK'|'MONTH'
    },
    ClientToken='string',
    Description='string'
)
Parameters:
  • LicenseManagerReportGeneratorArn (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) of the report generator to update.

  • ReportGeneratorName (string) –

    [REQUIRED]

    Name of the report generator.

  • Type (list) –

    [REQUIRED]

    Type of reports to generate. The following report types are supported:

    • License configuration report - Reports the number and details of consumed licenses for a license configuration.

    • Resource report - Reports the tracked licenses and resource consumption for a license configuration.

    • (string) –

  • ReportContext (dict) –

    [REQUIRED]

    The report context.

    • licenseConfigurationArns (list) – [REQUIRED]

      Amazon Resource Name (ARN) of the license configuration that this generator reports on.

      • (string) –

  • ReportFrequency (dict) –

    [REQUIRED]

    Frequency by which reports are generated.

    • value (integer) –

      Number of times within the frequency period that a report is generated. The only supported value is 1.

    • period (string) –

      Time period between each report. The period can be daily, weekly, or monthly.

  • ClientToken (string) –

    [REQUIRED]

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

  • Description (string) – Description of the report generator.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • LicenseManager.Client.exceptions.ValidationException

  • LicenseManager.Client.exceptions.InvalidParameterValueException

  • LicenseManager.Client.exceptions.RateLimitExceededException

  • LicenseManager.Client.exceptions.ServerInternalException

  • LicenseManager.Client.exceptions.AuthorizationException

  • LicenseManager.Client.exceptions.AccessDeniedException

  • LicenseManager.Client.exceptions.ResourceNotFoundException

  • LicenseManager.Client.exceptions.ResourceLimitExceededException