pub struct UpdateSourceControlFromJob { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateSourceControlFromJob.
Synchronizes a job to the source control repository. This operation takes the job artifacts from the Glue internal stores and makes a commit to the remote repository that is configured on the job.
This API supports optional parameters which take in the repository information.
Implementations§
source§impl UpdateSourceControlFromJob
impl UpdateSourceControlFromJob
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSourceControlFromJob, AwsResponseRetryClassifier>, SdkError<UpdateSourceControlFromJobError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSourceControlFromJob, AwsResponseRetryClassifier>, SdkError<UpdateSourceControlFromJobError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateSourceControlFromJobOutput, SdkError<UpdateSourceControlFromJobError>>
pub async fn send(
self
) -> Result<UpdateSourceControlFromJobOutput, SdkError<UpdateSourceControlFromJobError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the Glue job to be synchronized to or from the remote repository.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the Glue job to be synchronized to or from the remote repository.
sourcepub fn provider(self, input: SourceControlProvider) -> Self
pub fn provider(self, input: SourceControlProvider) -> Self
The provider for the remote repository.
sourcepub fn set_provider(self, input: Option<SourceControlProvider>) -> Self
pub fn set_provider(self, input: Option<SourceControlProvider>) -> Self
The provider for the remote repository.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the remote repository that contains the job artifacts.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the remote repository that contains the job artifacts.
sourcepub fn repository_owner(self, input: impl Into<String>) -> Self
pub fn repository_owner(self, input: impl Into<String>) -> Self
The owner of the remote repository that contains the job artifacts.
sourcepub fn set_repository_owner(self, input: Option<String>) -> Self
pub fn set_repository_owner(self, input: Option<String>) -> Self
The owner of the remote repository that contains the job artifacts.
sourcepub fn branch_name(self, input: impl Into<String>) -> Self
pub fn branch_name(self, input: impl Into<String>) -> Self
An optional branch in the remote repository.
sourcepub fn set_branch_name(self, input: Option<String>) -> Self
pub fn set_branch_name(self, input: Option<String>) -> Self
An optional branch in the remote repository.
sourcepub fn folder(self, input: impl Into<String>) -> Self
pub fn folder(self, input: impl Into<String>) -> Self
An optional folder in the remote repository.
sourcepub fn set_folder(self, input: Option<String>) -> Self
pub fn set_folder(self, input: Option<String>) -> Self
An optional folder in the remote repository.
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
A commit ID for a commit in the remote repository.
sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
A commit ID for a commit in the remote repository.
sourcepub fn auth_strategy(self, input: SourceControlAuthStrategy) -> Self
pub fn auth_strategy(self, input: SourceControlAuthStrategy) -> Self
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
sourcepub fn set_auth_strategy(self, input: Option<SourceControlAuthStrategy>) -> Self
pub fn set_auth_strategy(self, input: Option<SourceControlAuthStrategy>) -> Self
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, input: impl Into<String>) -> Self
pub fn auth_token(self, input: impl Into<String>) -> Self
The value of the authorization token.
sourcepub fn set_auth_token(self, input: Option<String>) -> Self
pub fn set_auth_token(self, input: Option<String>) -> Self
The value of the authorization token.
Trait Implementations§
source§impl Clone for UpdateSourceControlFromJob
impl Clone for UpdateSourceControlFromJob
source§fn clone(&self) -> UpdateSourceControlFromJob
fn clone(&self) -> UpdateSourceControlFromJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more