Class: Aws::CodeCommit::Types::CreateCommitInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::CreateCommitInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codecommit/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#author_name ⇒ String
The name of the author who created the commit.
-
#branch_name ⇒ String
The name of the branch where you create the commit.
-
#commit_message ⇒ String
The commit message you want to include in the commit.
-
#delete_files ⇒ Array<Types::DeleteFileEntry>
The files to delete in this commit.
-
#email ⇒ String
The email address of the person who created the commit.
-
#keep_empty_folders ⇒ Boolean
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty.
-
#parent_commit_id ⇒ String
The ID of the commit that is the parent of the commit you create.
-
#put_files ⇒ Array<Types::PutFileEntry>
The files to add or update in this commit.
-
#repository_name ⇒ String
The name of the repository where you create the commit.
-
#set_file_modes ⇒ Array<Types::SetFileModeEntry>
The file modes to update for files in this commit.
Instance Attribute Details
#author_name ⇒ String
The name of the author who created the commit. This information is used as both the author and committer for the commit.
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_name ⇒ String
The name of the branch where you create the commit.
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_message ⇒ String
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.
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_files ⇒ Array<Types::DeleteFileEntry>
The files to delete in this commit. These files still exist in earlier commits.
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 |
#email ⇒ String
The email address of the person who created the commit.
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_folders ⇒ Boolean
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.
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_id ⇒ String
The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.
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_files ⇒ Array<Types::PutFileEntry>
The files to add or update in this commit.
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_name ⇒ String
The name of the repository where you create the commit.
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_modes ⇒ Array<Types::SetFileModeEntry>
The file modes to update for files in this commit.
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 |