Deletes an AWS Directory Service directory.
Before you call delete_directory
,
ensure that all of the required permissions have been explicitly granted
through a policy. For details about what permissions are required to run
the delete_directory
operation,
see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
directoryservice_delete_directory(DirectoryId)
[required] The identifier of the directory to delete.
A list with the following syntax:
list( DirectoryId = "string" )
svc$delete_directory( DirectoryId = "string" )