Skip to content

CreateUnreferencedMergeCommitInput

Source code in docs_src/capo_codecommit/types/create_unreferenced_merge_commit_input.py
class CreateUnreferencedMergeCommitInput(TypedDict, closed=True):
    repository_name: "capo_codecommit.types.repository_name.RepositoryName"
    """<p>The name of the repository where you want to create the unreferenced merge commit.</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>"""
    merge_option: "capo_codecommit.types.merge_option_type_enum.MergeOptionTypeEnum"
    """<p>The merge option or strategy you want to use to merge the code.</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 unreferenced 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 for the person who created the unreferenced commit.</p>"""
    commit_message: NotRequired["capo_codecommit.types.message.Message"]
    """<p>The commit message for the unreferenced commit.</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 unreferenced 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 unreferenced commit.

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 for the person who created the unreferenced commit.

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.

merge_option instance-attribute

merge_option: MergeOptionTypeEnum

The merge option or strategy you want to use to merge the code.

repository_name instance-attribute

repository_name: RepositoryName

The name of the repository where you want to create the unreferenced merge commit.

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).