LambdaMicroVMs / Client / delete_microvm_image

delete_microvm_image

LambdaMicroVMs.Client.delete_microvm_image(**kwargs)

Deletes a MicroVM image. This operation is idempotent; deleting an image that has already been deleted succeeds without error.

See also: AWS API Documentation

Request Syntax

response = client.delete_microvm_image(
    imageIdentifier='string'
)
Parameters:

imageIdentifier (string) –

[REQUIRED]

The unique identifier (ARN or ID) of the MicroVM image to delete.

Return type:

dict

Returns:

Response Syntax

{
    'imageIdentifier': 'string',
    'state': 'CREATING'|'CREATED'|'CREATE_FAILED'|'UPDATING'|'UPDATED'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED'|'DELETED'
}

Response Structure

  • (dict) –

    • imageIdentifier (string) –

      The identifier of the deleted MicroVM image.

    • state (string) –

      The current state of the MicroVM image after deletion.

Exceptions

  • LambdaMicroVMs.Client.exceptions.InternalServerException

  • LambdaMicroVMs.Client.exceptions.AccessDeniedException

  • LambdaMicroVMs.Client.exceptions.ResourceNotFoundException

  • LambdaMicroVMs.Client.exceptions.ThrottlingException

  • LambdaMicroVMs.Client.exceptions.ConflictException

  • LambdaMicroVMs.Client.exceptions.ValidationException