amazonka-ds-1.0.0: Amazon Directory Service SDK.

Copyright(c) 2013-2015 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 an on-premises directory.

See: AWS API Reference for ConnectDirectory.

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:

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:

Response Lenses

cdrsDirectoryId :: Lens' ConnectDirectoryResponse (Maybe Text) Source

The identifier of the new directory.

cdrsStatus :: Lens' ConnectDirectoryResponse Int Source

The response status code.