update_job_from_source_control
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.update_job_from_source_control(
JobName='string',
Provider='GITHUB'|'AWS_CODE_COMMIT',
RepositoryName='string',
RepositoryOwner='string',
BranchName='string',
Folder='string',
CommitId='string',
AuthStrategy='PERSONAL_ACCESS_TOKEN'|'AWS_SECRETS_MANAGER',
AuthToken='string'
)
dict
Response Syntax
{
'JobName': 'string'
}
Response Structure
(dict) --
JobName (string) --
The name of the Glue job.
Exceptions
Glue.Client.exceptions.AccessDeniedException
Glue.Client.exceptions.AlreadyExistsException
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.ValidationException
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.OperationTimeoutException