Class: Aws::CodeCommit::Types::PutFileEntry

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

{
  file_path: "Path", # required
  file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
  file_content: "data",
  source_file: {
    file_path: "Path", # required
    is_move: false,
  },
}

Information about a file added or updated as part of a commit.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_contentString

The content of the file, if a source file is not specified.

Returns:

  • (String)


6553
6554
6555
6556
6557
6558
6559
6560
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6553

class PutFileEntry < Struct.new(
  :file_path,
  :file_mode,
  :file_content,
  :source_file)
  SENSITIVE = []
  include Aws::Structure
end

#file_modeString

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

Returns:

  • (String)


6553
6554
6555
6556
6557
6558
6559
6560
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6553

class PutFileEntry < Struct.new(
  :file_path,
  :file_mode,
  :file_content,
  :source_file)
  SENSITIVE = []
  include Aws::Structure
end

#file_pathString

The full path to the file in the repository, including the name of the file.

Returns:

  • (String)


6553
6554
6555
6556
6557
6558
6559
6560
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6553

class PutFileEntry < Struct.new(
  :file_path,
  :file_mode,
  :file_content,
  :source_file)
  SENSITIVE = []
  include Aws::Structure
end

#source_fileTypes::SourceFileSpecifier

The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.



6553
6554
6555
6556
6557
6558
6559
6560
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6553

class PutFileEntry < Struct.new(
  :file_path,
  :file_mode,
  :file_content,
  :source_file)
  SENSITIVE = []
  include Aws::Structure
end