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 |
Adds IP addresses to an inbound or an outbound Resolver endpoint. If you
want to add more than one IP address, submit one
AssociateResolverEndpointIpAddress
request for each IP address.
To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
Synopsis
- data AssociateResolverEndpointIpAddress = AssociateResolverEndpointIpAddress' {}
- newAssociateResolverEndpointIpAddress :: Text -> IpAddressUpdate -> AssociateResolverEndpointIpAddress
- associateResolverEndpointIpAddress_resolverEndpointId :: Lens' AssociateResolverEndpointIpAddress Text
- associateResolverEndpointIpAddress_ipAddress :: Lens' AssociateResolverEndpointIpAddress IpAddressUpdate
- data AssociateResolverEndpointIpAddressResponse = AssociateResolverEndpointIpAddressResponse' {}
- newAssociateResolverEndpointIpAddressResponse :: Int -> AssociateResolverEndpointIpAddressResponse
- associateResolverEndpointIpAddressResponse_resolverEndpoint :: Lens' AssociateResolverEndpointIpAddressResponse (Maybe ResolverEndpoint)
- associateResolverEndpointIpAddressResponse_httpStatus :: Lens' AssociateResolverEndpointIpAddressResponse Int
Creating a Request
data AssociateResolverEndpointIpAddress Source #
See: newAssociateResolverEndpointIpAddress
smart constructor.
AssociateResolverEndpointIpAddress' | |
|
Instances
newAssociateResolverEndpointIpAddress Source #
Create a value of AssociateResolverEndpointIpAddress
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:resolverEndpointId:AssociateResolverEndpointIpAddress'
, associateResolverEndpointIpAddress_resolverEndpointId
- The ID of the Resolver endpoint that you want to associate IP addresses
with.
$sel:ipAddress:AssociateResolverEndpointIpAddress'
, associateResolverEndpointIpAddress_ipAddress
- Either the IPv4 address that you want to add to a Resolver endpoint or a
subnet ID. If you specify a subnet ID, Resolver chooses an IP address
for you from the available IPs in the specified subnet.
Request Lenses
associateResolverEndpointIpAddress_resolverEndpointId :: Lens' AssociateResolverEndpointIpAddress Text Source #
The ID of the Resolver endpoint that you want to associate IP addresses with.
associateResolverEndpointIpAddress_ipAddress :: Lens' AssociateResolverEndpointIpAddress IpAddressUpdate Source #
Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet.
Destructuring the Response
data AssociateResolverEndpointIpAddressResponse Source #
See: newAssociateResolverEndpointIpAddressResponse
smart constructor.
AssociateResolverEndpointIpAddressResponse' | |
|
Instances
Eq AssociateResolverEndpointIpAddressResponse Source # | |
Read AssociateResolverEndpointIpAddressResponse Source # | |
Show AssociateResolverEndpointIpAddressResponse Source # | |
Generic AssociateResolverEndpointIpAddressResponse Source # | |
NFData AssociateResolverEndpointIpAddressResponse Source # | |
type Rep AssociateResolverEndpointIpAddressResponse Source # | |
Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress type Rep AssociateResolverEndpointIpAddressResponse = D1 ('MetaData "AssociateResolverEndpointIpAddressResponse" "Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "AssociateResolverEndpointIpAddressResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resolverEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResolverEndpoint)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateResolverEndpointIpAddressResponse Source #
Create a value of AssociateResolverEndpointIpAddressResponse
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:resolverEndpoint:AssociateResolverEndpointIpAddressResponse'
, associateResolverEndpointIpAddressResponse_resolverEndpoint
- The response to an AssociateResolverEndpointIpAddress
request.
$sel:httpStatus:AssociateResolverEndpointIpAddressResponse'
, associateResolverEndpointIpAddressResponse_httpStatus
- The response's http status code.
Response Lenses
associateResolverEndpointIpAddressResponse_resolverEndpoint :: Lens' AssociateResolverEndpointIpAddressResponse (Maybe ResolverEndpoint) Source #
The response to an AssociateResolverEndpointIpAddress
request.
associateResolverEndpointIpAddressResponse_httpStatus :: Lens' AssociateResolverEndpointIpAddressResponse Int Source #
The response's http status code.