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):<br>required: **false**<br><p>The name of the Glue job to be synchronized to or from the remote repository.</p><br>
    ///   - [`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):<br>required: **false**<br><p>The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.</p><br>
    ///   - [`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):<br>required: **false**<br><p>The name of the remote repository that contains the job artifacts. For BitBucket providers, <code>RepositoryName</code> should include <code>WorkspaceName</code>. Use the format <code><workspacename>    /    <repositoryname></repositoryname>   </workspacename></code>.</p><br>
    ///   - [`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):<br>required: **false**<br><p>The owner of the remote repository that contains the job artifacts.</p><br>
    ///   - [`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):<br>required: **false**<br><p>An optional branch in the remote repository.</p><br>
    ///   - [`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):<br>required: **false**<br><p>An optional folder in the remote repository.</p><br>
    ///   - [`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):<br>required: **false**<br><p>A commit ID for a commit in the remote repository.</p><br>
    ///   - [`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):<br>required: **false**<br><p>The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.</p><br>
    ///   - [`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):<br>required: **false**<br><p>The value of the authorization token.</p><br>
    /// - 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())
    }
}