amazonka-ds-1.5.0: Amazon Directory Service SDK.

Copyright (c) 2013-2017 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

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 .

Creating a Request

Arguments

 :: Text cmadName -> Text cmadPassword -> DirectoryVPCSettings cmadVPCSettings -> 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:

• 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.

Creates a Microsoft AD in the AWS cloud.

See: createMicrosoftAD smart constructor.

Instances

Request Lenses

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 .

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

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.

The password for the default administrative user named Admin .

Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

Destructuring the Response

Arguments

 :: Int cmadrsResponseStatus -> 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:

• cmadrsDirectoryId - The identifier of the directory that was created.
• cmadrsResponseStatus - -- | The response status code.

See: createMicrosoftADResponse smart constructor.