Amazon.DirectoryService.AmazonDirectoryServiceClient.DeleteDirectory C# (CSharp) Method

DeleteDirectory() public method

Deletes an AWS Directory Service directory.

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.

/// A client exception has occurred. /// /// The specified entity could not be found. /// /// An exception has occurred in AWS Directory Service. ///
public DeleteDirectory ( DeleteDirectoryRequest request ) : Amazon.DirectoryService.Model.DeleteDirectoryResponse
request Amazon.DirectoryService.Model.DeleteDirectoryRequest Container for the necessary parameters to execute the DeleteDirectory service method.
return Amazon.DirectoryService.Model.DeleteDirectoryResponse
        public DeleteDirectoryResponse DeleteDirectory(DeleteDirectoryRequest request)
        {
            var marshaller = new DeleteDirectoryRequestMarshaller();
            var unmarshaller = DeleteDirectoryResponseUnmarshaller.Instance;

            return Invoke<DeleteDirectoryRequest,DeleteDirectoryResponse>(request, marshaller, unmarshaller);
        }
AmazonDirectoryServiceClient