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

GetServiceAttributesHttp.ts

13 lines498 Bytes

1import * as SD from "@distilled.cloud/aws/servicediscovery";
2import * as Layer from "effect/Layer";
3import { makeCloudMapServiceHttpBinding } from "./BindingHttp.ts";
4import { GetServiceAttributes } from "./GetServiceAttributes.ts";
5​
6export const GetServiceAttributesHttp = Layer.effect(
7 GetServiceAttributes,
8 makeCloudMapServiceHttpBinding({
9 tag: "AWS.CloudMap.GetServiceAttributes",
10 operation: SD.getServiceAttributes,
11 actions: ["servicediscovery:GetServiceAttributes"],
12 }),
13);