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 port states for a specific virtual private server, or instance .
Synopsis
- getInstancePortStates :: Text -> GetInstancePortStates
- data GetInstancePortStates
- gipsInstanceName :: Lens' GetInstancePortStates Text
- getInstancePortStatesResponse :: Int -> GetInstancePortStatesResponse
- data GetInstancePortStatesResponse
- gipsrsPortStates :: Lens' GetInstancePortStatesResponse [InstancePortState]
- gipsrsResponseStatus :: Lens' GetInstancePortStatesResponse Int
Creating a Request
getInstancePortStates Source #
Creates a value of GetInstancePortStates
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gipsInstanceName
- The name of the instance.
data GetInstancePortStates Source #
See: getInstancePortStates
smart constructor.
Instances
Request Lenses
gipsInstanceName :: Lens' GetInstancePortStates Text Source #
The name of the instance.
Destructuring the Response
getInstancePortStatesResponse Source #
Creates a value of GetInstancePortStatesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gipsrsPortStates
- Information about the port states resulting from your request.gipsrsResponseStatus
- -- | The response status code.
data GetInstancePortStatesResponse Source #
See: getInstancePortStatesResponse
smart constructor.
Instances
Response Lenses
gipsrsPortStates :: Lens' GetInstancePortStatesResponse [InstancePortState] Source #
Information about the port states resulting from your request.
gipsrsResponseStatus :: Lens' GetInstancePortStatesResponse Int Source #
- - | The response status code.