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 operations and data types for AWS CodeCommit API along with usage examples.

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

Repositories, by calling the following:

  • BatchGetRepositories, which returns information about one or more repositories associated with your AWS account.

  • CreateRepository, which creates an AWS CodeCommit repository.

  • DeleteRepository, which deletes an AWS CodeCommit repository.

  • GetRepository, which returns information about a specified repository.

  • ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account.

  • UpdateRepositoryDescription, which sets or updates the description of the repository.

  • UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no other users of that repository can access it until you send them the new HTTPS or SSH URL to use.

Branches, by calling the following:

  • CreateBranch, which creates a branch in a specified repository.

  • DeleteBranch, which deletes the specified branch in a repository unless it is the default branch.

  • GetBranch, which returns information about a specified branch.

  • ListBranches, which lists all branches for a specified repository.

  • UpdateDefaultBranch, which changes the default branch for a repository.

Files, by calling the following:

  • DeleteFile, which deletes the content of a specified file from a specified branch.

  • GetBlob, which returns the base-64 encoded content of an individual Git blob object in a repository.

  • GetFile, which returns the base-64 encoded content of a specified file.

  • GetFolder, which returns the contents of a specified folder or directory.

  • PutFile, which adds or modifies a single file in a specified repository and branch.

Commits, by calling the following:

  • BatchGetCommits, which returns information about one or more commits in a repository.

  • CreateCommit, which creates a commit for changes to a repository.

  • GetCommit, which returns information about a commit, including commit messages and author and committer information.

  • GetDifferences, which returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference).

Merges, by calling the following:

  • BatchDescribeMergeConflicts, which returns information about conflicts in a merge between commits in a repository.

  • CreateUnreferencedMergeCommit, which creates an unreferenced commit between two branches or commits for the purpose of comparing them and identifying any potential conflicts.

  • DescribeMergeConflicts, which returns information about merge conflicts between the base, source, and destination versions of a file in a potential merge.

  • GetMergeCommit, which returns information about the merge between a source and destination commit.

  • GetMergeConflicts, which returns information about merge conflicts between the source and destination branch in a pull request.

  • GetMergeOptions, which returns information about the available merge options between two branches or commit specifiers.

  • MergeBranchesByFastForward, which merges two branches using the fast-forward merge option.

  • MergeBranchesBySquash, which merges two branches using the squash merge option.

  • MergeBranchesByThreeWay, which merges two branches using the three-way merge option.

