amazonka-ds-1.4.3: 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.ConnectDirectory

Contents

Description

Creates an AD Connector to connect to an on-premises directory.

Synopsis

Creating a Request

connectDirectory Source #

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

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

data ConnectDirectory Source #

Contains the inputs for the ConnectDirectory operation.

See: connectDirectory smart constructor.

Instances

Eq ConnectDirectory Source # 
Data ConnectDirectory Source # 

Methods

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

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

toConstr :: ConnectDirectory -> Constr #

dataTypeOf :: ConnectDirectory -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ConnectDirectory Source # 
Show ConnectDirectory Source # 
Generic ConnectDirectory Source # 
ToJSON ConnectDirectory Source # 
Hashable ConnectDirectory Source # 
NFData ConnectDirectory Source # 

Methods

rnf :: ConnectDirectory -> () #

AWSRequest ConnectDirectory Source # 
ToPath ConnectDirectory Source # 
ToHeaders ConnectDirectory Source # 
ToQuery ConnectDirectory Source # 
type Rep ConnectDirectory Source # 
type Rs ConnectDirectory Source # 

Request Lenses

cdShortName :: Lens' ConnectDirectory (Maybe Text) Source #

The NetBIOS name of the on-premises directory, such as CORP.

cdDescription :: Lens' ConnectDirectory (Maybe Text) Source #

A textual description for the directory.

cdName :: Lens' ConnectDirectory Text Source #

The fully-qualified name of the on-premises directory, such as 'corp.example.com'.

cdPassword :: Lens' ConnectDirectory Text Source #

The password for the on-premises user account.

cdSize :: Lens' ConnectDirectory DirectorySize Source #

The size of the directory.

cdConnectSettings :: Lens' ConnectDirectory DirectoryConnectSettings Source #

A DirectoryConnectSettings object that contains additional information for the operation.

Destructuring the Response

connectDirectoryResponse Source #

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

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

data ConnectDirectoryResponse Source #

Contains the results of the ConnectDirectory operation.

See: connectDirectoryResponse smart constructor.

Instances

Eq ConnectDirectoryResponse Source # 
Data ConnectDirectoryResponse Source # 

Methods

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

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

toConstr :: ConnectDirectoryResponse -> Constr #

dataTypeOf :: ConnectDirectoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ConnectDirectoryResponse Source # 
Show ConnectDirectoryResponse Source # 
Generic ConnectDirectoryResponse Source # 
NFData ConnectDirectoryResponse Source # 
type Rep ConnectDirectoryResponse Source # 
type Rep ConnectDirectoryResponse = D1 (MetaData "ConnectDirectoryResponse" "Network.AWS.DirectoryService.ConnectDirectory" "amazonka-ds-1.4.3-CEZArOP1i373qyvcjwdjep" False) (C1 (MetaCons "ConnectDirectoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdrsDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

cdrsDirectoryId :: Lens' ConnectDirectoryResponse (Maybe Text) Source #

The identifier of the new directory.