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 |
Applies a schema extension to a Microsoft AD directory.
Synopsis
- data StartSchemaExtension = StartSchemaExtension' {}
- newStartSchemaExtension :: Text -> Bool -> Text -> Text -> StartSchemaExtension
- startSchemaExtension_directoryId :: Lens' StartSchemaExtension Text
- startSchemaExtension_createSnapshotBeforeSchemaExtension :: Lens' StartSchemaExtension Bool
- startSchemaExtension_ldifContent :: Lens' StartSchemaExtension Text
- startSchemaExtension_description :: Lens' StartSchemaExtension Text
- data StartSchemaExtensionResponse = StartSchemaExtensionResponse' {}
- newStartSchemaExtensionResponse :: Int -> StartSchemaExtensionResponse
- startSchemaExtensionResponse_schemaExtensionId :: Lens' StartSchemaExtensionResponse (Maybe Text)
- startSchemaExtensionResponse_httpStatus :: Lens' StartSchemaExtensionResponse Int
Creating a Request
data StartSchemaExtension Source #
See: newStartSchemaExtension
smart constructor.
StartSchemaExtension' | |
|
Instances
newStartSchemaExtension Source #
:: Text | |
-> Bool |
|
-> Text | |
-> Text | |
-> StartSchemaExtension |
Create a value of StartSchemaExtension
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:StartSchemaExtension'
, startSchemaExtension_directoryId
- The identifier of the directory for which the schema extension will be
applied to.
$sel:createSnapshotBeforeSchemaExtension:StartSchemaExtension'
, startSchemaExtension_createSnapshotBeforeSchemaExtension
- If true, creates a snapshot of the directory before applying the schema
extension.
$sel:ldifContent:StartSchemaExtension'
, startSchemaExtension_ldifContent
- 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.
$sel:description:StartSchemaExtension'
, startSchemaExtension_description
- A description of the schema extension.
Request Lenses
startSchemaExtension_directoryId :: Lens' StartSchemaExtension Text Source #
The identifier of the directory for which the schema extension will be applied to.
startSchemaExtension_createSnapshotBeforeSchemaExtension :: Lens' StartSchemaExtension Bool Source #
If true, creates a snapshot of the directory before applying the schema extension.
startSchemaExtension_ldifContent :: 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.
startSchemaExtension_description :: Lens' StartSchemaExtension Text Source #
A description of the schema extension.
Destructuring the Response
data StartSchemaExtensionResponse Source #
See: newStartSchemaExtensionResponse
smart constructor.
StartSchemaExtensionResponse' | |
|
Instances
newStartSchemaExtensionResponse Source #
Create a value of StartSchemaExtensionResponse
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:schemaExtensionId:StartSchemaExtensionResponse'
, startSchemaExtensionResponse_schemaExtensionId
- The identifier of the schema extension that will be applied.
$sel:httpStatus:StartSchemaExtensionResponse'
, startSchemaExtensionResponse_httpStatus
- The response's http status code.
Response Lenses
startSchemaExtensionResponse_schemaExtensionId :: Lens' StartSchemaExtensionResponse (Maybe Text) Source #
The identifier of the schema extension that will be applied.
startSchemaExtensionResponse_httpStatus :: Lens' StartSchemaExtensionResponse Int Source #
The response's http status code.