Class: Aws::CodeCommit::Types::MergeBranchesBySquashInput

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)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#commit_messageString

The commit message for the merge.

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#conflict_detail_levelString

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.

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#conflict_resolutionTypes::ConflictResolution

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.



4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#conflict_resolution_strategyString

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.

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#destination_commit_specifierString

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#emailString

The email address of the person merging the branches. This information is used in the commit information for the merge.

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  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 this is specified as true, a .gitkeep file is created for empty folders. The default is false.

Returns:

  • (Boolean)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository where you want to merge two branches.

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#source_commit_specifierString

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end

#target_branchString

The branch where the merge is applied.

Returns:

  • (String)


4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aws-sdk-codecommit/types.rb', line 4669

class MergeBranchesBySquashInput < Struct.new(
  :repository_name,
  :source_commit_specifier,
  :destination_commit_specifier,
  :target_branch,
  :conflict_detail_level,
  :conflict_resolution_strategy,
  :author_name,
  :email,
  :commit_message,
  :keep_empty_folders,
  :conflict_resolution)
  SENSITIVE = []
  include Aws::Structure
end