libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeCommit.Lens

Contents

Description

 
Synopsis

Operations

MergePullRequestByFastForward

mergePullRequestByFastForward_sourceCommitId :: Lens' MergePullRequestByFastForward (Maybe Text) Source #

The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.

mergePullRequestByFastForward_pullRequestId :: Lens' MergePullRequestByFastForward Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

mergePullRequestByFastForward_repositoryName :: Lens' MergePullRequestByFastForward Text Source #

The name of the repository where the pull request was created.

mergePullRequestByFastForwardResponse_pullRequest :: Lens' MergePullRequestByFastForwardResponse (Maybe PullRequest) Source #

Information about the specified pull request, including the merge.

UpdateRepositoryName

updateRepositoryName_oldName :: Lens' UpdateRepositoryName Text Source #

The current name of the repository.

PostCommentForPullRequest

postCommentForPullRequest_location :: Lens' PostCommentForPullRequest (Maybe Location) Source #

The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID.

postCommentForPullRequest_clientRequestToken :: Lens' PostCommentForPullRequest (Maybe Text) Source #

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

postCommentForPullRequest_pullRequestId :: Lens' PostCommentForPullRequest Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

postCommentForPullRequest_repositoryName :: Lens' PostCommentForPullRequest Text Source #

The name of the repository where you want to post a comment on a pull request.

postCommentForPullRequest_beforeCommitId :: Lens' PostCommentForPullRequest Text Source #

The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.

postCommentForPullRequest_afterCommitId :: Lens' PostCommentForPullRequest Text Source #

The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.

postCommentForPullRequest_content :: Lens' PostCommentForPullRequest Text Source #

The content of your comment on the change.

postCommentForPullRequestResponse_beforeBlobId :: Lens' PostCommentForPullRequestResponse (Maybe Text) Source #

In the directionality of the pull request, the blob ID of the before blob.

postCommentForPullRequestResponse_location :: Lens' PostCommentForPullRequestResponse (Maybe Location) Source #

The location of the change where you posted your comment.

postCommentForPullRequestResponse_afterCommitId :: Lens' PostCommentForPullRequestResponse (Maybe Text) Source #

The full commit ID of the commit in the destination branch where the pull request is merged.

postCommentForPullRequestResponse_afterBlobId :: Lens' PostCommentForPullRequestResponse (Maybe Text) Source #

In the directionality of the pull request, the blob ID of the after blob.

postCommentForPullRequestResponse_beforeCommitId :: Lens' PostCommentForPullRequestResponse (Maybe Text) Source #

The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.

postCommentForPullRequestResponse_repositoryName :: Lens' PostCommentForPullRequestResponse (Maybe Text) Source #

The name of the repository where you posted a comment on a pull request.

MergeBranchesBySquash

mergeBranchesBySquash_email :: Lens' MergeBranchesBySquash (Maybe Text) Source #

The email address of the person merging the branches. This information is used in the commit information for the merge.

mergeBranchesBySquash_authorName :: Lens' MergeBranchesBySquash (Maybe Text) Source #

The name of the author who created the commit. This information is used as both the author and committer for the commit.

mergeBranchesBySquash_conflictDetailLevel :: Lens' MergeBranchesBySquash (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

mergeBranchesBySquash_conflictResolution :: Lens' MergeBranchesBySquash (Maybe ConflictResolution) Source #

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

mergeBranchesBySquash_conflictResolutionStrategy :: Lens' MergeBranchesBySquash (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

mergeBranchesBySquash_keepEmptyFolders :: Lens' MergeBranchesBySquash (Maybe Bool) Source #

If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false.

mergeBranchesBySquash_repositoryName :: Lens' MergeBranchesBySquash Text Source #

The name of the repository where you want to merge two branches.

mergeBranchesBySquash_sourceCommitSpecifier :: Lens' MergeBranchesBySquash Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

mergeBranchesBySquash_destinationCommitSpecifier :: Lens' MergeBranchesBySquash Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

mergeBranchesBySquashResponse_commitId :: Lens' MergeBranchesBySquashResponse (Maybe Text) Source #

The commit ID of the merge in the destination or target branch.

mergeBranchesBySquashResponse_treeId :: Lens' MergeBranchesBySquashResponse (Maybe Text) Source #

The tree ID of the merge in the destination or target branch.

GetCommit

getCommit_repositoryName :: Lens' GetCommit Text Source #

The name of the repository to which the commit was made.

getCommit_commitId :: Lens' GetCommit Text Source #

The commit ID. Commit IDs are the full SHA ID of the commit.

getCommitResponse_httpStatus :: Lens' GetCommitResponse Int Source #

The response's http status code.

getCommitResponse_commit :: Lens' GetCommitResponse Commit Source #

A commit data type object that contains information about the specified commit.

BatchAssociateApprovalRuleTemplateWithRepositories

batchAssociateApprovalRuleTemplateWithRepositories_repositoryNames :: Lens' BatchAssociateApprovalRuleTemplateWithRepositories [Text] Source #

The names of the repositories you want to associate with the template.

The length constraint limit is for each string in the array. The array itself can be empty.

batchAssociateApprovalRuleTemplateWithRepositoriesResponse_errors :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesResponse [BatchAssociateApprovalRuleTemplateWithRepositoriesError] Source #

A list of any errors that might have occurred while attempting to create the association between the template and the repositories.

GetCommentReactions

getCommentReactions_nextToken :: Lens' GetCommentReactions (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

getCommentReactions_reactionUserArn :: Lens' GetCommentReactions (Maybe Text) Source #

Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.

getCommentReactions_maxResults :: Lens' GetCommentReactions (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.

getCommentReactions_commentId :: Lens' GetCommentReactions Text Source #

The ID of the comment for which you want to get reactions information.

getCommentReactionsResponse_nextToken :: Lens' GetCommentReactionsResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.

GetApprovalRuleTemplate

getApprovalRuleTemplate_approvalRuleTemplateName :: Lens' GetApprovalRuleTemplate Text Source #

The name of the approval rule template for which you want to get information.

DisassociateApprovalRuleTemplateFromRepository

disassociateApprovalRuleTemplateFromRepository_approvalRuleTemplateName :: Lens' DisassociateApprovalRuleTemplateFromRepository Text Source #

The name of the approval rule template to disassociate from a specified repository.

GetBranch

getBranch_branchName :: Lens' GetBranch (Maybe Text) Source #

The name of the branch for which you want to retrieve information.

getBranch_repositoryName :: Lens' GetBranch (Maybe Text) Source #

The name of the repository that contains the branch for which you want to retrieve information.

getBranchResponse_httpStatus :: Lens' GetBranchResponse Int Source #

The response's http status code.

GetDifferences

getDifferences_afterPath :: Lens' GetDifferences (Maybe Text) Source #

The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths.

getDifferences_nextToken :: Lens' GetDifferences (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

getDifferences_beforeCommitSpecifier :: Lens' GetDifferences (Maybe Text) Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the afterCommitSpecifier value are shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults.

getDifferences_beforePath :: Lens' GetDifferences (Maybe Text) Source #

The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences are shown for all paths.

getDifferences_maxResults :: Lens' GetDifferences (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results.

getDifferences_repositoryName :: Lens' GetDifferences Text Source #

The name of the repository where you want to get differences.

getDifferences_afterCommitSpecifier :: Lens' GetDifferences Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit.

getDifferencesResponse_nextToken :: Lens' GetDifferencesResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.

getDifferencesResponse_differences :: Lens' GetDifferencesResponse (Maybe [Difference]) Source #

A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).

ListTagsForResource

listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.

listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text) Source #

An enumeration token that allows the operation to batch the next results of the operation.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) Source #

A list of tag key and value pairs associated with the specified resource.

GetPullRequest

getPullRequest_pullRequestId :: Lens' GetPullRequest Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

getPullRequestResponse_pullRequest :: Lens' GetPullRequestResponse PullRequest Source #

Information about the specified pull request.

OverridePullRequestApprovalRules

overridePullRequestApprovalRules_pullRequestId :: Lens' OverridePullRequestApprovalRules Text Source #

The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.

overridePullRequestApprovalRules_revisionId :: Lens' OverridePullRequestApprovalRules Text Source #

The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.

overridePullRequestApprovalRules_overrideStatus :: Lens' OverridePullRequestApprovalRules OverrideStatus Source #

Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.

ListPullRequests

listPullRequests_authorArn :: Lens' ListPullRequests (Maybe Text) Source #

Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.

listPullRequests_nextToken :: Lens' ListPullRequests (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

listPullRequests_pullRequestStatus :: Lens' ListPullRequests (Maybe PullRequestStatusEnum) Source #

Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.

listPullRequests_maxResults :: Lens' ListPullRequests (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results.

listPullRequests_repositoryName :: Lens' ListPullRequests Text Source #

The name of the repository for which you want to list pull requests.

listPullRequestsResponse_nextToken :: Lens' ListPullRequestsResponse (Maybe Text) Source #

An enumeration token that allows the operation to batch the next results of the operation.

listPullRequestsResponse_pullRequestIds :: Lens' ListPullRequestsResponse [Text] Source #

The system-generated IDs of the pull requests.

CreateCommit

createCommit_setFileModes :: Lens' CreateCommit (Maybe [SetFileModeEntry]) Source #

The file modes to update for files in this commit.

createCommit_email :: Lens' CreateCommit (Maybe Text) Source #

The email address of the person who created the commit.

createCommit_authorName :: Lens' CreateCommit (Maybe Text) Source #

The name of the author who created the commit. This information is used as both the author and committer for the commit.

createCommit_parentCommitId :: Lens' CreateCommit (Maybe Text) Source #

The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.

createCommit_deleteFiles :: Lens' CreateCommit (Maybe [DeleteFileEntry]) Source #

The files to delete in this commit. These files still exist in earlier commits.

createCommit_putFiles :: Lens' CreateCommit (Maybe [PutFileEntry]) Source #

The files to add or update in this commit.

createCommit_commitMessage :: Lens' CreateCommit (Maybe Text) Source #

