sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Location/ PutGeofenceHttp.ts

import * as location from "@distilled.cloud/aws/location";
import * as Layer from "effect/Layer";
import { makeLocationCollectionHttpBinding } from "./BindingHttp.ts";
import { PutGeofence } from "./PutGeofence.ts";

export const PutGeofenceHttp = Layer.effect(
  PutGeofence,
  makeLocationCollectionHttpBinding({
    tag: "AWS.Location.PutGeofence",
    operation: location.putGeofence,
    actions: ["geo:PutGeofence"],
  }),
);