Revision - AWS CodeConnections

Revision

Information about the revision for a specific sync event, such as the branch, owner ID, and name of the repository.

Contents

Branch

The branch name for a specific revision.

Type: String

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

Pattern: ^.*$

Required: Yes

Directory

The directory, if any, for a specific revision.

Type: String

Required: Yes

OwnerId

The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

Type: String

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

Pattern: ^.*$

Required: Yes

ProviderType

The provider type for a revision, such as GitHub.

Type: String

Valid Values: Bitbucket | GitHub | GitHubEnterpriseServer | GitLab | GitLabSelfManaged

Required: Yes

RepositoryName

The repository name for a specific revision.

Type: String

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

Pattern: ^.*$

Required: Yes

Sha

The SHA, such as the commit ID, for a specific revision.

Type: String

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

Required: Yes

See Also

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