The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used.

createCommit_keepEmptyFolders :: Lens' CreateCommit (Maybe Bool) Source #

If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a ..gitkeep file is created for empty folders. The default is false.

createCommit_repositoryName :: Lens' CreateCommit Text Source #

The name of the repository where you create the commit.

createCommit_branchName :: Lens' CreateCommit Text Source #

The name of the branch where you create the commit.

createCommitResponse_commitId :: Lens' CreateCommitResponse (Maybe Text) Source #

The full commit ID of the commit that contains your committed file changes.

createCommitResponse_treeId :: Lens' CreateCommitResponse (Maybe Text) Source #

The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.

createCommitResponse_filesAdded :: Lens' CreateCommitResponse (Maybe [FileMetadata]) Source #

The files added as part of the committed file changes.

createCommitResponse_filesUpdated :: Lens' CreateCommitResponse (Maybe [FileMetadata]) Source #

The files updated as part of the commited file changes.

createCommitResponse_filesDeleted :: Lens' CreateCommitResponse (Maybe [FileMetadata]) Source #

The files deleted as part of the committed file changes.

UpdatePullRequestApprovalState

updatePullRequestApprovalState_approvalState :: Lens' UpdatePullRequestApprovalState ApprovalState Source #

The approval state to associate with the user on the pull request.

EvaluatePullRequestApprovalRules

evaluatePullRequestApprovalRules_pullRequestId :: Lens' EvaluatePullRequestApprovalRules Text Source #

The system-generated ID of the pull request you want to evaluate.

evaluatePullRequestApprovalRules_revisionId :: Lens' EvaluatePullRequestApprovalRules Text Source #

The system-generated ID for the pull request revision. To retrieve the most recent revision ID for a pull request, use GetPullRequest.

evaluatePullRequestApprovalRulesResponse_evaluation :: Lens' EvaluatePullRequestApprovalRulesResponse Evaluation Source #

The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override.

GetComment

getComment_commentId :: Lens' GetComment Text Source #

The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

CreateApprovalRuleTemplate

createApprovalRuleTemplate_approvalRuleTemplateDescription :: Lens' CreateApprovalRuleTemplate (Maybe Text) Source #

The description of the approval rule template. Consider providing a description that explains what this template does and when it might be appropriate to associate it with repositories.

createApprovalRuleTemplate_approvalRuleTemplateName :: Lens' CreateApprovalRuleTemplate Text Source #

The name of the approval rule template. Provide descriptive names, because this name is applied to the approval rules created automatically in associated repositories.

createApprovalRuleTemplate_approvalRuleTemplateContent :: Lens' CreateApprovalRuleTemplate Text Source #

The content of the approval rule that is created on pull requests in associated repositories. If you specify one or more destination references (branches), approval rules are created in an associated repository only if their destination references (branches) match those specified in the template.

When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways:

  • CodeCommitApprovers: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user:

    • An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
    • A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)

    This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major).

  • Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role.

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

DeleteBranch

deleteBranch_repositoryName :: Lens' DeleteBranch Text Source #

The name of the repository that contains the branch to be deleted.

deleteBranch_branchName :: Lens' DeleteBranch Text Source #

The name of the branch to delete.

deleteBranchResponse_deletedBranch :: Lens' DeleteBranchResponse (Maybe BranchInfo) Source #

Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch.

UpdateRepositoryDescription

updateRepositoryDescription_repositoryDescription :: Lens' UpdateRepositoryDescription (Maybe Text) Source #

The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

updateRepositoryDescription_repositoryName :: Lens' UpdateRepositoryDescription Text Source #

The name of the repository to set or change the comment or description for.

CreateBranch

createBranch_repositoryName :: Lens' CreateBranch Text Source #

The name of the repository in which you want to create the new branch.

createBranch_branchName :: Lens' CreateBranch Text Source #

The name of the new branch to create.

createBranch_commitId :: Lens' CreateBranch Text Source #

The ID of the commit to point the new branch to.

GetFolder

getFolder_commitSpecifier :: Lens' GetFolder (Maybe Text) Source #

A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit.

getFolder_repositoryName :: Lens' GetFolder Text Source #

The name of the repository.

getFolder_folderPath :: Lens' GetFolder Text Source #

The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.

getFolderResponse_subModules :: Lens' GetFolderResponse (Maybe [SubModule]) Source #

The list of submodules in the specified folder, if any.

getFolderResponse_treeId :: Lens' GetFolderResponse (Maybe Text) Source #

The full SHA-1 pointer of the tree information for the commit that contains the folder.

getFolderResponse_subFolders :: Lens' GetFolderResponse (Maybe [Folder]) Source #

The list of folders that exist under the specified folder, if any.

getFolderResponse_symbolicLinks :: Lens' GetFolderResponse (Maybe [SymbolicLink]) Source #

The list of symbolic links to other files and folders in the specified folder, if any.

getFolderResponse_files :: Lens' GetFolderResponse (Maybe [File]) Source #

The list of files in the specified folder, if any.

getFolderResponse_httpStatus :: Lens' GetFolderResponse Int Source #

The response's http status code.

getFolderResponse_commitId :: Lens' GetFolderResponse Text Source #

The full commit ID used as a reference for the returned version of the folder content.

getFolderResponse_folderPath :: Lens' GetFolderResponse Text Source #

The fully qualified path of the folder whose contents are returned.

CreatePullRequest

createPullRequest_clientRequestToken :: Lens' CreatePullRequest (Maybe Text) Source #

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.

createPullRequest_description :: Lens' CreatePullRequest (Maybe Text) Source #

A description of the pull request.

createPullRequest_title :: Lens' CreatePullRequest Text Source #

The title of the pull request. This title is used to identify the pull request to other users in the repository.

createPullRequest_targets :: Lens' CreatePullRequest [Target] Source #

The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).

createPullRequestResponse_pullRequest :: Lens' CreatePullRequestResponse PullRequest Source #

Information about the newly created pull request.

DeleteApprovalRuleTemplate

deleteApprovalRuleTemplateResponse_approvalRuleTemplateId :: Lens' DeleteApprovalRuleTemplateResponse Text Source #

The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.

ListBranches

listBranches_nextToken :: Lens' ListBranches (Maybe Text) Source #

An enumeration token that allows the operation to batch the results.

listBranches_repositoryName :: Lens' ListBranches Text Source #

The name of the repository that contains the branches.

listBranchesResponse_nextToken :: Lens' ListBranchesResponse (Maybe Text) Source #

An enumeration token that returns the batch of the results.

BatchGetCommits

batchGetCommits_commitIds :: Lens' BatchGetCommits [Text] Source #

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

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

batchGetCommits_repositoryName :: Lens' BatchGetCommits Text Source #

The name of the repository that contains the commits.

batchGetCommitsResponse_commits :: Lens' BatchGetCommitsResponse (Maybe [Commit]) Source #

An array of commit data type objects, each of which contains information about a specified commit.

batchGetCommitsResponse_errors :: Lens' BatchGetCommitsResponse (Maybe [BatchGetCommitsError]) Source #

Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.

PutCommentReaction

putCommentReaction_commentId :: Lens' PutCommentReaction Text Source #

The ID of the comment to which you want to add or update a reaction.

putCommentReaction_reactionValue :: Lens' PutCommentReaction Text Source #

The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none. For information about emoji reaction values supported in AWS CodeCommit, see the AWS CodeCommit User Guide.

UpdatePullRequestDescription

updatePullRequestDescription_pullRequestId :: Lens' UpdatePullRequestDescription Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

updatePullRequestDescription_description :: Lens' UpdatePullRequestDescription Text Source #

The updated content of the description for the pull request. This content replaces the existing description.

ListRepositories

listRepositories_nextToken :: Lens' ListRepositories (Maybe Text) Source #

An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.

listRepositories_order :: Lens' ListRepositories (Maybe OrderEnum) Source #

The order in which to sort the results of a list repositories operation.

listRepositories_sortBy :: Lens' ListRepositories (Maybe SortByEnum) Source #

The criteria used to sort the results of a list repositories operation.

listRepositoriesResponse_repositories :: Lens' ListRepositoriesResponse (Maybe [RepositoryNameIdPair]) Source #

Lists the repositories called by the list repositories operation.

listRepositoriesResponse_nextToken :: Lens' ListRepositoriesResponse (Maybe Text) Source #

An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.

CreateRepository

createRepository_repositoryDescription :: Lens' CreateRepository (Maybe Text) Source #

A comment or description about the new 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.

createRepository_tags :: Lens' CreateRepository (Maybe (HashMap Text Text)) Source #

One or more tag key-value pairs to use when tagging this repository.

createRepository_repositoryName :: Lens' CreateRepository Text Source #

The name of the new repository to be created.

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. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix .git is prohibited.

UpdateDefaultBranch

updateDefaultBranch_repositoryName :: Lens' UpdateDefaultBranch Text Source #

The name of the repository to set or change the default branch for.

updateDefaultBranch_defaultBranchName :: Lens' UpdateDefaultBranch Text Source #

The name of the branch to set as the default.

GetMergeOptions

getMergeOptions_conflictDetailLevel :: Lens' GetMergeOptions (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

getMergeOptions_conflictResolutionStrategy :: Lens' GetMergeOptions (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

getMergeOptions_repositoryName :: Lens' GetMergeOptions Text Source #

The name of the repository that contains the commits about which you want to get merge options.

getMergeOptions_sourceCommitSpecifier :: Lens' GetMergeOptions Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

getMergeOptions_destinationCommitSpecifier :: Lens' GetMergeOptions Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

getMergeOptionsResponse_mergeOptions :: Lens' GetMergeOptionsResponse [MergeOptionTypeEnum] Source #

The merge option or strategy used to merge the code.

getMergeOptionsResponse_sourceCommitId :: Lens' GetMergeOptionsResponse Text Source #

The commit ID of the source commit specifier that was used in the merge evaluation.

getMergeOptionsResponse_destinationCommitId :: Lens' GetMergeOptionsResponse Text Source #

