amazonka-ds-1.6.1: Amazon Directory Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

Before you call ConnectDirectory , ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference .

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 # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Data ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

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 #

Show ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Generic ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Associated Types

type Rep ConnectDirectory :: Type -> Type #

Hashable ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

ToJSON ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

AWSRequest ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Associated Types

type Rs ConnectDirectory :: Type #

ToHeaders ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

ToPath ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

ToQuery ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

NFData ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Methods

rnf :: ConnectDirectory -> () #

type Rep ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

type Rep ConnectDirectory = D1 (MetaData "ConnectDirectory" "Network.AWS.DirectoryService.ConnectDirectory" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" False) (C1 (MetaCons "ConnectDirectory'" PrefixI True) ((S1 (MetaSel (Just "_cdShortName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_cdPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 (MetaSel (Just "_cdSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DirectorySize) :*: S1 (MetaSel (Just "_cdConnectSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DirectoryConnectSettings)))))
type Rs ConnectDirectory Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

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 # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Data ConnectDirectoryResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

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 # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Show ConnectDirectoryResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Generic ConnectDirectoryResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

Associated Types

type Rep ConnectDirectoryResponse :: Type -> Type #

NFData ConnectDirectoryResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

type Rep ConnectDirectoryResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ConnectDirectory

type Rep ConnectDirectoryResponse = D1 (MetaData "ConnectDirectoryResponse" "Network.AWS.DirectoryService.ConnectDirectory" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" False) (C1 (MetaCons "ConnectDirectoryResponse'" PrefixI True) (S1 (MetaSel (Just "_cdrsDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

The identifier of the new directory.