Skip to content

Bedrock Agentcore Control  >  Structures  >  VersionLineageMetadata

VersionLineageMetadata

Structure Class

VersionLineageMetadata dataclass

The version lineage metadata that tracks parent versions and creation source. Supports git-like two-parent merges for branch management.

Attributes

branch_name class-attribute instance-attribute
branch_name: str | None = None

The branch name for this version. If not specified, inherits the parent's branch or defaults to mainline.

commit_message class-attribute instance-attribute
commit_message: str | None = None

A commit message describing the changes in this version.

created_by class-attribute instance-attribute
created_by: VersionCreatedBySource | None = None

The source that created this version.

parent_version_ids class-attribute instance-attribute
parent_version_ids: list[str] | None = None

A list of parent version identifiers. Regular commits have 0-1 parents. Merge commits have 2 parents: the target branch parent and the source branch parent. The first parent represents the primary lineage.