v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142021,119944.8 KB

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.

post/#X-Amz-Target=AWSGlue.UpdateJobFromSourceControl

Headers

X-Amz-Target'AWSGlue.UpdateJobFromSourceControl' required

Request body

JobNamestring

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

Provider'GITHUB' | 'AWS_CODE_COMMIT'

The provider for the remote repository.

RepositoryNamestring

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

RepositoryOwnerstring

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

BranchNamestring

An optional branch in the remote repository.

Folderstring

An optional folder in the remote repository.

CommitIdstring

A commit ID for a commit in the remote repository.

AuthStrategy'PERSONAL_ACCESS_TOKEN' | 'AWS_SECRETS_MANAGER'

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

AuthTokenstring

The value of the authorization token.

Response

Success

JobNamestring

The name of the Glue job.