ecluse:ecluse-runtime
Safe HaskellNone
LanguageGHC2021

Ecluse.Runtime.Maintenance.CodeArtifact.Internal

Description

The control-plane record and the handle bodies behind Ecluse.Runtime.Maintenance.CodeArtifact, which documents the leaf 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

Documentation

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

Build the maintenance handle for one CodeArtifact repository, over an environment whose AWS credentials are discovered the standard way.

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

Build the observing calls alone for one repository, over an environment discovered the same way. No deletion, no tag write, and no publication is built, so the caller holds none.

newCodeArtifactUpstreamProbe :: CodeArtifactStore -> IO UpstreamSafety Source #

Probe one repository's chain over an environment discovered the standard way, for a role that holds no maintenance handle for the repository it serves private content from.

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.

cacheMaintenanceFor :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ControlPlane -> StoreMaintenance Source #

Build the configured cache capability over injected calls without relaxing the mirror constructor.

The calls the handle makes

data ControlPlane Source #

The control-plane calls this leaf makes, so the sequencing around them is drivable from response values of amazonka's own types. The reads are held apart from the writes.

controlPlaneFor :: Env -> IO ControlPlane Source #

Every call sent over one env, with the AWS error folded into a StoreFault.

maintenanceFor :: NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ControlPlane -> StoreMaintenance Source #

Build the handle over a caller-supplied ControlPlane and the manifest read the root assembled, which together are every effect it has.

observationFor :: NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ReadPlane -> StoreObservation Source #

The observing calls over one ReadPlane, which is every effect they have.

boundedObservationFor :: Int -> NameAlphabet -> StoreManifestRead -> CodeArtifactStore -> ReadPlane -> StoreObservation Source #

Build observation with version pagination bounded before another page is requested.

probeUpstreamSafety :: ReadPlane -> CodeArtifactStore -> IO UpstreamSafety Source #

Walk the repository's upstream chain, under the bounds the walk itself holds. The reads are the ambient role's own, so no caller's credential reaches this call.