Skip to content

ListImageBuildVersions

Source: src/AWS/ImageBuilder/ListImageBuildVersions.ts

Runtime binding for imagebuilder:ListImageBuildVersions.

Lists the build versions of an image version (…:image/{name}/{version}), newest first — each entry reports its state, so a function can find the latest AVAILABLE build of an image. Image versions are created dynamically by pipeline runs, so this is an account-level binding. Provide the implementation with Effect.provide(AWS.ImageBuilder.ListImageBuildVersionsHttp).

// init — account-level binding, no resource argument
const listImageBuildVersions =
yield* AWS.ImageBuilder.ListImageBuildVersions();
// runtime
const { imageSummaryList } = yield* listImageBuildVersions({
imageVersionArn,
});