Skip to content

ReplaceContentEntry

Source code in docs_src/capo_codecommit/types/replace_content_entry.py
class ReplaceContentEntry(TypedDict, closed=True):
    file_path: "capo_codecommit.types.path.Path"
    """<p>The path of the conflicting file.</p>"""
    replacement_type: "capo_codecommit.types.replacement_type_enum.ReplacementTypeEnum"
    """<p>The replacement type to use when determining how to resolve the conflict.</p>"""
    content: NotRequired["capo_codecommit.types.file_content.FileContent"]
    """<p>The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.</p>"""
    file_mode: NotRequired["capo_codecommit.types.file_mode_type_enum.FileModeTypeEnum"]
    """<p>The file mode to apply during conflict resoltion.</p>"""

content instance-attribute

content: NotRequired[FileContent]

The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.

file_mode instance-attribute

file_mode: NotRequired[FileModeTypeEnum]

The file mode to apply during conflict resoltion.

file_path instance-attribute

file_path: Path

The path of the conflicting file.

replacement_type instance-attribute

replacement_type: ReplacementTypeEnum

The replacement type to use when determining how to resolve the conflict.