| 1 | import * as config from "@distilled.cloud/aws/config-service"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeConfigResourceHttpBinding } from "./BindingHttp.ts"; |
| 4 | import type { ConfigRule } from "./ConfigRule.ts"; |
| 5 | import { PutExternalEvaluation } from "./PutExternalEvaluation.ts"; |
| 6 | |
| 7 | export const PutExternalEvaluationHttp = Layer.effect( |
| 8 | PutExternalEvaluation, |
| 9 | makeConfigResourceHttpBinding({ |
| 10 | tag: "AWS.Config.PutExternalEvaluation", |
| 11 | operation: config.putExternalEvaluation, |
| 12 | actions: ["config:PutExternalEvaluation"], |
| 13 | requestKey: "ConfigRuleName", |
| 14 | identifier: (rule: ConfigRule) => rule.configRuleName, |
| 15 | }), |
| 16 | ); |