The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 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 { GetComplianceDetailsByConfigRule } from "./GetComplianceDetailsByConfigRule.ts"; |
| 6 | |
| 7 | export const GetComplianceDetailsByConfigRuleHttp = Layer.effect( |
| 8 | GetComplianceDetailsByConfigRule, |
| 9 | makeConfigResourceHttpBinding({ |
| 10 | tag: "AWS.Config.GetComplianceDetailsByConfigRule", |
| 11 | operation: config.getComplianceDetailsByConfigRule, |
| 12 | actions: ["config:GetComplianceDetailsByConfigRule"], |
| 13 | requestKey: "ConfigRuleName", |
| 14 | identifier: (rule: ConfigRule) => rule.configRuleName, |
| 15 | }), |
| 16 | ); |