Struct aws_sdk_sagemaker::types::GitConfigForUpdate
source · #[non_exhaustive]pub struct GitConfigForUpdate {
pub secret_arn: Option<String>,
}
Expand description
Specifies configuration details for a Git repository when the repository is updated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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 GitConfigForUpdate
impl GitConfigForUpdate
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}
source§impl GitConfigForUpdate
impl GitConfigForUpdate
sourcepub fn builder() -> GitConfigForUpdateBuilder
pub fn builder() -> GitConfigForUpdateBuilder
Creates a new builder-style object to manufacture GitConfigForUpdate
.
Trait Implementations§
source§impl Clone for GitConfigForUpdate
impl Clone for GitConfigForUpdate
source§fn clone(&self) -> GitConfigForUpdate
fn clone(&self) -> GitConfigForUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GitConfigForUpdate
impl Debug for GitConfigForUpdate
source§impl PartialEq<GitConfigForUpdate> for GitConfigForUpdate
impl PartialEq<GitConfigForUpdate> for GitConfigForUpdate
source§fn eq(&self, other: &GitConfigForUpdate) -> bool
fn eq(&self, other: &GitConfigForUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitConfigForUpdate
Auto Trait Implementations§
impl RefUnwindSafe for GitConfigForUpdate
impl Send for GitConfigForUpdate
impl Sync for GitConfigForUpdate
impl Unpin for GitConfigForUpdate
impl UnwindSafe for GitConfigForUpdate
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
Mutably borrows from an owned value. Read more