pub struct CodeArtifactState {Show 16 fields
pub domains: BTreeMap<String, Value>,
pub domain_order: Vec<String>,
pub domain_policies: BTreeMap<String, Value>,
pub repositories: BTreeMap<String, Value>,
pub repository_order: Vec<String>,
pub repository_policies: BTreeMap<String, Value>,
pub package_groups: BTreeMap<String, Value>,
pub package_group_order: Vec<String>,
pub package_group_allowed: BTreeMap<String, Vec<String>>,
pub packages: BTreeMap<String, Value>,
pub package_order: Vec<String>,
pub package_versions: BTreeMap<String, Value>,
pub assets: BTreeMap<String, Value>,
pub asset_content: BTreeMap<String, String>,
pub readmes: BTreeMap<String, String>,
pub tags: BTreeMap<String, Vec<Value>>,
}Expand description
The account-scoped CodeArtifact state for one AWS account.
Fields§
§domains: BTreeMap<String, Value>Domains keyed by domain name; value is a DomainDescription JSON.
domain_order: Vec<String>Insertion order of domain names (most-recent last).
domain_policies: BTreeMap<String, Value>Domain permission policies keyed by domain name; value is a
ResourcePolicy-shaped JSON (resourceArn, revision, document).
repositories: BTreeMap<String, Value>Repositories keyed by domain/repo; value is a RepositoryDescription
JSON carrying upstreams and externalConnections.
repository_order: Vec<String>Insertion order of domain/repo keys (most-recent last).
repository_policies: BTreeMap<String, Value>Repository permission policies keyed by domain/repo.
package_groups: BTreeMap<String, Value>Package groups keyed by domain\u{1}pattern; value is a
PackageGroupDescription JSON.
package_group_order: Vec<String>Insertion order of package-group keys (most-recent last).
package_group_allowed: BTreeMap<String, Vec<String>>Allowed repositories per package group + origin-restriction type, keyed
by domain\u{1}pattern\u{1}restrictionType; value is a list of
repository-name strings.
packages: BTreeMap<String, Value>Packages keyed by the package key
(domain\u{1}repo\u{1}format\u{1}namespace\u{1}package); value is a
PackageSummary-shaped JSON carrying originConfiguration.
package_order: Vec<String>Insertion order of package keys (most-recent last).
package_versions: BTreeMap<String, Value>Package versions keyed by <packageKey>\u{1}<version>; value is a
PackageVersionDescription-shaped JSON.
assets: BTreeMap<String, Value>Assets keyed by <packageKey>\u{1}<version>\u{1}<assetName>; value is an
AssetSummary-shaped JSON (name, size, hashes).
asset_content: BTreeMap<String, String>Base64-encoded asset bytes keyed identically to assets.
readmes: BTreeMap<String, String>Package-version readmes keyed by <packageKey>\u{1}<version>.
Resource tags keyed by resource ARN; value is a TagList (list of
{key,value} objects).
Trait Implementations§
Source§impl AccountState for CodeArtifactState
impl AccountState for CodeArtifactState
Source§fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for CodeArtifactState
impl Clone for CodeArtifactState
Source§fn clone(&self) -> CodeArtifactState
fn clone(&self) -> CodeArtifactState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more