NAME

Paws::CodeCommit - Perl Interface to AWS AWS CodeCommit

SYNOPSIS

use Paws;

my $obj = Paws->service('CodeCommit');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

AWS CodeCommit

This is the AWS CodeCommit API Reference. This reference provides descriptions of the AWS CodeCommit API.

You can use the AWS CodeCommit API to work with the following objects:

  • Repositories

  • Branches

  • Commits

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.

METHODS

BatchGetRepositories(RepositoryNames => ArrayRef[Str])

Each argument is described in detail in: Paws::CodeCommit::BatchGetRepositories

Returns: a Paws::CodeCommit::BatchGetRepositoriesOutput instance

Gets information about one or more repositories.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

CreateBranch(BranchName => Str, CommitId => Str, RepositoryName => Str)

Each argument is described in detail in: Paws::CodeCommit::CreateBranch

Returns: nothing

Creates a new branch in a repository and points the branch to a commit.

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.

CreateRepository(RepositoryName => Str, [RepositoryDescription => Str])

Each argument is described in detail in: Paws::CodeCommit::CreateRepository

Returns: a Paws::CodeCommit::CreateRepositoryOutput instance

Creates a new, empty repository.

DeleteRepository(RepositoryName => Str)

Each argument is described in detail in: Paws::CodeCommit::DeleteRepository

Returns: a Paws::CodeCommit::DeleteRepositoryOutput instance

Deletes a repository. If a specified repository was already deleted, a
null repository ID will be returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.

GetBranch([BranchName => Str, RepositoryName => Str])

Each argument is described in detail in: Paws::CodeCommit::GetBranch

Returns: a Paws::CodeCommit::GetBranchOutput instance

Retrieves information about a repository branch, including its name and
the last commit ID.

GetRepository(RepositoryName => Str)

Each argument is described in detail in: Paws::CodeCommit::GetRepository

Returns: a Paws::CodeCommit::GetRepositoryOutput instance

Gets information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

ListBranches(RepositoryName => Str, [NextToken => Str])

Each argument is described in detail in: Paws::CodeCommit::ListBranches

Returns: a Paws::CodeCommit::ListBranchesOutput instance

Gets information about one or more branches in a repository.

ListRepositories([NextToken => Str, Order => Str, SortBy => Str])

Each argument is described in detail in: Paws::CodeCommit::ListRepositories

Returns: a Paws::CodeCommit::ListRepositoriesOutput instance

Gets information about one or more repositories.

UpdateDefaultBranch(DefaultBranchName => Str, RepositoryName => Str)

Each argument is described in detail in: Paws::CodeCommit::UpdateDefaultBranch

Returns: nothing

Sets or changes the default branch name for the specified repository.

If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.

UpdateRepositoryDescription(RepositoryName => Str, [RepositoryDescription => Str])

Each argument is described in detail in: Paws::CodeCommit::UpdateRepositoryDescription

Returns: nothing

Sets or changes the comment or description for a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

UpdateRepositoryName(NewName => Str, OldName => Str)

Each argument is described in detail in: Paws::CodeCommit::UpdateRepositoryName

Returns: nothing

Renames a repository.

SEE ALSO

This service class forms part of Paws

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