AWS CodeCommit
API Reference (API Version 2015-04-13)

PutFileEntry

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

Contents

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

filePath

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

Type: String

Required: Yes

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:

On this page: