ecluse:ecluse-runtime
Safe HaskellNone
LanguageGHC2021

Ecluse.Runtime.Maintenance.CodeArtifact

Description

The AWS CodeArtifact leaf of the store maintenance handle. This is control plane only, on amazonka, while the data plane stays on http-client. The calls are a control-plane record built once from a discovered identity and captured in the handle's closures, so the backend's state never reaches the proxy's Env and a spec can drive the sequencing without one. The read-only calls are their own record (Ecluse.Runtime.Maintenance.CodeArtifact.Read), and the decisions live in Ecluse.Runtime.Maintenance.CodeArtifact.Decide.

Synopsis

Documentation

newCodeArtifactMaintenance :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreMaintenance Source #

Build repository maintenance with ambient AWS credentials and single-attempt destructive transport.

newCodeArtifactObservation :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreObservation Source #

Build repository observation with ambient credentials and no write calls.

newCodeArtifactUpstreamProbe :: CodeArtifactStore -> IO UpstreamSafety Source #

Probe upstream refill without constructing maintenance writes.

newCodeArtifactCacheMaintenance :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreMaintenance Source #

Build cache deletion with target-local reads and consent, allowing its declared refill role.

newCodeArtifactCacheObservation :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> IO StoreObservation Source #

Observe the configured cache under its distinct refill classification without constructing writes.