Skip to content

DescribePackage

Source: src/AWS/CodeArtifact/DescribePackage.ts

Runtime binding for codeartifact:DescribePackage.

Reads a package’s description, including its origin configuration, from the bound repository. Provide the implementation with Effect.provide(AWS.CodeArtifact.DescribePackageHttp).

const describePackage = yield* AWS.CodeArtifact.DescribePackage(repo);
const res = yield* describePackage({
format: "generic",
namespace: "my-ns",
package: "my-package",
});
console.log(res.package?.originConfiguration);