Struct aws_sdk_codeartifact::model::RepositoryDescription
source · #[non_exhaustive]pub struct RepositoryDescription { /* private fields */ }
Expand description
The details of a repository stored in CodeArtifact. A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets. Repositories are polyglot—a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the npm
CLI, the Maven CLI (mvn
), and pip
. You can create up to 100 repositories per Amazon Web Services account.
Implementations§
source§impl RepositoryDescription
impl RepositoryDescription
sourcepub fn administrator_account(&self) -> Option<&str>
pub fn administrator_account(&self) -> Option<&str>
The 12-digit account number of the Amazon Web Services account that manages the repository.
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain that contains the repository.
sourcepub fn domain_owner(&self) -> Option<&str>
pub fn domain_owner(&self) -> Option<&str>
The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A text description of the repository.
sourcepub fn upstreams(&self) -> Option<&[UpstreamRepositoryInfo]>
pub fn upstreams(&self) -> Option<&[UpstreamRepositoryInfo]>
A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
sourcepub fn external_connections(
&self
) -> Option<&[RepositoryExternalConnectionInfo]>
pub fn external_connections(
&self
) -> Option<&[RepositoryExternalConnectionInfo]>
An array of external connections associated with the repository.
source§impl RepositoryDescription
impl RepositoryDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RepositoryDescription
.
Trait Implementations§
source§impl Clone for RepositoryDescription
impl Clone for RepositoryDescription
source§fn clone(&self) -> RepositoryDescription
fn clone(&self) -> RepositoryDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RepositoryDescription
impl Debug for RepositoryDescription
source§impl PartialEq<RepositoryDescription> for RepositoryDescription
impl PartialEq<RepositoryDescription> for RepositoryDescription
source§fn eq(&self, other: &RepositoryDescription) -> bool
fn eq(&self, other: &RepositoryDescription) -> bool
self
and other
values to be equal, and is used
by ==
.