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

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

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

Overview

Note:

When passing PutFileEntry as input to an Aws::Client method, you can use a vanilla 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.

Instance Attribute Summary collapse

Instance Attribute Details

#file_contentString

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

Returns:

  • (String)

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

#file_modeString

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

Possible values:

  • EXECUTABLE
  • NORMAL
  • SYMLINK

Returns:

  • (String)

    The extrapolated file mode permissions for the file.

#file_pathString

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

Returns:

  • (String)

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

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

Returns:

  • (Types::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.