sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ DocDB/ DescribeDBClusterSnapshotsHttp.ts

import * as docdb from "@distilled.cloud/aws/docdb";
import * as Layer from "effect/Layer";
import { makeDocDBAccountHttpBinding } from "./BindingHttp.ts";
import { DescribeDBClusterSnapshots } from "./DescribeDBClusterSnapshots.ts";

export const DescribeDBClusterSnapshotsHttp = Layer.effect(
  DescribeDBClusterSnapshots,
  makeDocDBAccountHttpBinding({
    tag: "AWS.DocDB.DescribeDBClusterSnapshots",
    operation: docdb.describeDBClusterSnapshots,
    actions: ["rds:DescribeDBClusterSnapshots"],
  }),
);