| 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.AllocateStaticIP
Description
Allocates a static IP address.
- allocateStaticIP :: Text -> AllocateStaticIP
- data AllocateStaticIP
- asiStaticIPName :: Lens' AllocateStaticIP Text
- allocateStaticIPResponse :: Int -> AllocateStaticIPResponse
- data AllocateStaticIPResponse
- asirsOperations :: Lens' AllocateStaticIPResponse [Operation]
- asirsResponseStatus :: Lens' AllocateStaticIPResponse Int
Creating a Request
Arguments
| :: Text | |
| -> AllocateStaticIP |
Creates a value of AllocateStaticIP with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asiStaticIPName- The name of the static IP address.
data AllocateStaticIP Source #
See: allocateStaticIP smart constructor.
Instances
Request Lenses
asiStaticIPName :: Lens' AllocateStaticIP Text Source #
The name of the static IP address.
Destructuring the Response
allocateStaticIPResponse Source #
Arguments
| :: Int | |
| -> AllocateStaticIPResponse |
Creates a value of AllocateStaticIPResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asirsOperations- An array of key-value pairs containing information about the static IP address you allocated.asirsResponseStatus- -- | The response status code.
data AllocateStaticIPResponse Source #
See: allocateStaticIPResponse smart constructor.
Response Lenses
asirsOperations :: Lens' AllocateStaticIPResponse [Operation] Source #
An array of key-value pairs containing information about the static IP address you allocated.
asirsResponseStatus :: Lens' AllocateStaticIPResponse Int Source #
- - | The response status code.