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