amazonka-ds-1.6.0: 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.CreateMicrosoftAD

Contents

Description

Creates a Microsoft AD in the AWS cloud.

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

Synopsis

Creating a Request

createMicrosoftAD #

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

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

  • cmadEdition - AWS Microsoft AD is available in two editions: Standard and Enterprise. Enterprise is the default.
  • cmadShortName - The NetBIOS name for your domain. A short identifier for your domain, such as CORP . If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, CORP for the directory DNS corp.example.com .
  • cmadDescription - A textual description for the directory. This label will appear on the AWS console Directory Details page after the directory is created.
  • cmadName - The fully qualified domain name for the directory, such as corp.example.com . This name will resolve inside your VPC only. It does not need to be publicly resolvable.
  • cmadPassword - The password for the default administrative user named Admin .
  • cmadVPCSettings - Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

data CreateMicrosoftAD #

Creates a Microsoft AD in the AWS cloud.

See: createMicrosoftAD smart constructor.

Instances
Eq CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Data CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Methods

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

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

toConstr :: CreateMicrosoftAD -> Constr #

dataTypeOf :: CreateMicrosoftAD -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Generic CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Associated Types

type Rep CreateMicrosoftAD :: * -> * #

Hashable CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

ToJSON CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

AWSRequest CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Associated Types

type Rs CreateMicrosoftAD :: * #

ToHeaders CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

ToPath CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

ToQuery CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

NFData CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Methods

rnf :: CreateMicrosoftAD -> () #

type Rep CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

type Rep CreateMicrosoftAD = D1 (MetaData "CreateMicrosoftAD" "Network.AWS.DirectoryService.CreateMicrosoftAD" "amazonka-ds-1.6.0-KB9g0KnLv74HaSgv3fSxM9" False) (C1 (MetaCons "CreateMicrosoftAD'" PrefixI True) ((S1 (MetaSel (Just "_cmadEdition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DirectoryEdition)) :*: (S1 (MetaSel (Just "_cmadShortName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cmadDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cmadName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cmadPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 (MetaSel (Just "_cmadVPCSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DirectoryVPCSettings)))))
type Rs CreateMicrosoftAD # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Request Lenses

cmadEdition :: Lens' CreateMicrosoftAD (Maybe DirectoryEdition) #

AWS Microsoft AD is available in two editions: Standard and Enterprise. Enterprise is the default.

cmadShortName :: Lens' CreateMicrosoftAD (Maybe Text) #

The NetBIOS name for your domain. A short identifier for your domain, such as CORP . If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, CORP for the directory DNS corp.example.com .

cmadDescription :: Lens' CreateMicrosoftAD (Maybe Text) #

A textual description for the directory. This label will appear on the AWS console Directory Details page after the directory is created.

cmadName :: Lens' CreateMicrosoftAD Text #

The fully qualified domain name for the directory, such as corp.example.com . This name will resolve inside your VPC only. It does not need to be publicly resolvable.

cmadPassword :: Lens' CreateMicrosoftAD Text #

The password for the default administrative user named Admin .

cmadVPCSettings :: Lens' CreateMicrosoftAD DirectoryVPCSettings #

Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

Destructuring the Response

createMicrosoftADResponse #

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

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

data CreateMicrosoftADResponse #

Result of a CreateMicrosoftAD request.

See: createMicrosoftADResponse smart constructor.

Instances
Eq CreateMicrosoftADResponse # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Data CreateMicrosoftADResponse # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Methods

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

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

toConstr :: CreateMicrosoftADResponse -> Constr #

dataTypeOf :: CreateMicrosoftADResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateMicrosoftADResponse # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Show CreateMicrosoftADResponse # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Generic CreateMicrosoftADResponse # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

Associated Types

type Rep CreateMicrosoftADResponse :: * -> * #

NFData CreateMicrosoftADResponse # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

type Rep CreateMicrosoftADResponse # 
Instance details

Defined in Network.AWS.DirectoryService.CreateMicrosoftAD

type Rep CreateMicrosoftADResponse = D1 (MetaData "CreateMicrosoftADResponse" "Network.AWS.DirectoryService.CreateMicrosoftAD" "amazonka-ds-1.6.0-KB9g0KnLv74HaSgv3fSxM9" False) (C1 (MetaCons "CreateMicrosoftADResponse'" PrefixI True) (S1 (MetaSel (Just "_cmadrsDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cmadrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

cmadrsDirectoryId :: Lens' CreateMicrosoftADResponse (Maybe Text) #

The identifier of the directory that was created.

cmadrsResponseStatus :: Lens' CreateMicrosoftADResponse Int #

  • - | The response status code.