CODECOMMIT
AssociateApprovalRuleTemplateWithRepository
valid {
input.Body.approvalRuleTemplateName == STRING
input.Body.repositoryName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
BatchAssociateApprovalRuleTemplateWithRepositories
valid {
input.Body.approvalRuleTemplateName == STRING
input.Body.repositoryNames[_] == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
BatchDescribeMergeConflicts
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
enum_MergeOptionTypeEnum := [ "FAST_FORWARD_MERGE", "SQUASH_MERGE", "THREE_WAY_MERGE" ]
valid {
input.Body.repositoryName == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.mergeOption == enum_MergeOptionTypeEnum[_]
input.Body.maxMergeHunks == INTEGER
input.Body.maxConflictFiles == INTEGER
input.Body.filePaths[_] == STRING
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.Body.nextToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
BatchDisassociateApprovalRuleTemplateFromRepositories
valid {
input.Body.approvalRuleTemplateName == STRING
input.Body.repositoryNames[_] == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
BatchGetCommits
valid {
input.Body.commitIds[_] == STRING
input.Body.repositoryName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
BatchGetRepositories
valid {
input.Body.repositoryNames[_] == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreateApprovalRuleTemplate
valid {
input.Body.approvalRuleTemplateName == STRING
input.Body.approvalRuleTemplateContent == STRING
input.Body.approvalRuleTemplateDescription == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreateBranch
valid {
input.Body.repositoryName == STRING
input.Body.branchName == STRING
input.Body.commitId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreateCommit
enum_FileModeTypeEnum := [ "EXECUTABLE", "NORMAL", "SYMLINK" ]
valid {
input.Body.repositoryName == STRING
input.Body.branchName == STRING
input.Body.parentCommitId == STRING
input.Body.authorName == STRING
input.Body.email == STRING
input.Body.commitMessage == STRING
input.Body.keepEmptyFolders == BOOLEAN
input.Body.putFiles[_].filePath == STRING
input.Body.putFiles[_].fileMode == enum_FileModeTypeEnum[_]
input.Body.putFiles[_].fileContent == BLOB
input.Body.putFiles[_].sourceFile.filePath == STRING
input.Body.putFiles[_].sourceFile.isMove == BOOLEAN
input.Body.deleteFiles[_].filePath == STRING
input.Body.setFileModes[_].filePath == STRING
input.Body.setFileModes[_].fileMode == enum_FileModeTypeEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreatePullRequest
valid {
input.Body.title == STRING
input.Body.description == STRING
input.Body.targets[_].repositoryName == STRING
input.Body.targets[_].sourceReference == STRING
input.Body.targets[_].destinationReference == STRING
input.Body.clientRequestToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreatePullRequestApprovalRule
valid {
input.Body.pullRequestId == STRING
input.Body.approvalRuleName == STRING
input.Body.approvalRuleContent == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreateRepository
valid {
input.Body.repositoryName == STRING
input.Body.repositoryDescription == STRING
input.Body.tags.STRING == STRING
input.Body.kmsKeyId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreateUnreferencedMergeCommit
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
enum_FileModeTypeEnum := [ "EXECUTABLE", "NORMAL", "SYMLINK" ]
enum_MergeOptionTypeEnum := [ "FAST_FORWARD_MERGE", "SQUASH_MERGE", "THREE_WAY_MERGE" ]
enum_ReplacementTypeEnum := [ "KEEP_BASE", "KEEP_SOURCE", "KEEP_DESTINATION", "USE_NEW_CONTENT" ]
valid {
input.Body.repositoryName == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.mergeOption == enum_MergeOptionTypeEnum[_]
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.Body.authorName == STRING
input.Body.email == STRING
input.Body.commitMessage == STRING
input.Body.keepEmptyFolders == BOOLEAN
input.Body.conflictResolution.replaceContents[_].filePath == STRING
input.Body.conflictResolution.replaceContents[_].replacementType == enum_ReplacementTypeEnum[_]
input.Body.conflictResolution.replaceContents[_].content == BLOB
input.Body.conflictResolution.replaceContents[_].fileMode == enum_FileModeTypeEnum[_]
input.Body.conflictResolution.deleteFiles[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].fileMode == enum_FileModeTypeEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteApprovalRuleTemplate
valid {
input.Body.approvalRuleTemplateName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteBranch
valid {
input.Body.repositoryName == STRING
input.Body.branchName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteCommentContent
valid {
input.Body.commentId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteFile
valid {
input.Body.repositoryName == STRING
input.Body.branchName == STRING
input.Body.filePath == STRING
input.Body.parentCommitId == STRING
input.Body.keepEmptyFolders == BOOLEAN
input.Body.commitMessage == STRING
input.Body.name == STRING
input.Body.email == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeletePullRequestApprovalRule
valid {
input.Body.pullRequestId == STRING
input.Body.approvalRuleName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteRepository
valid {
input.Body.repositoryName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DescribeMergeConflicts
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
enum_MergeOptionTypeEnum := [ "FAST_FORWARD_MERGE", "SQUASH_MERGE", "THREE_WAY_MERGE" ]
valid {
input.Body.repositoryName == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.mergeOption == enum_MergeOptionTypeEnum[_]
input.Body.maxMergeHunks == INTEGER
input.Body.filePath == STRING
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.Body.nextToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DescribePullRequestEvents
enum_PullRequestEventType := [ "PULL_REQUEST_CREATED", "PULL_REQUEST_STATUS_CHANGED", "PULL_REQUEST_SOURCE_REFERENCE_UPDATED", "PULL_REQUEST_MERGE_STATE_CHANGED", "PULL_REQUEST_APPROVAL_RULE_CREATED", "PULL_REQUEST_APPROVAL_RULE_UPDATED", "PULL_REQUEST_APPROVAL_RULE_DELETED", "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN", "PULL_REQUEST_APPROVAL_STATE_CHANGED" ]
valid {
input.Body.pullRequestId == STRING
input.Body.pullRequestEventType == enum_PullRequestEventType[_]
input.Body.actorArn == STRING
input.Body.nextToken == STRING
input.Body.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DisassociateApprovalRuleTemplateFromRepository
valid {
input.Body.approvalRuleTemplateName == STRING
input.Body.repositoryName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
EvaluatePullRequestApprovalRules
valid {
input.Body.pullRequestId == STRING
input.Body.revisionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetApprovalRuleTemplate
valid {
input.Body.approvalRuleTemplateName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetBlob
valid {
input.Body.repositoryName == STRING
input.Body.blobId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetBranch
valid {
input.Body.repositoryName == STRING
input.Body.branchName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetComment
valid {
input.Body.commentId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetCommentReactions
valid {
input.Body.commentId == STRING
input.Body.reactionUserArn == STRING
input.Body.nextToken == STRING
input.Body.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetCommentsForComparedCommit
valid {
input.Body.repositoryName == STRING
input.Body.beforeCommitId == STRING
input.Body.afterCommitId == STRING
input.Body.nextToken == STRING
input.Body.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetCommentsForPullRequest
valid {
input.Body.pullRequestId == STRING
input.Body.repositoryName == STRING
input.Body.beforeCommitId == STRING
input.Body.afterCommitId == STRING
input.Body.nextToken == STRING
input.Body.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetCommit
valid {
input.Body.repositoryName == STRING
input.Body.commitId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetDifferences
valid {
input.Body.repositoryName == STRING
input.Body.beforeCommitSpecifier == STRING
input.Body.afterCommitSpecifier == STRING
input.Body.beforePath == STRING
input.Body.afterPath == STRING
input.Body.MaxResults == INTEGER
input.Body.NextToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetFile
valid {
input.Body.repositoryName == STRING
input.Body.commitSpecifier == STRING
input.Body.filePath == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetFolder
valid {
input.Body.repositoryName == STRING
input.Body.commitSpecifier == STRING
input.Body.folderPath == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetMergeCommit
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
valid {
input.Body.repositoryName == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetMergeConflicts
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
enum_MergeOptionTypeEnum := [ "FAST_FORWARD_MERGE", "SQUASH_MERGE", "THREE_WAY_MERGE" ]
valid {
input.Body.repositoryName == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.mergeOption == enum_MergeOptionTypeEnum[_]
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.maxConflictFiles == INTEGER
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.Body.nextToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetMergeOptions
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
valid {
input.Body.repositoryName == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetPullRequest
valid {
input.Body.pullRequestId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetPullRequestApprovalStates
valid {
input.Body.pullRequestId == STRING
input.Body.revisionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetPullRequestOverrideState
valid {
input.Body.pullRequestId == STRING
input.Body.revisionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetRepository
valid {
input.Body.repositoryName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetRepositoryTriggers
valid {
input.Body.repositoryName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListApprovalRuleTemplates
valid {
input.Body.nextToken == STRING
input.Body.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListAssociatedApprovalRuleTemplatesForRepository
valid {
input.Body.repositoryName == STRING
input.Body.nextToken == STRING
input.Body.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListBranches
valid {
input.Body.repositoryName == STRING
input.Body.nextToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListFileCommitHistory
valid {
input.Body.repositoryName == STRING
input.Body.commitSpecifier == STRING
input.Body.filePath == STRING
input.Body.maxResults == INTEGER
input.Body.nextToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListPullRequests
enum_PullRequestStatusEnum := [ "OPEN", "CLOSED" ]
valid {
input.Body.repositoryName == STRING
input.Body.authorArn == STRING
input.Body.pullRequestStatus == enum_PullRequestStatusEnum[_]
input.Body.nextToken == STRING
input.Body.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListRepositories
enum_OrderEnum := [ "ascending", "descending" ]
enum_SortByEnum := [ "repositoryName", "lastModifiedDate" ]
valid {
input.Body.nextToken == STRING
input.Body.sortBy == enum_SortByEnum[_]
input.Body.order == enum_OrderEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListRepositoriesForApprovalRuleTemplate
valid {
input.Body.approvalRuleTemplateName == STRING
input.Body.nextToken == STRING
input.Body.maxResults == INTEGER
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListTagsForResource
valid {
input.Body.resourceArn == STRING
input.Body.nextToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
MergeBranchesByFastForward
valid {
input.Body.repositoryName == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.targetBranch == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
MergeBranchesBySquash
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
enum_FileModeTypeEnum := [ "EXECUTABLE", "NORMAL", "SYMLINK" ]
enum_ReplacementTypeEnum := [ "KEEP_BASE", "KEEP_SOURCE", "KEEP_DESTINATION", "USE_NEW_CONTENT" ]
valid {
input.Body.repositoryName == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.targetBranch == STRING
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.Body.authorName == STRING
input.Body.email == STRING
input.Body.commitMessage == STRING
input.Body.keepEmptyFolders == BOOLEAN
input.Body.conflictResolution.replaceContents[_].filePath == STRING
input.Body.conflictResolution.replaceContents[_].replacementType == enum_ReplacementTypeEnum[_]
input.Body.conflictResolution.replaceContents[_].content == BLOB
input.Body.conflictResolution.replaceContents[_].fileMode == enum_FileModeTypeEnum[_]
input.Body.conflictResolution.deleteFiles[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].fileMode == enum_FileModeTypeEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
MergeBranchesByThreeWay
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
enum_FileModeTypeEnum := [ "EXECUTABLE", "NORMAL", "SYMLINK" ]
enum_ReplacementTypeEnum := [ "KEEP_BASE", "KEEP_SOURCE", "KEEP_DESTINATION", "USE_NEW_CONTENT" ]
valid {
input.Body.repositoryName == STRING
input.Body.sourceCommitSpecifier == STRING
input.Body.destinationCommitSpecifier == STRING
input.Body.targetBranch == STRING
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.Body.authorName == STRING
input.Body.email == STRING
input.Body.commitMessage == STRING
input.Body.keepEmptyFolders == BOOLEAN
input.Body.conflictResolution.replaceContents[_].filePath == STRING
input.Body.conflictResolution.replaceContents[_].replacementType == enum_ReplacementTypeEnum[_]
input.Body.conflictResolution.replaceContents[_].content == BLOB
input.Body.conflictResolution.replaceContents[_].fileMode == enum_FileModeTypeEnum[_]
input.Body.conflictResolution.deleteFiles[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].fileMode == enum_FileModeTypeEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
MergePullRequestByFastForward
valid {
input.Body.pullRequestId == STRING
input.Body.repositoryName == STRING
input.Body.sourceCommitId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
MergePullRequestBySquash
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
enum_FileModeTypeEnum := [ "EXECUTABLE", "NORMAL", "SYMLINK" ]
enum_ReplacementTypeEnum := [ "KEEP_BASE", "KEEP_SOURCE", "KEEP_DESTINATION", "USE_NEW_CONTENT" ]
valid {
input.Body.pullRequestId == STRING
input.Body.repositoryName == STRING
input.Body.sourceCommitId == STRING
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.Body.commitMessage == STRING
input.Body.authorName == STRING
input.Body.email == STRING
input.Body.keepEmptyFolders == BOOLEAN
input.Body.conflictResolution.replaceContents[_].filePath == STRING
input.Body.conflictResolution.replaceContents[_].replacementType == enum_ReplacementTypeEnum[_]
input.Body.conflictResolution.replaceContents[_].content == BLOB
input.Body.conflictResolution.replaceContents[_].fileMode == enum_FileModeTypeEnum[_]
input.Body.conflictResolution.deleteFiles[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].fileMode == enum_FileModeTypeEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
MergePullRequestByThreeWay
enum_ConflictDetailLevelTypeEnum := [ "FILE_LEVEL", "LINE_LEVEL" ]
enum_ConflictResolutionStrategyTypeEnum := [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ]
enum_FileModeTypeEnum := [ "EXECUTABLE", "NORMAL", "SYMLINK" ]
enum_ReplacementTypeEnum := [ "KEEP_BASE", "KEEP_SOURCE", "KEEP_DESTINATION", "USE_NEW_CONTENT" ]
valid {
input.Body.pullRequestId == STRING
input.Body.repositoryName == STRING
input.Body.sourceCommitId == STRING
input.Body.conflictDetailLevel == enum_ConflictDetailLevelTypeEnum[_]
input.Body.conflictResolutionStrategy == enum_ConflictResolutionStrategyTypeEnum[_]
input.Body.commitMessage == STRING
input.Body.authorName == STRING
input.Body.email == STRING
input.Body.keepEmptyFolders == BOOLEAN
input.Body.conflictResolution.replaceContents[_].filePath == STRING
input.Body.conflictResolution.replaceContents[_].replacementType == enum_ReplacementTypeEnum[_]
input.Body.conflictResolution.replaceContents[_].content == BLOB
input.Body.conflictResolution.replaceContents[_].fileMode == enum_FileModeTypeEnum[_]
input.Body.conflictResolution.deleteFiles[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].filePath == STRING
input.Body.conflictResolution.setFileModes[_].fileMode == enum_FileModeTypeEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
OverridePullRequestApprovalRules
enum_OverrideStatus := [ "OVERRIDE", "REVOKE" ]
valid {
input.Body.pullRequestId == STRING
input.Body.revisionId == STRING
input.Body.overrideStatus == enum_OverrideStatus[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PostCommentForComparedCommit
enum_RelativeFileVersionEnum := [ "BEFORE", "AFTER" ]
valid {
input.Body.repositoryName == STRING
input.Body.beforeCommitId == STRING
input.Body.afterCommitId == STRING
input.Body.location.filePath == STRING
input.Body.location.filePosition == LONG
input.Body.location.relativeFileVersion == enum_RelativeFileVersionEnum[_]
input.Body.content == STRING
input.Body.clientRequestToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PostCommentForPullRequest
enum_RelativeFileVersionEnum := [ "BEFORE", "AFTER" ]
valid {
input.Body.pullRequestId == STRING
input.Body.repositoryName == STRING
input.Body.beforeCommitId == STRING
input.Body.afterCommitId == STRING
input.Body.location.filePath == STRING
input.Body.location.filePosition == LONG
input.Body.location.relativeFileVersion == enum_RelativeFileVersionEnum[_]
input.Body.content == STRING
input.Body.clientRequestToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PostCommentReply
valid {
input.Body.inReplyTo == STRING
input.Body.clientRequestToken == STRING
input.Body.content == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PutCommentReaction
valid {
input.Body.commentId == STRING
input.Body.reactionValue == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PutFile
enum_FileModeTypeEnum := [ "EXECUTABLE", "NORMAL", "SYMLINK" ]
valid {
input.Body.repositoryName == STRING
input.Body.branchName == STRING
input.Body.fileContent == BLOB
input.Body.filePath == STRING
input.Body.fileMode == enum_FileModeTypeEnum[_]
input.Body.parentCommitId == STRING
input.Body.commitMessage == STRING
input.Body.name == STRING
input.Body.email == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PutRepositoryTriggers
enum_RepositoryTriggerEventEnum := [ "all", "updateReference", "createReference", "deleteReference" ]
valid {
input.Body.repositoryName == STRING
input.Body.triggers[_].name == STRING
input.Body.triggers[_].destinationArn == STRING
input.Body.triggers[_].customData == STRING
input.Body.triggers[_].branches[_] == STRING
input.Body.triggers[_].events[_] == enum_RepositoryTriggerEventEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
TagResource
valid {
input.Body.resourceArn == STRING
input.Body.tags.STRING == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
TestRepositoryTriggers
enum_RepositoryTriggerEventEnum := [ "all", "updateReference", "createReference", "deleteReference" ]
valid {
input.Body.repositoryName == STRING
input.Body.triggers[_].name == STRING
input.Body.triggers[_].destinationArn == STRING
input.Body.triggers[_].customData == STRING
input.Body.triggers[_].branches[_] == STRING
input.Body.triggers[_].events[_] == enum_RepositoryTriggerEventEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UntagResource
valid {
input.Body.resourceArn == STRING
input.Body.tagKeys[_] == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateApprovalRuleTemplateContent
valid {
input.Body.approvalRuleTemplateName == STRING
input.Body.newRuleContent == STRING
input.Body.existingRuleContentSha256 == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateApprovalRuleTemplateDescription
valid {
input.Body.approvalRuleTemplateName == STRING
input.Body.approvalRuleTemplateDescription == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateApprovalRuleTemplateName
valid {
input.Body.oldApprovalRuleTemplateName == STRING
input.Body.newApprovalRuleTemplateName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateComment
valid {
input.Body.commentId == STRING
input.Body.content == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateDefaultBranch
valid {
input.Body.repositoryName == STRING
input.Body.defaultBranchName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdatePullRequestApprovalRuleContent
valid {
input.Body.pullRequestId == STRING
input.Body.approvalRuleName == STRING
input.Body.existingRuleContentSha256 == STRING
input.Body.newRuleContent == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdatePullRequestApprovalState
enum_ApprovalState := [ "APPROVE", "REVOKE" ]
valid {
input.Body.pullRequestId == STRING
input.Body.revisionId == STRING
input.Body.approvalState == enum_ApprovalState[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdatePullRequestDescription
valid {
input.Body.pullRequestId == STRING
input.Body.description == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdatePullRequestStatus
enum_PullRequestStatusEnum := [ "OPEN", "CLOSED" ]
valid {
input.Body.pullRequestId == STRING
input.Body.pullRequestStatus == enum_PullRequestStatusEnum[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdatePullRequestTitle
valid {
input.Body.pullRequestId == STRING
input.Body.title == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateRepositoryDescription
valid {
input.Body.repositoryName == STRING
input.Body.repositoryDescription == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateRepositoryEncryptionKey
valid {
input.Body.repositoryName == STRING
input.Body.kmsKeyId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateRepositoryName
valid {
input.Body.oldName == STRING
input.Body.newName == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
Updated 5 days ago