Struct aws_sdk_glue::operation::update_job_from_source_control::UpdateJobFromSourceControlInput
source · #[non_exhaustive]pub struct UpdateJobFromSourceControlInput {
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 UpdateJobFromSourceControlInput
impl UpdateJobFromSourceControlInput
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 UpdateJobFromSourceControlInput
impl UpdateJobFromSourceControlInput
sourcepub fn builder() -> UpdateJobFromSourceControlInputBuilder
pub fn builder() -> UpdateJobFromSourceControlInputBuilder
Creates a new builder-style object to manufacture UpdateJobFromSourceControlInput.
Trait Implementations§
source§impl Clone for UpdateJobFromSourceControlInput
impl Clone for UpdateJobFromSourceControlInput
source§fn clone(&self) -> UpdateJobFromSourceControlInput
fn clone(&self) -> UpdateJobFromSourceControlInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateJobFromSourceControlInput
impl PartialEq for UpdateJobFromSourceControlInput
source§fn eq(&self, other: &UpdateJobFromSourceControlInput) -> bool
fn eq(&self, other: &UpdateJobFromSourceControlInput) -> bool
self and other values to be equal, and is used
by ==.