The commit ID of the destination commit specifier that was used in the merge evaluation.

CreatePullRequestApprovalRule

createPullRequestApprovalRule_pullRequestId :: Lens' CreatePullRequestApprovalRule Text Source #

The system-generated ID of the pull request for which you want to create the approval rule.

createPullRequestApprovalRule_approvalRuleContent :: Lens' CreatePullRequestApprovalRule Text Source #

The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information about approval pools, see the AWS CodeCommit User Guide.

When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways:

  • CodeCommitApprovers: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account 123456789012 and Mary_Major, all of the following would be counted as approvals coming from that user:

    • An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
    • A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)

    This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major).

  • Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role.

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

PostCommentReply

postCommentReply_clientRequestToken :: Lens' PostCommentReply (Maybe Text) Source #

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

postCommentReply_inReplyTo :: Lens' PostCommentReply Text Source #

The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

postCommentReply_content :: Lens' PostCommentReply Text Source #

The contents of your reply to a comment.

UpdateApprovalRuleTemplateContent

updateApprovalRuleTemplateContent_existingRuleContentSha256 :: Lens' UpdateApprovalRuleTemplateContent (Maybe Text) Source #

The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.

updateApprovalRuleTemplateContent_approvalRuleTemplateName :: Lens' UpdateApprovalRuleTemplateContent Text Source #

The name of the approval rule template where you want to update the content of the rule.

updateApprovalRuleTemplateContent_newRuleContent :: Lens' UpdateApprovalRuleTemplateContent Text Source #

The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.

CreateUnreferencedMergeCommit

createUnreferencedMergeCommit_email :: Lens' CreateUnreferencedMergeCommit (Maybe Text) Source #

The email address for the person who created the unreferenced commit.

createUnreferencedMergeCommit_authorName :: Lens' CreateUnreferencedMergeCommit (Maybe Text) Source #

The name of the author who created the unreferenced commit. This information is used as both the author and committer for the commit.

createUnreferencedMergeCommit_conflictDetailLevel :: Lens' CreateUnreferencedMergeCommit (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

createUnreferencedMergeCommit_conflictResolution :: Lens' CreateUnreferencedMergeCommit (Maybe ConflictResolution) Source #

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

createUnreferencedMergeCommit_conflictResolutionStrategy :: Lens' CreateUnreferencedMergeCommit (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

createUnreferencedMergeCommit_keepEmptyFolders :: Lens' CreateUnreferencedMergeCommit (Maybe Bool) Source #

If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false.

createUnreferencedMergeCommit_repositoryName :: Lens' CreateUnreferencedMergeCommit Text Source #

The name of the repository where you want to create the unreferenced merge commit.

createUnreferencedMergeCommit_sourceCommitSpecifier :: Lens' CreateUnreferencedMergeCommit Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

createUnreferencedMergeCommit_destinationCommitSpecifier :: Lens' CreateUnreferencedMergeCommit Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

createUnreferencedMergeCommit_mergeOption :: Lens' CreateUnreferencedMergeCommit MergeOptionTypeEnum Source #

The merge option or strategy you want to use to merge the code.

createUnreferencedMergeCommitResponse_commitId :: Lens' CreateUnreferencedMergeCommitResponse (Maybe Text) Source #

The full commit ID of the commit that contains your merge results.

createUnreferencedMergeCommitResponse_treeId :: Lens' CreateUnreferencedMergeCommitResponse (Maybe Text) Source #

The full SHA-1 pointer of the tree information for the commit that contains the merge results.

ListRepositoriesForApprovalRuleTemplate

listRepositoriesForApprovalRuleTemplate_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

listRepositoriesForApprovalRuleTemplate_maxResults :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results.

listRepositoriesForApprovalRuleTemplate_approvalRuleTemplateName :: Lens' ListRepositoriesForApprovalRuleTemplate Text Source #

The name of the approval rule template for which you want to list repositories that are associated with that template.

listRepositoriesForApprovalRuleTemplateResponse_repositoryNames :: Lens' ListRepositoriesForApprovalRuleTemplateResponse (Maybe [Text]) Source #

A list of repository names that are associated with the specified approval rule template.

listRepositoriesForApprovalRuleTemplateResponse_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplateResponse (Maybe Text) Source #

An enumeration token that allows the operation to batch the next results of the operation.

GetRepository

getRepository_repositoryName :: Lens' GetRepository Text Source #

The name of the repository to get information about.

BatchDescribeMergeConflicts

batchDescribeMergeConflicts_filePaths :: Lens' BatchDescribeMergeConflicts (Maybe [Text]) Source #

The path of the target files used to describe the conflicts. If not specified, the default is all conflict files.

batchDescribeMergeConflicts_conflictDetailLevel :: Lens' BatchDescribeMergeConflicts (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

batchDescribeMergeConflicts_nextToken :: Lens' BatchDescribeMergeConflicts (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

batchDescribeMergeConflicts_maxConflictFiles :: Lens' BatchDescribeMergeConflicts (Maybe Int) Source #

The maximum number of files to include in the output.

batchDescribeMergeConflicts_maxMergeHunks :: Lens' BatchDescribeMergeConflicts (Maybe Int) Source #

The maximum number of merge hunks to include in the output.

batchDescribeMergeConflicts_conflictResolutionStrategy :: Lens' BatchDescribeMergeConflicts (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

batchDescribeMergeConflicts_repositoryName :: Lens' BatchDescribeMergeConflicts Text Source #

The name of the repository that contains the merge conflicts you want to review.

batchDescribeMergeConflicts_destinationCommitSpecifier :: Lens' BatchDescribeMergeConflicts Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

batchDescribeMergeConflicts_sourceCommitSpecifier :: Lens' BatchDescribeMergeConflicts Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

batchDescribeMergeConflicts_mergeOption :: Lens' BatchDescribeMergeConflicts MergeOptionTypeEnum Source #

The merge option or strategy you want to use to merge the code.

batchDescribeMergeConflictsResponse_nextToken :: Lens' BatchDescribeMergeConflictsResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.

batchDescribeMergeConflictsResponse_errors :: Lens' BatchDescribeMergeConflictsResponse (Maybe [BatchDescribeMergeConflictsError]) Source #

A list of any errors returned while describing the merge conflicts for each file.

batchDescribeMergeConflictsResponse_conflicts :: Lens' BatchDescribeMergeConflictsResponse [Conflict] Source #

A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.

batchDescribeMergeConflictsResponse_destinationCommitId :: Lens' BatchDescribeMergeConflictsResponse Text Source #

The commit ID of the destination commit specifier that was used in the merge evaluation.

batchDescribeMergeConflictsResponse_sourceCommitId :: Lens' BatchDescribeMergeConflictsResponse Text Source #

The commit ID of the source commit specifier that was used in the merge evaluation.

DeletePullRequestApprovalRule

deletePullRequestApprovalRule_pullRequestId :: Lens' DeletePullRequestApprovalRule Text Source #

The system-generated ID of the pull request that contains the approval rule you want to delete.

deletePullRequestApprovalRuleResponse_approvalRuleId :: Lens' DeletePullRequestApprovalRuleResponse Text Source #

The ID of the deleted approval rule.

If the approval rule was deleted in an earlier API call, the response is 200 OK without content.

GetRepositoryTriggers

getRepositoryTriggers_repositoryName :: Lens' GetRepositoryTriggers Text Source #

The name of the repository for which the trigger is configured.

getRepositoryTriggersResponse_triggers :: Lens' GetRepositoryTriggersResponse (Maybe [RepositoryTrigger]) Source #

The JSON block of configuration information for each trigger.

UpdateApprovalRuleTemplateName

PutFile

putFile_email :: Lens' PutFile (Maybe Text) Source #

An email address for the person adding or updating the file.

putFile_fileMode :: Lens' PutFile (Maybe FileModeTypeEnum) Source #

The file mode permissions of the blob. Valid file mode permissions are listed here.

putFile_parentCommitId :: Lens' PutFile (Maybe Text) Source #

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

putFile_name :: Lens' PutFile (Maybe Text) Source #

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

putFile_commitMessage :: Lens' PutFile (Maybe Text) Source #

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

putFile_repositoryName :: Lens' PutFile Text Source #

The name of the repository where you want to add or update the file.

putFile_branchName :: Lens' PutFile Text Source #

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

putFile_fileContent :: Lens' PutFile ByteString Source #

The content of the file, in binary object format.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

putFile_filePath :: Lens' PutFile Text Source #

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

putFileResponse_httpStatus :: Lens' PutFileResponse Int Source #

The response's http status code.

putFileResponse_commitId :: Lens' PutFileResponse Text Source #

The full SHA ID of the commit that contains this file change.

putFileResponse_blobId :: Lens' PutFileResponse Text Source #

The ID of the blob, which is its SHA-1 pointer.

putFileResponse_treeId :: Lens' PutFileResponse Text Source #

The full SHA-1 pointer of the tree information for the commit that contains this file change.

DeleteFile

deleteFile_email :: Lens' DeleteFile (Maybe Text) Source #

The email address for the commit that deletes the file. If no email address is specified, the email address is left blank.

deleteFile_name :: Lens' DeleteFile (Maybe Text) Source #

The name of the author of the commit that deletes the file. If no name is specified, the user's ARN is used as the author name and committer name.

deleteFile_commitMessage :: Lens' DeleteFile (Maybe Text) Source #

The commit message you want to include as part of deleting the file. Commit messages are limited to 256 KB. If no message is specified, a default message is used.

deleteFile_keepEmptyFolders :: Lens' DeleteFile (Maybe Bool) Source #

If a file is the only object in the folder or directory, specifies whether to delete the folder or directory that contains the file. By default, empty folders are deleted. This includes empty folders that are part of the directory structure. For example, if the path to a file is dir1/dir2/dir3/dir4, and dir2 and dir3 are empty, deleting the last file in dir4 also deletes the empty folders dir4, dir3, and dir2.

deleteFile_repositoryName :: Lens' DeleteFile Text Source #

The name of the repository that contains the file to delete.

