Struct aws_sdk_sagemaker::model::GitConfig
source · [−]#[non_exhaustive]pub struct GitConfig { /* private fields */ }Expand description
Specifies configuration details for a Git repository in your Amazon Web Services account.
Implementations
sourceimpl 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
impl StructuralPartialEq for GitConfig
Auto Trait Implementations
impl RefUnwindSafe for GitConfig
impl Send for GitConfig
impl Sync for GitConfig
impl Unpin for GitConfig
impl UnwindSafe for GitConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more