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