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
- Struct
- Aws::CodeCommit::Types::PutFileEntry
- Defined in:
- (unknown)
Overview
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
-
#file_content ⇒ String
The content of the file, if a source file is not specified.
-
#file_mode ⇒ String
The extrapolated file mode permissions for the file.
-
#file_path ⇒ String
The full path to the file in the repository, including the name of the file.
-
#source_file ⇒ 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.
Instance Attribute Details
#file_content ⇒ String
The content of the file, if a source file is not specified.
#file_mode ⇒ String
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
Possible values:
- EXECUTABLE
- NORMAL
- SYMLINK
#file_path ⇒ String
The full path to the file in the repository, including the name of the file.
#source_file ⇒ 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.