Copyright | (c) 2013-2018 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 |
Returns the state of a specific instance. Works on one instance at a time.
- getInstanceState :: Text -> GetInstanceState
- data GetInstanceState
- gisInstanceName :: Lens' GetInstanceState Text
- getInstanceStateResponse :: Int -> GetInstanceStateResponse
- data GetInstanceStateResponse
- gisirsState :: Lens' GetInstanceStateResponse (Maybe InstanceState)
- gisirsResponseStatus :: Lens' GetInstanceStateResponse Int
Creating a Request
Creates a value of GetInstanceState
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gisInstanceName
- The name of the instance to get state information about.
data GetInstanceState Source #
See: getInstanceState
smart constructor.
Request Lenses
gisInstanceName :: Lens' GetInstanceState Text Source #
The name of the instance to get state information about.
Destructuring the Response
getInstanceStateResponse Source #
Creates a value of GetInstanceStateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gisirsState
- The state of the instance.gisirsResponseStatus
- -- | The response status code.
data GetInstanceStateResponse Source #
See: getInstanceStateResponse
smart constructor.
Response Lenses
gisirsState :: Lens' GetInstanceStateResponse (Maybe InstanceState) Source #
The state of the instance.
gisirsResponseStatus :: Lens' GetInstanceStateResponse Int Source #
- - | The response status code.