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.

describe_file_system_policy

describe_file_system_policy(**kwargs)

Returns the FileSystemPolicy for the specified EFS file system.

This operation requires permissions for the elasticfilesystem:DescribeFileSystemPolicy action.

See also: AWS API Documentation

Request Syntax

response = client.describe_file_system_policy(
    FileSystemId='string'
)
Parameters
FileSystemId (string) --

[REQUIRED]

Specifies which EFS file system to retrieve the FileSystemPolicy for.

Return type
dict
Returns
Response Syntax
{
    'FileSystemId': 'string',
    'Policy': 'string'
}

Response Structure

  • (dict) --
    • FileSystemId (string) --

      Specifies the EFS file system to which the FileSystemPolicy applies.

    • Policy (string) --

      The JSON formatted FileSystemPolicy for the EFS file system.

Exceptions

  • EFS.Client.exceptions.BadRequest
  • EFS.Client.exceptions.InternalServerError
  • EFS.Client.exceptions.FileSystemNotFound
  • EFS.Client.exceptions.PolicyNotFound