Copyright | (c) 2013-2021 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 |
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
Synopsis
- data DetachStaticIp = DetachStaticIp' {
- staticIpName :: Text
- newDetachStaticIp :: Text -> DetachStaticIp
- detachStaticIp_staticIpName :: Lens' DetachStaticIp Text
- data DetachStaticIpResponse = DetachStaticIpResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newDetachStaticIpResponse :: Int -> DetachStaticIpResponse
- detachStaticIpResponse_operations :: Lens' DetachStaticIpResponse (Maybe [Operation])
- detachStaticIpResponse_httpStatus :: Lens' DetachStaticIpResponse Int
Creating a Request
data DetachStaticIp Source #
See: newDetachStaticIp
smart constructor.
DetachStaticIp' | |
|
Instances
Create a value of DetachStaticIp
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:staticIpName:DetachStaticIp'
, detachStaticIp_staticIpName
- The name of the static IP to detach from the instance.
Request Lenses
detachStaticIp_staticIpName :: Lens' DetachStaticIp Text Source #
The name of the static IP to detach from the instance.
Destructuring the Response
data DetachStaticIpResponse Source #
See: newDetachStaticIpResponse
smart constructor.
DetachStaticIpResponse' | |
|
Instances
newDetachStaticIpResponse Source #
Create a value of DetachStaticIpResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:operations:DetachStaticIpResponse'
, detachStaticIpResponse_operations
- An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:DetachStaticIpResponse'
, detachStaticIpResponse_httpStatus
- The response's http status code.
Response Lenses
detachStaticIpResponse_operations :: Lens' DetachStaticIpResponse (Maybe [Operation]) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
detachStaticIpResponse_httpStatus :: Lens' DetachStaticIpResponse Int Source #
The response's http status code.