deleteFile_branchName :: Lens' DeleteFile Text Source #

The name of the branch where the commit that deletes the file is made.

deleteFile_filePath :: Lens' DeleteFile Text Source #

The fully qualified path to the file that to be deleted, including the full name and extension of that file. For example, /examples/file.md is a fully qualified path to a file named file.md in a folder named examples.

deleteFile_parentCommitId :: Lens' DeleteFile Text Source #

The ID of the commit that is the tip of the branch where you want to create the commit that deletes the file. This must be the HEAD commit for the branch. The commit that deletes the file is created from this commit ID.

deleteFileResponse_commitId :: Lens' DeleteFileResponse Text Source #

The full commit ID of the commit that contains the change that deletes the file.

deleteFileResponse_blobId :: Lens' DeleteFileResponse Text Source #

The blob ID removed from the tree as part of deleting the file.

deleteFileResponse_treeId :: Lens' DeleteFileResponse Text Source #

The full SHA-1 pointer of the tree information for the commit that contains the delete file change.

deleteFileResponse_filePath :: Lens' DeleteFileResponse Text Source #

The fully qualified path to the file to be deleted, including the full name and extension of that file.

GetCommentsForComparedCommit

getCommentsForComparedCommit_nextToken :: Lens' GetCommentsForComparedCommit (Maybe Text) Source #

An enumeration token that when provided in a request, returns the next batch of the results.

getCommentsForComparedCommit_beforeCommitId :: Lens' GetCommentsForComparedCommit (Maybe Text) Source #

To establish the directionality of the comparison, the full commit ID of the before commit.

getCommentsForComparedCommit_maxResults :: Lens' GetCommentsForComparedCommit (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments, but you can configure up to 500.

getCommentsForComparedCommit_repositoryName :: Lens' GetCommentsForComparedCommit Text Source #

The name of the repository where you want to compare commits.

getCommentsForComparedCommit_afterCommitId :: Lens' GetCommentsForComparedCommit Text Source #

To establish the directionality of the comparison, the full commit ID of the after commit.

getCommentsForComparedCommitResponse_nextToken :: Lens' GetCommentsForComparedCommitResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.

GetMergeCommit

getMergeCommit_conflictDetailLevel :: Lens' GetMergeCommit (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

getMergeCommit_conflictResolutionStrategy :: Lens' GetMergeCommit (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

getMergeCommit_repositoryName :: Lens' GetMergeCommit Text Source #

The name of the repository that contains the merge commit about which you want to get information.

getMergeCommit_sourceCommitSpecifier :: Lens' GetMergeCommit Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

getMergeCommit_destinationCommitSpecifier :: Lens' GetMergeCommit Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

getMergeCommitResponse_mergedCommitId :: Lens' GetMergeCommitResponse (Maybe Text) Source #

The commit ID for the merge commit created when the source branch was merged into the destination branch. If the fast-forward merge strategy was used, there is no merge commit.

getMergeCommitResponse_destinationCommitId :: Lens' GetMergeCommitResponse (Maybe Text) Source #

The commit ID of the destination commit specifier that was used in the merge evaluation.

getMergeCommitResponse_sourceCommitId :: Lens' GetMergeCommitResponse (Maybe Text) Source #

The commit ID of the source commit specifier that was used in the merge evaluation.

TestRepositoryTriggers

testRepositoryTriggers_repositoryName :: Lens' TestRepositoryTriggers Text Source #

The name of the repository in which to test the triggers.

testRepositoryTriggersResponse_failedExecutions :: Lens' TestRepositoryTriggersResponse (Maybe [RepositoryTriggerExecutionFailure]) Source #

The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.

testRepositoryTriggersResponse_successfulExecutions :: Lens' TestRepositoryTriggersResponse (Maybe [Text]) Source #

The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.

MergePullRequestBySquash

mergePullRequestBySquash_email :: Lens' MergePullRequestBySquash (Maybe Text) Source #

The email address of the person merging the branches. This information is used in the commit information for the merge.

mergePullRequestBySquash_authorName :: Lens' MergePullRequestBySquash (Maybe Text) Source #

The name of the author who created the commit. This information is used as both the author and committer for the commit.

mergePullRequestBySquash_conflictDetailLevel :: Lens' MergePullRequestBySquash (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

mergePullRequestBySquash_commitMessage :: Lens' MergePullRequestBySquash (Maybe Text) Source #

The commit message to include in the commit information for the merge.

mergePullRequestBySquash_conflictResolution :: Lens' MergePullRequestBySquash (Maybe ConflictResolution) Source #

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

mergePullRequestBySquash_conflictResolutionStrategy :: Lens' MergePullRequestBySquash (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

mergePullRequestBySquash_keepEmptyFolders :: Lens' MergePullRequestBySquash (Maybe Bool) Source #

If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false.

mergePullRequestBySquash_sourceCommitId :: Lens' MergePullRequestBySquash (Maybe Text) Source #

The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.

mergePullRequestBySquash_pullRequestId :: Lens' MergePullRequestBySquash Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

mergePullRequestBySquash_repositoryName :: Lens' MergePullRequestBySquash Text Source #

The name of the repository where the pull request was created.

UpdateComment

updateComment_commentId :: Lens' UpdateComment Text Source #

The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

updateComment_content :: Lens' UpdateComment Text Source #

The updated content to replace the existing content of the comment.

PostCommentForComparedCommit

postCommentForComparedCommit_location :: Lens' PostCommentForComparedCommit (Maybe Location) Source #

The location of the comparison where you want to comment.

postCommentForComparedCommit_beforeCommitId :: Lens' PostCommentForComparedCommit (Maybe Text) Source #

To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.

postCommentForComparedCommit_clientRequestToken :: Lens' PostCommentForComparedCommit (Maybe Text) Source #

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

postCommentForComparedCommit_repositoryName :: Lens' PostCommentForComparedCommit Text Source #

The name of the repository where you want to post a comment on the comparison between commits.

postCommentForComparedCommit_afterCommitId :: Lens' PostCommentForComparedCommit Text Source #

To establish the directionality of the comparison, the full commit ID of the after commit.

postCommentForComparedCommitResponse_beforeBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

In the directionality you established, the blob ID of the before blob.

postCommentForComparedCommitResponse_location :: Lens' PostCommentForComparedCommitResponse (Maybe Location) Source #

The location of the comment in the comparison between the two commits.

postCommentForComparedCommitResponse_afterCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

In the directionality you established, the full commit ID of the after commit.

postCommentForComparedCommitResponse_afterBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

In the directionality you established, the blob ID of the after blob.

postCommentForComparedCommitResponse_beforeCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

In the directionality you established, the full commit ID of the before commit.

postCommentForComparedCommitResponse_repositoryName :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

The name of the repository where you posted a comment on the comparison between commits.

MergeBranchesByFastForward

mergeBranchesByFastForward_repositoryName :: Lens' MergeBranchesByFastForward Text Source #

The name of the repository where you want to merge two branches.

mergeBranchesByFastForward_sourceCommitSpecifier :: Lens' MergeBranchesByFastForward Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

mergeBranchesByFastForward_destinationCommitSpecifier :: Lens' MergeBranchesByFastForward Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

mergeBranchesByFastForwardResponse_commitId :: Lens' MergeBranchesByFastForwardResponse (Maybe Text) Source #

The commit ID of the merge in the destination or target branch.

mergeBranchesByFastForwardResponse_treeId :: Lens' MergeBranchesByFastForwardResponse (Maybe Text) Source #

The tree ID of the merge in the destination or target branch.

UpdatePullRequestTitle

updatePullRequestTitle_pullRequestId :: Lens' UpdatePullRequestTitle Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

updatePullRequestTitle_title :: Lens' UpdatePullRequestTitle Text Source #

The updated title of the pull request. This replaces the existing title.

BatchDisassociateApprovalRuleTemplateFromRepositories

batchDisassociateApprovalRuleTemplateFromRepositories_repositoryNames :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositories [Text] Source #

The repository names that you want to disassociate from the approval rule template.

The length constraint limit is for each string in the array. The array itself can be empty.

batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_errors :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse [BatchDisassociateApprovalRuleTemplateFromRepositoriesError] Source #

A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.

UpdatePullRequestApprovalRuleContent

updatePullRequestApprovalRuleContent_existingRuleContentSha256 :: Lens' UpdatePullRequestApprovalRuleContent (Maybe Text) Source #

The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.

updatePullRequestApprovalRuleContent_newRuleContent :: Lens' UpdatePullRequestApprovalRuleContent Text Source #

The updated content for the approval rule.

When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways:

  • CodeCommitApprovers: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user:

    • An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
    • A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)

    This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major).

  • Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role.

For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.

GetBlob

getBlob_repositoryName :: Lens' GetBlob Text Source #

The name of the repository that contains the blob.

getBlob_blobId :: Lens' GetBlob Text Source #

The ID of the blob, which is its SHA-1 pointer.

getBlobResponse_httpStatus :: Lens' GetBlobResponse Int Source #

The response's http status code.

getBlobResponse_content :: Lens' GetBlobResponse ByteString Source #

The content of the blob, usually a file.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

AssociateApprovalRuleTemplateWithRepository

associateApprovalRuleTemplateWithRepository_repositoryName :: Lens' AssociateApprovalRuleTemplateWithRepository Text Source #

The name of the repository that you want to associate with the template.

PutRepositoryTriggers

putRepositoryTriggers_repositoryName :: Lens' PutRepositoryTriggers Text Source #

The name of the repository where you want to create or update the trigger.

putRepositoryTriggers_triggers :: Lens' PutRepositoryTriggers [RepositoryTrigger] Source #

The JSON block of configuration information for each trigger.

putRepositoryTriggersResponse_configurationId :: Lens' PutRepositoryTriggersResponse (Maybe Text) Source #

The system-generated unique ID for the create or update operation.

ListApprovalRuleTemplates

listApprovalRuleTemplates_nextToken :: Lens' ListApprovalRuleTemplates (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

listApprovalRuleTemplates_maxResults :: Lens' ListApprovalRuleTemplates (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results.

