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. -
public:ruby-gems-org
- for RubyGems.org. -
public:crates-io
- for Crates.io.
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. -
public:ruby-gems-org
- for RubyGems.org. -
public:crates-io
- for Crates.io.
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 ==
.impl StructuralPartialEq for AssociateExternalConnectionInput
Auto Trait Implementations§
impl Freeze for AssociateExternalConnectionInput
impl RefUnwindSafe for AssociateExternalConnectionInput
impl Send for AssociateExternalConnectionInput
impl Sync for AssociateExternalConnectionInput
impl Unpin for AssociateExternalConnectionInput
impl UnwindSafe for AssociateExternalConnectionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more