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

Class: Aws::CodeCommit::Types::GetFileInput

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

Overview

Note:

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

{
  repository_name: "RepositoryName", # required
  commit_specifier: "CommitName",
  file_path: "Path", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#commit_specifierString

The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/master. If none is provided, the head commit is used.

Returns:

  • (String)

    The fully quaified reference that identifies the commit that contains the file.

#file_pathString

The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.

Returns:

  • (String)

    The fully qualified path to the file, including the full name and extension of the file.

#repository_nameString

The name of the repository that contains the file.

Returns:

  • (String)

    The name of the repository that contains the file.