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 |
Network.AWS.DirectoryService.StartSchemaExtension
Description
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
Arguments
:: 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. The file size can be no larger than 1MB.sseDescription
- A description of the schema extension.
data StartSchemaExtension #
See: startSchemaExtension
smart constructor.
Instances
Request Lenses
sseDirectoryId :: Lens' StartSchemaExtension Text #
The identifier of the directory for which the schema extension will be applied to.
sseCreateSnapshotBeforeSchemaExtension :: Lens' StartSchemaExtension Bool #
If true, creates a snapshot of the directory before applying the schema extension.
sseLdifContent :: Lens' StartSchemaExtension Text #
The LDIF file represented as a string. The file size can be no larger than 1MB.
sseDescription :: Lens' StartSchemaExtension Text #
A description of the schema extension.
Destructuring the Response
startSchemaExtensionResponse #
Arguments
:: Int | |
-> StartSchemaExtensionResponse |
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 #
See: startSchemaExtensionResponse
smart constructor.
Response Lenses
ssersSchemaExtensionId :: Lens' StartSchemaExtensionResponse (Maybe Text) #
The identifier of the schema extension that will be applied.
ssersResponseStatus :: Lens' StartSchemaExtensionResponse Int #
- - | The response status code.