You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::GetCommitInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetCommitInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  repository_name: "RepositoryName", # required
  commit_id: "ObjectId", # required
}

Represents the input of a get commit operation.

Instance Attribute Summary collapse

Instance Attribute Details

#commit_idString

The commit ID. Commit IDs are the full SHA ID of the commit.

Returns:

  • (String)

    The commit ID.

#repository_nameString

The name of the repository to which the commit was made.

Returns:

  • (String)

    The name of the repository to which the commit was made.