Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

cancel_schema_extension

cancel_schema_extension(**kwargs)

Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing , CreatingSnapshot , and UpdatingSchema .

See also: AWS API Documentation

Request Syntax

response = client.cancel_schema_extension(
    DirectoryId='string',
    SchemaExtensionId='string'
)
Parameters
  • DirectoryId (string) --

    [REQUIRED]

    The identifier of the directory whose schema extension will be canceled.

  • SchemaExtensionId (string) --

    [REQUIRED]

    The identifier of the schema extension that will be canceled.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • DirectoryService.Client.exceptions.EntityDoesNotExistException
  • DirectoryService.Client.exceptions.ClientException
  • DirectoryService.Client.exceptions.ServiceException