Skip to content
TypeScript
438 B
Raw Blame
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"],
  }),
);