View a markdown version of this page

GitMetadata - Amazon DataZone

GitMetadata

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.

Contents

branch

The name of the Git branch.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

commitHash

The commit hash in the Git repository.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z0-9]+

Required: Yes

connectionId

The identifier of the Git connection.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 40.

Pattern: [a-zA-Z0-9_-]+

Required: Yes

repository

The name of the Git repository.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Required: Yes

commitMessage

The commit message associated with the Git commit.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Required: No

committedAt

The timestamp of when the commit was made.

Type: Timestamp

Required: No

fileName

The name of the file in the Git repository.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: