Struct aws_sdk_ecrpublic::types::Registry
source · #[non_exhaustive]pub struct Registry {
pub registry_id: Option<String>,
pub registry_arn: Option<String>,
pub registry_uri: Option<String>,
pub verified: Option<bool>,
pub aliases: Option<Vec<RegistryAlias>>,
}Expand description
The details of a public registry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.registry_id: Option<String>The Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed.
registry_arn: Option<String>The Amazon Resource Name (ARN) of the public registry.
registry_uri: Option<String>The URI of a public registry. The URI contains a universal prefix and the registry alias.
verified: Option<bool>Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery.
aliases: Option<Vec<RegistryAlias>>An array of objects that represents the aliases for a public registry.
Implementations§
source§impl Registry
impl Registry
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed.
sourcepub fn registry_arn(&self) -> Option<&str>
pub fn registry_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the public registry.
sourcepub fn registry_uri(&self) -> Option<&str>
pub fn registry_uri(&self) -> Option<&str>
The URI of a public registry. The URI contains a universal prefix and the registry alias.
sourcepub fn verified(&self) -> Option<bool>
pub fn verified(&self) -> Option<bool>
Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery.
sourcepub fn aliases(&self) -> Option<&[RegistryAlias]>
pub fn aliases(&self) -> Option<&[RegistryAlias]>
An array of objects that represents the aliases for a public registry.