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 |
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
- putInstancePublicPorts :: Text -> PutInstancePublicPorts
- data PutInstancePublicPorts
- pippPortInfos :: Lens' PutInstancePublicPorts [PortInfo]
- pippInstanceName :: Lens' PutInstancePublicPorts Text
- putInstancePublicPortsResponse :: Int -> PutInstancePublicPortsResponse
- data PutInstancePublicPortsResponse
- pipprsOperation :: Lens' PutInstancePublicPortsResponse (Maybe Operation)
- pipprsResponseStatus :: Lens' PutInstancePublicPortsResponse Int
Creating a Request
putInstancePublicPorts Source #
Creates a value of PutInstancePublicPorts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pippPortInfos
- Specifies information about the public port(s).pippInstanceName
- The Lightsail instance name of the public port(s) you are setting.
data PutInstancePublicPorts Source #
See: putInstancePublicPorts
smart constructor.
Request Lenses
pippPortInfos :: Lens' PutInstancePublicPorts [PortInfo] Source #
Specifies information about the public port(s).
pippInstanceName :: Lens' PutInstancePublicPorts Text Source #
The Lightsail instance name of the public port(s) you are setting.
Destructuring the Response
putInstancePublicPortsResponse Source #
Creates a value of PutInstancePublicPortsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pipprsOperation
- Describes metadata about the operation you just executed.pipprsResponseStatus
- -- | The response status code.
data PutInstancePublicPortsResponse Source #
See: putInstancePublicPortsResponse
smart constructor.
Response Lenses
pipprsOperation :: Lens' PutInstancePublicPortsResponse (Maybe Operation) Source #
Describes metadata about the operation you just executed.
pipprsResponseStatus :: Lens' PutInstancePublicPortsResponse Int Source #
- - | The response status code.