fakecloud_codeartifact/lib.rs
1//! AWS CodeArtifact (`codeartifact`) implementation for FakeCloud.
2//!
3//! restJson1 control plane for CodeArtifact: domains, repositories (with
4//! upstreams and external connections), package groups, packages and their
5//! versions/assets/dependencies, resource permission policies, authorization
6//! tokens, and resource tagging. Requests are routed by HTTP method + `@http`
7//! URI path; list/query parameters are read from the raw query string so
8//! repeated multi-value keys survive. Everything is real, persisted,
9//! account-partitioned CRUD -- a `PublishPackageVersion` actually stores the
10//! asset bytes so a later `GetPackageVersionAsset` returns them, and a
11//! `GetAuthorizationToken` mints a synthetic bearer token with an expiration.
12
13pub mod persistence;
14pub mod service;
15pub mod state;
16mod validate;
17
18pub use service::{CodeArtifactService, CODEARTIFACT_ACTIONS};
19pub use state::{
20 CodeArtifactSnapshot, CodeArtifactState, SharedCodeArtifactState,
21 CODEARTIFACT_SNAPSHOT_SCHEMA_VERSION,
22};