Struct aws_sdk_sagemaker::types::GitConfig
source · #[non_exhaustive]pub struct GitConfig {
pub repository_url: Option<String>,
pub branch: Option<String>,
pub secret_arn: Option<String>,
}Expand description
Specifies configuration details for a Git repository in your Amazon Web Services account.
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.repository_url: Option<String>The URL where the Git repository is located.
branch: Option<String>The default branch for the Git repository.
secret_arn: Option<String>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:
{"username": UserName, "password": Password}
Implementations§
source§impl GitConfig
impl GitConfig
sourcepub fn repository_url(&self) -> Option<&str>
pub fn repository_url(&self) -> Option<&str>
The URL where the Git repository is located.
sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:
{"username": UserName, "password": Password}
Trait Implementations§
source§impl PartialEq for GitConfig
impl PartialEq for GitConfig
impl StructuralPartialEq for GitConfig
Auto Trait Implementations§
impl Freeze for GitConfig
impl RefUnwindSafe for GitConfig
impl Send for GitConfig
impl Sync for GitConfig
impl Unpin for GitConfig
impl UnwindSafe for GitConfig
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> 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