| 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 |
Network.AWS.Lightsail.CloseInstancePublicPorts
Description
Closes the public ports on a specific Amazon Lightsail instance.
- closeInstancePublicPorts :: PortInfo -> Text -> CloseInstancePublicPorts
- data CloseInstancePublicPorts
- cippPortInfo :: Lens' CloseInstancePublicPorts PortInfo
- cippInstanceName :: Lens' CloseInstancePublicPorts Text
- closeInstancePublicPortsResponse :: Int -> CloseInstancePublicPortsResponse
- data CloseInstancePublicPortsResponse
- cipprsOperation :: Lens' CloseInstancePublicPortsResponse (Maybe Operation)
- cipprsResponseStatus :: Lens' CloseInstancePublicPortsResponse Int
Creating a Request
closeInstancePublicPorts Source #
Arguments
| :: PortInfo | |
| -> Text | |
| -> CloseInstancePublicPorts |
Creates a value of CloseInstancePublicPorts with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cippPortInfo- Information about the public port you are trying to close.cippInstanceName- The name of the instance on which you're attempting to close the public ports.
data CloseInstancePublicPorts Source #
See: closeInstancePublicPorts smart constructor.
Instances
Request Lenses
cippPortInfo :: Lens' CloseInstancePublicPorts PortInfo Source #
Information about the public port you are trying to close.
cippInstanceName :: Lens' CloseInstancePublicPorts Text Source #
The name of the instance on which you're attempting to close the public ports.
Destructuring the Response
closeInstancePublicPortsResponse Source #
Arguments
| :: Int | |
| -> CloseInstancePublicPortsResponse |
Creates a value of CloseInstancePublicPortsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cipprsOperation- An array of key-value pairs that contains information about the operation.cipprsResponseStatus- -- | The response status code.
data CloseInstancePublicPortsResponse Source #
See: closeInstancePublicPortsResponse smart constructor.
Instances
Response Lenses
cipprsOperation :: Lens' CloseInstancePublicPortsResponse (Maybe Operation) Source #
An array of key-value pairs that contains information about the operation.
cipprsResponseStatus :: Lens' CloseInstancePublicPortsResponse Int Source #
- - | The response status code.