| 1 | import * as codeartifact from "@distilled.cloud/aws/codeartifact"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeRepositoryHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetRepositoryEndpoint } from "./GetRepositoryEndpoint.ts"; |
| 5 | |
| 6 | /** HTTP implementation of {@link GetRepositoryEndpoint} over the CodeArtifact API. */ |
| 7 | export const GetRepositoryEndpointHttp = Layer.effect( |
| 8 | GetRepositoryEndpoint, |
| 9 | makeRepositoryHttpBinding({ |
| 10 | tag: "AWS.CodeArtifact.GetRepositoryEndpoint", |
| 11 | operation: codeartifact.getRepositoryEndpoint, |
| 12 | actions: ["codeartifact:GetRepositoryEndpoint"], |
| 13 | }), |
| 14 | ); |