Module Values_2.UpdateJobFromSourceControlRequestSource

Synchronizes a job from the source control repository. This operation takes the job artifacts that are located in the remote repository and updates the Glue internal stores with these artifacts. This API supports optional parameters which take in the repository information.

Sourcetype nonrec t = {
  1. jobName : Values_0.NameString.t option;
    (*

    The name of the Glue job to be synchronized to or from the remote repository.

    *)
  2. provider : Values_0.SourceControlProvider.t option;
    (*

    The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.

    *)
  3. repositoryName : Values_0.NameString.t option;
    (*

    The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName should include WorkspaceName. Use the format <WorkspaceName>/<RepositoryName>.

    *)
  4. repositoryOwner : Values_0.NameString.t option;
    (*

    The owner of the remote repository that contains the job artifacts.

    *)
  5. branchName : Values_0.NameString.t option;
    (*

    An optional branch in the remote repository.

    *)
  6. folder : Values_0.NameString.t option;
    (*

    An optional folder in the remote repository.

    *)
  7. commitId : Values_1.CommitIdString.t option;
    (*

    A commit ID for a commit in the remote repository.

    *)
  8. authStrategy : Values_0.SourceControlAuthStrategy.t option;
    (*

    The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

    *)
  9. authToken : Values_0.AuthTokenString.t option;
    (*

    The value of the authorization token.

    *)
}
Sourceval make : ?jobName:??? -> ?provider:??? -> ?repositoryName:??? -> ?repositoryOwner:??? -> ?branchName:??? -> ?folder:??? -> ?commitId:??? -> ?authStrategy:??? -> ?authToken:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.NameString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t