LambdaMicroVMs / Client / delete_microvm_image_version
delete_microvm_image_version¶
- LambdaMicroVMs.Client.delete_microvm_image_version(**kwargs)¶
Deletes a specific version of a MicroVM image. This operation is idempotent; deleting a version that has already been deleted succeeds without error.
See also: AWS API Documentation
Request Syntax
response = client.delete_microvm_image_version( imageIdentifier='string', imageVersion='string' )
- Parameters:
imageIdentifier (string) –
[REQUIRED]
The unique identifier (ARN or ID) of the MicroVM image.
imageVersion (string) –
[REQUIRED]
The version of the MicroVM image to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'imageIdentifier': 'string', 'imageVersion': 'string', 'state': 'PENDING'|'IN_PROGRESS'|'SUCCESSFUL'|'FAILED'|'DELETING'|'DELETED'|'DELETE_FAILED' }
Response Structure
(dict) –
imageIdentifier (string) –
The identifier of the MicroVM image.
imageVersion (string) –
The version that was deleted.
state (string) –
The current state of the MicroVM image version after deletion.
Exceptions
LambdaMicroVMs.Client.exceptions.InternalServerExceptionLambdaMicroVMs.Client.exceptions.AccessDeniedExceptionLambdaMicroVMs.Client.exceptions.ResourceNotFoundExceptionLambdaMicroVMs.Client.exceptions.ThrottlingExceptionLambdaMicroVMs.Client.exceptions.ConflictExceptionLambdaMicroVMs.Client.exceptions.ValidationException