list_microvm_image_versions
¶
list_microvm_image_versions(
image_identifier: MicrovmImageIdentifier,
*,
config_overrides: Optional[LambdaMicrovmsClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[String] = None,
) -> ListMicrovmImageVersionsOutput
Lists versions of a MicroVM image. We recommend using pagination to ensure that the operation returns quickly and successfully.
Parameters:
-
max_results(Optional[int], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[String], default:None) –The pagination token from a previous call. Use this token to retrieve the next page of results.
-
image_identifier(MicrovmImageIdentifier) –The unique identifier (ARN or ID) of the MicroVM image to list versions for.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An internal server error occurred. Retry the request later.
-
ThrottlingException–The request was denied due to request throttling. Retry the request later.
-
ValidationException–The input does not satisfy the constraints specified by the service.
-
ResourceNotFoundException–The specified resource does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lambda_microvms/_services/lambda_microvms.py
1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 | |