UNPKG

aws-iam-policy-types

Version:

Autogenerated Typescript types for AWS IAM Policy and enums for all policy actions

619 lines (618 loc) 28.3 kB
/** * All IAM policy actions for AWS CodeCommit (CODECOMMIT) * * Extracted by `aws-iam-policy` from * https://docs.aws.amazon.com/service-authorization/latest/reference/list_awscodecommit.html * * 2025-02-24T21:47:13.440Z */ export declare enum AwsCodecommitActions { /** * Grants permission to associate an approval rule template with a repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_AssociateApprovalRuleTemplateWithRepository.html */ AssociateApprovalRuleTemplateWithRepository = "codecommit:AssociateApprovalRuleTemplateWithRepository", /** * Grants permission to associate an approval rule template with multiple reposito * ries in a single operation * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_BatchAssociateApprovalRuleTemplateWithRepositories.html */ BatchAssociateApprovalRuleTemplateWithRepositories = "codecommit:BatchAssociateApprovalRuleTemplateWithRepositories", /** * Grants permission to get information about multiple merge conflicts when attemp * ting to merge two commits using either the three-way merge or the squash merge * option * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_BatchDescribeMergeConflicts.html */ BatchDescribeMergeConflicts = "codecommit:BatchDescribeMergeConflicts", /** * Grants permission to remove the association between an approval rule template a * nd multiple repositories in a single operation * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_BatchDisassociateApprovalRuleTemplateFromRepositories.html */ BatchDisassociateApprovalRuleTemplateFromRepositories = "codecommit:BatchDisassociateApprovalRuleTemplateFromRepositories", /** * Grants permission to return information about one or more commits in an AWS Cod * eCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_BatchGetCommits.html */ BatchGetCommits = "codecommit:BatchGetCommits", /** * Grants permission to return information about one or more pull requests in an A * WS CodeCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-pr */ BatchGetPullRequests = "codecommit:BatchGetPullRequests", /** * Grants permission to get information about multiple repositories * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_BatchGetRepositories.html */ BatchGetRepositories = "codecommit:BatchGetRepositories", /** * Grants permission to cancel the uploading of an archive to a pipeline in AWS Co * dePipeline * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-acp */ CancelUploadArchive = "codecommit:CancelUploadArchive", /** * Grants permission to create an approval rule template that will automatically c * reate approval rules in pull requests that match the conditions defined in the * template; does not grant permission to create approval rules for individual pul * l requests * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_CreateApprovalRuleTemplate.html */ CreateApprovalRuleTemplate = "codecommit:CreateApprovalRuleTemplate", /** * Grants permission to create a branch in an AWS CodeCommit repository with this * API; does not control Git create branch actions * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_CreateBranch.html */ CreateBranch = "codecommit:CreateBranch", /** * Grants permission to add, copy, move or update single or multiple files in a br * anch in an AWS CodeCommit repository, and generate a commit for the changes in * the specified branch * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_CreateCommit.html */ CreateCommit = "codecommit:CreateCommit", /** * Grants permission to create a pull request in the specified repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_CreatePullRequest.html */ CreatePullRequest = "codecommit:CreatePullRequest", /** * Grants permission to create an approval rule specific to an individual pull req * uest; does not grant permission to create approval rule templates * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_CreatePullRequestApprovalRule.html */ CreatePullRequestApprovalRule = "codecommit:CreatePullRequestApprovalRule", /** * Grants permission to create an AWS CodeCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_CreateRepository.html */ CreateRepository = "codecommit:CreateRepository", /** * Grants permission to create an unreferenced commit that contains the result of * merging two commits using either the three-way or the squash merge option; does * not control Git merge actions * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_CreateUnreferencedMergeCommit.html */ CreateUnreferencedMergeCommit = "codecommit:CreateUnreferencedMergeCommit", /** * Grants permission to delete an approval rule template * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DeleteApprovalRuleTemplate.html */ DeleteApprovalRuleTemplate = "codecommit:DeleteApprovalRuleTemplate", /** * Grants permission to delete a branch in an AWS CodeCommit repository with this * API; does not control Git delete branch actions * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DeleteBranch.html */ DeleteBranch = "codecommit:DeleteBranch", /** * Grants permission to delete the content of a comment made on a change, file, or * commit in a repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DeleteCommentContent.html */ DeleteCommentContent = "codecommit:DeleteCommentContent", /** * Grants permission to delete a specified file from a specified branch * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DeleteFile.html */ DeleteFile = "codecommit:DeleteFile", /** * Grants permission to delete approval rule created for a pull request if the rul * e was not created by an approval rule template * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DeletePullRequestApprovalRule.html */ DeletePullRequestApprovalRule = "codecommit:DeletePullRequestApprovalRule", /** * Grants permission to delete an AWS CodeCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DeleteRepository.html */ DeleteRepository = "codecommit:DeleteRepository", /** * Grants permission to get information about specific merge conflicts when attemp * ting to merge two commits using either the three-way or the squash merge option * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DescribeMergeConflicts.html */ DescribeMergeConflicts = "codecommit:DescribeMergeConflicts", /** * Grants permission to return information about one or more pull request events * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DescribePullRequestEvents.html */ DescribePullRequestEvents = "codecommit:DescribePullRequestEvents", /** * Grants permission to remove the association between an approval rule template a * nd a repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_DisassociateApprovalRuleTemplateFromRepository.html */ DisassociateApprovalRuleTemplateFromRepository = "codecommit:DisassociateApprovalRuleTemplateFromRepository", /** * Grants permission to evaluate whether a pull request is mergable based on its c * urrent approval state and approval rule requirements * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_EvaluatePullRequestApprovalRules.html */ EvaluatePullRequestApprovalRules = "codecommit:EvaluatePullRequestApprovalRules", /** * Grants permission to return information about an approval rule template * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetApprovalRuleTemplate.html */ GetApprovalRuleTemplate = "codecommit:GetApprovalRuleTemplate", /** * Grants permission to view the encoded content of an individual file in an AWS C * odeCommit repository from the AWS CodeCommit console * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetBlob.html */ GetBlob = "codecommit:GetBlob", /** * Grants permission to get details about a branch in an AWS CodeCommit repository * with this API; does not control Git branch actions * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetBranch.html */ GetBranch = "codecommit:GetBranch", /** * Grants permission to get the content of a comment made on a change, file, or co * mmit in a repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetComment.html */ GetComment = "codecommit:GetComment", /** * Grants permission to get the reactions on a comment * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetCommentReactions.html */ GetCommentReactions = "codecommit:GetCommentReactions", /** * Grants permission to get information about comments made on the comparison betw * een two commits * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetCommentsForComparedCommit.html */ GetCommentsForComparedCommit = "codecommit:GetCommentsForComparedCommit", /** * Grants permission to get comments made on a pull request * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetCommentsForPullRequest.html */ GetCommentsForPullRequest = "codecommit:GetCommentsForPullRequest", /** * Grants permission to return information about a commit, including commit messag * e and committer information, with this API; does not control Git log actions * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetCommit.html */ GetCommit = "codecommit:GetCommit", /** * Grants permission to get information about the history of commits in a reposito * ry * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-code */ GetCommitHistory = "codecommit:GetCommitHistory", /** * Grants permission to get information about the difference between commits in th * e context of a potential merge * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-pr */ GetCommitsFromMergeBase = "codecommit:GetCommitsFromMergeBase", /** * Grants permission to view information about the differences between valid commi * t specifiers such as a branch, tag, HEAD, commit ID, or other fully qualified r * eference * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetDifferences.html */ GetDifferences = "codecommit:GetDifferences", /** * Grants permission to return the base-64 encoded contents of a specified file an * d its metadata * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetFile.html */ GetFile = "codecommit:GetFile", /** * Grants permission to return the contents of a specified folder in a repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetFolder.html */ GetFolder = "codecommit:GetFolder", /** * Grants permission to get information about a merge commit created by one of the * merge options for pull requests that creates merge commits. Not all merge optio * ns create merge commits. This permission does not control Git merge actions * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetMergeCommit.html */ GetMergeCommit = "codecommit:GetMergeCommit", /** * Grants permission to get information about merge conflicts between the before a * nd after commit IDs for a pull request in a repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetMergeConflicts.html */ GetMergeConflicts = "codecommit:GetMergeConflicts", /** * Grants permission to get information about merge options for pull requests that * can be used to merge two commits; does not control Git merge actions * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetMergeOptions.html */ GetMergeOptions = "codecommit:GetMergeOptions", /** * Grants permission to resolve blobs, trees, and commits to their identifier * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-code */ GetObjectIdentifier = "codecommit:GetObjectIdentifier", /** * Grants permission to get information about a pull request in a specified reposi * tory * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetPullRequest.html */ GetPullRequest = "codecommit:GetPullRequest", /** * Grants permission to retrieve the current approvals on an inputted pull request * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetPullRequestApprovalStates.html */ GetPullRequestApprovalStates = "codecommit:GetPullRequestApprovalStates", /** * Grants permission to retrieve the current override state of a given pull reques * t * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetPullRequestOverrideState.html */ GetPullRequestOverrideState = "codecommit:GetPullRequestOverrideState", /** * Grants permission to get details about references in an AWS CodeCommit reposito * ry; does not control Git reference actions * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-code */ GetReferences = "codecommit:GetReferences", /** * Grants permission to get information about an AWS CodeCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetRepository.html */ GetRepository = "codecommit:GetRepository", /** * Grants permission to get information about triggers configured for a repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetRepositoryTriggers.html */ GetRepositoryTriggers = "codecommit:GetRepositoryTriggers", /** * Grants permission to view the contents of a specified tree in an AWS CodeCommit * repository from the AWS CodeCommit console * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-code */ GetTree = "codecommit:GetTree", /** * Grants permission to get status information about an archive upload to a pipeli * ne in AWS CodePipeline * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-acp */ GetUploadArchiveStatus = "codecommit:GetUploadArchiveStatus", /** * Grants permission to pull information from an AWS CodeCommit repository to a lo * cal repo * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-git */ GitPull = "codecommit:GitPull", /** * Grants permission to push information from a local repo to an AWS CodeCommit re * pository * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-git */ GitPush = "codecommit:GitPush", /** * Grants permission to list all approval rule templates in an AWS Region for the * AWS account * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListApprovalRuleTemplates.html */ ListApprovalRuleTemplates = "codecommit:ListApprovalRuleTemplates", /** * Grants permission to list approval rule templates that are associated with a re * pository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListAssociatedApprovalRuleTemplatesForRepository.html */ ListAssociatedApprovalRuleTemplatesForRepository = "codecommit:ListAssociatedApprovalRuleTemplatesForRepository", /** * Grants permission to list branches for an AWS CodeCommit repository with this A * PI; does not control Git branch actions * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListBranches.html */ ListBranches = "codecommit:ListBranches", /** * Grants permission to list commits and changes to a specified file * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListFileCommitHistory.html */ ListFileCommitHistory = "codecommit:ListFileCommitHistory", /** * Grants permission to list pull requests for a specified repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListPullRequests.html */ ListPullRequests = "codecommit:ListPullRequests", /** * Grants permission to list information about AWS CodeCommit repositories in the * current Region for your AWS account * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListRepositories.html */ ListRepositories = "codecommit:ListRepositories", /** * Grants permission to list repositories that are associated with an approval rul * e template * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListRepositoriesForApprovalRuleTemplate.html */ ListRepositoriesForApprovalRuleTemplate = "codecommit:ListRepositoriesForApprovalRuleTemplate", /** * Grants permission to list the resource attached to a CodeCommit resource ARN * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListTagsForResource.html */ ListTagsForResource = "codecommit:ListTagsForResource", /** * Grants permission to merge two commits into the specified destination branch us * ing the fast-forward merge option * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_MergeBranchesByFastForward.html */ MergeBranchesByFastForward = "codecommit:MergeBranchesByFastForward", /** * Grants permission to merge two commits into the specified destination branch us * ing the squash merge option * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_MergeBranchesBySquash.html */ MergeBranchesBySquash = "codecommit:MergeBranchesBySquash", /** * Grants permission to merge two commits into the specified destination branch us * ing the three-way merge option * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_MergeBranchesByThreeWay.html */ MergeBranchesByThreeWay = "codecommit:MergeBranchesByThreeWay", /** * Grants permission to close a pull request and attempt to merge it into the spec * ified destination branch for that pull request at the specified commit using th * e fast-forward merge option * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_MergePullRequestByFastForward.html */ MergePullRequestByFastForward = "codecommit:MergePullRequestByFastForward", /** * Grants permission to close a pull request and attempt to merge it into the spec * ified destination branch for that pull request at the specified commit using th * e squash merge option * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_MergePullRequestBySquash.html */ MergePullRequestBySquash = "codecommit:MergePullRequestBySquash", /** * Grants permission to close a pull request and attempt to merge it into the spec * ified destination branch for that pull request at the specified commit using th * e three-way merge option * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_MergePullRequestByThreeWay.html */ MergePullRequestByThreeWay = "codecommit:MergePullRequestByThreeWay", /** * Grants permission to override all approval rules for a pull request, including * approval rules created by a template * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_OverridePullRequestApprovalRules.html */ OverridePullRequestApprovalRules = "codecommit:OverridePullRequestApprovalRules", /** * Grants permission to post a comment on the comparison between two commits * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_PostCommentForComparedCommit.html */ PostCommentForComparedCommit = "codecommit:PostCommentForComparedCommit", /** * Grants permission to post a comment on a pull request * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_PostCommentForPullRequest.html */ PostCommentForPullRequest = "codecommit:PostCommentForPullRequest", /** * Grants permission to post a comment in reply to a comment on a comparison betwe * en commits or a pull request * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_PostCommentReply.html */ PostCommentReply = "codecommit:PostCommentReply", /** * Grants permission to post a reaction on a comment * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_PutCommentReaction.html */ PutCommentReaction = "codecommit:PutCommentReaction", /** * Grants permission to add or update a file in a branch in an AWS CodeCommit repo * sitory, and generate a commit for the addition in the specified branch * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_PutFile.html */ PutFile = "codecommit:PutFile", /** * Grants permission to create, update, or delete triggers for a repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_PutRepositoryTriggers.html */ PutRepositoryTriggers = "codecommit:PutRepositoryTriggers", /** * Grants permission to attach resource tags to a CodeCommit resource ARN * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_TagResource.html */ TagResource = "codecommit:TagResource", /** * Grants permission to test the functionality of repository triggers by sending i * nformation to the trigger target * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_TestRepositoryTriggers.html */ TestRepositoryTriggers = "codecommit:TestRepositoryTriggers", /** * Grants permission to disassociate resource tags from a CodeCommit resource ARN * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UntagResource.html */ UntagResource = "codecommit:UntagResource", /** * Grants permission to update the content of approval rule templates; does not gr * ant permission to update content of approval rules created specifically for pul * l requests * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdateApprovalRuleTemplateContent.html */ UpdateApprovalRuleTemplateContent = "codecommit:UpdateApprovalRuleTemplateContent", /** * Grants permission to update the description of approval rule templates * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdateApprovalRuleTemplateDescription.html */ UpdateApprovalRuleTemplateDescription = "codecommit:UpdateApprovalRuleTemplateDescription", /** * Grants permission to update the name of approval rule templates * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdateApprovalRuleTemplateName.html */ UpdateApprovalRuleTemplateName = "codecommit:UpdateApprovalRuleTemplateName", /** * Grants permission to update the contents of a comment if the identity matches t * he identity used to create the comment * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdateComment.html */ UpdateComment = "codecommit:UpdateComment", /** * Grants permission to change the default branch in an AWS CodeCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdateDefaultBranch.html */ UpdateDefaultBranch = "codecommit:UpdateDefaultBranch", /** * Grants permission to update the content for approval rules created for a specif * ic pull requests; does not grant permission to update approval rule content for * rules created with an approval rule template * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdatePullRequestApprovalRuleContent.html */ UpdatePullRequestApprovalRuleContent = "codecommit:UpdatePullRequestApprovalRuleContent", /** * Grants permission to update the approval state for pull requests * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdatePullRequestApprovalState.html */ UpdatePullRequestApprovalState = "codecommit:UpdatePullRequestApprovalState", /** * Grants permission to update the description of a pull request * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdatePullRequestDescription.html */ UpdatePullRequestDescription = "codecommit:UpdatePullRequestDescription", /** * Grants permission to update the status of a pull request * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdatePullRequestStatus.html */ UpdatePullRequestStatus = "codecommit:UpdatePullRequestStatus", /** * Grants permission to update the title of a pull request * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdatePullRequestTitle.html */ UpdatePullRequestTitle = "codecommit:UpdatePullRequestTitle", /** * Grants permission to change the description of an AWS CodeCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdateRepositoryDescription.html */ UpdateRepositoryDescription = "codecommit:UpdateRepositoryDescription", /** * Grants permission to change the AWS KMS encryption key used to encrypt and decr * ypt an AWS CodeCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdateRepositoryEncryptionKey.html */ UpdateRepositoryEncryptionKey = "codecommit:UpdateRepositoryEncryptionKey", /** * Grants permission to change the name of an AWS CodeCommit repository * * See https://docs.aws.amazon.com/codecommit/latest/APIReference/API_UpdateRepositoryName.html */ UpdateRepositoryName = "codecommit:UpdateRepositoryName", /** * Grants permission to the service role for AWS CodePipeline to upload repository * changes into a pipeline * * See https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html#aa-acp */ UploadArchive = "codecommit:UploadArchive" }