Skip to content

/AWS1/CL_DZNGITMETADATA

The Git metadata for a notebook sync operation in Amazon SageMaker Unified Studio. Contains information about the Git repository, branch, and commit associated with the notebook.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_connectionid TYPE /AWS1/DZNGITCONNECTIONID /AWS1/DZNGITCONNECTIONID

The identifier of the Git connection.

iv_repository TYPE /AWS1/DZNGITREPOSITORY /AWS1/DZNGITREPOSITORY

The name of the Git repository.

iv_branch TYPE /AWS1/DZNGITBRANCH /AWS1/DZNGITBRANCH

The name of the Git branch.

iv_commithash TYPE /AWS1/DZNCOMMITHASH /AWS1/DZNCOMMITHASH

The commit hash in the Git repository.

Optional arguments:

iv_filename TYPE /AWS1/DZNFILENAME /AWS1/DZNFILENAME

The name of the file in the Git repository.

iv_committedat TYPE /AWS1/DZNTIMESTAMP /AWS1/DZNTIMESTAMP

The timestamp of when the commit was made.

iv_commitmessage TYPE /AWS1/DZNCOMMITMESSAGE /AWS1/DZNCOMMITMESSAGE

The commit message associated with the Git commit.


Queryable Attributes

connectionId

The identifier of the Git connection.

Accessible with the following methods

Method Description
GET_CONNECTIONID() Getter for CONNECTIONID, with configurable default
ASK_CONNECTIONID() Getter for CONNECTIONID w/ exceptions if field has no value
HAS_CONNECTIONID() Determine if CONNECTIONID has a value

repository

The name of the Git repository.

Accessible with the following methods

Method Description
GET_REPOSITORY() Getter for REPOSITORY, with configurable default
ASK_REPOSITORY() Getter for REPOSITORY w/ exceptions if field has no value
HAS_REPOSITORY() Determine if REPOSITORY has a value

branch

The name of the Git branch.

Accessible with the following methods

Method Description
GET_BRANCH() Getter for BRANCH, with configurable default
ASK_BRANCH() Getter for BRANCH w/ exceptions if field has no value
HAS_BRANCH() Determine if BRANCH has a value

commitHash

The commit hash in the Git repository.

Accessible with the following methods

Method Description
GET_COMMITHASH() Getter for COMMITHASH, with configurable default
ASK_COMMITHASH() Getter for COMMITHASH w/ exceptions if field has no value
HAS_COMMITHASH() Determine if COMMITHASH has a value

fileName

The name of the file in the Git repository.

Accessible with the following methods

Method Description
GET_FILENAME() Getter for FILENAME, with configurable default
ASK_FILENAME() Getter for FILENAME w/ exceptions if field has no value
HAS_FILENAME() Determine if FILENAME has a value

committedAt

The timestamp of when the commit was made.

Accessible with the following methods

Method Description
GET_COMMITTEDAT() Getter for COMMITTEDAT, with configurable default
ASK_COMMITTEDAT() Getter for COMMITTEDAT w/ exceptions if field has no value
HAS_COMMITTEDAT() Determine if COMMITTEDAT has a value

commitMessage

The commit message associated with the Git commit.

Accessible with the following methods

Method Description
GET_COMMITMESSAGE() Getter for COMMITMESSAGE, with configurable default
ASK_COMMITMESSAGE() Getter for COMMITMESSAGE w/ exceptions if field has no value
HAS_COMMITMESSAGE() Determine if COMMITMESSAGE has a value