| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DirectoryService.CreateMicrosoftAD
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 .
- createMicrosoftAD :: Text -> Text -> DirectoryVPCSettings -> CreateMicrosoftAD
- data CreateMicrosoftAD
- cmadShortName :: Lens' CreateMicrosoftAD (Maybe Text)
- cmadDescription :: Lens' CreateMicrosoftAD (Maybe Text)
- cmadName :: Lens' CreateMicrosoftAD Text
- cmadPassword :: Lens' CreateMicrosoftAD Text
- cmadVPCSettings :: Lens' CreateMicrosoftAD DirectoryVPCSettings
- createMicrosoftADResponse :: Int -> CreateMicrosoftADResponse
- data CreateMicrosoftADResponse
- cmadrsDirectoryId :: Lens' CreateMicrosoftADResponse (Maybe Text)
- cmadrsResponseStatus :: Lens' CreateMicrosoftADResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DirectoryVPCSettings | |
| -> 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 asCORP. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORPfor the directory DNScorp.example.com.cmadDescription- A textual description for the directory. This label will appear on the AWS consoleDirectory Detailspage after the directory is created.cmadName- The fully qualified domain name for the directory, such ascorp.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 namedAdmin.cmadVPCSettings- Contains VPC information for theCreateDirectoryorCreateMicrosoftADoperation.
data CreateMicrosoftAD Source #
Creates a Microsoft AD in the AWS cloud.
See: createMicrosoftAD smart constructor.
Instances
Request Lenses
cmadShortName :: Lens' CreateMicrosoftAD (Maybe Text) Source #
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) Source #
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 Source #
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 Source #
The password for the default administrative user named Admin .
cmadVPCSettings :: Lens' CreateMicrosoftAD DirectoryVPCSettings Source #
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
Destructuring the Response
createMicrosoftADResponse Source #
Arguments
| :: Int | |
| -> 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.
data CreateMicrosoftADResponse Source #
Result of a CreateMicrosoftAD request.
See: createMicrosoftADResponse smart constructor.
Response Lenses
cmadrsDirectoryId :: Lens' CreateMicrosoftADResponse (Maybe Text) Source #
The identifier of the directory that was created.
cmadrsResponseStatus :: Lens' CreateMicrosoftADResponse Int Source #
- - | The response status code.