amazonka-ds-1.4.4: Amazon Directory Service SDK.

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

Network.AWS.DirectoryService.AddIPRoutes

Contents

Description

If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.

Synopsis

Creating a Request

addIPRoutes Source #

Creates a value of AddIPRoutes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AddIPRoutes Source #

See: addIPRoutes smart constructor.

Instances

Eq AddIPRoutes Source # 
Data AddIPRoutes Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddIPRoutes -> c AddIPRoutes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddIPRoutes #

toConstr :: AddIPRoutes -> Constr #

dataTypeOf :: AddIPRoutes -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AddIPRoutes) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddIPRoutes) #

gmapT :: (forall b. Data b => b -> b) -> AddIPRoutes -> AddIPRoutes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddIPRoutes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddIPRoutes -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddIPRoutes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddIPRoutes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddIPRoutes -> m AddIPRoutes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddIPRoutes -> m AddIPRoutes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddIPRoutes -> m AddIPRoutes #

Read AddIPRoutes Source # 
Show AddIPRoutes Source # 
Generic AddIPRoutes Source # 

Associated Types

type Rep AddIPRoutes :: * -> * #

Hashable AddIPRoutes Source # 
NFData AddIPRoutes Source # 

Methods

rnf :: AddIPRoutes -> () #

AWSRequest AddIPRoutes Source # 
ToPath AddIPRoutes Source # 
ToHeaders AddIPRoutes Source # 

Methods

toHeaders :: AddIPRoutes -> [Header] #

ToQuery AddIPRoutes Source # 
ToJSON AddIPRoutes Source # 

Methods

toJSON :: AddIPRoutes -> Value #

toEncoding :: AddIPRoutes -> Encoding #

type Rep AddIPRoutes Source # 
type Rep AddIPRoutes = D1 (MetaData "AddIPRoutes" "Network.AWS.DirectoryService.AddIPRoutes" "amazonka-ds-1.4.4-9k5BNLMvpUcC12HvOZ6S1s" False) (C1 (MetaCons "AddIPRoutes'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_airUpdateSecurityGroupForDirectoryControllers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_airDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_airIPRoutes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [IPRoute])))))
type Rs AddIPRoutes Source # 

Request Lenses

airUpdateSecurityGroupForDirectoryControllers :: Lens' AddIPRoutes (Maybe Bool) Source #

If set to true, updates the inbound and outbound rules of the security group that has the description: "AWS created security group for directory ID directory controllers." Following are the new rules:

Inbound:

  • Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
  • Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
  • Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
  • Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
  • Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
  • Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
  • Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
  • Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
  • Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
  • Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
  • Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
  • Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source: 0.0.0.0/0
  • Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source: 0.0.0.0/0
  • Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
  • Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
  • Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
  • Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0

Outbound:

  • Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0

These security rules impact an internal network interface that is not exposed publicly.

airDirectoryId :: Lens' AddIPRoutes Text Source #

Identifier (ID) of the directory to which to add the address block.

airIPRoutes :: Lens' AddIPRoutes [IPRoute] Source #

IP address blocks, using CIDR format, of the traffic to route. This is often the IP address block of the DNS server used for your on-premises domain.

Destructuring the Response

addIPRoutesResponse Source #

Creates a value of AddIPRoutesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AddIPRoutesResponse Source #

See: addIPRoutesResponse smart constructor.

Instances

Eq AddIPRoutesResponse Source # 
Data AddIPRoutesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddIPRoutesResponse -> c AddIPRoutesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddIPRoutesResponse #

toConstr :: AddIPRoutesResponse -> Constr #

dataTypeOf :: AddIPRoutesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AddIPRoutesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddIPRoutesResponse) #

gmapT :: (forall b. Data b => b -> b) -> AddIPRoutesResponse -> AddIPRoutesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddIPRoutesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddIPRoutesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddIPRoutesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddIPRoutesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddIPRoutesResponse -> m AddIPRoutesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddIPRoutesResponse -> m AddIPRoutesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddIPRoutesResponse -> m AddIPRoutesResponse #

Read AddIPRoutesResponse Source # 
Show AddIPRoutesResponse Source # 
Generic AddIPRoutesResponse Source # 
NFData AddIPRoutesResponse Source # 

Methods

rnf :: AddIPRoutesResponse -> () #

type Rep AddIPRoutesResponse Source # 
type Rep AddIPRoutesResponse = D1 (MetaData "AddIPRoutesResponse" "Network.AWS.DirectoryService.AddIPRoutes" "amazonka-ds-1.4.4-9k5BNLMvpUcC12HvOZ6S1s" True) (C1 (MetaCons "AddIPRoutesResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_airrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses