Struct aws_sdk_codeartifact::operation::associate_external_connection::AssociateExternalConnectionInput
source · #[non_exhaustive]pub struct AssociateExternalConnectionInput {
pub domain: Option<String>,
pub domain_owner: Option<String>,
pub repository: Option<String>,
pub external_connection: Option<String>,
}
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.domain: Option<String>
The name of the domain that contains the repository.
domain_owner: Option<String>
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository: Option<String>
The name of the repository to which the external connection is added.
external_connection: Option<String>
The name of the external connection to add to the repository. The following values are supported:
-
public:npmjs
- for the npm public repository. -
public:nuget-org
- for the NuGet Gallery. -
public:pypi
- for the Python Package Index. -
public:maven-central
- for Maven Central. -
public:maven-googleandroid
- for the Google Android repository. -
public:maven-gradleplugins
- for the Gradle plugins repository. -
public:maven-commonsware
- for the CommonsWare Android repository. -
public:maven-clojars
- for the Clojars repository.
Implementations§
source§impl AssociateExternalConnectionInput
impl AssociateExternalConnectionInput
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. It does not include dashes or spaces.
sourcepub fn repository(&self) -> Option<&str>
pub fn repository(&self) -> Option<&str>
The name of the repository to which the external connection is added.
sourcepub fn external_connection(&self) -> Option<&str>
pub fn external_connection(&self) -> Option<&str>
The name of the external connection to add to the repository. The following values are supported:
-
public:npmjs
- for the npm public repository. -
public:nuget-org
- for the NuGet Gallery. -
public:pypi
- for the Python Package Index. -
public:maven-central
- for Maven Central. -
public:maven-googleandroid
- for the Google Android repository. -
public:maven-gradleplugins
- for the Gradle plugins repository. -
public:maven-commonsware
- for the CommonsWare Android repository. -
public:maven-clojars
- for the Clojars repository.
source§impl AssociateExternalConnectionInput
impl AssociateExternalConnectionInput
sourcepub fn builder() -> AssociateExternalConnectionInputBuilder
pub fn builder() -> AssociateExternalConnectionInputBuilder
Creates a new builder-style object to manufacture AssociateExternalConnectionInput
.
Trait Implementations§
source§impl Clone for AssociateExternalConnectionInput
impl Clone for AssociateExternalConnectionInput
source§fn clone(&self) -> AssociateExternalConnectionInput
fn clone(&self) -> AssociateExternalConnectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AssociateExternalConnectionInput
impl PartialEq for AssociateExternalConnectionInput
source§fn eq(&self, other: &AssociateExternalConnectionInput) -> bool
fn eq(&self, other: &AssociateExternalConnectionInput) -> bool
self
and other
values to be equal, and is used
by ==
.