Copyright | (c) 2013-2021 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 |
Creates an AD Connector to connect to a self-managed directory.
Before you call ConnectDirectory
, ensure that all of the required
permissions have been explicitly granted through a policy. For details
about what permissions are required to run the ConnectDirectory
operation, see
Directory Service API Permissions: Actions, Resources, and Conditions Reference.
Synopsis
- data ConnectDirectory = ConnectDirectory' {
- shortName :: Maybe Text
- description :: Maybe Text
- tags :: Maybe [Tag]
- name :: Text
- password :: Sensitive Text
- size :: DirectorySize
- connectSettings :: DirectoryConnectSettings
- newConnectDirectory :: Text -> Text -> DirectorySize -> DirectoryConnectSettings -> ConnectDirectory
- connectDirectory_shortName :: Lens' ConnectDirectory (Maybe Text)
- connectDirectory_description :: Lens' ConnectDirectory (Maybe Text)
- connectDirectory_tags :: Lens' ConnectDirectory (Maybe [Tag])
- connectDirectory_name :: Lens' ConnectDirectory Text
- connectDirectory_password :: Lens' ConnectDirectory Text
- connectDirectory_size :: Lens' ConnectDirectory DirectorySize
- connectDirectory_connectSettings :: Lens' ConnectDirectory DirectoryConnectSettings
- data ConnectDirectoryResponse = ConnectDirectoryResponse' {
- directoryId :: Maybe Text
- httpStatus :: Int
- newConnectDirectoryResponse :: Int -> ConnectDirectoryResponse
- connectDirectoryResponse_directoryId :: Lens' ConnectDirectoryResponse (Maybe Text)
- connectDirectoryResponse_httpStatus :: Lens' ConnectDirectoryResponse Int
Creating a Request
data ConnectDirectory Source #
Contains the inputs for the ConnectDirectory operation.
See: newConnectDirectory
smart constructor.
ConnectDirectory' | |
|
Instances
Create a value of ConnectDirectory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:shortName:ConnectDirectory'
, connectDirectory_shortName
- The NetBIOS name of your self-managed directory, such as CORP
.
$sel:description:ConnectDirectory'
, connectDirectory_description
- A description for the directory.
$sel:tags:ConnectDirectory'
, connectDirectory_tags
- The tags to be assigned to AD Connector.
$sel:name:ConnectDirectory'
, connectDirectory_name
- The fully qualified name of your self-managed directory, such as
corp.example.com
.
$sel:password:ConnectDirectory'
, connectDirectory_password
- The password for your self-managed user account.
$sel:size:ConnectDirectory'
, connectDirectory_size
- The size of the directory.
$sel:connectSettings:ConnectDirectory'
, connectDirectory_connectSettings
- A DirectoryConnectSettings object that contains additional information
for the operation.
Request Lenses
connectDirectory_shortName :: Lens' ConnectDirectory (Maybe Text) Source #
The NetBIOS name of your self-managed directory, such as CORP
.
connectDirectory_description :: Lens' ConnectDirectory (Maybe Text) Source #
A description for the directory.
connectDirectory_tags :: Lens' ConnectDirectory (Maybe [Tag]) Source #
The tags to be assigned to AD Connector.
connectDirectory_name :: Lens' ConnectDirectory Text Source #
The fully qualified name of your self-managed directory, such as
corp.example.com
.
connectDirectory_password :: Lens' ConnectDirectory Text Source #
The password for your self-managed user account.
connectDirectory_size :: Lens' ConnectDirectory DirectorySize Source #
The size of the directory.
connectDirectory_connectSettings :: Lens' ConnectDirectory DirectoryConnectSettings Source #
A DirectoryConnectSettings object that contains additional information for the operation.
Destructuring the Response
data ConnectDirectoryResponse Source #
Contains the results of the ConnectDirectory operation.
See: newConnectDirectoryResponse
smart constructor.
ConnectDirectoryResponse' | |
|
Instances
newConnectDirectoryResponse Source #
Create a value of ConnectDirectoryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:directoryId:ConnectDirectoryResponse'
, connectDirectoryResponse_directoryId
- The identifier of the new directory.
$sel:httpStatus:ConnectDirectoryResponse'
, connectDirectoryResponse_httpStatus
- The response's http status code.
Response Lenses
connectDirectoryResponse_directoryId :: Lens' ConnectDirectoryResponse (Maybe Text) Source #
The identifier of the new directory.
connectDirectoryResponse_httpStatus :: Lens' ConnectDirectoryResponse Int Source #
The response's http status code.