| 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 |
Network.AWS.Lightsail.GetStaticIP
Description
Returns information about a specific static IP.
Creating a Request
Arguments
| :: Text | |
| -> GetStaticIP |
Creates a value of GetStaticIP with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsiStaticIPName- The name of the static IP in Lightsail.
data GetStaticIP Source #
See: getStaticIP smart constructor.
Instances
Request Lenses
gsiStaticIPName :: Lens' GetStaticIP Text Source #
The name of the static IP in Lightsail.
Destructuring the Response
Arguments
| :: Int | |
| -> GetStaticIPResponse |
Creates a value of GetStaticIPResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsirsStaticIP- An array of key-value pairs containing information about the requested static IP.gsirsResponseStatus- -- | The response status code.
data GetStaticIPResponse Source #
See: getStaticIPResponse smart constructor.
Response Lenses
gsirsStaticIP :: Lens' GetStaticIPResponse (Maybe StaticIP) Source #
An array of key-value pairs containing information about the requested static IP.
gsirsResponseStatus :: Lens' GetStaticIPResponse Int Source #
- - | The response status code.