Struct aws_sdk_glue::operation::update_source_control_from_job::UpdateSourceControlFromJobInput
source · #[non_exhaustive]pub struct UpdateSourceControlFromJobInput {
pub job_name: Option<String>,
pub provider: Option<SourceControlProvider>,
pub repository_name: Option<String>,
pub repository_owner: Option<String>,
pub branch_name: Option<String>,
pub folder: Option<String>,
pub commit_id: Option<String>,
pub auth_strategy: Option<SourceControlAuthStrategy>,
pub auth_token: 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.job_name: Option<String>
The name of the Glue job to be synchronized to or from the remote repository.
provider: Option<SourceControlProvider>
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
repository_name: Option<String>
The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName
should include WorkspaceName
. Use the format
.
repository_owner: Option<String>
The owner of the remote repository that contains the job artifacts.
branch_name: Option<String>
An optional branch in the remote repository.
folder: Option<String>
An optional folder in the remote repository.
commit_id: Option<String>
A commit ID for a commit in the remote repository.
auth_strategy: Option<SourceControlAuthStrategy>
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
auth_token: Option<String>
The value of the authorization token.
Implementations§
source§impl UpdateSourceControlFromJobInput
impl UpdateSourceControlFromJobInput
sourcepub fn job_name(&self) -> Option<&str>
pub fn job_name(&self) -> Option<&str>
The name of the Glue job to be synchronized to or from the remote repository.
sourcepub fn provider(&self) -> Option<&SourceControlProvider>
pub fn provider(&self) -> Option<&SourceControlProvider>
The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName
should include WorkspaceName
. Use the format
.
sourcepub fn repository_owner(&self) -> Option<&str>
pub fn repository_owner(&self) -> Option<&str>
The owner of the remote repository that contains the job artifacts.
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
An optional branch in the remote repository.
sourcepub fn auth_strategy(&self) -> Option<&SourceControlAuthStrategy>
pub fn auth_strategy(&self) -> Option<&SourceControlAuthStrategy>
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
sourcepub fn auth_token(&self) -> Option<&str>
pub fn auth_token(&self) -> Option<&str>
The value of the authorization token.
source§impl UpdateSourceControlFromJobInput
impl UpdateSourceControlFromJobInput
sourcepub fn builder() -> UpdateSourceControlFromJobInputBuilder
pub fn builder() -> UpdateSourceControlFromJobInputBuilder
Creates a new builder-style object to manufacture UpdateSourceControlFromJobInput
.
Trait Implementations§
source§impl Clone for UpdateSourceControlFromJobInput
impl Clone for UpdateSourceControlFromJobInput
source§fn clone(&self) -> UpdateSourceControlFromJobInput
fn clone(&self) -> UpdateSourceControlFromJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateSourceControlFromJobInput
impl PartialEq for UpdateSourceControlFromJobInput
source§fn eq(&self, other: &UpdateSourceControlFromJobInput) -> bool
fn eq(&self, other: &UpdateSourceControlFromJobInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSourceControlFromJobInput
Auto Trait Implementations§
impl Freeze for UpdateSourceControlFromJobInput
impl RefUnwindSafe for UpdateSourceControlFromJobInput
impl Send for UpdateSourceControlFromJobInput
impl Sync for UpdateSourceControlFromJobInput
impl Unpin for UpdateSourceControlFromJobInput
impl UnwindSafe for UpdateSourceControlFromJobInput
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