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 |
Allocates a static IP address.
Synopsis
- 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
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 #
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.
Instances
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.