list_microvm_image_versions
async
¶
list_microvm_image_versions(
image_identifier: MicrovmImageIdentifier,
*,
config_overrides: Optional[AsyncLambdaMicrovmsClientConfig] = 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/async_lambda_microvms.py
1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 | |