Update Job from Source Control
| glue_update_job_from_source_control | R Documentation |
Synchronizes a job from the source control repository¶
Description¶
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.
Usage¶
glue_update_job_from_source_control(JobName, Provider, RepositoryName,
RepositoryOwner, BranchName, Folder, CommitId, AuthStrategy, AuthToken)
Arguments¶
JobNameThe name of the Glue job to be synchronized to or from the remote repository.
ProviderThe provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET.
RepositoryNameThe name of the remote repository that contains the job artifacts. For BitBucket providers,
RepositoryNameshould includeWorkspaceName. Use the format<WorkspaceName>/<RepositoryName>.RepositoryOwnerThe owner of the remote repository that contains the job artifacts.
BranchNameAn optional branch in the remote repository.
FolderAn optional folder in the remote repository.
CommitIdA commit ID for a commit in the remote repository.
AuthStrategyThe type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
AuthTokenThe value of the authorization token.
Value¶
A list with the following syntax:
Request syntax¶
svc$update_job_from_source_control(
JobName = "string",
Provider = "GITHUB"|"GITLAB"|"BITBUCKET"|"AWS_CODE_COMMIT",
RepositoryName = "string",
RepositoryOwner = "string",
BranchName = "string",
Folder = "string",
CommitId = "string",
AuthStrategy = "PERSONAL_ACCESS_TOKEN"|"AWS_SECRETS_MANAGER",
AuthToken = "string"
)