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::GetFileInput

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 GetFileInput data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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)


3357
3358
3359
3360
3361
3362
3363
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 3357

class GetFileInput < Struct.new(
  :repository_name,
  :commit_specifier,
  :file_path)
  SENSITIVE = []
  include Aws::Structure
end

#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)


3357
3358
3359
3360
3361
3362
3363
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 3357

class GetFileInput < Struct.new(
  :repository_name,
  :commit_specifier,
  :file_path)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository that contains the file.

Returns:

  • (String)


3357
3358
3359
3360
3361
3362
3363
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 3357

class GetFileInput < Struct.new(
  :repository_name,
  :commit_specifier,
  :file_path)
  SENSITIVE = []
  include Aws::Structure
end