Restores a backup to a server that is in a
RUNNING
,
FAILED
, or
HEALTHY
state. When you run RestoreServer, the server's EC2 instance is deleted, and a new EC2 instance is configured. RestoreServer maintains the existing server endpoint, so configuration management of all of the server's client devices should continue to work.
This operation is asynchronous.
A InvalidStateException
is thrown when the server is not in a valid state. A ResourceNotFoundException
is thrown when the server does not exist. A ValidationException
is raised when parameters of the request are invalid.
/// The resource is in a state that does not allow you to perform a specified action.
///
/// The requested resource does not exist, or access was denied.
///
/// One or more of the provided request parameters are not valid.
///