CreateCommitInput
¶
Source code in docs_src/capo_codecommit/types/create_commit_input.py
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.
branch_name
instance-attribute
¶
branch_name: BranchName
The name of the branch where you create the commit.
commit_message
instance-attribute
¶
commit_message: NotRequired[Message]
The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used.
delete_files
instance-attribute
¶
delete_files: NotRequired[DeleteFileEntries]
The files to delete in this commit. These files still exist in earlier commits.
email
instance-attribute
¶
email: NotRequired[Email]
The email address of the person who created the 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 true, a ..gitkeep file is created for empty folders. The default is false.
parent_commit_id
instance-attribute
¶
parent_commit_id: NotRequired[CommitId]
The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.
put_files
instance-attribute
¶
put_files: NotRequired[PutFileEntries]
The files to add or update in this commit.
repository_name
instance-attribute
¶
repository_name: RepositoryName
The name of the repository where you create the commit.
set_file_modes
instance-attribute
¶
set_file_modes: NotRequired[SetFileModeEntries]
The file modes to update for files in this commit.