listApprovalRuleTemplatesResponse_nextToken :: Lens' ListApprovalRuleTemplatesResponse (Maybe Text) Source #

An enumeration token that allows the operation to batch the next results of the operation.

listApprovalRuleTemplatesResponse_approvalRuleTemplateNames :: Lens' ListApprovalRuleTemplatesResponse (Maybe [Text]) Source #

The names of all the approval rule templates found in the AWS Region for your AWS account.

DescribeMergeConflicts

describeMergeConflicts_conflictDetailLevel :: Lens' DescribeMergeConflicts (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

describeMergeConflicts_nextToken :: Lens' DescribeMergeConflicts (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

describeMergeConflicts_maxMergeHunks :: Lens' DescribeMergeConflicts (Maybe Int) Source #

The maximum number of merge hunks to include in the output.

describeMergeConflicts_conflictResolutionStrategy :: Lens' DescribeMergeConflicts (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

describeMergeConflicts_repositoryName :: Lens' DescribeMergeConflicts Text Source #

The name of the repository where you want to get information about a merge conflict.

describeMergeConflicts_destinationCommitSpecifier :: Lens' DescribeMergeConflicts Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

describeMergeConflicts_sourceCommitSpecifier :: Lens' DescribeMergeConflicts Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

describeMergeConflicts_mergeOption :: Lens' DescribeMergeConflicts MergeOptionTypeEnum Source #

The merge option or strategy you want to use to merge the code.

describeMergeConflicts_filePath :: Lens' DescribeMergeConflicts Text Source #

The path of the target files used to describe the conflicts.

describeMergeConflictsResponse_nextToken :: Lens' DescribeMergeConflictsResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.

describeMergeConflictsResponse_mergeHunks :: Lens' DescribeMergeConflictsResponse [MergeHunk] Source #

A list of merge hunks of the differences between the files or lines.

describeMergeConflictsResponse_destinationCommitId :: Lens' DescribeMergeConflictsResponse Text Source #

The commit ID of the destination commit specifier that was used in the merge evaluation.

describeMergeConflictsResponse_sourceCommitId :: Lens' DescribeMergeConflictsResponse Text Source #

The commit ID of the source commit specifier that was used in the merge evaluation.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

The key-value pair to use when tagging this repository.

MergeBranchesByThreeWay

mergeBranchesByThreeWay_email :: Lens' MergeBranchesByThreeWay (Maybe Text) Source #

The email address of the person merging the branches. This information is used in the commit information for the merge.

mergeBranchesByThreeWay_authorName :: Lens' MergeBranchesByThreeWay (Maybe Text) Source #

The name of the author who created the commit. This information is used as both the author and committer for the commit.

mergeBranchesByThreeWay_conflictDetailLevel :: Lens' MergeBranchesByThreeWay (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

mergeBranchesByThreeWay_commitMessage :: Lens' MergeBranchesByThreeWay (Maybe Text) Source #

The commit message to include in the commit information for the merge.

mergeBranchesByThreeWay_conflictResolution :: Lens' MergeBranchesByThreeWay (Maybe ConflictResolution) Source #

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

mergeBranchesByThreeWay_conflictResolutionStrategy :: Lens' MergeBranchesByThreeWay (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

mergeBranchesByThreeWay_keepEmptyFolders :: Lens' MergeBranchesByThreeWay (Maybe Bool) Source #

If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false.

mergeBranchesByThreeWay_repositoryName :: Lens' MergeBranchesByThreeWay Text Source #

The name of the repository where you want to merge two branches.

mergeBranchesByThreeWay_sourceCommitSpecifier :: Lens' MergeBranchesByThreeWay Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

mergeBranchesByThreeWay_destinationCommitSpecifier :: Lens' MergeBranchesByThreeWay Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

mergeBranchesByThreeWayResponse_commitId :: Lens' MergeBranchesByThreeWayResponse (Maybe Text) Source #

The commit ID of the merge in the destination or target branch.

mergeBranchesByThreeWayResponse_treeId :: Lens' MergeBranchesByThreeWayResponse (Maybe Text) Source #

The tree ID of the merge in the destination or target branch.

GetFile

getFile_commitSpecifier :: Lens' GetFile (Maybe Text) Source #

The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/master. If none is provided, the head commit is used.

getFile_repositoryName :: Lens' GetFile Text Source #

The name of the repository that contains the file.

getFile_filePath :: Lens' GetFile Text Source #

The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.

getFileResponse_httpStatus :: Lens' GetFileResponse Int Source #

The response's http status code.

getFileResponse_commitId :: Lens' GetFileResponse Text Source #

The full commit ID of the commit that contains the content returned by GetFile.

getFileResponse_blobId :: Lens' GetFileResponse Text Source #

The blob ID of the object that represents the file content.

getFileResponse_filePath :: Lens' GetFileResponse Text Source #

The fully qualified path to the specified file. Returns the name and extension of the file.

getFileResponse_fileMode :: Lens' GetFileResponse FileModeTypeEnum Source #

The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.

The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.

getFileResponse_fileSize :: Lens' GetFileResponse Integer Source #

The size of the contents of the file, in bytes.

getFileResponse_fileContent :: Lens' GetFileResponse ByteString Source #

The base-64 encoded binary data object that represents the content of the file.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource to which you want to remove tags.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The tag key for each tag that you want to remove from the resource.

GetMergeConflicts

getMergeConflicts_conflictDetailLevel :: Lens' GetMergeConflicts (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

getMergeConflicts_nextToken :: Lens' GetMergeConflicts (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

getMergeConflicts_maxConflictFiles :: Lens' GetMergeConflicts (Maybe Int) Source #

The maximum number of files to include in the output.

getMergeConflicts_conflictResolutionStrategy :: Lens' GetMergeConflicts (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

getMergeConflicts_repositoryName :: Lens' GetMergeConflicts Text Source #

The name of the repository where the pull request was created.

getMergeConflicts_destinationCommitSpecifier :: Lens' GetMergeConflicts Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

getMergeConflicts_sourceCommitSpecifier :: Lens' GetMergeConflicts Text Source #

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

getMergeConflicts_mergeOption :: Lens' GetMergeConflicts MergeOptionTypeEnum Source #

The merge option or strategy you want to use to merge the code.

getMergeConflictsResponse_nextToken :: Lens' GetMergeConflictsResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.

getMergeConflictsResponse_mergeable :: Lens' GetMergeConflictsResponse Bool Source #

A Boolean value that indicates whether the code is mergeable by the specified merge option.

getMergeConflictsResponse_destinationCommitId :: Lens' GetMergeConflictsResponse Text Source #

The commit ID of the destination commit specifier that was used in the merge evaluation.

getMergeConflictsResponse_sourceCommitId :: Lens' GetMergeConflictsResponse Text Source #

The commit ID of the source commit specifier that was used in the merge evaluation.

getMergeConflictsResponse_conflictMetadataList :: Lens' GetMergeConflictsResponse [ConflictMetadata] Source #

A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.

DeleteRepository

deleteRepository_repositoryName :: Lens' DeleteRepository Text Source #

The name of the repository to delete.

DeleteCommentContent

deleteCommentContent_commentId :: Lens' DeleteCommentContent Text Source #

The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

MergePullRequestByThreeWay

mergePullRequestByThreeWay_email :: Lens' MergePullRequestByThreeWay (Maybe Text) Source #

The email address of the person merging the branches. This information is used in the commit information for the merge.

mergePullRequestByThreeWay_authorName :: Lens' MergePullRequestByThreeWay (Maybe Text) Source #

The name of the author who created the commit. This information is used as both the author and committer for the commit.

mergePullRequestByThreeWay_conflictDetailLevel :: Lens' MergePullRequestByThreeWay (Maybe ConflictDetailLevelTypeEnum) Source #

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

mergePullRequestByThreeWay_commitMessage :: Lens' MergePullRequestByThreeWay (Maybe Text) Source #

The commit message to include in the commit information for the merge.

mergePullRequestByThreeWay_conflictResolution :: Lens' MergePullRequestByThreeWay (Maybe ConflictResolution) Source #

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

mergePullRequestByThreeWay_conflictResolutionStrategy :: Lens' MergePullRequestByThreeWay (Maybe ConflictResolutionStrategyTypeEnum) Source #

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

mergePullRequestByThreeWay_keepEmptyFolders :: Lens' MergePullRequestByThreeWay (Maybe Bool) Source #

If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false.

mergePullRequestByThreeWay_sourceCommitId :: Lens' MergePullRequestByThreeWay (Maybe Text) Source #

The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.

mergePullRequestByThreeWay_pullRequestId :: Lens' MergePullRequestByThreeWay Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

mergePullRequestByThreeWay_repositoryName :: Lens' MergePullRequestByThreeWay Text Source #

The name of the repository where the pull request was created.

DescribePullRequestEvents

describePullRequestEvents_pullRequestEventType :: Lens' DescribePullRequestEvents (Maybe PullRequestEventType) Source #

Optional. The pull request event type about which you want to return information.

describePullRequestEvents_actorArn :: Lens' DescribePullRequestEvents (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.

describePullRequestEvents_nextToken :: Lens' DescribePullRequestEvents (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

describePullRequestEvents_maxResults :: Lens' DescribePullRequestEvents (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.

describePullRequestEvents_pullRequestId :: Lens' DescribePullRequestEvents Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

describePullRequestEventsResponse_nextToken :: Lens' DescribePullRequestEventsResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.

BatchGetRepositories

batchGetRepositories_repositoryNames :: Lens' BatchGetRepositories [Text] Source #

The names of the repositories to get information about.

The length constraint limit is for each string in the array. The array itself can be empty.

batchGetRepositoriesResponse_repositories :: Lens' BatchGetRepositoriesResponse (Maybe [RepositoryMetadata]) Source #

A list of repositories returned by the batch get repositories operation.

batchGetRepositoriesResponse_repositoriesNotFound :: Lens' BatchGetRepositoriesResponse (Maybe [Text]) Source #

Returns a list of repository names for which information could not be found.

