| 1 | import * as redis from "@distilled.cloud/gcp/redis_v1"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeRedisHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetAclPolicy } from "./GetAclPolicy.ts"; |
| 5 | |
| 6 | /** |
| 7 | * HTTP implementation of {@link GetAclPolicy}. |
| 8 | * |
| 9 | * @layer |
| 10 | * @provides GCP.Redis.GetAclPolicy |
| 11 | */ |
| 12 | export const GetAclPolicyHttp = Layer.effect( |
| 13 | GetAclPolicy, |
| 14 | makeRedisHttpBinding({ |
| 15 | tag: "GCP.Redis.GetAclPolicy", |
| 16 | operation: redis.getProjectsLocationsAclPolicies, |
| 17 | }), |
| 18 | ); |