PutFileEntry - AWS CodeCommit

PutFileEntry

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

Contents

filePath

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

Type: String

Required: Yes

fileContent

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

Type: Base64-encoded binary data object

Length Constraints: Maximum length of 6291456.

Required: No

fileMode

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

Type: String

Valid Values: EXECUTABLE | NORMAL | SYMLINK

Required: No

sourceFile

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.

Type: SourceFileSpecifier object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: