ecluse:ecluse-runtime
Safe HaskellNone
LanguageGHC2021

Ecluse.Runtime.Maintenance.CodeArtifact.Read.Internal

Description

The observation evidence and the page projections behind Ecluse.Runtime.Maintenance.CodeArtifact.Read, which documents the read-only half and re-exports the curated surface. Importing this module opts out of that stability promise, the convention text and bytestring use, so production code imports the public one.

Synopsis

The calls that only observe

data ReadPlane Source #

The CodeArtifact calls that observe an inventory, held apart from every call that changes it.

Constructors

ReadPlane 

Fields

Where an observation was made

data RepositoryIdentity Source #

The exact repository an observation was made in. The region is the store's own, which is also the one the leaf binds its amazonka environment to.

Constructors

RepositoryIdentity 

Fields

identityOfStore :: CodeArtifactStore -> RepositoryIdentity Source #

The repository a store's coordinates name.

What one observation preserves

data VersionObservation Source #

One version the store reported holding, with the evidence a later decision reads. Two observations of the same version in different repositories stay two observations.

Constructors

VersionObservation 

Fields

data VersionOrigin Source #

How a version entered the domain, as the store reported it. Each field stays optional, because one the store omitted is not one it denied.

Constructors

VersionOrigin 

Fields

One listing page

observationsOfPage :: RepositoryIdentity -> PackageName -> [PackageVersionSummary] -> [VersionObservation] Source #

The observations in one listing page, one per entry and never merged by version.

versionsOfPage :: RepositoryIdentity -> PackageName -> [PackageVersionSummary] -> [StoredVersion] Source #

The versions in one listing page, projected to what the sweep reads.

storedOfObservation :: VersionObservation -> StoredVersion Source #

The sweep's view of one observation: which version, and whether the store still serves it.