| 1 | import * as SD from "@distilled.cloud/aws/servicediscovery"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeCloudMapAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetOperation } from "./GetOperation.ts"; |
| 5 | |
| 6 | export const GetOperationHttp = Layer.effect( |
| 7 | GetOperation, |
| 8 | makeCloudMapAccountHttpBinding({ |
| 9 | tag: "AWS.CloudMap.GetOperation", |
| 10 | operation: SD.getOperation, |
| 11 | // GetOperation does not support resource-level IAM permissions. |
| 12 | actions: ["servicediscovery:GetOperation"], |
| 13 | }), |
| 14 | ); |