Skip to content

PutFileEntry

Source code in docs_src/capo_codecommit/types/put_file_entry.py
class PutFileEntry(TypedDict, closed=True):
    file_path: "capo_codecommit.types.path.Path"
    """<p>The full path to the file in the repository, including the name of the file.</p>"""
    file_mode: NotRequired["capo_codecommit.types.file_mode_type_enum.FileModeTypeEnum"]
    """<p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>"""
    file_content: NotRequired["capo_codecommit.types.file_content.FileContent"]
    """<p>The content of the file, if a source file is not specified.</p>"""
    source_file: NotRequired[
        "capo_codecommit.types.source_file_specifier.SourceFileSpecifier"
    ]
    """<p>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.</p>"""

file_content instance-attribute

file_content: NotRequired[FileContent]

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

file_mode instance-attribute

file_mode: NotRequired[FileModeTypeEnum]

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

file_path instance-attribute

file_path: Path

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

source_file instance-attribute

source_file: NotRequired[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.