Paws::CodeCommit::MergePullRequestByThreeWay - Arguments for method MergePullRequestByThreeWay on Paws::CodeCommit
This class represents the parameters used for calling the method MergePullRequestByThreeWay on the AWS CodeCommit service. Use the attributes of this class as arguments to method MergePullRequestByThreeWay.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to MergePullRequestByThreeWay.
my $codecommit = Paws->service('CodeCommit'); my $MergePullRequestByThreeWayOutput = $codecommit->MergePullRequestByThreeWay( PullRequestId => 'MyPullRequestId', RepositoryName => 'MyRepositoryName', AuthorName => 'MyName', # OPTIONAL CommitMessage => 'MyMessage', # OPTIONAL ConflictDetailLevel => 'FILE_LEVEL', # OPTIONAL ConflictResolution => { DeleteFiles => [ { FilePath => 'MyPath', }, ... ], # OPTIONAL ReplaceContents => [ { FilePath => 'MyPath', ReplacementType => 'KEEP_BASE' , # values: KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT Content => 'BlobFileContent', # max: 6291456; OPTIONAL FileMode => 'EXECUTABLE', # values: EXECUTABLE, NORMAL, SYMLINK; OPTIONAL }, ... ], # OPTIONAL SetFileModes => [ { FileMode => 'EXECUTABLE', # values: EXECUTABLE, NORMAL, SYMLINK; OPTIONAL FilePath => 'MyPath', }, ... ], # OPTIONAL }, # OPTIONAL ConflictResolutionStrategy => 'NONE', # OPTIONAL Email => 'MyEmail', # OPTIONAL KeepEmptyFolders => 1, # OPTIONAL SourceCommitId => 'MyObjectId', # OPTIONAL ); # Results: my $PullRequest = $MergePullRequestByThreeWayOutput->PullRequest; # Returns a L<Paws::CodeCommit::MergePullRequestByThreeWayOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codecommit/MergePullRequestByThreeWay
The name of the author who created the commit. This information is used as both the author and committer for the commit.
The commit message to include in the commit information for the merge.
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.
Valid values are: "FILE_LEVEL", "LINE_LEVEL"
"FILE_LEVEL"
"LINE_LEVEL"
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
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.
Valid values are: "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE"
"NONE"
"ACCEPT_SOURCE"
"ACCEPT_DESTINATION"
"AUTOMERGE"
The email address of the person merging the branches. This information is used in the commit information for the merge.
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.
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
The name of the repository where the pull request was created.
The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.
This class forms part of Paws, documenting arguments for method MergePullRequestByThreeWay in Paws::CodeCommit
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.