EFS / Client / delete_file_system_policy

delete_file_system_policy#

EFS.Client.delete_file_system_policy(**kwargs)#

Deletes the FileSystemPolicy for the specified file system. The default FileSystemPolicy goes into effect once the existing policy is deleted. For more information about the default file system policy, see Using Resource-based Policies with EFS.

This operation requires permissions for the elasticfilesystem:DeleteFileSystemPolicy action.

See also: AWS API Documentation

Request Syntax

response = client.delete_file_system_policy(
    FileSystemId='string'
)
Parameters:

FileSystemId (string) –

[REQUIRED]

Specifies the EFS file system for which to delete the FileSystemPolicy.

Returns:

None

Exceptions

  • EFS.Client.exceptions.BadRequest

  • EFS.Client.exceptions.InternalServerError

  • EFS.Client.exceptions.FileSystemNotFound

  • EFS.Client.exceptions.IncorrectFileSystemLifeCycleState