DescribeDataRepositoryAssociations
Source:
src/AWS/FSx/DescribeDataRepositoryAssociations.ts
Runtime binding for the DescribeDataRepositoryAssociations operation
(IAM action fsx:DescribeDataRepositoryAssociations on *).
Lists the S3 data repository associations linked to Lustre file systems —
optionally filtered by file-system-id — from inside a function runtime,
e.g. to discover the S3 prefix a CreateDataRepositoryTask export
will land in. Provide the implementation with
Effect.provide(AWS.FSx.DescribeDataRepositoryAssociationsHttp).
Data Repository Tasks
Section titled “Data Repository Tasks”const describeDataRepositoryAssociations = yield* AWS.FSx.DescribeDataRepositoryAssociations();
const response = yield* describeDataRepositoryAssociations({ Filters: [{ Name: "file-system-id", Values: [fileSystemId] }],});yield* Effect.log(response.Associations?.[0]?.DataRepositoryPath);