Skip to content

/AWS1/CL_DZNGITPROPSOUTPUT

The properties of a Git connection returned by get and list operations, including connection status and any error details.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_codeconnectionarn TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The ARN of the CodeConnections connection used to connect to the Git repository.

iv_repositoryid TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The ID of the Git repository. This is the owner and repository name, for example, owner/repo-name.

iv_defaultbranch TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The default branch of the Git repository.

Optional arguments:

iv_status TYPE /AWS1/DZNCONNECTIONSTATUS /AWS1/DZNCONNECTIONSTATUS

The status of the Git connection.

iv_errormessage TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The error message that describes why the Git connection failed. This member is populated when the connection status is CREATE_FAILED or UPDATE_FAILED.


Queryable Attributes

codeConnectionArn

The ARN of the CodeConnections connection used to connect to the Git repository.

Accessible with the following methods

Method Description
GET_CODECONNECTIONARN() Getter for CODECONNECTIONARN, with configurable default
ASK_CODECONNECTIONARN() Getter for CODECONNECTIONARN w/ exceptions if field has no v
HAS_CODECONNECTIONARN() Determine if CODECONNECTIONARN has a value

repositoryId

The ID of the Git repository. This is the owner and repository name, for example, owner/repo-name.

Accessible with the following methods

Method Description
GET_REPOSITORYID() Getter for REPOSITORYID, with configurable default
ASK_REPOSITORYID() Getter for REPOSITORYID w/ exceptions if field has no value
HAS_REPOSITORYID() Determine if REPOSITORYID has a value

defaultBranch

The default branch of the Git repository.

Accessible with the following methods

Method Description
GET_DEFAULTBRANCH() Getter for DEFAULTBRANCH, with configurable default
ASK_DEFAULTBRANCH() Getter for DEFAULTBRANCH w/ exceptions if field has no value
HAS_DEFAULTBRANCH() Determine if DEFAULTBRANCH has a value

status

The status of the Git connection.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

errorMessage

The error message that describes why the Git connection failed. This member is populated when the connection status is CREATE_FAILED or UPDATE_FAILED.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value