Skip to content

MergeBranchesBySquashInput

Source code in docs_src/capo_codecommit/types/merge_branches_by_squash_input.py
class MergeBranchesBySquashInput(TypedDict, closed=True):
    repository_name: "capo_codecommit.types.repository_name.RepositoryName"
    """<p>The name of the repository where you want to merge two branches.</p>"""
    source_commit_specifier: "capo_codecommit.types.commit_name.CommitName"
    """<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"""
    destination_commit_specifier: "capo_codecommit.types.commit_name.CommitName"
    """<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).</p>"""
    target_branch: NotRequired["capo_codecommit.types.branch_name.BranchName"]
    """<p>The branch where the merge is applied. </p>"""
    conflict_detail_level: NotRequired[
        "capo_codecommit.types.conflict_detail_level_type_enum.ConflictDetailLevelTypeEnum"
    ]
    """<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.</p>"""
    conflict_resolution_strategy: NotRequired[
        "capo_codecommit.types.conflict_resolution_strategy_type_enum.ConflictResolutionStrategyTypeEnum"
    ]
    """<p>Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.</p>"""
    author_name: NotRequired["capo_codecommit.types.name.Name"]
    """<p>The name of the author who created the commit. This information is used as both the author and committer for the commit.</p>"""
    email: NotRequired["capo_codecommit.types.email.Email"]
    """<p>The email address of the person merging the branches. This information is used in the commit information for the merge.</p>"""
    commit_message: NotRequired["capo_codecommit.types.message.Message"]
    """<p>The commit message for the merge.</p>"""
    keep_empty_folders: "capo_codecommit.types.keep_empty_folders.KeepEmptyFolders"
    """<p>If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false.</p>"""
    conflict_resolution: NotRequired[
        "capo_codecommit.types.conflict_resolution.ConflictResolution"
    ]
    """<p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.</p>"""

author_name instance-attribute

author_name: NotRequired[Name]

The name of the author who created the commit. This information is used as both the author and committer for the commit.

commit_message instance-attribute

commit_message: NotRequired[Message]

The commit message for the merge.

conflict_detail_level instance-attribute

conflict_detail_level: NotRequired[ConflictDetailLevelTypeEnum]

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

conflict_resolution instance-attribute

conflict_resolution: NotRequired[ConflictResolution]

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

conflict_resolution_strategy instance-attribute

conflict_resolution_strategy: NotRequired[ConflictResolutionStrategyTypeEnum]

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

destination_commit_specifier instance-attribute

destination_commit_specifier: CommitName

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

email instance-attribute

email: NotRequired[Email]

The email address of the person merging the branches. This information is used in the commit information for the merge.

keep_empty_folders instance-attribute

keep_empty_folders: KeepEmptyFolders

If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false.

repository_name instance-attribute

repository_name: RepositoryName

The name of the repository where you want to merge two branches.

source_commit_specifier instance-attribute

source_commit_specifier: CommitName

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

target_branch instance-attribute

target_branch: NotRequired[BranchName]

The branch where the merge is applied.