sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ FSx/ DescribeSnapshotsHttp.ts

import * as fsx from "@distilled.cloud/aws/fsx";
import * as Layer from "effect/Layer";
import { makeFSxAccountHttpBinding } from "./BindingHttp.ts";
import { DescribeSnapshots } from "./DescribeSnapshots.ts";

export const DescribeSnapshotsHttp = Layer.effect(
  DescribeSnapshots,
  makeFSxAccountHttpBinding({
    tag: "AWS.FSx.DescribeSnapshots",
    operation: fsx.describeSnapshots,
    actions: ["fsx:DescribeSnapshots"],
  }),
);