#[non_exhaustive]pub struct UpdateCodeRepositoryInput {
pub code_repository_name: Option<String>,
pub git_config: Option<GitConfigForUpdate>,
}
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.code_repository_name: Option<String>
The name of the Git repository to update.
git_config: Option<GitConfigForUpdate>
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
Implementations§
source§impl UpdateCodeRepositoryInput
impl UpdateCodeRepositoryInput
sourcepub fn code_repository_name(&self) -> Option<&str>
pub fn code_repository_name(&self) -> Option<&str>
The name of the Git repository to update.
sourcepub fn git_config(&self) -> Option<&GitConfigForUpdate>
pub fn git_config(&self) -> Option<&GitConfigForUpdate>
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
source§impl UpdateCodeRepositoryInput
impl UpdateCodeRepositoryInput
sourcepub fn builder() -> UpdateCodeRepositoryInputBuilder
pub fn builder() -> UpdateCodeRepositoryInputBuilder
Creates a new builder-style object to manufacture UpdateCodeRepositoryInput
.
Trait Implementations§
source§impl Clone for UpdateCodeRepositoryInput
impl Clone for UpdateCodeRepositoryInput
source§fn clone(&self) -> UpdateCodeRepositoryInput
fn clone(&self) -> UpdateCodeRepositoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateCodeRepositoryInput
impl Debug for UpdateCodeRepositoryInput
source§impl PartialEq for UpdateCodeRepositoryInput
impl PartialEq for UpdateCodeRepositoryInput
source§fn eq(&self, other: &UpdateCodeRepositoryInput) -> bool
fn eq(&self, other: &UpdateCodeRepositoryInput) -> bool
self
and other
values to be equal, and is used
by ==
.