| 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.DetachStaticIP
Description
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
Creating a Request
Arguments
| :: Text | |
| -> DetachStaticIP |
Creates a value of DetachStaticIP with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsiStaticIPName- The name of the static IP to detach from the instance.
data DetachStaticIP Source #
See: detachStaticIP smart constructor.
Instances
Request Lenses
dsiStaticIPName :: Lens' DetachStaticIP Text Source #
The name of the static IP to detach from the instance.
Destructuring the Response
detachStaticIPResponse Source #
Arguments
| :: Int | |
| -> DetachStaticIPResponse |
Creates a value of DetachStaticIPResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsirsOperations- An array of key-value pairs containing information about the results of your detach static IP request.dsirsResponseStatus- -- | The response status code.
data DetachStaticIPResponse Source #
See: detachStaticIPResponse smart constructor.
Response Lenses
dsirsOperations :: Lens' DetachStaticIPResponse [Operation] Source #
An array of key-value pairs containing information about the results of your detach static IP request.
dsirsResponseStatus :: Lens' DetachStaticIPResponse Int Source #
- - | The response status code.