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

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

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