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 |
Applies a schema extension to a Microsoft AD directory.
- startSchemaExtension :: Text -> Bool -> Text -> Text -> StartSchemaExtension
- data StartSchemaExtension
- sseDirectoryId :: Lens' StartSchemaExtension Text
- sseCreateSnapshotBeforeSchemaExtension :: Lens' StartSchemaExtension Bool
- sseLdifContent :: Lens' StartSchemaExtension Text
- sseDescription :: Lens' StartSchemaExtension Text
- startSchemaExtensionResponse :: Int -> StartSchemaExtensionResponse
- data StartSchemaExtensionResponse
- ssersSchemaExtensionId :: Lens' StartSchemaExtensionResponse (Maybe Text)
- ssersResponseStatus :: Lens' StartSchemaExtensionResponse Int
Creating a Request
:: Text | |
-> Bool | |
-> Text | |
-> Text | |
-> StartSchemaExtension |
Creates a value of StartSchemaExtension
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sseDirectoryId
- The identifier of the directory for which the schema extension will be applied to.sseCreateSnapshotBeforeSchemaExtension
- If true, creates a snapshot of the directory before applying the schema extension.sseLdifContent
- The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with n. See the example request below for more details. The file size can be no larger than 1MB.sseDescription
- A description of the schema extension.
data StartSchemaExtension Source #
See: startSchemaExtension
smart constructor.
Request Lenses
sseDirectoryId :: Lens' StartSchemaExtension Text Source #
The identifier of the directory for which the schema extension will be applied to.
sseCreateSnapshotBeforeSchemaExtension :: Lens' StartSchemaExtension Bool Source #
If true, creates a snapshot of the directory before applying the schema extension.
sseLdifContent :: Lens' StartSchemaExtension Text Source #
The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with n. See the example request below for more details. The file size can be no larger than 1MB.
sseDescription :: Lens' StartSchemaExtension Text Source #
A description of the schema extension.
Destructuring the Response
startSchemaExtensionResponse Source #
Creates a value of StartSchemaExtensionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssersSchemaExtensionId
- The identifier of the schema extension that will be applied.ssersResponseStatus
- -- | The response status code.
data StartSchemaExtensionResponse Source #
See: startSchemaExtensionResponse
smart constructor.
Response Lenses
ssersSchemaExtensionId :: Lens' StartSchemaExtensionResponse (Maybe Text) Source #
The identifier of the schema extension that will be applied.
ssersResponseStatus :: Lens' StartSchemaExtensionResponse Int Source #
- - | The response status code.