1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSourceControlFromJob`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_name(impl Into<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::job_name) / [`set_job_name(Option<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_job_name): <p>The name of the Glue job to be synchronized to or from the remote repository.</p>
    ///   - [`provider(SourceControlProvider)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::provider) / [`set_provider(Option<SourceControlProvider>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_provider): <p>The provider for the remote repository.</p>
    ///   - [`repository_name(impl Into<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_repository_name): <p>The name of the remote repository that contains the job artifacts.</p>
    ///   - [`repository_owner(impl Into<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::repository_owner) / [`set_repository_owner(Option<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_repository_owner): <p>The owner of the remote repository that contains the job artifacts.</p>
    ///   - [`branch_name(impl Into<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_branch_name): <p>An optional branch in the remote repository.</p>
    ///   - [`folder(impl Into<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::folder) / [`set_folder(Option<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_folder): <p>An optional folder in the remote repository.</p>
    ///   - [`commit_id(impl Into<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::commit_id) / [`set_commit_id(Option<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_commit_id): <p>A commit ID for a commit in the remote repository.</p>
    ///   - [`auth_strategy(SourceControlAuthStrategy)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::auth_strategy) / [`set_auth_strategy(Option<SourceControlAuthStrategy>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_auth_strategy): <p>The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.</p>
    ///   - [`auth_token(impl Into<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::auth_token) / [`set_auth_token(Option<String>)`](crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::set_auth_token): <p>The value of the authorization token.</p>
    /// - On success, responds with [`UpdateSourceControlFromJobOutput`](crate::operation::update_source_control_from_job::UpdateSourceControlFromJobOutput) with field(s):
    ///   - [`job_name(Option<String>)`](crate::operation::update_source_control_from_job::UpdateSourceControlFromJobOutput::job_name): <p>The name of the Glue job.</p>
    /// - On failure, responds with [`SdkError<UpdateSourceControlFromJobError>`](crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError)
    pub fn update_source_control_from_job(
        &self,
    ) -> crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder {
        crate::operation::update_source_control_from_job::builders::UpdateSourceControlFromJobFluentBuilder::new(self.handle.clone())
    }
}