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 |
Adds public ports to an Amazon Lightsail instance.
- openInstancePublicPorts :: PortInfo -> Text -> OpenInstancePublicPorts
- data OpenInstancePublicPorts
- oippPortInfo :: Lens' OpenInstancePublicPorts PortInfo
- oippInstanceName :: Lens' OpenInstancePublicPorts Text
- openInstancePublicPortsResponse :: Int -> OpenInstancePublicPortsResponse
- data OpenInstancePublicPortsResponse
- oipprsOperation :: Lens' OpenInstancePublicPortsResponse (Maybe Operation)
- oipprsResponseStatus :: Lens' OpenInstancePublicPortsResponse Int
Creating a Request
openInstancePublicPorts Source #
Creates a value of OpenInstancePublicPorts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oippPortInfo
- An array of key-value pairs containing information about the port mappings.oippInstanceName
- The name of the instance for which you want to open the public ports.
data OpenInstancePublicPorts Source #
See: openInstancePublicPorts
smart constructor.
Request Lenses
oippPortInfo :: Lens' OpenInstancePublicPorts PortInfo Source #
An array of key-value pairs containing information about the port mappings.
oippInstanceName :: Lens' OpenInstancePublicPorts Text Source #
The name of the instance for which you want to open the public ports.
Destructuring the Response
openInstancePublicPortsResponse Source #
Creates a value of OpenInstancePublicPortsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oipprsOperation
- An array of key-value pairs containing information about the request operation.oipprsResponseStatus
- -- | The response status code.
data OpenInstancePublicPortsResponse Source #
See: openInstancePublicPortsResponse
smart constructor.
Response Lenses
oipprsOperation :: Lens' OpenInstancePublicPortsResponse (Maybe Operation) Source #
An array of key-value pairs containing information about the request operation.
oipprsResponseStatus :: Lens' OpenInstancePublicPortsResponse Int Source #
- - | The response status code.