Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a Microsoft AD in the AWS cloud.
- 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
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:
data CreateMicrosoftAD Source #
Creates a Microsoft AD in the AWS cloud.
See: createMicrosoftAD
smart constructor.
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 #
Undocumented member.
Destructuring the Response
createMicrosoftADResponse Source #
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 Source #
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.