get_report
¶
get_report(
report_id: ReportId,
term_token: ShortStringAttribute,
*,
config_overrides: Optional[ArtifactClientConfig] = None,
report_version: Optional[VersionAttribute] = None,
) -> GetReportResponse
Get the content for a single report.
Parameters:
-
report_id(ReportId) –Unique resource ID for the report resource.
-
report_version(Optional[VersionAttribute], default:None) –Version for the report resource.
-
term_token(ShortStringAttribute) –Unique download token provided by GetTermForReport API.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Request to create/modify content would result in a conflict.
-
InternalServerException–An unknown server exception has occurred.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–Request fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Invoke GetReport operation on the latest version of a specific report The GetReport operation is invoked on a reportId and on a optional version. Callers must provide a termToken, which is provided by the GetTermForReport operation. If callers do not provide a version, it will default to the report's latest version
>>> client.get_report(report_id='report-abcdef0123456789', term_token='term-token-abcdefghijklm01234567890')
Source code in docs_src/capo_artifact/_services/artifact.py
1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 | |