The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::CodeCommit::BatchDescribeMergeConflicts - Arguments for method BatchDescribeMergeConflicts on Paws::CodeCommit

DESCRIPTION

This class represents the parameters used for calling the method BatchDescribeMergeConflicts on the AWS CodeCommit service. Use the attributes of this class as arguments to method BatchDescribeMergeConflicts.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchDescribeMergeConflicts.

SYNOPSIS

    my $codecommit = Paws->service('CodeCommit');
    my $BatchDescribeMergeConflictsOutput =
      $codecommit->BatchDescribeMergeConflicts(
      DestinationCommitSpecifier => 'MyCommitName',
      MergeOption                => 'FAST_FORWARD_MERGE',
      RepositoryName             => 'MyRepositoryName',
      SourceCommitSpecifier      => 'MyCommitName',
      ConflictDetailLevel        => 'FILE_LEVEL',           # OPTIONAL
      ConflictResolutionStrategy => 'NONE',                 # OPTIONAL
      FilePaths                  => [ 'MyPath', ... ],      # OPTIONAL
      MaxConflictFiles           => 1,                      # OPTIONAL
      MaxMergeHunks              => 1,                      # OPTIONAL
      NextToken                  => 'MyNextToken',          # OPTIONAL
      );

    # Results:
    my $BaseCommitId = $BatchDescribeMergeConflictsOutput->BaseCommitId;
    my $Conflicts    = $BatchDescribeMergeConflictsOutput->Conflicts;
    my $DestinationCommitId =
      $BatchDescribeMergeConflictsOutput->DestinationCommitId;
    my $Errors         = $BatchDescribeMergeConflictsOutput->Errors;
    my $NextToken      = $BatchDescribeMergeConflictsOutput->NextToken;
    my $SourceCommitId = $BatchDescribeMergeConflictsOutput->SourceCommitId;

    # Returns a L<Paws::CodeCommit::BatchDescribeMergeConflictsOutput> 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/BatchDescribeMergeConflicts

ATTRIBUTES

ConflictDetailLevel => Str

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"

ConflictResolutionStrategy => Str

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"

REQUIRED DestinationCommitSpecifier => Str

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

FilePaths => ArrayRef[Str|Undef]

The path of the target files used to describe the conflicts. If not specified, the default is all conflict files.

MaxConflictFiles => Int

The maximum number of files to include in the output.

MaxMergeHunks => Int

The maximum number of merge hunks to include in the output.

REQUIRED MergeOption => Str

The merge option or strategy you want to use to merge the code.

Valid values are: "FAST_FORWARD_MERGE", "SQUASH_MERGE", "THREE_WAY_MERGE"

NextToken => Str

An enumeration token that, when provided in a request, returns the next batch of the results.

REQUIRED RepositoryName => Str

The name of the repository that contains the merge conflicts you want to review.

REQUIRED SourceCommitSpecifier => Str

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

SEE ALSO

This class forms part of Paws, documenting arguments for method BatchDescribeMergeConflicts in Paws::CodeCommit

BUGS and CONTRIBUTIONS

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