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 |
Deletes a specific static IP from your account.
Synopsis
- data ReleaseStaticIp = ReleaseStaticIp' {
- staticIpName :: Text
- newReleaseStaticIp :: Text -> ReleaseStaticIp
- releaseStaticIp_staticIpName :: Lens' ReleaseStaticIp Text
- data ReleaseStaticIpResponse = ReleaseStaticIpResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newReleaseStaticIpResponse :: Int -> ReleaseStaticIpResponse
- releaseStaticIpResponse_operations :: Lens' ReleaseStaticIpResponse (Maybe [Operation])
- releaseStaticIpResponse_httpStatus :: Lens' ReleaseStaticIpResponse Int
Creating a Request
data ReleaseStaticIp Source #
See: newReleaseStaticIp
smart constructor.
ReleaseStaticIp' | |
|
Instances
Create a value of ReleaseStaticIp
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:ReleaseStaticIp'
, releaseStaticIp_staticIpName
- The name of the static IP to delete.
Request Lenses
releaseStaticIp_staticIpName :: Lens' ReleaseStaticIp Text Source #
The name of the static IP to delete.
Destructuring the Response
data ReleaseStaticIpResponse Source #
See: newReleaseStaticIpResponse
smart constructor.
ReleaseStaticIpResponse' | |
|
Instances
newReleaseStaticIpResponse Source #
Create a value of ReleaseStaticIpResponse
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:ReleaseStaticIpResponse'
, releaseStaticIpResponse_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:ReleaseStaticIpResponse'
, releaseStaticIpResponse_httpStatus
- The response's http status code.
Response Lenses
releaseStaticIpResponse_operations :: Lens' ReleaseStaticIpResponse (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.
releaseStaticIpResponse_httpStatus :: Lens' ReleaseStaticIpResponse Int Source #
The response's http status code.