Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
Creating a Request
Creates a value of GetInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
giInstanceName
- The name of the instance.
data GetInstance Source #
See: getInstance
smart constructor.
Request Lenses
giInstanceName :: Lens' GetInstance Text Source #
The name of the instance.
Destructuring the Response
Creates a value of GetInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
girsInstance
- An array of key-value pairs containing information about the specified instance.girsResponseStatus
- -- | The response status code.
data GetInstanceResponse Source #
See: getInstanceResponse
smart constructor.
Response Lenses
girsInstance :: Lens' GetInstanceResponse (Maybe Instance) Source #
An array of key-value pairs containing information about the specified instance.
girsResponseStatus :: Lens' GetInstanceResponse Int Source #
- - | The response status code.