Class: Aws::CodeCommit::Types::CreateCommitInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codecommit/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#author_nameString

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

Returns:

  • (String)


1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#branch_nameString

The name of the branch where you create the commit.

Returns:

  • (String)


1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#commit_messageString

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.

Returns:

  • (String)


1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#delete_filesArray<Types::DeleteFileEntry>

The files to delete in this commit. These files still exist in earlier commits.

Returns:



1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#emailString

The email address of the person who created the commit.

Returns:

  • (String)


1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#keep_empty_foldersBoolean

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.

Returns:

  • (Boolean)


1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#parent_commit_idString

The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.

Returns:

  • (String)


1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#put_filesArray<Types::PutFileEntry>

The files to add or update in this commit.

Returns:



1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository where you create the commit.

Returns:

  • (String)


1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end

#set_file_modesArray<Types::SetFileModeEntry>

The file modes to update for files in this commit.

Returns:



1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/aws-sdk-codecommit/types.rb', line 1453

class CreateCommitInput < Struct.new(
  :repository_name,
  :branch_name,
  :parent_commit_id,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :put_files,
  :delete_files,
  :set_file_modes)
  SENSITIVE = []
  include Aws::Structure
end