UpdateApprovalRuleTemplateDescription

updateApprovalRuleTemplateDescription_approvalRuleTemplateName :: Lens' UpdateApprovalRuleTemplateDescription Text Source #

The name of the template for which you want to update the description.

GetPullRequestOverrideState

getPullRequestOverrideState_pullRequestId :: Lens' GetPullRequestOverrideState Text Source #

The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).

getPullRequestOverrideState_revisionId :: Lens' GetPullRequestOverrideState Text Source #

The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.

getPullRequestOverrideStateResponse_overridden :: Lens' GetPullRequestOverrideStateResponse (Maybe Bool) Source #

A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE).

getPullRequestOverrideStateResponse_overrider :: Lens' GetPullRequestOverrideStateResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

GetPullRequestApprovalStates

getPullRequestApprovalStates_revisionId :: Lens' GetPullRequestApprovalStates Text Source #

The system-generated ID for the pull request revision.

getPullRequestApprovalStatesResponse_approvals :: Lens' GetPullRequestApprovalStatesResponse (Maybe [Approval]) Source #

Information about users who have approved the pull request.

GetCommentsForPullRequest

getCommentsForPullRequest_afterCommitId :: Lens' GetCommentsForPullRequest (Maybe Text) Source #

The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.

getCommentsForPullRequest_nextToken :: Lens' GetCommentsForPullRequest (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

getCommentsForPullRequest_beforeCommitId :: Lens' GetCommentsForPullRequest (Maybe Text) Source #

The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.

getCommentsForPullRequest_repositoryName :: Lens' GetCommentsForPullRequest (Maybe Text) Source #

The name of the repository that contains the pull request.

getCommentsForPullRequest_maxResults :: Lens' GetCommentsForPullRequest (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.

getCommentsForPullRequest_pullRequestId :: Lens' GetCommentsForPullRequest Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

getCommentsForPullRequestResponse_nextToken :: Lens' GetCommentsForPullRequestResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.

UpdatePullRequestStatus

updatePullRequestStatus_pullRequestId :: Lens' UpdatePullRequestStatus Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

updatePullRequestStatus_pullRequestStatus :: Lens' UpdatePullRequestStatus PullRequestStatusEnum Source #

The status of the pull request. The only valid operations are to update the status from OPEN to OPEN, OPEN to CLOSED or from CLOSED to CLOSED.

ListAssociatedApprovalRuleTemplatesForRepository

listAssociatedApprovalRuleTemplatesForRepository_nextToken :: Lens' ListAssociatedApprovalRuleTemplatesForRepository (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

listAssociatedApprovalRuleTemplatesForRepository_maxResults :: Lens' ListAssociatedApprovalRuleTemplatesForRepository (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results.

listAssociatedApprovalRuleTemplatesForRepository_repositoryName :: Lens' ListAssociatedApprovalRuleTemplatesForRepository Text Source #

The name of the repository for which you want to list all associated approval rule templates.

listAssociatedApprovalRuleTemplatesForRepositoryResponse_nextToken :: Lens' ListAssociatedApprovalRuleTemplatesForRepositoryResponse (Maybe Text) Source #

An enumeration token that allows the operation to batch the next results of the operation.

Types

Approval

approval_approvalState :: Lens' Approval (Maybe ApprovalState) Source #

The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.

approval_userArn :: Lens' Approval (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user.

ApprovalRule

approvalRule_ruleContentSha256 :: Lens' ApprovalRule (Maybe Text) Source #

The SHA-256 hash signature for the content of the approval rule.

approvalRule_lastModifiedDate :: Lens' ApprovalRule (Maybe UTCTime) Source #

The date the approval rule was most recently changed, in timestamp format.

approvalRule_approvalRuleId :: Lens' ApprovalRule (Maybe Text) Source #

The system-generated ID of the approval rule.

approvalRule_lastModifiedUser :: Lens' ApprovalRule (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.

approvalRule_creationDate :: Lens' ApprovalRule (Maybe UTCTime) Source #

The date the approval rule was created, in timestamp format.

approvalRule_approvalRuleContent :: Lens' ApprovalRule (Maybe Text) Source #

The content of the approval rule.

ApprovalRuleEventMetadata

ApprovalRuleOverriddenEventMetadata

approvalRuleOverriddenEventMetadata_revisionId :: Lens' ApprovalRuleOverriddenEventMetadata (Maybe Text) Source #

The revision ID of the pull request when the override event occurred.

ApprovalRuleTemplate

approvalRuleTemplate_ruleContentSha256 :: Lens' ApprovalRuleTemplate (Maybe Text) Source #

The SHA-256 hash signature for the content of the approval rule template.

approvalRuleTemplate_approvalRuleTemplateId :: Lens' ApprovalRuleTemplate (Maybe Text) Source #

The system-generated ID of the approval rule template.

approvalRuleTemplate_lastModifiedDate :: Lens' ApprovalRuleTemplate (Maybe UTCTime) Source #

The date the approval rule template was most recently changed, in timestamp format.

approvalRuleTemplate_lastModifiedUser :: Lens' ApprovalRuleTemplate (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.

approvalRuleTemplate_creationDate :: Lens' ApprovalRuleTemplate (Maybe UTCTime) Source #

The date the approval rule template was created, in timestamp format.

ApprovalStateChangedEventMetadata

approvalStateChangedEventMetadata_revisionId :: Lens' ApprovalStateChangedEventMetadata (Maybe Text) Source #

The revision ID of the pull request when the approval state changed.

BatchAssociateApprovalRuleTemplateWithRepositoriesError

batchAssociateApprovalRuleTemplateWithRepositoriesError_errorCode :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesError (Maybe Text) Source #

An error code that specifies whether the repository name was not valid or not found.

batchAssociateApprovalRuleTemplateWithRepositoriesError_errorMessage :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesError (Maybe Text) Source #

An error message that provides details about why the repository name was not found or not valid.

BatchDescribeMergeConflictsError

BatchDisassociateApprovalRuleTemplateFromRepositoriesError

batchDisassociateApprovalRuleTemplateFromRepositoriesError_repositoryName :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesError (Maybe Text) Source #

The name of the repository where the association with the template was not able to be removed.

batchDisassociateApprovalRuleTemplateFromRepositoriesError_errorMessage :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesError (Maybe Text) Source #

An error message that provides details about why the repository name was either not found or not valid.

BatchGetCommitsError

batchGetCommitsError_commitId :: Lens' BatchGetCommitsError (Maybe Text) Source #

A commit ID that either could not be found or was not in a valid format.

batchGetCommitsError_errorCode :: Lens' BatchGetCommitsError (Maybe Text) Source #

An error code that specifies whether the commit ID was not valid or not found.

batchGetCommitsError_errorMessage :: Lens' BatchGetCommitsError (Maybe Text) Source #

An error message that provides detail about why the commit ID either was not found or was not valid.

BlobMetadata

blobMetadata_path :: Lens' BlobMetadata (Maybe Text) Source #

The path to the blob and associated file name, if any.

blobMetadata_mode :: Lens' BlobMetadata (Maybe Text) Source #

The file mode permissions of the blob. File mode permission codes include:

  • 100644 indicates read/write
  • 100755 indicates read/write/execute
  • 160000 indicates a submodule
  • 120000 indicates a symlink

blobMetadata_blobId :: Lens' BlobMetadata (Maybe Text) Source #

The full ID of the blob.

BranchInfo

branchInfo_commitId :: Lens' BranchInfo (Maybe Text) Source #

The ID of the last commit made to the branch.

Comment

comment_lastModifiedDate :: Lens' Comment (Maybe UTCTime) Source #

The date and time the comment was most recently modified, in timestamp format.

comment_authorArn :: Lens' Comment (Maybe Text) Source #

The Amazon Resource Name (ARN) of the person who posted the comment.

comment_content :: Lens' Comment (Maybe Text) Source #

The content of the comment.

comment_callerReactions :: Lens' Comment (Maybe [Text]) Source #

The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.

comment_creationDate :: Lens' Comment (Maybe UTCTime) Source #

The date and time the comment was created, in timestamp format.

comment_deleted :: Lens' Comment (Maybe Bool) Source #

A Boolean value indicating whether the comment has been deleted.

comment_clientRequestToken :: Lens' Comment (Maybe Text) Source #

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

comment_commentId :: Lens' Comment (Maybe Text) Source #

The system-generated comment ID.

comment_inReplyTo :: Lens' Comment (Maybe Text) Source #

The ID of the comment for which this comment is a reply, if any.

comment_reactionCounts :: Lens' Comment (Maybe (HashMap Text Int)) Source #

A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.

CommentsForComparedCommit

commentsForComparedCommit_beforeBlobId :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The full blob ID of the commit used to establish the before of the comparison.

commentsForComparedCommit_location :: Lens' CommentsForComparedCommit (Maybe Location) Source #

Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.

commentsForComparedCommit_afterCommitId :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The full commit ID of the commit used to establish the after of the comparison.

commentsForComparedCommit_afterBlobId :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The full blob ID of the commit used to establish the after of the comparison.

commentsForComparedCommit_beforeCommitId :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The full commit ID of the commit used to establish the before of the comparison.

commentsForComparedCommit_repositoryName :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The name of the repository that contains the compared commits.

commentsForComparedCommit_comments :: Lens' CommentsForComparedCommit (Maybe [Comment]) Source #

An array of comment objects. Each comment object contains information about a comment on the comparison between commits.

CommentsForPullRequest

commentsForPullRequest_beforeBlobId :: Lens' CommentsForPullRequest (Maybe Text) Source #

The full blob ID of the file on which you want to comment on the destination commit.

commentsForPullRequest_location :: Lens' CommentsForPullRequest (Maybe Location) Source #

Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).

commentsForPullRequest_afterCommitId :: Lens' CommentsForPullRequest (Maybe Text) Source #

The full commit ID of the commit that was the tip of the source branch at the time the comment was made.

commentsForPullRequest_pullRequestId :: Lens' CommentsForPullRequest (Maybe Text) Source #

