GlueClient.update_job_from_source_control
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): 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.
Install and imports
from rboto import GlueClient
from rboto_glue.types import (
SourceControlAuthStrategy,
SourceControlProvider,
UpdateJobFromSourceControlOutput,
)
Signature
async def update_job_from_source_control(
*,
job_name: str | None = None,
provider: SourceControlProvider | None = None,
repository_name: str | None = None,
repository_owner: str | None = None,
branch_name: str | None = None,
folder: str | None = None,
commit_id: str | None = None,
auth_strategy: SourceControlAuthStrategy | None = None,
auth_token: str | None = None,
) -> UpdateJobFromSourceControlOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
job_name |
No | The name of the Glue job to be synchronized to or from the remote repository. |
provider |
No | The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET. |
repository_name |
No | The name of the remote repository that contains the job artifacts. For BitBucket providers, RepositoryName should include WorkspaceName . Use the format / . |
repository_owner |
No | The owner of the remote repository that contains the job artifacts. |
branch_name |
No | An optional branch in the remote repository. |
folder |
No | An optional folder in the remote repository. |
commit_id |
No | A commit ID for a commit in the remote repository. |
auth_strategy |
No | The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token. |
auth_token |
No | The value of the authorization token. |
Output
UpdateJobFromSourceControlOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
job_name |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
SourceControlAuthStrategy, SourceControlProvider, UpdateJobFromSourceControlOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_glue.exceptions:
AccessDeniedError, AlreadyExistsError, EntityNotFoundError, InternalServiceError, InvalidInputError, OperationTimeoutError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.