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

Contents

Description

Creates a Simple AD directory.

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:

data CreateDirectory Source #

Contains the inputs for the CreateDirectory operation.

See: createDirectory smart constructor.

Instances

Eq CreateDirectory Source # 
Data CreateDirectory Source # 

Methods

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

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

toConstr :: CreateDirectory -> Constr #

dataTypeOf :: CreateDirectory -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateDirectory -> () #

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

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:

data CreateDirectoryResponse Source #

Contains the results of the CreateDirectory operation.

See: createDirectoryResponse smart constructor.

Instances

Eq CreateDirectoryResponse Source # 
Data CreateDirectoryResponse Source # 

Methods

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

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

toConstr :: CreateDirectoryResponse -> Constr #

dataTypeOf :: CreateDirectoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDirectoryResponse Source # 
Show CreateDirectoryResponse Source # 
Generic CreateDirectoryResponse Source # 
NFData CreateDirectoryResponse Source # 

Methods

rnf :: CreateDirectoryResponse -> () #

type Rep CreateDirectoryResponse Source # 
type Rep CreateDirectoryResponse = D1 (MetaData "CreateDirectoryResponse" "Network.AWS.DirectoryService.CreateDirectory" "amazonka-ds-1.4.2-2tRF9IzMLvvBblYyr4EnMC" False) (C1 (MetaCons "CreateDirectoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crsDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_crsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

crsDirectoryId :: Lens' CreateDirectoryResponse (Maybe Text) Source #

The identifier of the directory that was created.