LambdaMicroVMs / Client / get_microvm_image
get_microvm_image¶
- LambdaMicroVMs.Client.get_microvm_image(**kwargs)¶
Retrieves the details of a MicroVM image, including its state, versions, and configuration.
See also: AWS API Documentation
Request Syntax
response = client.get_microvm_image( imageIdentifier='string' )
- Parameters:
imageIdentifier (string) –
[REQUIRED]
The unique identifier (ARN or ID) of the MicroVM image to retrieve.
- Return type:
dict
- Returns:
Response Syntax
{ 'imageArn': 'string', 'name': 'string', 'state': 'CREATING'|'CREATED'|'CREATE_FAILED'|'UPDATING'|'UPDATED'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED'|'DELETED', 'latestActiveImageVersion': 'string', 'latestFailedImageVersion': 'string', 'createdAt': datetime(2015, 1, 1), 'tags': { 'string': 'string' }, 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
imageArn (string) –
The ARN of the MicroVM image.
name (string) –
The name of the MicroVM image.
state (string) –
The current state of the MicroVM image.
latestActiveImageVersion (string) –
The latest active version of the MicroVM image.
latestFailedImageVersion (string) –
The latest failed version of the MicroVM image, if any.
createdAt (datetime) –
The timestamp when the MicroVM image was created.
tags (dict) –
A set of key-value pairs that you can attach to the resource. Use tags to categorize resources for cost allocation, access control (ABAC), and organization.
(string) –
(string) –
updatedAt (datetime) –
The timestamp when the MicroVM image was last updated.
Exceptions
LambdaMicroVMs.Client.exceptions.InternalServerExceptionLambdaMicroVMs.Client.exceptions.AccessDeniedExceptionLambdaMicroVMs.Client.exceptions.ResourceNotFoundExceptionLambdaMicroVMs.Client.exceptions.ThrottlingExceptionLambdaMicroVMs.Client.exceptions.ValidationException