| 1 | import * as greengrassv2 from "@distilled.cloud/aws/greengrassv2"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGreengrassComponentHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetComponent } from "./GetComponent.ts"; |
| 5 | |
| 6 | export const GetComponentHttp = Layer.effect( |
| 7 | GetComponent, |
| 8 | makeGreengrassComponentHttpBinding({ |
| 9 | tag: "AWS.GreengrassV2.GetComponent", |
| 10 | operation: greengrassv2.getComponent, |
| 11 | actions: ["greengrass:GetComponent"], |
| 12 | }), |
| 13 | ); |