The system-generated ID of the pull request.

commentsForPullRequest_afterBlobId :: Lens' CommentsForPullRequest (Maybe Text) Source #

The full blob ID of the file on which you want to comment on the source commit.

commentsForPullRequest_beforeCommitId :: Lens' CommentsForPullRequest (Maybe Text) Source #

The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.

commentsForPullRequest_repositoryName :: Lens' CommentsForPullRequest (Maybe Text) Source #

The name of the repository that contains the pull request.

commentsForPullRequest_comments :: Lens' CommentsForPullRequest (Maybe [Comment]) Source #

An array of comment objects. Each comment object contains information about a comment on the pull request.

Commit

commit_commitId :: Lens' Commit (Maybe Text) Source #

The full SHA ID of the specified commit.

commit_committer :: Lens' Commit (Maybe UserInfo) Source #

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

commit_treeId :: Lens' Commit (Maybe Text) Source #

Tree information for the specified commit.

commit_additionalData :: Lens' Commit (Maybe Text) Source #

Any other data associated with the specified commit.

commit_parents :: Lens' Commit (Maybe [Text]) Source #

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

commit_author :: Lens' Commit (Maybe UserInfo) Source #

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

commit_message :: Lens' Commit (Maybe Text) Source #

The commit message associated with the specified commit.

Conflict

conflict_mergeHunks :: Lens' Conflict (Maybe [MergeHunk]) Source #

A list of hunks that contain the differences between files or lines causing the conflict.

conflict_conflictMetadata :: Lens' Conflict (Maybe ConflictMetadata) Source #

Metadata about a conflict in a merge operation.

ConflictMetadata

conflictMetadata_numberOfConflicts :: Lens' ConflictMetadata (Maybe Int) Source #

The number of conflicts, including both hunk conflicts and metadata conflicts.

conflictMetadata_contentConflict :: Lens' ConflictMetadata (Maybe Bool) Source #

A boolean value indicating whether there are conflicts in the content of a file.

conflictMetadata_fileSizes :: Lens' ConflictMetadata (Maybe FileSizes) Source #

The file sizes of the file in the source, destination, and base of the merge.

conflictMetadata_filePath :: Lens' ConflictMetadata (Maybe Text) Source #

The path of the file that contains conflicts.

conflictMetadata_isBinaryFile :: Lens' ConflictMetadata (Maybe IsBinaryFile) Source #

A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.

conflictMetadata_fileModeConflict :: Lens' ConflictMetadata (Maybe Bool) Source #

A boolean value indicating whether there are conflicts in the file mode of a file.

conflictMetadata_objectTypeConflict :: Lens' ConflictMetadata (Maybe Bool) Source #

A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.

conflictMetadata_mergeOperations :: Lens' ConflictMetadata (Maybe MergeOperations) Source #

Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.

conflictMetadata_objectTypes :: Lens' ConflictMetadata (Maybe ObjectTypes) Source #

Information about any object type conflicts in a merge operation.

conflictMetadata_fileModes :: Lens' ConflictMetadata (Maybe FileModes) Source #

The file modes of the file in the source, destination, and base of the merge.

ConflictResolution

conflictResolution_setFileModes :: Lens' ConflictResolution (Maybe [SetFileModeEntry]) Source #

File modes that are set as part of the merge conflict resolution.

conflictResolution_deleteFiles :: Lens' ConflictResolution (Maybe [DeleteFileEntry]) Source #

Files to be deleted as part of the merge conflict resolution.

conflictResolution_replaceContents :: Lens' ConflictResolution (Maybe [ReplaceContentEntry]) Source #

Files to have content replaced as part of the merge conflict resolution.

DeleteFileEntry

deleteFileEntry_filePath :: Lens' DeleteFileEntry Text Source #

The full path of the file to be deleted, including the name of the file.

Difference

difference_afterBlob :: Lens' Difference (Maybe BlobMetadata) Source #

Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.

difference_beforeBlob :: Lens' Difference (Maybe BlobMetadata) Source #

Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.

difference_changeType :: Lens' Difference (Maybe ChangeTypeEnum) Source #

Whether the change type of the difference is an addition (A), deletion (D), or modification (M).

Evaluation

evaluation_approvalRulesSatisfied :: Lens' Evaluation (Maybe [Text]) Source #

The names of the approval rules that have had their conditions met.

evaluation_approvalRulesNotSatisfied :: Lens' Evaluation (Maybe [Text]) Source #

The names of the approval rules that have not had their conditions met.

evaluation_approved :: Lens' Evaluation (Maybe Bool) Source #

Whether the state of the pull request is approved.

evaluation_overridden :: Lens' Evaluation (Maybe Bool) Source #

Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.

File

file_absolutePath :: Lens' File (Maybe Text) Source #

The fully qualified path to the file in the repository.

file_fileMode :: Lens' File (Maybe FileModeTypeEnum) Source #

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

file_blobId :: Lens' File (Maybe Text) Source #

The blob ID that contains the file information.

file_relativePath :: Lens' File (Maybe Text) Source #

The relative path of the file from the folder where the query originated.

FileMetadata

fileMetadata_absolutePath :: Lens' FileMetadata (Maybe Text) Source #

The full path to the file to be added or updated, including the name of the file.

fileMetadata_fileMode :: Lens' FileMetadata (Maybe FileModeTypeEnum) Source #

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

fileMetadata_blobId :: Lens' FileMetadata (Maybe Text) Source #

The blob ID that contains the file information.

FileModes

fileModes_destination :: Lens' FileModes (Maybe FileModeTypeEnum) Source #

The file mode of a file in the destination of a merge or pull request.

fileModes_base :: Lens' FileModes (Maybe FileModeTypeEnum) Source #

The file mode of a file in the base of a merge or pull request.

fileModes_source :: Lens' FileModes (Maybe FileModeTypeEnum) Source #

The file mode of a file in the source of a merge or pull request.

FileSizes

fileSizes_destination :: Lens' FileSizes (Maybe Integer) Source #

The size of a file in the destination of a merge or pull request.

fileSizes_base :: Lens' FileSizes (Maybe Integer) Source #

The size of a file in the base of a merge or pull request.

fileSizes_source :: Lens' FileSizes (Maybe Integer) Source #

The size of a file in the source of a merge or pull request.

Folder

folder_absolutePath :: Lens' Folder (Maybe Text) Source #

The fully qualified path of the folder in the repository.

folder_treeId :: Lens' Folder (Maybe Text) Source #

The full SHA-1 pointer of the tree information for the commit that contains the folder.

folder_relativePath :: Lens' Folder (Maybe Text) Source #

The relative path of the specified folder from the folder where the query originated.

IsBinaryFile

isBinaryFile_destination :: Lens' IsBinaryFile (Maybe Bool) Source #

The binary or non-binary status of a file in the destination of a merge or pull request.

isBinaryFile_base :: Lens' IsBinaryFile (Maybe Bool) Source #

The binary or non-binary status of a file in the base of a merge or pull request.

isBinaryFile_source :: Lens' IsBinaryFile (Maybe Bool) Source #

The binary or non-binary status of file in the source of a merge or pull request.

Location

location_relativeFileVersion :: Lens' Location (Maybe RelativeFileVersionEnum) Source #

In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.

location_filePath :: Lens' Location (Maybe Text) Source #

The name of the file being compared, including its extension and subdirectory, if any.

location_filePosition :: Lens' Location (Maybe Integer) Source #

The position of a change in a compared file, in line number format.

MergeHunk

mergeHunk_destination :: Lens' MergeHunk (Maybe MergeHunkDetail) Source #

Information about the merge hunk in the destination of a merge or pull request.

mergeHunk_base :: Lens' MergeHunk (Maybe MergeHunkDetail) Source #

Information about the merge hunk in the base of a merge or pull request.

mergeHunk_isConflict :: Lens' MergeHunk (Maybe Bool) Source #

A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.

mergeHunk_source :: Lens' MergeHunk (Maybe MergeHunkDetail) Source #

Information about the merge hunk in the source of a merge or pull request.

MergeHunkDetail

mergeHunkDetail_startLine :: Lens' MergeHunkDetail (Maybe Int) Source #

The start position of the hunk in the merge result.

mergeHunkDetail_endLine :: Lens' MergeHunkDetail (Maybe Int) Source #

The end position of the hunk in the merge result.

mergeHunkDetail_hunkContent :: Lens' MergeHunkDetail (Maybe Text) Source #

The base-64 encoded content of the hunk merged region that might contain a conflict.

MergeMetadata

mergeMetadata_mergedBy :: Lens' MergeMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user who merged the branches.

mergeMetadata_isMerged :: Lens' MergeMetadata (Maybe Bool) Source #

A Boolean value indicating whether the merge has been made.

mergeMetadata_mergeCommitId :: Lens' MergeMetadata (Maybe Text) Source #

The commit ID for the merge commit, if any.

MergeOperations

mergeOperations_destination :: Lens' MergeOperations (Maybe ChangeTypeEnum) Source #

The operation on a file in the destination of a merge or pull request.

mergeOperations_source :: Lens' MergeOperations (Maybe ChangeTypeEnum) Source #

The operation (add, modify, or delete) on a file in the source of a merge or pull request.

ObjectTypes

objectTypes_destination :: Lens' ObjectTypes (Maybe ObjectTypeEnum) Source #

The type of the object in the destination branch.

objectTypes_base :: Lens' ObjectTypes (Maybe ObjectTypeEnum) Source #

The type of the object in the base commit of the merge.

objectTypes_source :: Lens' ObjectTypes (Maybe ObjectTypeEnum) Source #

The type of the object in the source branch.

OriginApprovalRuleTemplate

originApprovalRuleTemplate_approvalRuleTemplateId :: Lens' OriginApprovalRuleTemplate (Maybe Text) Source #

The ID of the template that created the approval rule.

originApprovalRuleTemplate_approvalRuleTemplateName :: Lens' OriginApprovalRuleTemplate (Maybe Text) Source #

The name of the template that created the approval rule.

PullRequest

