DescribeFileSystem
Source:
src/AWS/EFS/DescribeFileSystem.ts
Runtime binding for the DescribeFileSystems operation scoped to one file
system (IAM action elasticfilesystem:DescribeFileSystems on the file
system ARN).
Reads the bound FileSystem’s live description — lifecycle state,
size in each storage class, throughput mode, mount target count — from
inside a function runtime. Useful for storage dashboards and capacity
monitors. Provide the implementation with
Effect.provide(AWS.EFS.DescribeFileSystemHttp).
Inspecting File Systems
Section titled “Inspecting File Systems”// init — bind the operation to the file systemconst describeFileSystem = yield* AWS.EFS.DescribeFileSystem(files);
// runtimeconst response = yield* describeFileSystem();const fs = response.FileSystems?.[0];yield* Effect.log(`${fs?.LifeCycleState}: ${fs?.SizeInBytes?.Value} bytes`);