list_component_versions
async
¶
list_component_versions(
arn: ComponentARN,
*,
config_overrides: Optional[AsyncGreengrassV2ClientConfig] = None,
max_results: Optional[DefaultMaxResults] = None,
next_token: Optional[NextTokenString] = None,
) -> ListComponentVersionsResponse
Retrieves a paginated list of all versions for a component. Greater versions are listed first.
Parameters:
-
arn(ComponentARN) –The ARN of the component.
-
max_results(Optional[DefaultMaxResults], default:None) –The maximum number of results to be returned per paginated request.
-
next_token(Optional[NextTokenString], default:None) –The token to be used for the next set of paginated results.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerException–IoT Greengrass can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota. For example, you might have exceeded the amount of times that you can retrieve device or deployment status per second.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_greengrassv2/_services/async_greengrass_v2.py
1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 | |