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