Glue / Client / update_source_control_from_job
update_source_control_from_job#
- Glue.Client.update_source_control_from_job(**kwargs)#
- Synchronizes a job to the source control repository. This operation takes the job artifacts from the Glue internal stores and makes a commit to the remote repository that is configured on the job. - This API supports optional parameters which take in the repository information. - See also: AWS API Documentation - Request Syntax - response = client.update_source_control_from_job( 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' ) - Parameters:
- JobName (string) – The name of the Glue job to be synchronized to or from the remote repository. 
- Provider (string) – The provider for the remote repository. 
- RepositoryName (string) – The name of the remote repository that contains the job artifacts. 
- RepositoryOwner (string) – The owner of the remote repository that contains the job artifacts. 
- BranchName (string) – An optional branch in the remote repository. 
- Folder (string) – An optional folder in the remote repository. 
- CommitId (string) – A commit ID for a commit in the remote repository. 
- AuthStrategy (string) – The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token. 
- AuthToken (string) – The value of the authorization token. 
 
- Return type:
- dict 
- Returns:
- 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