pullRequest_approvalRules :: Lens' PullRequest (Maybe [ApprovalRule]) Source #

The approval rules applied to the pull request.

pullRequest_authorArn :: Lens' PullRequest (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user who created the pull request.

pullRequest_pullRequestId :: Lens' PullRequest (Maybe Text) Source #

The system-generated ID of the pull request.

pullRequest_creationDate :: Lens' PullRequest (Maybe UTCTime) Source #

The date and time the pull request was originally created, in timestamp format.

pullRequest_pullRequestStatus :: Lens' PullRequest (Maybe PullRequestStatusEnum) Source #

The status of the pull request. Pull request status can only change from OPEN to CLOSED.

pullRequest_title :: Lens' PullRequest (Maybe Text) Source #

The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users.

pullRequest_clientRequestToken :: Lens' PullRequest (Maybe Text) Source #

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

pullRequest_lastActivityDate :: Lens' PullRequest (Maybe UTCTime) Source #

The day and time of the last user or system activity on the pull request, in timestamp format.

pullRequest_revisionId :: Lens' PullRequest (Maybe Text) Source #

The system-generated revision ID for the pull request.

pullRequest_pullRequestTargets :: Lens' PullRequest (Maybe [PullRequestTarget]) Source #

The targets of the pull request, including the source branch and destination branch for the pull request.

pullRequest_description :: Lens' PullRequest (Maybe Text) Source #

The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.

PullRequestCreatedEventMetadata

pullRequestCreatedEventMetadata_destinationCommitId :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #

The commit ID of the tip of the branch specified as the destination branch when the pull request was created.

pullRequestCreatedEventMetadata_mergeBase :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #

The commit ID of the most recent commit that the source branch and the destination branch have in common.

pullRequestCreatedEventMetadata_repositoryName :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #

The name of the repository where the pull request was created.

pullRequestCreatedEventMetadata_sourceCommitId :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #

The commit ID on the source branch used when the pull request was created.

PullRequestEvent

pullRequestEvent_pullRequestCreatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestCreatedEventMetadata) Source #

Information about the source and destination branches for the pull request.

pullRequestEvent_pullRequestEventType :: Lens' PullRequestEvent (Maybe PullRequestEventType) Source #

The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).

pullRequestEvent_actorArn :: Lens' PullRequestEvent (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.

pullRequestEvent_pullRequestId :: Lens' PullRequestEvent (Maybe Text) Source #

The system-generated ID of the pull request.

pullRequestEvent_eventDate :: Lens' PullRequestEvent (Maybe UTCTime) Source #

The day and time of the pull request event, in timestamp format.

pullRequestEvent_approvalRuleOverriddenEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleOverriddenEventMetadata) Source #

Information about an approval rule override event for a pull request.

PullRequestMergedStateChangedEventMetadata

PullRequestSourceReferenceUpdatedEventMetadata

pullRequestSourceReferenceUpdatedEventMetadata_afterCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) Source #

The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.

pullRequestSourceReferenceUpdatedEventMetadata_beforeCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) Source #

The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.

pullRequestSourceReferenceUpdatedEventMetadata_mergeBase :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) Source #

The commit ID of the most recent commit that the source branch and the destination branch have in common.

PullRequestStatusChangedEventMetadata

PullRequestTarget

pullRequestTarget_sourceCommit :: Lens' PullRequestTarget (Maybe Text) Source #

The full commit ID of the tip of the source branch used to create the pull request. If the pull request branch is updated by a push while the pull request is open, the commit ID changes to reflect the new tip of the branch.

pullRequestTarget_destinationReference :: Lens' PullRequestTarget (Maybe Text) Source #

The branch of the repository where the pull request changes are merged. Also known as the destination branch.

pullRequestTarget_mergeMetadata :: Lens' PullRequestTarget (Maybe MergeMetadata) Source #

Returns metadata about the state of the merge, including whether the merge has been made.

pullRequestTarget_mergeBase :: Lens' PullRequestTarget (Maybe Text) Source #

The commit ID of the most recent commit that the source branch and the destination branch have in common.

pullRequestTarget_destinationCommit :: Lens' PullRequestTarget (Maybe Text) Source #

The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged.

pullRequestTarget_repositoryName :: Lens' PullRequestTarget (Maybe Text) Source #

The name of the repository that contains the pull request source and destination branches.

pullRequestTarget_sourceReference :: Lens' PullRequestTarget (Maybe Text) Source #

The branch of the repository that contains the changes for the pull request. Also known as the source branch.

PutFileEntry

putFileEntry_fileContent :: Lens' PutFileEntry (Maybe ByteString) Source #

The content of the file, if a source file is not specified.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

putFileEntry_fileMode :: Lens' PutFileEntry (Maybe FileModeTypeEnum) Source #

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

putFileEntry_sourceFile :: Lens' PutFileEntry (Maybe SourceFileSpecifier) Source #

The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.

putFileEntry_filePath :: Lens' PutFileEntry Text Source #

The full path to the file in the repository, including the name of the file.

ReactionForComment

reactionForComment_reactionUsers :: Lens' ReactionForComment (Maybe [Text]) Source #

The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

reactionForComment_reactionsFromDeletedUsersCount :: Lens' ReactionForComment (Maybe Int) Source #

A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.

ReactionValueFormats

reactionValueFormats_emoji :: Lens' ReactionValueFormats (Maybe Text) Source #

The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.

reactionValueFormats_shortCode :: Lens' ReactionValueFormats (Maybe Text) Source #

The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.

reactionValueFormats_unicode :: Lens' ReactionValueFormats (Maybe Text) Source #

The Unicode codepoint for the reaction.

ReplaceContentEntry

replaceContentEntry_fileMode :: Lens' ReplaceContentEntry (Maybe FileModeTypeEnum) Source #

The file mode to apply during conflict resoltion.

replaceContentEntry_content :: Lens' ReplaceContentEntry (Maybe ByteString) Source #

The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

replaceContentEntry_replacementType :: Lens' ReplaceContentEntry ReplacementTypeEnum Source #

The replacement type to use when determining how to resolve the conflict.

RepositoryMetadata

repositoryMetadata_repositoryDescription :: Lens' RepositoryMetadata (Maybe Text) Source #

A comment or description about the repository.

repositoryMetadata_lastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime) Source #

The date and time the repository was last modified, in timestamp format.

repositoryMetadata_arn :: Lens' RepositoryMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the repository.

repositoryMetadata_cloneUrlHttp :: Lens' RepositoryMetadata (Maybe Text) Source #

The URL to use for cloning the repository over HTTPS.

repositoryMetadata_accountId :: Lens' RepositoryMetadata (Maybe Text) Source #

The ID of the AWS account associated with the repository.

repositoryMetadata_defaultBranch :: Lens' RepositoryMetadata (Maybe Text) Source #

The repository's default branch name.

repositoryMetadata_creationDate :: Lens' RepositoryMetadata (Maybe UTCTime) Source #

The date and time the repository was created, in timestamp format.

repositoryMetadata_cloneUrlSsh :: Lens' RepositoryMetadata (Maybe Text) Source #

The URL to use for cloning the repository over SSH.

RepositoryNameIdPair

repositoryNameIdPair_repositoryName :: Lens' RepositoryNameIdPair (Maybe Text) Source #

The name associated with the repository.

RepositoryTrigger

repositoryTrigger_branches :: Lens' RepositoryTrigger (Maybe [Text]) Source #

The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.

Although no content is required in the array, you must include the array itself.

repositoryTrigger_customData :: Lens' RepositoryTrigger (Maybe Text) Source #

Any custom data associated with the trigger to be included in the information sent to the target of the trigger.

repositoryTrigger_destinationArn :: Lens' RepositoryTrigger Text Source #

The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).

repositoryTrigger_events :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum] Source #

The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.

The valid value "all" cannot be used with any other values.

RepositoryTriggerExecutionFailure

SetFileModeEntry

setFileModeEntry_filePath :: Lens' SetFileModeEntry Text Source #

The full path to the file, including the name of the file.

SourceFileSpecifier

sourceFileSpecifier_isMove :: Lens' SourceFileSpecifier (Maybe Bool) Source #

Whether to remove the source file from the parent commit.

sourceFileSpecifier_filePath :: Lens' SourceFileSpecifier Text Source #

The full path to the file, including the name of the file.

SubModule

subModule_commitId :: Lens' SubModule (Maybe Text) Source #

The commit ID that contains the reference to the submodule.

subModule_absolutePath :: Lens' SubModule (Maybe Text) Source #

The fully qualified path to the folder that contains the reference to the submodule.

subModule_relativePath :: Lens' SubModule (Maybe Text) Source #

The relative path of the submodule from the folder where the query originated.

SymbolicLink

symbolicLink_absolutePath :: Lens' SymbolicLink (Maybe Text) Source #

The fully qualified path to the folder that contains the symbolic link.

symbolicLink_fileMode :: Lens' SymbolicLink (Maybe FileModeTypeEnum) Source #

The file mode permissions of the blob that cotains information about the symbolic link.

symbolicLink_blobId :: Lens' SymbolicLink (Maybe Text) Source #

The blob ID that contains the information about the symbolic link.

symbolicLink_relativePath :: Lens' SymbolicLink (Maybe Text) Source #

The relative path of the symbolic link from the folder where the query originated.

Target

target_destinationReference :: Lens' Target (Maybe Text) Source #

The branch of the repository where the pull request changes are merged. Also known as the destination branch.

target_repositoryName :: Lens' Target Text Source #

The name of the repository that contains the pull request.

target_sourceReference :: Lens' Target Text Source #

The branch of the repository that contains the changes for the pull request. Also known as the source branch.

UserInfo

userInfo_email :: Lens' UserInfo (Maybe Text) Source #

The email address associated with the user who made the commit, if any.

userInfo_date :: Lens' UserInfo (Maybe Text) Source #

The date when the specified commit was commited, in timestamp format with GMT offset.

userInfo_name :: Lens' UserInfo (Maybe Text) Source #

The name of the user who made the specified commit.