Module Smaws_Client_Lightsail.StartInstance

Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.

When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

The start instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

val request : Smaws_Lib.Context.t -> Types.start_instance_request -> (Types.start_instance_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AccountSetupInProgressException of Types.account_setup_in_progress_exception | `InvalidInputException of Types.invalid_input_exception | `NotFoundException of Types.not_found_exception | `OperationFailureException of Types.operation_failure_exception | `ServiceException of Types.service_exception | `UnauthenticatedException of Types.unauthenticated_exception ]) Stdlib.result