Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Resets the attribute of the specified IP address. For requirements, see Using reverse DNS for email applications.
Synopsis
- data ResetAddressAttribute = ResetAddressAttribute' {}
- newResetAddressAttribute :: Text -> AddressAttributeName -> ResetAddressAttribute
- resetAddressAttribute_dryRun :: Lens' ResetAddressAttribute (Maybe Bool)
- resetAddressAttribute_allocationId :: Lens' ResetAddressAttribute Text
- resetAddressAttribute_attribute :: Lens' ResetAddressAttribute AddressAttributeName
- data ResetAddressAttributeResponse = ResetAddressAttributeResponse' {}
- newResetAddressAttributeResponse :: Int -> ResetAddressAttributeResponse
- resetAddressAttributeResponse_address :: Lens' ResetAddressAttributeResponse (Maybe AddressAttribute)
- resetAddressAttributeResponse_httpStatus :: Lens' ResetAddressAttributeResponse Int
Creating a Request
data ResetAddressAttribute Source #
See: newResetAddressAttribute
smart constructor.
ResetAddressAttribute' | |
|
Instances
newResetAddressAttribute Source #
Create a value of ResetAddressAttribute
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:dryRun:ResetAddressAttribute'
, resetAddressAttribute_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
ResetAddressAttribute
, resetAddressAttribute_allocationId
- [EC2-VPC] The allocation ID.
$sel:attribute:ResetAddressAttribute'
, resetAddressAttribute_attribute
- The attribute of the IP address.
Request Lenses
resetAddressAttribute_dryRun :: Lens' ResetAddressAttribute (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
resetAddressAttribute_allocationId :: Lens' ResetAddressAttribute Text Source #
- EC2-VPC
- The allocation ID.
resetAddressAttribute_attribute :: Lens' ResetAddressAttribute AddressAttributeName Source #
The attribute of the IP address.
Destructuring the Response
data ResetAddressAttributeResponse Source #
See: newResetAddressAttributeResponse
smart constructor.
ResetAddressAttributeResponse' | |
|
Instances
newResetAddressAttributeResponse Source #
Create a value of ResetAddressAttributeResponse
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:
ResetAddressAttributeResponse
, resetAddressAttributeResponse_address
- Information about the IP address.
$sel:httpStatus:ResetAddressAttributeResponse'
, resetAddressAttributeResponse_httpStatus
- The response's http status code.
Response Lenses
resetAddressAttributeResponse_address :: Lens' ResetAddressAttributeResponse (Maybe AddressAttribute) Source #
Information about the IP address.
resetAddressAttributeResponse_httpStatus :: Lens' ResetAddressAttributeResponse Int Source #
The response's http status code.