Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
Creating a Request
Creates a value of StartInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sInstanceName
- The name of the instance (a virtual private server) to start.
data StartInstance Source #
See: startInstance
smart constructor.
Request Lenses
sInstanceName :: Lens' StartInstance Text Source #
The name of the instance (a virtual private server) to start.
Destructuring the Response
startInstanceResponse Source #
Creates a value of StartInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srsOperations
- An array of key-value pairs containing information about the request operation.srsResponseStatus
- -- | The response status code.
data StartInstanceResponse Source #
See: startInstanceResponse
smart constructor.
Response Lenses
srsOperations :: Lens' StartInstanceResponse [Operation] Source #
An array of key-value pairs containing information about the request operation.
srsResponseStatus :: Lens' StartInstanceResponse Int Source #
- - | The response status code.