| 1 | import * as geoMaps from "@distilled.cloud/aws/geo-maps"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGeoMapsHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetStyleDescriptor } from "./GetStyleDescriptor.ts"; |
| 5 | |
| 6 | export const GetStyleDescriptorHttp = Layer.effect( |
| 7 | GetStyleDescriptor, |
| 8 | makeGeoMapsHttpBinding({ |
| 9 | capability: "GetStyleDescriptor", |
| 10 | iamActions: ["geo-maps:GetStyleDescriptor"], |
| 11 | operation: geoMaps.getStyleDescriptor, |
| 12 | }), |
| 13 | ); |