GetRepositoryEndpoint
Source:
src/AWS/CodeArtifact/GetRepositoryEndpoint.ts
Runtime binding for codeartifact:GetRepositoryEndpoint.
Resolves the URL package managers (npm, pip, maven, …) use to talk to the bound repository for a given package format. Provide the implementation with
Effect.provide(AWS.CodeArtifact.GetRepositoryEndpointHttp).
Resolving the Registry Endpoint
Section titled “Resolving the Registry Endpoint”const getEndpoint = yield* AWS.CodeArtifact.GetRepositoryEndpoint(repo);
const res = yield* getEndpoint({ format: "npm" });console.log(res.repositoryEndpoint);