AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass GetCommitInput data as a hash:

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

Represents the input of a get commit operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commit_idString

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

Returns:

  • (String)


3219
3220
3221
3222
3223
3224
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 3219

class GetCommitInput < Struct.new(
  :repository_name,
  :commit_id)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

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

Returns:

  • (String)


3219
3220
3221
3222
3223
3224
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 3219

class GetCommitInput < Struct.new(
  :repository_name,
  :commit_id)
  SENSITIVE = []
  include Aws::Structure
end