LicenseManager.Client.
create_license_manager_report_generator
(**kwargs)¶Creates a report generator.
See also: AWS API Documentation
Request Syntax
response = client.create_license_manager_report_generator(
ReportGeneratorName='string',
Type=[
'LicenseConfigurationSummaryReport'|'LicenseConfigurationUsageReport',
],
ReportContext={
'licenseConfigurationArns': [
'string',
]
},
ReportFrequency={
'value': 123,
'period': 'DAY'|'WEEK'|'MONTH'
},
ClientToken='string',
Description='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
Name of the report generator.
[REQUIRED]
Type of reports to generate. The following report types an be generated:
[REQUIRED]
Defines the type of license configuration the report generator tracks.
Amazon Resource Name (ARN) of the license configuration that this generator reports on.
[REQUIRED]
Frequency by which reports are generated. Reports can be generated daily, monthly, or weekly.
Number of times within the frequency period that a report is generated. The only supported value is 1
.
Time period between each report. The period can be daily, weekly, or monthly.
[REQUIRED]
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Tags to add to the report generator.
Details about a tag for a license configuration.
Tag key.
Tag value.
dict
Response Syntax
{
'LicenseManagerReportGeneratorArn': 'string'
}
Response Structure
(dict) --
LicenseManagerReportGeneratorArn (string) --
The Amazon Resource Name (ARN) of the new report generator.
Exceptions
LicenseManager.Client.exceptions.ValidationException
LicenseManager.Client.exceptions.InvalidParameterValueException
LicenseManager.Client.exceptions.ResourceLimitExceededException
LicenseManager.Client.exceptions.ServerInternalException
LicenseManager.Client.exceptions.AuthorizationException
LicenseManager.Client.exceptions.RateLimitExceededException
LicenseManager.Client.exceptions.AccessDeniedException
LicenseManager.Client.exceptions.ResourceNotFoundException