@finalclass ImageBuildOne build of an image version: one per Graviton generation, so a version’s builds differ
in chipset_generation. get_image_build adds the snapshot sizes the listing lacks.
Constructor
Section titled “Constructor”ImageBuild declares no __new__ or __init__, so it is not constructed directly: an instance comes back from another call in this package.
Properties
Section titled “Properties”architecture
Section titled “architecture”architecture: strbuild_id
Section titled “build_id”build_id: strWhat get_image_build takes, and nothing else in the API mints one.
build_state
Section titled “build_state”build_state: strbuildState, as the service spells it.
chipset
Section titled “chipset”chipset: strchipset_generation
Section titled “chipset_generation”chipset_generation: strcode_install_size_in_bytes
Section titled “code_install_size_in_bytes”code_install_size_in_bytes: int | NonesnapshotBuild.codeInstallSizeInBytes, from get_image_build only.
created_at
Section titled “created_at”created_at: floatUnix seconds.
disk_snapshot_size_in_bytes
Section titled “disk_snapshot_size_in_bytes”disk_snapshot_size_in_bytes: int | NonesnapshotBuild.diskSnapshotSizeInBytes, from get_image_build only.
image_arn
Section titled “image_arn”image_arn: strimage_version
Section titled “image_version”image_version: strmemory_snapshot_size_in_bytes
Section titled “memory_snapshot_size_in_bytes”memory_snapshot_size_in_bytes: int | NonesnapshotBuild.memorySnapshotSizeInBytes, from get_image_build only, and only when
the service reported it.
state_reason
Section titled “state_reason”state_reason: str | NoneWhy the build is in this state, when the service said: where a failed build’s reason lives.
Special methods
Section titled “Special methods”__repr__
Section titled “__repr__”def __repr__() -> strProvenance
Section titled “Provenance”This page is generated from bindings/microvms-py/microvms.pyi by Griffe 2.3.0, run from site/scripts/gen-reference.mjs on every pnpm run sync, so an edit made here is overwritten by the next run.
To change the page, change the doc comment in the binding’s Rust source, then regenerate the declarations with mise run stubs. mise run stubs:check fails when the committed file no longer matches the source.