amazonka-ds-1.3.3.1: 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.CreateDirectory

Contents

Description

Creates a Simple AD directory.

See: AWS API Reference for CreateDirectory.

Synopsis

Creating a Request

createDirectory Source

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

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

Request Lenses

cShortName :: Lens' CreateDirectory (Maybe Text) Source

The short name of the directory, such as CORP.

cVPCSettings :: Lens' CreateDirectory (Maybe DirectoryVPCSettings) Source

A DirectoryVpcSettings object that contains additional information for the operation.

cDescription :: Lens' CreateDirectory (Maybe Text) Source

A textual description for the directory.

cName :: Lens' CreateDirectory Text Source

The fully qualified name for the directory, such as 'corp.example.com'.

cPassword :: Lens' CreateDirectory Text Source

The password for the directory administrator. The directory creation process creates a directory administrator account with the username Administrator and this password.

cSize :: Lens' CreateDirectory DirectorySize Source

The size of the directory.

Destructuring the Response

createDirectoryResponse Source

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

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

Response Lenses

crsDirectoryId :: Lens' CreateDirectoryResponse (Maybe Text) Source

The identifier of the directory that was created.