Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

GetControlOperationHttp.ts

13 lines508 Bytes

1import * as controltower from "@distilled.cloud/aws/controltower";
2import * as Layer from "effect/Layer";
3import { makeControlTowerAccountHttpBinding } from "./BindingHttp.ts";
4import { GetControlOperation } from "./GetControlOperation.ts";
5​
6export const GetControlOperationHttp = Layer.effect(
7 GetControlOperation,
8 makeControlTowerAccountHttpBinding({
9 capability: "GetControlOperation",
10 iamActions: ["controltower:GetControlOperation"],
11 operation: controltower.getControlOperation,
12 }),
13);