class Aws::CodeCommit::Types::CreateCommitInput

@note When making an API call, you may pass CreateCommitInput

data as a hash:

    {
      repository_name: "RepositoryName", # required
      branch_name: "BranchName", # required
      parent_commit_id: "CommitId",
      author_name: "Name",
      email: "Email",
      commit_message: "Message",
      keep_empty_folders: false,
      put_files: [
        {
          file_path: "Path", # required
          file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
          file_content: "data",
          source_file: {
            file_path: "Path", # required
            is_move: false,
          },
        },
      ],
      delete_files: [
        {
          file_path: "Path", # required
        },
      ],
      set_file_modes: [
        {
          file_path: "Path", # required
          file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
        },
      ],
    }

@!attribute [rw] repository_name

The name of the repository where you create the commit.
@return [String]

@!attribute [rw] branch_name

The name of the branch where you create the commit.
@return [String]

@!attribute [rw] parent_commit_id

The ID of the commit that is the parent of the commit you create.
Not required if this is an empty repository.
@return [String]

@!attribute [rw] author_name

The name of the author who created the commit. This information is
used as both the author and committer for the commit.
@return [String]

@!attribute [rw] email

The email address of the person who created the commit.
@return [String]

@!attribute [rw] commit_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.
@return [String]

@!attribute [rw] keep_empty_folders

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.
@return [Boolean]

@!attribute [rw] put_files

The files to add or update in this commit.
@return [Array<Types::PutFileEntry>]

@!attribute [rw] delete_files

The files to delete in this commit. These files still exist in
earlier commits.
@return [Array<Types::DeleteFileEntry>]

@!attribute [rw] set_file_modes

The file modes to update for files in this commit.
@return [Array<Types::SetFileModeEntry>]

@see docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateCommitInput AWS API Documentation

Constants

SENSITIVE