create_license_manager_report_generator
¶
create_license_manager_report_generator(
report_generator_name: ReportGeneratorName,
type: ReportTypeList,
report_context: ReportContext,
report_frequency: ReportFrequency,
client_token: ClientRequestToken,
*,
config_overrides: Optional[LicenseManagerClientConfig] = None,
description: Optional[String] = None,
tags: Optional[TagList] = None,
) -> CreateLicenseManagerReportGeneratorResponse
Creates a report generator.
Parameters:
-
report_generator_name(ReportGeneratorName) –Name of the report generator.
-
type(ReportTypeList) –Type of reports to generate. The following report types an be generated:
-
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.
-
-
report_context(ReportContext) –Defines the type of license configuration the report generator tracks.
-
report_frequency(ReportFrequency) –Frequency by which reports are generated. Reports can be generated daily, monthly, or weekly.
-
client_token(ClientRequestToken) –Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
description(Optional[String], default:None) –Description of the report generator.
-
tags(Optional[TagList], default:None) –Tags to add to the report generator.
Raises:
-
AccessDeniedException–Access to resource denied.
-
AuthorizationException–The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
RateLimitExceededException–Too many requests have been submitted. Try again after a brief wait.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ResourceNotFoundException–The resource cannot be found.
-
ServerInternalException–The server experienced an internal error. Try again.
-
ValidationException–The provided input is not valid. Try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_license_manager/_services/license_manager.py
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 | |