DirectoryService.Client.
start_schema_extension
(**kwargs)¶Applies a schema extension to a Microsoft AD directory.
See also: AWS API Documentation
Request Syntax
response = client.start_schema_extension(
DirectoryId='string',
CreateSnapshotBeforeSchemaExtension=True|False,
LdifContent='string',
Description='string'
)
[REQUIRED]
The identifier of the directory for which the schema extension will be applied to.
[REQUIRED]
If true, creates a snapshot of the directory before applying the schema extension.
[REQUIRED]
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.
[REQUIRED]
A description of the schema extension.
dict
Response Syntax
{
'SchemaExtensionId': 'string'
}
Response Structure
(dict) --
SchemaExtensionId (string) --
The identifier of the schema extension that will be applied.
Exceptions
DirectoryService.Client.exceptions.DirectoryUnavailableException
DirectoryService.Client.exceptions.EntityDoesNotExistException
DirectoryService.Client.exceptions.InvalidParameterException
DirectoryService.Client.exceptions.SnapshotLimitExceededException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException