Skip to content

GlueClient.update_source_control_from_job

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): 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.

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from rboto_glue.types import (
    SourceControlAuthStrategy,
    SourceControlProvider,
    UpdateSourceControlFromJobOutput,
)

Signature

async def update_source_control_from_job(
    *,
    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,
) -> UpdateSourceControlFromJobOutput: ...

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

UpdateSourceControlFromJobOutput.

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.

SourceControlAuthStrategy, SourceControlProvider, UpdateSourceControlFromJobOutput

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.

Service guide · Pinned model