S3Files / Client / get_file_system_policy
get_file_system_policy¶
- S3Files.Client.get_file_system_policy(**kwargs)¶
Returns the IAM resource policy of an S3 File System.
See also: AWS API Documentation
Request Syntax
response = client.get_file_system_policy( fileSystemId='string' )
- Parameters:
fileSystemId (string) –
[REQUIRED]
The ID or Amazon Resource Name (ARN) of the S3 File System whose resource policy to retrieve.
- Return type:
dict
- Returns:
Response Syntax
{ 'fileSystemId': 'string', 'policy': 'string' }
Response Structure
(dict) –
fileSystemId (string) –
The ID of the file system.
policy (string) –
The JSON-formatted resource policy for the file system.
Exceptions
S3Files.Client.exceptions.InternalServerExceptionS3Files.Client.exceptions.ResourceNotFoundExceptionS3Files.Client.exceptions.ThrottlingExceptionS3Files.Client.exceptions.ValidationException