describeFileSystemPolicy method
Returns the FileSystemPolicy for the specified EFS file
system.
This operation requires permissions for the
elasticfilesystem:DescribeFileSystemPolicy action.
May throw BadRequest.
May throw FileSystemNotFound.
May throw InternalServerError.
May throw PolicyNotFound.
Parameter fileSystemId :
Specifies which EFS file system to retrieve the
FileSystemPolicy for.
Implementation
Future<FileSystemPolicyDescription> describeFileSystemPolicy({
required String fileSystemId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/2015-02-01/file-systems/${Uri.encodeComponent(fileSystemId)}/policy',
exceptionFnMap: _exceptionFns,
);
return FileSystemPolicyDescription.fromJson(response);
}