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


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

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


    my $codecommit = Paws->service('CodeCommit');
    my $BatchGetCommitsOutput = $codecommit->BatchGetCommits(
      CommitIds      => [ 'MyObjectId', ... ],
      RepositoryName => 'MyRepositoryName',


    # Results:
    my $Commits = $BatchGetCommitsOutput->Commits;
    my $Errors  = $BatchGetCommitsOutput->Errors;

    # Returns a L<Paws::CodeCommit::BatchGetCommitsOutput> 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


REQUIRED CommitIds => ArrayRef[Str|Undef]

The full commit IDs of the commits to get information about.

You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.

REQUIRED RepositoryName => Str

The name of the repository that contains the commits.


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


The source code is located here:

Please report bugs to: