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 |
Modifies an attribute of the specified Elastic IP address. For requirements, see Using reverse DNS for email applications.
Synopsis
- data ModifyAddressAttribute = ModifyAddressAttribute' {
- domainName :: Maybe Text
- dryRun :: Maybe Bool
- allocationId :: Text
- newModifyAddressAttribute :: Text -> ModifyAddressAttribute
- modifyAddressAttribute_domainName :: Lens' ModifyAddressAttribute (Maybe Text)
- modifyAddressAttribute_dryRun :: Lens' ModifyAddressAttribute (Maybe Bool)
- modifyAddressAttribute_allocationId :: Lens' ModifyAddressAttribute Text
- data ModifyAddressAttributeResponse = ModifyAddressAttributeResponse' {}
- newModifyAddressAttributeResponse :: Int -> ModifyAddressAttributeResponse
- modifyAddressAttributeResponse_address :: Lens' ModifyAddressAttributeResponse (Maybe AddressAttribute)
- modifyAddressAttributeResponse_httpStatus :: Lens' ModifyAddressAttributeResponse Int
Creating a Request
data ModifyAddressAttribute Source #
See: newModifyAddressAttribute
smart constructor.
ModifyAddressAttribute' | |
|
Instances
newModifyAddressAttribute Source #
Create a value of ModifyAddressAttribute
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:domainName:ModifyAddressAttribute'
, modifyAddressAttribute_domainName
- The domain name to modify for the IP address.
$sel:dryRun:ModifyAddressAttribute'
, modifyAddressAttribute_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
.
ModifyAddressAttribute
, modifyAddressAttribute_allocationId
- [EC2-VPC] The allocation ID.
Request Lenses
modifyAddressAttribute_domainName :: Lens' ModifyAddressAttribute (Maybe Text) Source #
The domain name to modify for the IP address.
modifyAddressAttribute_dryRun :: Lens' ModifyAddressAttribute (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
.
modifyAddressAttribute_allocationId :: Lens' ModifyAddressAttribute Text Source #
- EC2-VPC
- The allocation ID.
Destructuring the Response
data ModifyAddressAttributeResponse Source #
See: newModifyAddressAttributeResponse
smart constructor.
ModifyAddressAttributeResponse' | |
|
Instances
Generic ModifyAddressAttributeResponse Source # | |
Read ModifyAddressAttributeResponse Source # | |
Show ModifyAddressAttributeResponse Source # | |
Defined in Amazonka.EC2.ModifyAddressAttribute | |
NFData ModifyAddressAttributeResponse Source # | |
Defined in Amazonka.EC2.ModifyAddressAttribute rnf :: ModifyAddressAttributeResponse -> () # | |
Eq ModifyAddressAttributeResponse Source # | |
type Rep ModifyAddressAttributeResponse Source # | |
Defined in Amazonka.EC2.ModifyAddressAttribute type Rep ModifyAddressAttributeResponse = D1 ('MetaData "ModifyAddressAttributeResponse" "Amazonka.EC2.ModifyAddressAttribute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyAddressAttributeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddressAttribute)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newModifyAddressAttributeResponse Source #
Create a value of ModifyAddressAttributeResponse
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:
ModifyAddressAttributeResponse
, modifyAddressAttributeResponse_address
- Information about the Elastic IP address.
$sel:httpStatus:ModifyAddressAttributeResponse'
, modifyAddressAttributeResponse_httpStatus
- The response's http status code.
Response Lenses
modifyAddressAttributeResponse_address :: Lens' ModifyAddressAttributeResponse (Maybe AddressAttribute) Source #
Information about the Elastic IP address.
modifyAddressAttributeResponse_httpStatus :: Lens' ModifyAddressAttributeResponse Int Source #
The response's http status code.