LambdaMicroVMs / Client / suspend_microvm

suspend_microvm

LambdaMicroVMs.Client.suspend_microvm(**kwargs)

Suspends a running MicroVM, preserving its full memory and disk state. The MicroVM transitions through SUSPENDING to SUSPENDED. To restore, call ResumeMicrovm or send traffic to the endpoint if autoResumeEnabled is true.

See also: AWS API Documentation

Request Syntax

response = client.suspend_microvm(
    microvmIdentifier='string'
)
Parameters:

microvmIdentifier (string) –

[REQUIRED]

The ID of the MicroVM to suspend.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

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