Pull requests, by calling the following:

  • CreatePullRequest, which creates a pull request in a specified repository.

  • CreatePullRequestApprovalRule, which creates an approval rule for a specified pull request.

  • DeletePullRequestApprovalRule, which deletes an approval rule for a specified pull request.

  • DescribePullRequestEvents, which returns information about one or more pull request events.

  • EvaluatePullRequestApprovalRules, which evaluates whether a pull request has met all the conditions specified in its associated approval rules.

  • GetCommentsForPullRequest, which returns information about comments on a specified pull request.

  • GetPullRequest, which returns information about a specified pull request.

  • GetPullRequestApprovalStates, which returns information about the approval states for a specified pull request.

  • GetPullRequestOverrideState, which returns information about whether approval rules have been set aside (overriden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

  • ListPullRequests, which lists all pull requests for a repository.

  • MergePullRequestByFastForward, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the fast-forward merge option.

  • MergePullRequestBySquash, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the squash merge option.

  • MergePullRequestByThreeWay. which merges the source destination branch of a pull request into the specified destination branch for that pull request using the three-way merge option.

  • OverridePullRequestApprovalRules, which sets aside all approval rule requirements for a pull request.

  • PostCommentForPullRequest, which posts a comment to a pull request at the specified line, file, or request.

  • UpdatePullRequestApprovalRuleContent, which updates the structure of an approval rule for a pull request.

  • UpdatePullRequestApprovalState, which updates the state of an approval on a pull request.

  • UpdatePullRequestDescription, which updates the description of a pull request.

  • UpdatePullRequestStatus, which updates the status of a pull request.

  • UpdatePullRequestTitle, which updates the title of a pull request.

Approval rule templates, by calling the following:

  • AssociateApprovalRuleTemplateWithRepository, which associates a template with a specified repository. After the template is associated with a repository, AWS CodeCommit creates approval rules that match the template conditions on every pull request created in the specified repository.

  • BatchAssociateApprovalRuleTemplateWithRepositories, which associates a template with one or more specified repositories. After the template is associated with a repository, AWS CodeCommit creates approval rules that match the template conditions on every pull request created in the specified repositories.

  • BatchDisassociateApprovalRuleTemplateFromRepositories, which removes the association between a template and specified repositories so that approval rules based on the template are not automatically created when pull requests are created in those repositories.

  • CreateApprovalRuleTemplate, which creates a template for approval rules that can then be associated with one or more repositories in your AWS account.

  • DeleteApprovalRuleTemplate, which deletes the specified template. It does not remove approval rules on pull requests already created with the template.

  • DisassociateApprovalRuleTemplateFromRepository, which removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository.

  • GetApprovalRuleTemplate, which returns information about an approval rule template.

  • ListApprovalRuleTemplates, which lists all approval rule templates in the AWS Region in your AWS account.

  • ListAssociatedApprovalRuleTemplatesForRepository, which lists all approval rule templates that are associated with a specified repository.

  • ListRepositoriesForApprovalRuleTemplate, which lists all repositories associated with the specified approval rule template.

  • UpdateApprovalRuleTemplateDescription, which updates the description of an approval rule template.

  • UpdateApprovalRuleTemplateName, which updates the name of an approval rule template.

  • UpdateApprovalRuleTemplateContent, which updates the content of an approval rule template.

Comments in a repository, by calling the following:

  • DeleteCommentContent, which deletes the content of a comment on a commit in a repository.

  • GetComment, which returns information about a comment on a commit.

  • GetCommentsForComparedCommit, which returns information about comments on the comparison between two commit specifiers in a repository.

  • PostCommentForComparedCommit, which creates a comment on the comparison between two commit specifiers in a repository.

  • PostCommentReply, which creates a reply to a comment.

  • UpdateComment, which updates the content of a comment on a commit in a repository.

Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:

  • ListTagsForResource, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.

  • TagResource, which adds or updates tags for a resource in AWS CodeCommit.

  • UntagResource, which removes tags for a resource in AWS CodeCommit.

Triggers, by calling the following:

  • GetRepositoryTriggers, which returns information about triggers configured for a repository.

  • PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete triggers.

  • TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger target.

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13

METHODS

AssociateApprovalRuleTemplateWithRepository

ApprovalRuleTemplateName => Str
RepositoryName => Str

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

Returns: nothing

Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.

BatchAssociateApprovalRuleTemplateWithRepositories

ApprovalRuleTemplateName => Str
RepositoryNames => ArrayRef[Str|Undef]

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

Returns: a Paws::CodeCommit::BatchAssociateApprovalRuleTemplateWithRepositoriesOutput instance

Creates an association between an approval rule template and one or more specified repositories.

BatchDescribeMergeConflicts

DestinationCommitSpecifier => Str
MergeOption => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[ConflictDetailLevel => Str]
[ConflictResolutionStrategy => Str]
[FilePaths => ArrayRef[Str|Undef]]
[MaxConflictFiles => Int]
[MaxMergeHunks => Int]
[NextToken => Str]

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

Returns: a Paws::CodeCommit::BatchDescribeMergeConflictsOutput instance

Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.

BatchDisassociateApprovalRuleTemplateFromRepositories

ApprovalRuleTemplateName => Str
RepositoryNames => ArrayRef[Str|Undef]

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

Returns: a Paws::CodeCommit::BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput instance

Removes the association between an approval rule template and one or more specified repositories.

BatchGetCommits

CommitIds => ArrayRef[Str|Undef]
RepositoryName => Str

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

Returns: a Paws::CodeCommit::BatchGetCommitsOutput instance

Returns information about the contents of one or more commits in a repository.

BatchGetRepositories

RepositoryNames => ArrayRef[Str|Undef]

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

Returns: a Paws::CodeCommit::BatchGetRepositoriesOutput instance

Returns 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 webpage can 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 webpage.

CreateApprovalRuleTemplate

ApprovalRuleTemplateContent => Str
ApprovalRuleTemplateName => Str
[ApprovalRuleTemplateDescription => Str]

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

Returns: a Paws::CodeCommit::CreateApprovalRuleTemplateOutput instance

Creates a template for approval rules that can then be associated with one or more repositories in your AWS account. When you associate a template with a repository, AWS CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.

CreateBranch

BranchName => Str
CommitId => Str
RepositoryName => Str

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

Returns: nothing

Creates a 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.

CreateCommit

BranchName => Str
RepositoryName => Str
[AuthorName => Str]
[CommitMessage => Str]
[DeleteFiles => ArrayRef[Paws::CodeCommit::DeleteFileEntry]]
[Email => Str]
[KeepEmptyFolders => Bool]
[ParentCommitId => Str]
[PutFiles => ArrayRef[Paws::CodeCommit::PutFileEntry]]
[SetFileModes => ArrayRef[Paws::CodeCommit::SetFileModeEntry]]

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

Returns: a Paws::CodeCommit::CreateCommitOutput instance

Creates a commit for a repository on the tip of a specified branch.

CreatePullRequest

Targets => ArrayRef[Paws::CodeCommit::Target]
Title => Str
[ClientRequestToken => Str]
[Description => Str]

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

Returns: a Paws::CodeCommit::CreatePullRequestOutput instance

Creates a pull request in the specified repository.

CreatePullRequestApprovalRule

ApprovalRuleContent => Str
ApprovalRuleName => Str
PullRequestId => Str

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

Returns: a Paws::CodeCommit::CreatePullRequestApprovalRuleOutput instance

Creates an approval rule for a pull request.

CreateRepository

RepositoryName => Str
[RepositoryDescription => Str]
[Tags => Paws::CodeCommit::TagsMap]

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

Returns: a Paws::CodeCommit::CreateRepositoryOutput instance

Creates a new, empty repository.

CreateUnreferencedMergeCommit

DestinationCommitSpecifier => Str
MergeOption => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[AuthorName => Str]
[CommitMessage => Str]
[ConflictDetailLevel => Str]
[ConflictResolution => Paws::CodeCommit::ConflictResolution]
[ConflictResolutionStrategy => Str]
[Email => Str]
[KeepEmptyFolders => Bool]

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

Returns: a Paws::CodeCommit::CreateUnreferencedMergeCommitOutput instance

Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit.

This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.

DeleteApprovalRuleTemplate

ApprovalRuleTemplateName => Str

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

Returns: a Paws::CodeCommit::DeleteApprovalRuleTemplateOutput instance

Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.

DeleteBranch

BranchName => Str
RepositoryName => Str

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

Returns: a Paws::CodeCommit::DeleteBranchOutput instance

Deletes a branch from a repository, unless that branch is the default branch for the repository.

DeleteCommentContent

CommentId => Str

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

Returns: a Paws::CodeCommit::DeleteCommentContentOutput instance

Deletes the content of a comment made on a change, file, or commit in a repository.

DeleteFile

BranchName => Str
FilePath => Str
ParentCommitId => Str
RepositoryName => Str
[CommitMessage => Str]
[Email => Str]
[KeepEmptyFolders => Bool]
[Name => Str]

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

Returns: a Paws::CodeCommit::DeleteFileOutput instance

Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.

DeletePullRequestApprovalRule

ApprovalRuleName => Str
PullRequestId => Str

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

Returns: a Paws::CodeCommit::DeletePullRequestApprovalRuleOutput instance

Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.

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 is returned.

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

DescribeMergeConflicts

DestinationCommitSpecifier => Str
FilePath => Str
MergeOption => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[ConflictDetailLevel => Str]
[ConflictResolutionStrategy => Str]
[MaxMergeHunks => Int]
[NextToken => Str]

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

Returns: a Paws::CodeCommit::DescribeMergeConflictsOutput instance

Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.

DescribePullRequestEvents

PullRequestId => Str
[ActorArn => Str]
[MaxResults => Int]
[NextToken => Str]
[PullRequestEventType => Str]

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

Returns: a Paws::CodeCommit::DescribePullRequestEventsOutput instance

Returns information about one or more pull request events.

DisassociateApprovalRuleTemplateFromRepository

ApprovalRuleTemplateName => Str
RepositoryName => Str

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

Returns: nothing

Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.

EvaluatePullRequestApprovalRules

PullRequestId => Str
RevisionId => Str

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

Returns: a Paws::CodeCommit::EvaluatePullRequestApprovalRulesOutput instance

Evaluates whether a pull request has met all the conditions specified in its associated approval rules.

GetApprovalRuleTemplate

ApprovalRuleTemplateName => Str

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

Returns: a Paws::CodeCommit::GetApprovalRuleTemplateOutput instance

Returns information about a specified approval rule template.

GetBlob

BlobId => Str
RepositoryName => Str

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

Returns: a Paws::CodeCommit::GetBlobOutput instance

Returns the base-64 encoded content of an individual blob in a repository.

GetBranch

[BranchName => Str]
[RepositoryName => Str]

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

Returns: a Paws::CodeCommit::GetBranchOutput instance

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

GetComment

CommentId => Str

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

Returns: a Paws::CodeCommit::GetCommentOutput instance

Returns the content of a comment made on a change, file, or commit in a repository.

GetCommentsForComparedCommit

AfterCommitId => Str
RepositoryName => Str
[BeforeCommitId => Str]
[MaxResults => Int]
[NextToken => Str]

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

Returns: a Paws::CodeCommit::GetCommentsForComparedCommitOutput instance

Returns information about comments made on the comparison between two commits.

GetCommentsForPullRequest

PullRequestId => Str
[AfterCommitId => Str]
[BeforeCommitId => Str]
[MaxResults => Int]
[NextToken => Str]
[RepositoryName => Str]

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

Returns: a Paws::CodeCommit::GetCommentsForPullRequestOutput instance

Returns comments made on a pull request.

GetCommit

CommitId => Str
RepositoryName => Str

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

Returns: a Paws::CodeCommit::GetCommitOutput instance

Returns information about a commit, including commit message and committer information.

GetDifferences

AfterCommitSpecifier => Str
RepositoryName => Str
[AfterPath => Str]
[BeforeCommitSpecifier => Str]
[BeforePath => Str]
[MaxResults => Int]
[NextToken => Str]

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

Returns: a Paws::CodeCommit::GetDifferencesOutput instance

Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.

GetFile

FilePath => Str
RepositoryName => Str
[CommitSpecifier => Str]

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

Returns: a Paws::CodeCommit::GetFileOutput instance

Returns the base-64 encoded contents of a specified file and its metadata.

GetFolder

FolderPath => Str
RepositoryName => Str
[CommitSpecifier => Str]

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

Returns: a Paws::CodeCommit::GetFolderOutput instance

Returns the contents of a specified folder in a repository.

GetMergeCommit

DestinationCommitSpecifier => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[ConflictDetailLevel => Str]
[ConflictResolutionStrategy => Str]

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

Returns: a Paws::CodeCommit::GetMergeCommitOutput instance

Returns information about a specified merge commit.

GetMergeConflicts

DestinationCommitSpecifier => Str
MergeOption => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[ConflictDetailLevel => Str]
[ConflictResolutionStrategy => Str]
[MaxConflictFiles => Int]
[NextToken => Str]

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

Returns: a Paws::CodeCommit::GetMergeConflictsOutput instance

Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.

GetMergeOptions

DestinationCommitSpecifier => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[ConflictDetailLevel => Str]
[ConflictResolutionStrategy => Str]

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

Returns: a Paws::CodeCommit::GetMergeOptionsOutput instance

Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.

GetPullRequest

PullRequestId => Str

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

Returns: a Paws::CodeCommit::GetPullRequestOutput instance

Gets information about a pull request in a specified repository.

GetPullRequestApprovalStates

PullRequestId => Str
RevisionId => Str

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

Returns: a Paws::CodeCommit::GetPullRequestApprovalStatesOutput instance

Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.

GetPullRequestOverrideState

PullRequestId => Str
RevisionId => Str

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

Returns: a Paws::CodeCommit::GetPullRequestOverrideStateOutput instance

Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

GetRepository

RepositoryName => Str

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

Returns: a Paws::CodeCommit::GetRepositoryOutput instance

Returns 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 webpage can 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 webpage.

GetRepositoryTriggers

RepositoryName => Str

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

Returns: a Paws::CodeCommit::GetRepositoryTriggersOutput instance

Gets information about triggers configured for a repository.

ListApprovalRuleTemplates

[MaxResults => Int]
[NextToken => Str]

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

Returns: a Paws::CodeCommit::ListApprovalRuleTemplatesOutput instance

Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.

ListAssociatedApprovalRuleTemplatesForRepository

RepositoryName => Str
[MaxResults => Int]
[NextToken => Str]

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

Returns: a Paws::CodeCommit::ListAssociatedApprovalRuleTemplatesForRepositoryOutput instance

Lists all approval rule templates that are associated with a specified repository.

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.

ListPullRequests

RepositoryName => Str
[AuthorArn => Str]
[MaxResults => Int]
[NextToken => Str]
[PullRequestStatus => Str]

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

Returns: a Paws::CodeCommit::ListPullRequestsOutput instance

Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.

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.

ListRepositoriesForApprovalRuleTemplate

ApprovalRuleTemplateName => Str
[MaxResults => Int]
[NextToken => Str]

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

Returns: a Paws::CodeCommit::ListRepositoriesForApprovalRuleTemplateOutput instance

Lists all repositories associated with the specified approval rule template.

ListTagsForResource

ResourceArn => Str
[NextToken => Str]

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

Returns: a Paws::CodeCommit::ListTagsForResourceOutput instance

Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

MergeBranchesByFastForward

DestinationCommitSpecifier => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[TargetBranch => Str]

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

Returns: a Paws::CodeCommit::MergeBranchesByFastForwardOutput instance

Merges two branches using the fast-forward merge strategy.

MergeBranchesBySquash

DestinationCommitSpecifier => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[AuthorName => Str]
[CommitMessage => Str]
[ConflictDetailLevel => Str]
[ConflictResolution => Paws::CodeCommit::ConflictResolution]
[ConflictResolutionStrategy => Str]
[Email => Str]
[KeepEmptyFolders => Bool]
[TargetBranch => Str]

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

Returns: a Paws::CodeCommit::MergeBranchesBySquashOutput instance

Merges two branches using the squash merge strategy.

MergeBranchesByThreeWay

DestinationCommitSpecifier => Str
RepositoryName => Str
SourceCommitSpecifier => Str
[AuthorName => Str]
[CommitMessage => Str]
[ConflictDetailLevel => Str]
[ConflictResolution => Paws::CodeCommit::ConflictResolution]
[ConflictResolutionStrategy => Str]
[Email => Str]
[KeepEmptyFolders => Bool]
[TargetBranch => Str]

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

Returns: a Paws::CodeCommit::MergeBranchesByThreeWayOutput instance

Merges two specified branches using the three-way merge strategy.

MergePullRequestByFastForward

PullRequestId => Str
RepositoryName => Str
[SourceCommitId => Str]

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

Returns: a Paws::CodeCommit::MergePullRequestByFastForwardOutput instance

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.

MergePullRequestBySquash

PullRequestId => Str
RepositoryName => Str
[AuthorName => Str]
[CommitMessage => Str]
[ConflictDetailLevel => Str]
[ConflictResolution => Paws::CodeCommit::ConflictResolution]
[ConflictResolutionStrategy => Str]
[Email => Str]
[KeepEmptyFolders => Bool]
[SourceCommitId => Str]

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

Returns: a Paws::CodeCommit::MergePullRequestBySquashOutput instance

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.

MergePullRequestByThreeWay

PullRequestId => Str
RepositoryName => Str
[AuthorName => Str]
[CommitMessage => Str]
[ConflictDetailLevel => Str]
[ConflictResolution => Paws::CodeCommit::ConflictResolution]
[ConflictResolutionStrategy => Str]
[Email => Str]
[KeepEmptyFolders => Bool]
[SourceCommitId => Str]

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

Returns: a Paws::CodeCommit::MergePullRequestByThreeWayOutput instance

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.

OverridePullRequestApprovalRules

OverrideStatus => Str
PullRequestId => Str
RevisionId => Str

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

Returns: nothing

Sets aside (overrides) all approval rule requirements for a specified pull request.

PostCommentForComparedCommit

AfterCommitId => Str
Content => Str
RepositoryName => Str
[BeforeCommitId => Str]
[ClientRequestToken => Str]
[Location => Paws::CodeCommit::Location]

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

Returns: a Paws::CodeCommit::PostCommentForComparedCommitOutput instance

Posts a comment on the comparison between two commits.

PostCommentForPullRequest

AfterCommitId => Str
BeforeCommitId => Str
Content => Str
PullRequestId => Str
RepositoryName => Str
[ClientRequestToken => Str]
[Location => Paws::CodeCommit::Location]

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

Returns: a Paws::CodeCommit::PostCommentForPullRequestOutput instance

Posts a comment on a pull request.

PostCommentReply

Content => Str
InReplyTo => Str
[ClientRequestToken => Str]

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

Returns: a Paws::CodeCommit::PostCommentReplyOutput instance

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

PutFile

BranchName => Str
FileContent => Str
FilePath => Str
RepositoryName => Str
[CommitMessage => Str]
[Email => Str]
[FileMode => Str]
[Name => Str]
[ParentCommitId => Str]

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

Returns: a Paws::CodeCommit::PutFileOutput instance

Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.

PutRepositoryTriggers

RepositoryName => Str
Triggers => ArrayRef[Paws::CodeCommit::RepositoryTrigger]

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

Returns: a Paws::CodeCommit::PutRepositoryTriggersOutput instance

Replaces all triggers for a repository. Used to create or delete triggers.

TagResource

ResourceArn => Str
Tags => Paws::CodeCommit::TagsMap

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

Returns: nothing

Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

TestRepositoryTriggers

RepositoryName => Str
Triggers => ArrayRef[Paws::CodeCommit::RepositoryTrigger]

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

Returns: a Paws::CodeCommit::TestRepositoryTriggersOutput instance

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test sends data from the last commit. If no data is available, sample data is generated.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

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

Returns: nothing

Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

UpdateApprovalRuleTemplateContent

ApprovalRuleTemplateName => Str
NewRuleContent => Str
[ExistingRuleContentSha256 => Str]

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

Returns: a Paws::CodeCommit::UpdateApprovalRuleTemplateContentOutput instance

Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.

UpdateApprovalRuleTemplateDescription

ApprovalRuleTemplateDescription => Str
ApprovalRuleTemplateName => Str

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

Returns: a Paws::CodeCommit::UpdateApprovalRuleTemplateDescriptionOutput instance

Updates the description for a specified approval rule template.

UpdateApprovalRuleTemplateName

NewApprovalRuleTemplateName => Str
OldApprovalRuleTemplateName => Str

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

Returns: a Paws::CodeCommit::UpdateApprovalRuleTemplateNameOutput instance

Updates the name of a specified approval rule template.

UpdateComment

CommentId => Str
Content => Str

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

Returns: a Paws::CodeCommit::UpdateCommentOutput instance

Replaces the contents of a comment.

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.

UpdatePullRequestApprovalRuleContent

ApprovalRuleName => Str
NewRuleContent => Str
PullRequestId => Str
[ExistingRuleContentSha256 => Str]

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

Returns: a Paws::CodeCommit::UpdatePullRequestApprovalRuleContentOutput instance

Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.

UpdatePullRequestApprovalState

ApprovalState => Str
PullRequestId => Str
RevisionId => Str

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

Returns: nothing

Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.

UpdatePullRequestDescription

Description => Str
PullRequestId => Str

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

Returns: a Paws::CodeCommit::UpdatePullRequestDescriptionOutput instance

Replaces the contents of the description of a pull request.

UpdatePullRequestStatus

PullRequestId => Str
PullRequestStatus => Str

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

Returns: a Paws::CodeCommit::UpdatePullRequestStatusOutput instance

Updates the status of a pull request.

UpdatePullRequestTitle

PullRequestId => Str
Title => Str

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

Returns: a Paws::CodeCommit::UpdatePullRequestTitleOutput instance

Replaces the title of a pull request.

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 webpage can 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 webpage.

UpdateRepositoryName

NewName => Str
OldName => Str

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

Returns: nothing

Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Limits (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the AWS CodeCommit User Guide.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

DescribeAllPullRequestEvents(sub { },PullRequestId => Str, [ActorArn => Str, MaxResults => Int, NextToken => Str, PullRequestEventType => Str])

DescribeAllPullRequestEvents(PullRequestId => Str, [ActorArn => Str, MaxResults => Int, NextToken => Str, PullRequestEventType => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - pullRequestEvents, passing the object as the first parameter, and the string 'pullRequestEvents' as the second parameter 

If not, it will return a a Paws::CodeCommit::DescribePullRequestEventsOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

GetAllCommentsForComparedCommit(sub { },AfterCommitId => Str, RepositoryName => Str, [BeforeCommitId => Str, MaxResults => Int, NextToken => Str])

GetAllCommentsForComparedCommit(AfterCommitId => Str, RepositoryName => Str, [BeforeCommitId => Str, MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - commentsForComparedCommitData, passing the object as the first parameter, and the string 'commentsForComparedCommitData' as the second parameter 

If not, it will return a a Paws::CodeCommit::GetCommentsForComparedCommitOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

GetAllCommentsForPullRequest(sub { },PullRequestId => Str, [AfterCommitId => Str, BeforeCommitId => Str, MaxResults => Int, NextToken => Str, RepositoryName => Str])

GetAllCommentsForPullRequest(PullRequestId => Str, [AfterCommitId => Str, BeforeCommitId => Str, MaxResults => Int, NextToken => Str, RepositoryName => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - commentsForPullRequestData, passing the object as the first parameter, and the string 'commentsForPullRequestData' as the second parameter 

If not, it will return a a Paws::CodeCommit::GetCommentsForPullRequestOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

GetAllDifferences(sub { },AfterCommitSpecifier => Str, RepositoryName => Str, [AfterPath => Str, BeforeCommitSpecifier => Str, BeforePath => Str, MaxResults => Int, NextToken => Str])

GetAllDifferences(AfterCommitSpecifier => Str, RepositoryName => Str, [AfterPath => Str, BeforeCommitSpecifier => Str, BeforePath => Str, MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - differences, passing the object as the first parameter, and the string 'differences' as the second parameter 

If not, it will return a a Paws::CodeCommit::GetDifferencesOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllBranches(sub { },RepositoryName => Str, [NextToken => Str])

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

If passed a sub as first parameter, it will call the sub for each element found in :

 - branches, passing the object as the first parameter, and the string 'branches' as the second parameter 

If not, it will return a a Paws::CodeCommit::ListBranchesOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllPullRequests(sub { },RepositoryName => Str, [AuthorArn => Str, MaxResults => Int, NextToken => Str, PullRequestStatus => Str])

ListAllPullRequests(RepositoryName => Str, [AuthorArn => Str, MaxResults => Int, NextToken => Str, PullRequestStatus => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - pullRequestIds, passing the object as the first parameter, and the string 'pullRequestIds' as the second parameter 

If not, it will return a a Paws::CodeCommit::ListPullRequestsOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllRepositories(sub { },[NextToken => Str, Order => Str, SortBy => Str])

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

If passed a sub as first parameter, it will call the sub for each element found in :

 - repositories, passing the object as the first parameter, and the string 'repositories' as the second parameter 

If not, it will return a a Paws::CodeCommit::ListRepositoriesOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

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