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 a Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
Synopsis
- data CreateDirectoryConfig = CreateDirectoryConfig' {}
- newCreateDirectoryConfig :: Text -> CreateDirectoryConfig
- createDirectoryConfig_serviceAccountCredentials :: Lens' CreateDirectoryConfig (Maybe ServiceAccountCredentials)
- createDirectoryConfig_directoryName :: Lens' CreateDirectoryConfig Text
- createDirectoryConfig_organizationalUnitDistinguishedNames :: Lens' CreateDirectoryConfig [Text]
- data CreateDirectoryConfigResponse = CreateDirectoryConfigResponse' {}
- newCreateDirectoryConfigResponse :: Int -> CreateDirectoryConfigResponse
- createDirectoryConfigResponse_directoryConfig :: Lens' CreateDirectoryConfigResponse (Maybe DirectoryConfig)
- createDirectoryConfigResponse_httpStatus :: Lens' CreateDirectoryConfigResponse Int
Creating a Request
data CreateDirectoryConfig Source #
See: newCreateDirectoryConfig
smart constructor.
CreateDirectoryConfig' | |
|
Instances
newCreateDirectoryConfig Source #
Create a value of CreateDirectoryConfig
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:serviceAccountCredentials:CreateDirectoryConfig'
, createDirectoryConfig_serviceAccountCredentials
- The credentials for the service account used by the fleet or image
builder to connect to the directory.
$sel:directoryName:CreateDirectoryConfig'
, createDirectoryConfig_directoryName
- The fully qualified name of the directory (for example,
corp.example.com).
$sel:organizationalUnitDistinguishedNames:CreateDirectoryConfig'
, createDirectoryConfig_organizationalUnitDistinguishedNames
- The distinguished names of the organizational units for computer
accounts.
Request Lenses
createDirectoryConfig_serviceAccountCredentials :: Lens' CreateDirectoryConfig (Maybe ServiceAccountCredentials) Source #
The credentials for the service account used by the fleet or image builder to connect to the directory.
createDirectoryConfig_directoryName :: Lens' CreateDirectoryConfig Text Source #
The fully qualified name of the directory (for example, corp.example.com).
createDirectoryConfig_organizationalUnitDistinguishedNames :: Lens' CreateDirectoryConfig [Text] Source #
The distinguished names of the organizational units for computer accounts.
Destructuring the Response
data CreateDirectoryConfigResponse Source #
See: newCreateDirectoryConfigResponse
smart constructor.
CreateDirectoryConfigResponse' | |
|
Instances
newCreateDirectoryConfigResponse Source #
Create a value of CreateDirectoryConfigResponse
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:directoryConfig:CreateDirectoryConfigResponse'
, createDirectoryConfigResponse_directoryConfig
- Information about the directory configuration.
$sel:httpStatus:CreateDirectoryConfigResponse'
, createDirectoryConfigResponse_httpStatus
- The response's http status code.
Response Lenses
createDirectoryConfigResponse_directoryConfig :: Lens' CreateDirectoryConfigResponse (Maybe DirectoryConfig) Source #
Information about the directory configuration.
createDirectoryConfigResponse_httpStatus :: Lens' CreateDirectoryConfigResponse Int Source #
The response's http status code.