libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Description

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

Creating a Request

data AssociateResolverEndpointIpAddress Source #

Constructors

AssociateResolverEndpointIpAddress' 

Fields

  • resolverEndpointId :: Text

    The ID of the Resolver endpoint that you want to associate IP addresses with.

  • ipAddress :: IpAddressUpdate

    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.

Instances

Instances details
Eq AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Read AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Show AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Generic AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Associated Types

type Rep AssociateResolverEndpointIpAddress :: Type -> Type #

NFData AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Hashable AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

ToJSON AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

AWSRequest AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

ToHeaders AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

ToPath AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

ToQuery AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

type Rep AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

type Rep AssociateResolverEndpointIpAddress = D1 ('MetaData "AssociateResolverEndpointIpAddress" "Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "AssociateResolverEndpointIpAddress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resolverEndpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ipAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IpAddressUpdate)))
type AWSResponse AssociateResolverEndpointIpAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

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 #

Constructors

AssociateResolverEndpointIpAddressResponse' 

Fields

Instances

Instances details
Eq AssociateResolverEndpointIpAddressResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Read AssociateResolverEndpointIpAddressResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Show AssociateResolverEndpointIpAddressResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

Generic AssociateResolverEndpointIpAddressResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

NFData AssociateResolverEndpointIpAddressResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateResolverEndpointIpAddress

type Rep AssociateResolverEndpointIpAddressResponse Source # 
Instance details

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