@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface CodeCommitAsyncClient extends SdkClient
builder()
method.
This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples.
You can use the AWS CodeCommit API to work with the following objects:
Repositories, by calling the following:
BatchGetRepositories, which returns information about one or more repositories associated with your AWS account.
CreateRepository, which creates an AWS CodeCommit repository.
DeleteRepository, which deletes an AWS CodeCommit repository.
GetRepository, which returns information about a specified repository.
ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account.
UpdateRepositoryDescription, which sets or updates the description of the repository.
UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no other users of that repository can access it until you send them the new HTTPS or SSH URL to use.
Branches, by calling the following:
CreateBranch, which creates a branch in a specified repository.
DeleteBranch, which deletes the specified branch in a repository unless it is the default branch.
GetBranch, which returns information about a specified branch.
ListBranches, which lists all branches for a specified repository.
UpdateDefaultBranch, which changes the default branch for a repository.
Files, by calling the following:
DeleteFile, which deletes the content of a specified file from a specified branch.
GetBlob, which returns the base-64 encoded content of an individual Git blob object in a repository.
GetFile, which returns the base-64 encoded content of a specified file.
GetFolder, which returns the contents of a specified folder or directory.
PutFile, which adds or modifies a single file in a specified repository and branch.
Commits, by calling the following:
BatchGetCommits, which returns information about one or more commits in a repository.
CreateCommit, which creates a commit for changes to a repository.
GetCommit, which returns information about a commit, including commit messages and author and committer information.
GetDifferences, which returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference).
Merges, by calling the following:
BatchDescribeMergeConflicts, which returns information about conflicts in a merge between commits in a repository.
CreateUnreferencedMergeCommit, which creates an unreferenced commit between two branches or commits for the purpose of comparing them and identifying any potential conflicts.
DescribeMergeConflicts, which returns information about merge conflicts between the base, source, and destination versions of a file in a potential merge.
GetMergeCommit, which returns information about the merge between a source and destination commit.
GetMergeConflicts, which returns information about merge conflicts between the source and destination branch in a pull request.
GetMergeOptions, which returns information about the available merge options between two branches or commit specifiers.
MergeBranchesByFastForward, which merges two branches using the fast-forward merge option.
MergeBranchesBySquash, which merges two branches using the squash merge option.
MergeBranchesByThreeWay, which merges two branches using the three-way merge option.
Pull requests, by calling the following:
CreatePullRequest, which creates a pull request in a specified repository.
CreatePullRequestApprovalRule, which creates an approval rule for a specified pull request.
DeletePullRequestApprovalRule, which deletes an approval rule for a specified pull request.
DescribePullRequestEvents, which returns information about one or more pull request events.
EvaluatePullRequestApprovalRules, which evaluates whether a pull request has met all the conditions specified in its associated approval rules.
GetCommentsForPullRequest, which returns information about comments on a specified pull request.
GetPullRequest, which returns information about a specified pull request.
GetPullRequestApprovalStates, which returns information about the approval states for a specified pull request.
GetPullRequestOverrideState, which returns information about whether approval rules have been set aside (overriden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.
ListPullRequests, which lists all pull requests for a repository.
MergePullRequestByFastForward, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the fast-forward merge option.
MergePullRequestBySquash, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the squash merge option.
MergePullRequestByThreeWay. which merges the source destination branch of a pull request into the specified destination branch for that pull request using the three-way merge option.
OverridePullRequestApprovalRules, which sets aside all approval rule requirements for a pull request.
PostCommentForPullRequest, which posts a comment to a pull request at the specified line, file, or request.
UpdatePullRequestApprovalRuleContent, which updates the structure of an approval rule for a pull request.
UpdatePullRequestApprovalState, which updates the state of an approval on a pull request.
UpdatePullRequestDescription, which updates the description of a pull request.
UpdatePullRequestStatus, which updates the status of a pull request.
UpdatePullRequestTitle, which updates the title of a pull request.
Approval rule templates, by calling the following:
AssociateApprovalRuleTemplateWithRepository, which associates a template with a specified repository. After the template is associated with a repository, AWS CodeCommit creates approval rules that match the template conditions on every pull request created in the specified repository.
BatchAssociateApprovalRuleTemplateWithRepositories, which associates a template with one or more specified repositories. After the template is associated with a repository, AWS CodeCommit creates approval rules that match the template conditions on every pull request created in the specified repositories.
BatchDisassociateApprovalRuleTemplateFromRepositories, which removes the association between a template and specified repositories so that approval rules based on the template are not automatically created when pull requests are created in those repositories.
CreateApprovalRuleTemplate, which creates a template for approval rules that can then be associated with one or more repositories in your AWS account.
DeleteApprovalRuleTemplate, which deletes the specified template. It does not remove approval rules on pull requests already created with the template.
DisassociateApprovalRuleTemplateFromRepository, which removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository.
GetApprovalRuleTemplate, which returns information about an approval rule template.
ListApprovalRuleTemplates, which lists all approval rule templates in the AWS Region in your AWS account.
ListAssociatedApprovalRuleTemplatesForRepository, which lists all approval rule templates that are associated with a specified repository.
ListRepositoriesForApprovalRuleTemplate, which lists all repositories associated with the specified approval rule template.
UpdateApprovalRuleTemplateDescription, which updates the description of an approval rule template.
UpdateApprovalRuleTemplateName, which updates the name of an approval rule template.
UpdateApprovalRuleTemplateContent, which updates the content of an approval rule template.
Comments in a repository, by calling the following:
DeleteCommentContent, which deletes the content of a comment on a commit in a repository.
GetComment, which returns information about a comment on a commit.
GetCommentReactions, which returns information about emoji reactions to comments.
GetCommentsForComparedCommit, which returns information about comments on the comparison between two commit specifiers in a repository.
PostCommentForComparedCommit, which creates a comment on the comparison between two commit specifiers in a repository.
PostCommentReply, which creates a reply to a comment.
PutCommentReaction, which creates or updates an emoji reaction to a comment.
UpdateComment, which updates the content of a comment on a commit in a repository.
Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:
ListTagsForResource, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.
TagResource, which adds or updates tags for a resource in AWS CodeCommit.
UntagResource, which removes tags for a resource in AWS CodeCommit.
Triggers, by calling the following:
GetRepositoryTriggers, which returns information about triggers configured for a repository.
PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete triggers.
TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger target.
For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<AssociateApprovalRuleTemplateWithRepositoryResponse> |
associateApprovalRuleTemplateWithRepository(AssociateApprovalRuleTemplateWithRepositoryRequest associateApprovalRuleTemplateWithRepositoryRequest)
Creates an association between an approval rule template and a specified repository.
|
default CompletableFuture<AssociateApprovalRuleTemplateWithRepositoryResponse> |
associateApprovalRuleTemplateWithRepository(Consumer<AssociateApprovalRuleTemplateWithRepositoryRequest.Builder> associateApprovalRuleTemplateWithRepositoryRequest)
Creates an association between an approval rule template and a specified repository.
|
default CompletableFuture<BatchAssociateApprovalRuleTemplateWithRepositoriesResponse> |
batchAssociateApprovalRuleTemplateWithRepositories(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest batchAssociateApprovalRuleTemplateWithRepositoriesRequest)
Creates an association between an approval rule template and one or more specified repositories.
|
default CompletableFuture<BatchAssociateApprovalRuleTemplateWithRepositoriesResponse> |
batchAssociateApprovalRuleTemplateWithRepositories(Consumer<BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder> batchAssociateApprovalRuleTemplateWithRepositoriesRequest)
Creates an association between an approval rule template and one or more specified repositories.
|
default CompletableFuture<BatchDescribeMergeConflictsResponse> |
batchDescribeMergeConflicts(BatchDescribeMergeConflictsRequest batchDescribeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the
squash or three-way merge strategy.
|
default CompletableFuture<BatchDescribeMergeConflictsResponse> |
batchDescribeMergeConflicts(Consumer<BatchDescribeMergeConflictsRequest.Builder> batchDescribeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the
squash or three-way merge strategy.
|
default CompletableFuture<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse> |
batchDisassociateApprovalRuleTemplateFromRepositories(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest batchDisassociateApprovalRuleTemplateFromRepositoriesRequest)
Removes the association between an approval rule template and one or more specified repositories.
|
default CompletableFuture<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse> |
batchDisassociateApprovalRuleTemplateFromRepositories(Consumer<BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest.Builder> batchDisassociateApprovalRuleTemplateFromRepositoriesRequest)
Removes the association between an approval rule template and one or more specified repositories.
|
default CompletableFuture<BatchGetCommitsResponse> |
batchGetCommits(BatchGetCommitsRequest batchGetCommitsRequest)
Returns information about the contents of one or more commits in a repository.
|
default CompletableFuture<BatchGetCommitsResponse> |
batchGetCommits(Consumer<BatchGetCommitsRequest.Builder> batchGetCommitsRequest)
Returns information about the contents of one or more commits in a repository.
|
default CompletableFuture<BatchGetRepositoriesResponse> |
batchGetRepositories(BatchGetRepositoriesRequest batchGetRepositoriesRequest)
Returns information about one or more repositories.
|
default CompletableFuture<BatchGetRepositoriesResponse> |
batchGetRepositories(Consumer<BatchGetRepositoriesRequest.Builder> batchGetRepositoriesRequest)
Returns information about one or more repositories.
|
static CodeCommitAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
CodeCommitAsyncClient. |
static CodeCommitAsyncClient |
create()
Create a
CodeCommitAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateApprovalRuleTemplateResponse> |
createApprovalRuleTemplate(Consumer<CreateApprovalRuleTemplateRequest.Builder> createApprovalRuleTemplateRequest)
Creates a template for approval rules that can then be associated with one or more repositories in your AWS
account.
|
default CompletableFuture<CreateApprovalRuleTemplateResponse> |
createApprovalRuleTemplate(CreateApprovalRuleTemplateRequest createApprovalRuleTemplateRequest)
Creates a template for approval rules that can then be associated with one or more repositories in your AWS
account.
|
default CompletableFuture<CreateBranchResponse> |
createBranch(Consumer<CreateBranchRequest.Builder> createBranchRequest)
Creates a branch in a repository and points the branch to a commit.
|
default CompletableFuture<CreateBranchResponse> |
createBranch(CreateBranchRequest createBranchRequest)
Creates a branch in a repository and points the branch to a commit.
|
default CompletableFuture<CreateCommitResponse> |
createCommit(Consumer<CreateCommitRequest.Builder> createCommitRequest)
Creates a commit for a repository on the tip of a specified branch.
|
default CompletableFuture<CreateCommitResponse> |
createCommit(CreateCommitRequest createCommitRequest)
Creates a commit for a repository on the tip of a specified branch.
|
default CompletableFuture<CreatePullRequestResponse> |
createPullRequest(Consumer<CreatePullRequestRequest.Builder> createPullRequestRequest)
Creates a pull request in the specified repository.
|
default CompletableFuture<CreatePullRequestResponse> |
createPullRequest(CreatePullRequestRequest createPullRequestRequest)
Creates a pull request in the specified repository.
|
default CompletableFuture<CreatePullRequestApprovalRuleResponse> |
createPullRequestApprovalRule(Consumer<CreatePullRequestApprovalRuleRequest.Builder> createPullRequestApprovalRuleRequest)
Creates an approval rule for a pull request.
|
default CompletableFuture<CreatePullRequestApprovalRuleResponse> |
createPullRequestApprovalRule(CreatePullRequestApprovalRuleRequest createPullRequestApprovalRuleRequest)
Creates an approval rule for a pull request.
|
default CompletableFuture<CreateRepositoryResponse> |
createRepository(Consumer<CreateRepositoryRequest.Builder> createRepositoryRequest)
Creates a new, empty repository.
|
default CompletableFuture<CreateRepositoryResponse> |
createRepository(CreateRepositoryRequest createRepositoryRequest)
Creates a new, empty repository.
|
default CompletableFuture<CreateUnreferencedMergeCommitResponse> |
createUnreferencedMergeCommit(Consumer<CreateUnreferencedMergeCommitRequest.Builder> createUnreferencedMergeCommitRequest)
Creates an unreferenced commit that represents the result of merging two branches using a specified merge
strategy.
|
default CompletableFuture<CreateUnreferencedMergeCommitResponse> |
createUnreferencedMergeCommit(CreateUnreferencedMergeCommitRequest createUnreferencedMergeCommitRequest)
Creates an unreferenced commit that represents the result of merging two branches using a specified merge
strategy.
|
default CompletableFuture<DeleteApprovalRuleTemplateResponse> |
deleteApprovalRuleTemplate(Consumer<DeleteApprovalRuleTemplateRequest.Builder> deleteApprovalRuleTemplateRequest)
Deletes a specified approval rule template.
|
default CompletableFuture<DeleteApprovalRuleTemplateResponse> |
deleteApprovalRuleTemplate(DeleteApprovalRuleTemplateRequest deleteApprovalRuleTemplateRequest)
Deletes a specified approval rule template.
|
default CompletableFuture<DeleteBranchResponse> |
deleteBranch(Consumer<DeleteBranchRequest.Builder> deleteBranchRequest)
Deletes a branch from a repository, unless that branch is the default branch for the repository.
|
default CompletableFuture<DeleteBranchResponse> |
deleteBranch(DeleteBranchRequest deleteBranchRequest)
Deletes a branch from a repository, unless that branch is the default branch for the repository.
|
default CompletableFuture<DeleteCommentContentResponse> |
deleteCommentContent(Consumer<DeleteCommentContentRequest.Builder> deleteCommentContentRequest)
Deletes the content of a comment made on a change, file, or commit in a repository.
|
default CompletableFuture<DeleteCommentContentResponse> |
deleteCommentContent(DeleteCommentContentRequest deleteCommentContentRequest)
Deletes the content of a comment made on a change, file, or commit in a repository.
|
default CompletableFuture<DeleteFileResponse> |
deleteFile(Consumer<DeleteFileRequest.Builder> deleteFileRequest)
Deletes a specified file from a specified branch.
|
default CompletableFuture<DeleteFileResponse> |
deleteFile(DeleteFileRequest deleteFileRequest)
Deletes a specified file from a specified branch.
|
default CompletableFuture<DeletePullRequestApprovalRuleResponse> |
deletePullRequestApprovalRule(Consumer<DeletePullRequestApprovalRuleRequest.Builder> deletePullRequestApprovalRuleRequest)
Deletes an approval rule from a specified pull request.
|
default CompletableFuture<DeletePullRequestApprovalRuleResponse> |
deletePullRequestApprovalRule(DeletePullRequestApprovalRuleRequest deletePullRequestApprovalRuleRequest)
Deletes an approval rule from a specified pull request.
|
default CompletableFuture<DeleteRepositoryResponse> |
deleteRepository(Consumer<DeleteRepositoryRequest.Builder> deleteRepositoryRequest)
Deletes a repository.
|
default CompletableFuture<DeleteRepositoryResponse> |
deleteRepository(DeleteRepositoryRequest deleteRepositoryRequest)
Deletes a repository.
|
default CompletableFuture<DescribeMergeConflictsResponse> |
describeMergeConflicts(Consumer<DescribeMergeConflictsRequest.Builder> describeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the
squash or three-way merge strategy.
|
default CompletableFuture<DescribeMergeConflictsResponse> |
describeMergeConflicts(DescribeMergeConflictsRequest describeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the
squash or three-way merge strategy.
|
default DescribeMergeConflictsPublisher |
describeMergeConflictsPaginator(Consumer<DescribeMergeConflictsRequest.Builder> describeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the
squash or three-way merge strategy.
|
default DescribeMergeConflictsPublisher |
describeMergeConflictsPaginator(DescribeMergeConflictsRequest describeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the
squash or three-way merge strategy.
|
default CompletableFuture<DescribePullRequestEventsResponse> |
describePullRequestEvents(Consumer<DescribePullRequestEventsRequest.Builder> describePullRequestEventsRequest)
Returns information about one or more pull request events.
|
default CompletableFuture<DescribePullRequestEventsResponse> |
describePullRequestEvents(DescribePullRequestEventsRequest describePullRequestEventsRequest)
Returns information about one or more pull request events.
|
default DescribePullRequestEventsPublisher |
describePullRequestEventsPaginator(Consumer<DescribePullRequestEventsRequest.Builder> describePullRequestEventsRequest)
Returns information about one or more pull request events.
|
default DescribePullRequestEventsPublisher |
describePullRequestEventsPaginator(DescribePullRequestEventsRequest describePullRequestEventsRequest)
Returns information about one or more pull request events.
|
default CompletableFuture<DisassociateApprovalRuleTemplateFromRepositoryResponse> |
disassociateApprovalRuleTemplateFromRepository(Consumer<DisassociateApprovalRuleTemplateFromRepositoryRequest.Builder> disassociateApprovalRuleTemplateFromRepositoryRequest)
Removes the association between a template and a repository so that approval rules based on the template are not
automatically created when pull requests are created in the specified repository.
|
default CompletableFuture<DisassociateApprovalRuleTemplateFromRepositoryResponse> |
disassociateApprovalRuleTemplateFromRepository(DisassociateApprovalRuleTemplateFromRepositoryRequest disassociateApprovalRuleTemplateFromRepositoryRequest)
Removes the association between a template and a repository so that approval rules based on the template are not
automatically created when pull requests are created in the specified repository.
|
default CompletableFuture<EvaluatePullRequestApprovalRulesResponse> |
evaluatePullRequestApprovalRules(Consumer<EvaluatePullRequestApprovalRulesRequest.Builder> evaluatePullRequestApprovalRulesRequest)
Evaluates whether a pull request has met all the conditions specified in its associated approval rules.
|
default CompletableFuture<EvaluatePullRequestApprovalRulesResponse> |
evaluatePullRequestApprovalRules(EvaluatePullRequestApprovalRulesRequest evaluatePullRequestApprovalRulesRequest)
Evaluates whether a pull request has met all the conditions specified in its associated approval rules.
|
default CompletableFuture<GetApprovalRuleTemplateResponse> |
getApprovalRuleTemplate(Consumer<GetApprovalRuleTemplateRequest.Builder> getApprovalRuleTemplateRequest)
Returns information about a specified approval rule template.
|
default CompletableFuture<GetApprovalRuleTemplateResponse> |
getApprovalRuleTemplate(GetApprovalRuleTemplateRequest getApprovalRuleTemplateRequest)
Returns information about a specified approval rule template.
|
default CompletableFuture<GetBlobResponse> |
getBlob(Consumer<GetBlobRequest.Builder> getBlobRequest)
Returns the base-64 encoded content of an individual blob in a repository.
|
default CompletableFuture<GetBlobResponse> |
getBlob(GetBlobRequest getBlobRequest)
Returns the base-64 encoded content of an individual blob in a repository.
|
default CompletableFuture<GetBranchResponse> |
getBranch(Consumer<GetBranchRequest.Builder> getBranchRequest)
Returns information about a repository branch, including its name and the last commit ID.
|
default CompletableFuture<GetBranchResponse> |
getBranch(GetBranchRequest getBranchRequest)
Returns information about a repository branch, including its name and the last commit ID.
|
default CompletableFuture<GetCommentResponse> |
getComment(Consumer<GetCommentRequest.Builder> getCommentRequest)
Returns the content of a comment made on a change, file, or commit in a repository.
|
default CompletableFuture<GetCommentResponse> |
getComment(GetCommentRequest getCommentRequest)
Returns the content of a comment made on a change, file, or commit in a repository.
|
default CompletableFuture<GetCommentReactionsResponse> |
getCommentReactions(Consumer<GetCommentReactionsRequest.Builder> getCommentReactionsRequest)
Returns information about reactions to a specified comment ID.
|
default CompletableFuture<GetCommentReactionsResponse> |
getCommentReactions(GetCommentReactionsRequest getCommentReactionsRequest)
Returns information about reactions to a specified comment ID.
|
default GetCommentReactionsPublisher |
getCommentReactionsPaginator(Consumer<GetCommentReactionsRequest.Builder> getCommentReactionsRequest)
Returns information about reactions to a specified comment ID.
|
default GetCommentReactionsPublisher |
getCommentReactionsPaginator(GetCommentReactionsRequest getCommentReactionsRequest)
Returns information about reactions to a specified comment ID.
|
default CompletableFuture<GetCommentsForComparedCommitResponse> |
getCommentsForComparedCommit(Consumer<GetCommentsForComparedCommitRequest.Builder> getCommentsForComparedCommitRequest)
Returns information about comments made on the comparison between two commits.
|
default CompletableFuture<GetCommentsForComparedCommitResponse> |
getCommentsForComparedCommit(GetCommentsForComparedCommitRequest getCommentsForComparedCommitRequest)
Returns information about comments made on the comparison between two commits.
|
default GetCommentsForComparedCommitPublisher |
getCommentsForComparedCommitPaginator(Consumer<GetCommentsForComparedCommitRequest.Builder> getCommentsForComparedCommitRequest)
Returns information about comments made on the comparison between two commits.
|
default GetCommentsForComparedCommitPublisher |
getCommentsForComparedCommitPaginator(GetCommentsForComparedCommitRequest getCommentsForComparedCommitRequest)
Returns information about comments made on the comparison between two commits.
|
default CompletableFuture<GetCommentsForPullRequestResponse> |
getCommentsForPullRequest(Consumer<GetCommentsForPullRequestRequest.Builder> getCommentsForPullRequestRequest)
Returns comments made on a pull request.
|
default CompletableFuture<GetCommentsForPullRequestResponse> |
getCommentsForPullRequest(GetCommentsForPullRequestRequest getCommentsForPullRequestRequest)
Returns comments made on a pull request.
|
default GetCommentsForPullRequestPublisher |
getCommentsForPullRequestPaginator(Consumer<GetCommentsForPullRequestRequest.Builder> getCommentsForPullRequestRequest)
Returns comments made on a pull request.
|
default GetCommentsForPullRequestPublisher |
getCommentsForPullRequestPaginator(GetCommentsForPullRequestRequest getCommentsForPullRequestRequest)
Returns comments made on a pull request.
|
default CompletableFuture<GetCommitResponse> |
getCommit(Consumer<GetCommitRequest.Builder> getCommitRequest)
Returns information about a commit, including commit message and committer information.
|
default CompletableFuture<GetCommitResponse> |
getCommit(GetCommitRequest getCommitRequest)
Returns information about a commit, including commit message and committer information.
|
default CompletableFuture<GetDifferencesResponse> |
getDifferences(Consumer<GetDifferencesRequest.Builder> getDifferencesRequest)
Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or
other fully qualified reference).
|
default CompletableFuture<GetDifferencesResponse> |
getDifferences(GetDifferencesRequest getDifferencesRequest)
Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or
other fully qualified reference).
|
default GetDifferencesPublisher |
getDifferencesPaginator(Consumer<GetDifferencesRequest.Builder> getDifferencesRequest)
Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or
other fully qualified reference).
|
default GetDifferencesPublisher |
getDifferencesPaginator(GetDifferencesRequest getDifferencesRequest)
Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or
other fully qualified reference).
|
default CompletableFuture<GetFileResponse> |
getFile(Consumer<GetFileRequest.Builder> getFileRequest)
Returns the base-64 encoded contents of a specified file and its metadata.
|
default CompletableFuture<GetFileResponse> |
getFile(GetFileRequest getFileRequest)
Returns the base-64 encoded contents of a specified file and its metadata.
|
default CompletableFuture<GetFolderResponse> |
getFolder(Consumer<GetFolderRequest.Builder> getFolderRequest)
Returns the contents of a specified folder in a repository.
|
default CompletableFuture<GetFolderResponse> |
getFolder(GetFolderRequest getFolderRequest)
Returns the contents of a specified folder in a repository.
|
default CompletableFuture<GetMergeCommitResponse> |
getMergeCommit(Consumer<GetMergeCommitRequest.Builder> getMergeCommitRequest)
Returns information about a specified merge commit.
|
default CompletableFuture<GetMergeCommitResponse> |
getMergeCommit(GetMergeCommitRequest getMergeCommitRequest)
Returns information about a specified merge commit.
|
default CompletableFuture<GetMergeConflictsResponse> |
getMergeConflicts(Consumer<GetMergeConflictsRequest.Builder> getMergeConflictsRequest)
Returns information about merge conflicts between the before and after commit IDs for a pull request in a
repository.
|
default CompletableFuture<GetMergeConflictsResponse> |
getMergeConflicts(GetMergeConflictsRequest getMergeConflictsRequest)
Returns information about merge conflicts between the before and after commit IDs for a pull request in a
repository.
|
default GetMergeConflictsPublisher |
getMergeConflictsPaginator(Consumer<GetMergeConflictsRequest.Builder> getMergeConflictsRequest)
Returns information about merge conflicts between the before and after commit IDs for a pull request in a
repository.
|
default GetMergeConflictsPublisher |
getMergeConflictsPaginator(GetMergeConflictsRequest getMergeConflictsRequest)
Returns information about merge conflicts between the before and after commit IDs for a pull request in a
repository.
|
default CompletableFuture<GetMergeOptionsResponse> |
getMergeOptions(Consumer<GetMergeOptionsRequest.Builder> getMergeOptionsRequest)
Returns information about the merge options available for merging two specified branches.
|
default CompletableFuture<GetMergeOptionsResponse> |
getMergeOptions(GetMergeOptionsRequest getMergeOptionsRequest)
Returns information about the merge options available for merging two specified branches.
|
default CompletableFuture<GetPullRequestResponse> |
getPullRequest(Consumer<GetPullRequestRequest.Builder> getPullRequestRequest)
Gets information about a pull request in a specified repository.
|
default CompletableFuture<GetPullRequestResponse> |
getPullRequest(GetPullRequestRequest getPullRequestRequest)
Gets information about a pull request in a specified repository.
|
default CompletableFuture<GetPullRequestApprovalStatesResponse> |
getPullRequestApprovalStates(Consumer<GetPullRequestApprovalStatesRequest.Builder> getPullRequestApprovalStatesRequest)
Gets information about the approval states for a specified pull request.
|
default CompletableFuture<GetPullRequestApprovalStatesResponse> |
getPullRequestApprovalStates(GetPullRequestApprovalStatesRequest getPullRequestApprovalStatesRequest)
Gets information about the approval states for a specified pull request.
|
default CompletableFuture<GetPullRequestOverrideStateResponse> |
getPullRequestOverrideState(Consumer<GetPullRequestOverrideStateRequest.Builder> getPullRequestOverrideStateRequest)
Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so,
the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the
pull request.
|
default CompletableFuture<GetPullRequestOverrideStateResponse> |
getPullRequestOverrideState(GetPullRequestOverrideStateRequest getPullRequestOverrideStateRequest)
Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so,
the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the
pull request.
|
default CompletableFuture<GetRepositoryResponse> |
getRepository(Consumer<GetRepositoryRequest.Builder> getRepositoryRequest)
Returns information about a repository.
|
default CompletableFuture<GetRepositoryResponse> |
getRepository(GetRepositoryRequest getRepositoryRequest)
Returns information about a repository.
|
default CompletableFuture<GetRepositoryTriggersResponse> |
getRepositoryTriggers(Consumer<GetRepositoryTriggersRequest.Builder> getRepositoryTriggersRequest)
Gets information about triggers configured for a repository.
|
default CompletableFuture<GetRepositoryTriggersResponse> |
getRepositoryTriggers(GetRepositoryTriggersRequest getRepositoryTriggersRequest)
Gets information about triggers configured for a repository.
|
default CompletableFuture<ListApprovalRuleTemplatesResponse> |
listApprovalRuleTemplates(Consumer<ListApprovalRuleTemplatesRequest.Builder> listApprovalRuleTemplatesRequest)
Lists all approval rule templates in the specified AWS Region in your AWS account.
|
default CompletableFuture<ListApprovalRuleTemplatesResponse> |
listApprovalRuleTemplates(ListApprovalRuleTemplatesRequest listApprovalRuleTemplatesRequest)
Lists all approval rule templates in the specified AWS Region in your AWS account.
|
default ListApprovalRuleTemplatesPublisher |
listApprovalRuleTemplatesPaginator(Consumer<ListApprovalRuleTemplatesRequest.Builder> listApprovalRuleTemplatesRequest)
Lists all approval rule templates in the specified AWS Region in your AWS account.
|
default ListApprovalRuleTemplatesPublisher |
listApprovalRuleTemplatesPaginator(ListApprovalRuleTemplatesRequest listApprovalRuleTemplatesRequest)
Lists all approval rule templates in the specified AWS Region in your AWS account.
|
default CompletableFuture<ListAssociatedApprovalRuleTemplatesForRepositoryResponse> |
listAssociatedApprovalRuleTemplatesForRepository(Consumer<ListAssociatedApprovalRuleTemplatesForRepositoryRequest.Builder> listAssociatedApprovalRuleTemplatesForRepositoryRequest)
Lists all approval rule templates that are associated with a specified repository.
|
default CompletableFuture<ListAssociatedApprovalRuleTemplatesForRepositoryResponse> |
listAssociatedApprovalRuleTemplatesForRepository(ListAssociatedApprovalRuleTemplatesForRepositoryRequest listAssociatedApprovalRuleTemplatesForRepositoryRequest)
Lists all approval rule templates that are associated with a specified repository.
|
default ListAssociatedApprovalRuleTemplatesForRepositoryPublisher |
listAssociatedApprovalRuleTemplatesForRepositoryPaginator(Consumer<ListAssociatedApprovalRuleTemplatesForRepositoryRequest.Builder> listAssociatedApprovalRuleTemplatesForRepositoryRequest)
Lists all approval rule templates that are associated with a specified repository.
|
default ListAssociatedApprovalRuleTemplatesForRepositoryPublisher |
listAssociatedApprovalRuleTemplatesForRepositoryPaginator(ListAssociatedApprovalRuleTemplatesForRepositoryRequest listAssociatedApprovalRuleTemplatesForRepositoryRequest)
Lists all approval rule templates that are associated with a specified repository.
|
default CompletableFuture<ListBranchesResponse> |
listBranches(Consumer<ListBranchesRequest.Builder> listBranchesRequest)
Gets information about one or more branches in a repository.
|
default CompletableFuture<ListBranchesResponse> |
listBranches(ListBranchesRequest listBranchesRequest)
Gets information about one or more branches in a repository.
|
default ListBranchesPublisher |
listBranchesPaginator(Consumer<ListBranchesRequest.Builder> listBranchesRequest)
Gets information about one or more branches in a repository.
|
default ListBranchesPublisher |
listBranchesPaginator(ListBranchesRequest listBranchesRequest)
Gets information about one or more branches in a repository.
|
default CompletableFuture<ListPullRequestsResponse> |
listPullRequests(Consumer<ListPullRequestsRequest.Builder> listPullRequestsRequest)
Returns a list of pull requests for a specified repository.
|
default CompletableFuture<ListPullRequestsResponse> |
listPullRequests(ListPullRequestsRequest listPullRequestsRequest)
Returns a list of pull requests for a specified repository.
|
default ListPullRequestsPublisher |
listPullRequestsPaginator(Consumer<ListPullRequestsRequest.Builder> listPullRequestsRequest)
Returns a list of pull requests for a specified repository.
|
default ListPullRequestsPublisher |
listPullRequestsPaginator(ListPullRequestsRequest listPullRequestsRequest)
Returns a list of pull requests for a specified repository.
|
default CompletableFuture<ListRepositoriesResponse> |
listRepositories()
Gets information about one or more repositories.
|
default CompletableFuture<ListRepositoriesResponse> |
listRepositories(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest)
Gets information about one or more repositories.
|
default CompletableFuture<ListRepositoriesResponse> |
listRepositories(ListRepositoriesRequest listRepositoriesRequest)
Gets information about one or more repositories.
|
default CompletableFuture<ListRepositoriesForApprovalRuleTemplateResponse> |
listRepositoriesForApprovalRuleTemplate(Consumer<ListRepositoriesForApprovalRuleTemplateRequest.Builder> listRepositoriesForApprovalRuleTemplateRequest)
Lists all repositories associated with the specified approval rule template.
|
default CompletableFuture<ListRepositoriesForApprovalRuleTemplateResponse> |
listRepositoriesForApprovalRuleTemplate(ListRepositoriesForApprovalRuleTemplateRequest listRepositoriesForApprovalRuleTemplateRequest)
Lists all repositories associated with the specified approval rule template.
|
default ListRepositoriesForApprovalRuleTemplatePublisher |
listRepositoriesForApprovalRuleTemplatePaginator(Consumer<ListRepositoriesForApprovalRuleTemplateRequest.Builder> listRepositoriesForApprovalRuleTemplateRequest)
Lists all repositories associated with the specified approval rule template.
|
default ListRepositoriesForApprovalRuleTemplatePublisher |
listRepositoriesForApprovalRuleTemplatePaginator(ListRepositoriesForApprovalRuleTemplateRequest listRepositoriesForApprovalRuleTemplateRequest)
Lists all repositories associated with the specified approval rule template.
|
default ListRepositoriesPublisher |
listRepositoriesPaginator()
Gets information about one or more repositories.
|
default ListRepositoriesPublisher |
listRepositoriesPaginator(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest)
Gets information about one or more repositories.
|
default ListRepositoriesPublisher |
listRepositoriesPaginator(ListRepositoriesRequest listRepositoriesRequest)
Gets information about one or more repositories.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.
|
default CompletableFuture<MergeBranchesByFastForwardResponse> |
mergeBranchesByFastForward(Consumer<MergeBranchesByFastForwardRequest.Builder> mergeBranchesByFastForwardRequest)
Merges two branches using the fast-forward merge strategy.
|
default CompletableFuture<MergeBranchesByFastForwardResponse> |
mergeBranchesByFastForward(MergeBranchesByFastForwardRequest mergeBranchesByFastForwardRequest)
Merges two branches using the fast-forward merge strategy.
|
default CompletableFuture<MergeBranchesBySquashResponse> |
mergeBranchesBySquash(Consumer<MergeBranchesBySquashRequest.Builder> mergeBranchesBySquashRequest)
Merges two branches using the squash merge strategy.
|
default CompletableFuture<MergeBranchesBySquashResponse> |
mergeBranchesBySquash(MergeBranchesBySquashRequest mergeBranchesBySquashRequest)
Merges two branches using the squash merge strategy.
|
default CompletableFuture<MergeBranchesByThreeWayResponse> |
mergeBranchesByThreeWay(Consumer<MergeBranchesByThreeWayRequest.Builder> mergeBranchesByThreeWayRequest)
Merges two specified branches using the three-way merge strategy.
|
default CompletableFuture<MergeBranchesByThreeWayResponse> |
mergeBranchesByThreeWay(MergeBranchesByThreeWayRequest mergeBranchesByThreeWayRequest)
Merges two specified branches using the three-way merge strategy.
|
default CompletableFuture<MergePullRequestByFastForwardResponse> |
mergePullRequestByFastForward(Consumer<MergePullRequestByFastForwardRequest.Builder> mergePullRequestByFastForwardRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request
at the specified commit using the fast-forward merge strategy.
|
default CompletableFuture<MergePullRequestByFastForwardResponse> |
mergePullRequestByFastForward(MergePullRequestByFastForwardRequest mergePullRequestByFastForwardRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request
at the specified commit using the fast-forward merge strategy.
|
default CompletableFuture<MergePullRequestBySquashResponse> |
mergePullRequestBySquash(Consumer<MergePullRequestBySquashRequest.Builder> mergePullRequestBySquashRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request
at the specified commit using the squash merge strategy.
|
default CompletableFuture<MergePullRequestBySquashResponse> |
mergePullRequestBySquash(MergePullRequestBySquashRequest mergePullRequestBySquashRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request
at the specified commit using the squash merge strategy.
|
default CompletableFuture<MergePullRequestByThreeWayResponse> |
mergePullRequestByThreeWay(Consumer<MergePullRequestByThreeWayRequest.Builder> mergePullRequestByThreeWayRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request
at the specified commit using the three-way merge strategy.
|
default CompletableFuture<MergePullRequestByThreeWayResponse> |
mergePullRequestByThreeWay(MergePullRequestByThreeWayRequest mergePullRequestByThreeWayRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request
at the specified commit using the three-way merge strategy.
|
default CompletableFuture<OverridePullRequestApprovalRulesResponse> |
overridePullRequestApprovalRules(Consumer<OverridePullRequestApprovalRulesRequest.Builder> overridePullRequestApprovalRulesRequest)
Sets aside (overrides) all approval rule requirements for a specified pull request.
|
default CompletableFuture<OverridePullRequestApprovalRulesResponse> |
overridePullRequestApprovalRules(OverridePullRequestApprovalRulesRequest overridePullRequestApprovalRulesRequest)
Sets aside (overrides) all approval rule requirements for a specified pull request.
|
default CompletableFuture<PostCommentForComparedCommitResponse> |
postCommentForComparedCommit(Consumer<PostCommentForComparedCommitRequest.Builder> postCommentForComparedCommitRequest)
Posts a comment on the comparison between two commits.
|
default CompletableFuture<PostCommentForComparedCommitResponse> |
postCommentForComparedCommit(PostCommentForComparedCommitRequest postCommentForComparedCommitRequest)
Posts a comment on the comparison between two commits.
|
default CompletableFuture<PostCommentForPullRequestResponse> |
postCommentForPullRequest(Consumer<PostCommentForPullRequestRequest.Builder> postCommentForPullRequestRequest)
Posts a comment on a pull request.
|
default CompletableFuture<PostCommentForPullRequestResponse> |
postCommentForPullRequest(PostCommentForPullRequestRequest postCommentForPullRequestRequest)
Posts a comment on a pull request.
|
default CompletableFuture<PostCommentReplyResponse> |
postCommentReply(Consumer<PostCommentReplyRequest.Builder> postCommentReplyRequest)
Posts a comment in reply to an existing comment on a comparison between commits or a pull request.
|
default CompletableFuture<PostCommentReplyResponse> |
postCommentReply(PostCommentReplyRequest postCommentReplyRequest)
Posts a comment in reply to an existing comment on a comparison between commits or a pull request.
|
default CompletableFuture<PutCommentReactionResponse> |
putCommentReaction(Consumer<PutCommentReactionRequest.Builder> putCommentReactionRequest)
Adds or updates a reaction to a specified comment for the user whose identity is used to make the request.
|
default CompletableFuture<PutCommentReactionResponse> |
putCommentReaction(PutCommentReactionRequest putCommentReactionRequest)
Adds or updates a reaction to a specified comment for the user whose identity is used to make the request.
|
default CompletableFuture<PutFileResponse> |
putFile(Consumer<PutFileRequest.Builder> putFileRequest)
Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in
the specified branch.
|
default CompletableFuture<PutFileResponse> |
putFile(PutFileRequest putFileRequest)
Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in
the specified branch.
|
default CompletableFuture<PutRepositoryTriggersResponse> |
putRepositoryTriggers(Consumer<PutRepositoryTriggersRequest.Builder> putRepositoryTriggersRequest)
Replaces all triggers for a repository.
|
default CompletableFuture<PutRepositoryTriggersResponse> |
putRepositoryTriggers(PutRepositoryTriggersRequest putRepositoryTriggersRequest)
Replaces all triggers for a repository.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or updates tags for a resource in AWS CodeCommit.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds or updates tags for a resource in AWS CodeCommit.
|
default CompletableFuture<TestRepositoryTriggersResponse> |
testRepositoryTriggers(Consumer<TestRepositoryTriggersRequest.Builder> testRepositoryTriggersRequest)
Tests the functionality of repository triggers by sending information to the trigger target.
|
default CompletableFuture<TestRepositoryTriggersResponse> |
testRepositoryTriggers(TestRepositoryTriggersRequest testRepositoryTriggersRequest)
Tests the functionality of repository triggers by sending information to the trigger target.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags for a resource in AWS CodeCommit.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags for a resource in AWS CodeCommit.
|
default CompletableFuture<UpdateApprovalRuleTemplateContentResponse> |
updateApprovalRuleTemplateContent(Consumer<UpdateApprovalRuleTemplateContentRequest.Builder> updateApprovalRuleTemplateContentRequest)
Updates the content of an approval rule template.
|
default CompletableFuture<UpdateApprovalRuleTemplateContentResponse> |
updateApprovalRuleTemplateContent(UpdateApprovalRuleTemplateContentRequest updateApprovalRuleTemplateContentRequest)
Updates the content of an approval rule template.
|
default CompletableFuture<UpdateApprovalRuleTemplateDescriptionResponse> |
updateApprovalRuleTemplateDescription(Consumer<UpdateApprovalRuleTemplateDescriptionRequest.Builder> updateApprovalRuleTemplateDescriptionRequest)
Updates the description for a specified approval rule template.
|
default CompletableFuture<UpdateApprovalRuleTemplateDescriptionResponse> |
updateApprovalRuleTemplateDescription(UpdateApprovalRuleTemplateDescriptionRequest updateApprovalRuleTemplateDescriptionRequest)
Updates the description for a specified approval rule template.
|
default CompletableFuture<UpdateApprovalRuleTemplateNameResponse> |
updateApprovalRuleTemplateName(Consumer<UpdateApprovalRuleTemplateNameRequest.Builder> updateApprovalRuleTemplateNameRequest)
Updates the name of a specified approval rule template.
|
default CompletableFuture<UpdateApprovalRuleTemplateNameResponse> |
updateApprovalRuleTemplateName(UpdateApprovalRuleTemplateNameRequest updateApprovalRuleTemplateNameRequest)
Updates the name of a specified approval rule template.
|
default CompletableFuture<UpdateCommentResponse> |
updateComment(Consumer<UpdateCommentRequest.Builder> updateCommentRequest)
Replaces the contents of a comment.
|
default CompletableFuture<UpdateCommentResponse> |
updateComment(UpdateCommentRequest updateCommentRequest)
Replaces the contents of a comment.
|
default CompletableFuture<UpdateDefaultBranchResponse> |
updateDefaultBranch(Consumer<UpdateDefaultBranchRequest.Builder> updateDefaultBranchRequest)
Sets or changes the default branch name for the specified repository.
|
default CompletableFuture<UpdateDefaultBranchResponse> |
updateDefaultBranch(UpdateDefaultBranchRequest updateDefaultBranchRequest)
Sets or changes the default branch name for the specified repository.
|
default CompletableFuture<UpdatePullRequestApprovalRuleContentResponse> |
updatePullRequestApprovalRuleContent(Consumer<UpdatePullRequestApprovalRuleContentRequest.Builder> updatePullRequestApprovalRuleContentRequest)
Updates the structure of an approval rule created specifically for a pull request.
|
default CompletableFuture<UpdatePullRequestApprovalRuleContentResponse> |
updatePullRequestApprovalRuleContent(UpdatePullRequestApprovalRuleContentRequest updatePullRequestApprovalRuleContentRequest)
Updates the structure of an approval rule created specifically for a pull request.
|
default CompletableFuture<UpdatePullRequestApprovalStateResponse> |
updatePullRequestApprovalState(Consumer<UpdatePullRequestApprovalStateRequest.Builder> updatePullRequestApprovalStateRequest)
Updates the state of a user's approval on a pull request.
|
default CompletableFuture<UpdatePullRequestApprovalStateResponse> |
updatePullRequestApprovalState(UpdatePullRequestApprovalStateRequest updatePullRequestApprovalStateRequest)
Updates the state of a user's approval on a pull request.
|
default CompletableFuture<UpdatePullRequestDescriptionResponse> |
updatePullRequestDescription(Consumer<UpdatePullRequestDescriptionRequest.Builder> updatePullRequestDescriptionRequest)
Replaces the contents of the description of a pull request.
|
default CompletableFuture<UpdatePullRequestDescriptionResponse> |
updatePullRequestDescription(UpdatePullRequestDescriptionRequest updatePullRequestDescriptionRequest)
Replaces the contents of the description of a pull request.
|
default CompletableFuture<UpdatePullRequestStatusResponse> |
updatePullRequestStatus(Consumer<UpdatePullRequestStatusRequest.Builder> updatePullRequestStatusRequest)
Updates the status of a pull request.
|
default CompletableFuture<UpdatePullRequestStatusResponse> |
updatePullRequestStatus(UpdatePullRequestStatusRequest updatePullRequestStatusRequest)
Updates the status of a pull request.
|
default CompletableFuture<UpdatePullRequestTitleResponse> |
updatePullRequestTitle(Consumer<UpdatePullRequestTitleRequest.Builder> updatePullRequestTitleRequest)
Replaces the title of a pull request.
|
default CompletableFuture<UpdatePullRequestTitleResponse> |
updatePullRequestTitle(UpdatePullRequestTitleRequest updatePullRequestTitleRequest)
Replaces the title of a pull request.
|
default CompletableFuture<UpdateRepositoryDescriptionResponse> |
updateRepositoryDescription(Consumer<UpdateRepositoryDescriptionRequest.Builder> updateRepositoryDescriptionRequest)
Sets or changes the comment or description for a repository.
|
default CompletableFuture<UpdateRepositoryDescriptionResponse> |
updateRepositoryDescription(UpdateRepositoryDescriptionRequest updateRepositoryDescriptionRequest)
Sets or changes the comment or description for a repository.
|
default CompletableFuture<UpdateRepositoryNameResponse> |
updateRepositoryName(Consumer<UpdateRepositoryNameRequest.Builder> updateRepositoryNameRequest)
Renames a repository.
|
default CompletableFuture<UpdateRepositoryNameResponse> |
updateRepositoryName(UpdateRepositoryNameRequest updateRepositoryNameRequest)
Renames a repository.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static CodeCommitAsyncClient create()
CodeCommitAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static CodeCommitAsyncClientBuilder builder()
CodeCommitAsyncClient.default CompletableFuture<AssociateApprovalRuleTemplateWithRepositoryResponse> associateApprovalRuleTemplateWithRepository(AssociateApprovalRuleTemplateWithRepositoryRequest associateApprovalRuleTemplateWithRepositoryRequest)
Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.
associateApprovalRuleTemplateWithRepositoryRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<AssociateApprovalRuleTemplateWithRepositoryResponse> associateApprovalRuleTemplateWithRepository(Consumer<AssociateApprovalRuleTemplateWithRepositoryRequest.Builder> associateApprovalRuleTemplateWithRepositoryRequest)
Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.
This is a convenience which creates an instance of the
AssociateApprovalRuleTemplateWithRepositoryRequest.Builder avoiding the need to create one manually via
AssociateApprovalRuleTemplateWithRepositoryRequest.builder()
associateApprovalRuleTemplateWithRepositoryRequest - A Consumer that will call methods on
AssociateApprovalRuleTemplateWithRepositoryInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<BatchAssociateApprovalRuleTemplateWithRepositoriesResponse> batchAssociateApprovalRuleTemplateWithRepositories(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest batchAssociateApprovalRuleTemplateWithRepositoriesRequest)
Creates an association between an approval rule template and one or more specified repositories.
batchAssociateApprovalRuleTemplateWithRepositoriesRequest - default CompletableFuture<BatchAssociateApprovalRuleTemplateWithRepositoriesResponse> batchAssociateApprovalRuleTemplateWithRepositories(Consumer<BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder> batchAssociateApprovalRuleTemplateWithRepositoriesRequest)
Creates an association between an approval rule template and one or more specified repositories.
This is a convenience which creates an instance of the
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder avoiding the need to create one
manually via BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.builder()
batchAssociateApprovalRuleTemplateWithRepositoriesRequest - A Consumer that will call methods on
BatchAssociateApprovalRuleTemplateWithRepositoriesInput.Builder to create a request.default CompletableFuture<BatchDescribeMergeConflictsResponse> batchDescribeMergeConflicts(BatchDescribeMergeConflictsRequest batchDescribeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.
batchDescribeMergeConflictsRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<BatchDescribeMergeConflictsResponse> batchDescribeMergeConflicts(Consumer<BatchDescribeMergeConflictsRequest.Builder> batchDescribeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.
This is a convenience which creates an instance of the BatchDescribeMergeConflictsRequest.Builder
avoiding the need to create one manually via BatchDescribeMergeConflictsRequest.builder()
batchDescribeMergeConflictsRequest - A Consumer that will call methods on BatchDescribeMergeConflictsInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse> batchDisassociateApprovalRuleTemplateFromRepositories(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest batchDisassociateApprovalRuleTemplateFromRepositoriesRequest)
Removes the association between an approval rule template and one or more specified repositories.
batchDisassociateApprovalRuleTemplateFromRepositoriesRequest - default CompletableFuture<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse> batchDisassociateApprovalRuleTemplateFromRepositories(Consumer<BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest.Builder> batchDisassociateApprovalRuleTemplateFromRepositoriesRequest)
Removes the association between an approval rule template and one or more specified repositories.
This is a convenience which creates an instance of the
BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest.Builder avoiding the need to create one
manually via BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest.builder()
batchDisassociateApprovalRuleTemplateFromRepositoriesRequest - A Consumer that will call methods on
BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.Builder to create a request.default CompletableFuture<BatchGetCommitsResponse> batchGetCommits(BatchGetCommitsRequest batchGetCommitsRequest)
Returns information about the contents of one or more commits in a repository.
batchGetCommitsRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<BatchGetCommitsResponse> batchGetCommits(Consumer<BatchGetCommitsRequest.Builder> batchGetCommitsRequest)
Returns information about the contents of one or more commits in a repository.
This is a convenience which creates an instance of the BatchGetCommitsRequest.Builder avoiding the need
to create one manually via BatchGetCommitsRequest.builder()
batchGetCommitsRequest - A Consumer that will call methods on BatchGetCommitsInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<BatchGetRepositoriesResponse> batchGetRepositories(BatchGetRepositoriesRequest batchGetRepositoriesRequest)
Returns information about one or more repositories.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
batchGetRepositoriesRequest - Represents the input of a batch get repositories operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<BatchGetRepositoriesResponse> batchGetRepositories(Consumer<BatchGetRepositoriesRequest.Builder> batchGetRepositoriesRequest)
Returns information about one or more repositories.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
This is a convenience which creates an instance of the BatchGetRepositoriesRequest.Builder avoiding the
need to create one manually via BatchGetRepositoriesRequest.builder()
batchGetRepositoriesRequest - A Consumer that will call methods on BatchGetRepositoriesInput.Builder to create a
request. Represents the input of a batch get repositories operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreateApprovalRuleTemplateResponse> createApprovalRuleTemplate(CreateApprovalRuleTemplateRequest createApprovalRuleTemplateRequest)
Creates a template for approval rules that can then be associated with one or more repositories in your AWS account. When you associate a template with a repository, AWS CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
createApprovalRuleTemplateRequest - default CompletableFuture<CreateApprovalRuleTemplateResponse> createApprovalRuleTemplate(Consumer<CreateApprovalRuleTemplateRequest.Builder> createApprovalRuleTemplateRequest)
Creates a template for approval rules that can then be associated with one or more repositories in your AWS account. When you associate a template with a repository, AWS CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
This is a convenience which creates an instance of the CreateApprovalRuleTemplateRequest.Builder avoiding
the need to create one manually via CreateApprovalRuleTemplateRequest.builder()
createApprovalRuleTemplateRequest - A Consumer that will call methods on CreateApprovalRuleTemplateInput.Builder to create a
request.default CompletableFuture<CreateBranchResponse> createBranch(CreateBranchRequest createBranchRequest)
Creates a branch in a repository and points the branch to a commit.
Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
createBranchRequest - Represents the input of a create branch operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreateBranchResponse> createBranch(Consumer<CreateBranchRequest.Builder> createBranchRequest)
Creates a branch in a repository and points the branch to a commit.
Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
This is a convenience which creates an instance of the CreateBranchRequest.Builder avoiding the need to
create one manually via CreateBranchRequest.builder()
createBranchRequest - A Consumer that will call methods on CreateBranchInput.Builder to create a request.
Represents the input of a create branch operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreateCommitResponse> createCommit(CreateCommitRequest createCommitRequest)
Creates a commit for a repository on the tip of a specified branch.
createCommitRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreateCommitResponse> createCommit(Consumer<CreateCommitRequest.Builder> createCommitRequest)
Creates a commit for a repository on the tip of a specified branch.
This is a convenience which creates an instance of the CreateCommitRequest.Builder avoiding the need to
create one manually via CreateCommitRequest.builder()
createCommitRequest - A Consumer that will call methods on CreateCommitInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreatePullRequestResponse> createPullRequest(CreatePullRequestRequest createPullRequestRequest)
Creates a pull request in the specified repository.
createPullRequestRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreatePullRequestResponse> createPullRequest(Consumer<CreatePullRequestRequest.Builder> createPullRequestRequest)
Creates a pull request in the specified repository.
This is a convenience which creates an instance of the CreatePullRequestRequest.Builder avoiding the need
to create one manually via CreatePullRequestRequest.builder()
createPullRequestRequest - A Consumer that will call methods on CreatePullRequestInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreatePullRequestApprovalRuleResponse> createPullRequestApprovalRule(CreatePullRequestApprovalRuleRequest createPullRequestApprovalRuleRequest)
Creates an approval rule for a pull request.
createPullRequestApprovalRuleRequest - default CompletableFuture<CreatePullRequestApprovalRuleResponse> createPullRequestApprovalRule(Consumer<CreatePullRequestApprovalRuleRequest.Builder> createPullRequestApprovalRuleRequest)
Creates an approval rule for a pull request.
This is a convenience which creates an instance of the CreatePullRequestApprovalRuleRequest.Builder
avoiding the need to create one manually via CreatePullRequestApprovalRuleRequest.builder()
createPullRequestApprovalRuleRequest - A Consumer that will call methods on CreatePullRequestApprovalRuleInput.Builder to create
a request.default CompletableFuture<CreateRepositoryResponse> createRepository(CreateRepositoryRequest createRepositoryRequest)
Creates a new, empty repository.
createRepositoryRequest - Represents the input of a create repository operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreateRepositoryResponse> createRepository(Consumer<CreateRepositoryRequest.Builder> createRepositoryRequest)
Creates a new, empty repository.
This is a convenience which creates an instance of the CreateRepositoryRequest.Builder avoiding the need
to create one manually via CreateRepositoryRequest.builder()
createRepositoryRequest - A Consumer that will call methods on CreateRepositoryInput.Builder to create a request.
Represents the input of a create repository operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<CreateUnreferencedMergeCommitResponse> createUnreferencedMergeCommit(CreateUnreferencedMergeCommitRequest createUnreferencedMergeCommitRequest)
Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit.
This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.
createUnreferencedMergeCommitRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<CreateUnreferencedMergeCommitResponse> createUnreferencedMergeCommit(Consumer<CreateUnreferencedMergeCommitRequest.Builder> createUnreferencedMergeCommitRequest)
Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit.
This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.
This is a convenience which creates an instance of the CreateUnreferencedMergeCommitRequest.Builder
avoiding the need to create one manually via CreateUnreferencedMergeCommitRequest.builder()
createUnreferencedMergeCommitRequest - A Consumer that will call methods on CreateUnreferencedMergeCommitInput.Builder to create
a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<DeleteApprovalRuleTemplateResponse> deleteApprovalRuleTemplate(DeleteApprovalRuleTemplateRequest deleteApprovalRuleTemplateRequest)
Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.
deleteApprovalRuleTemplateRequest - default CompletableFuture<DeleteApprovalRuleTemplateResponse> deleteApprovalRuleTemplate(Consumer<DeleteApprovalRuleTemplateRequest.Builder> deleteApprovalRuleTemplateRequest)
Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.
This is a convenience which creates an instance of the DeleteApprovalRuleTemplateRequest.Builder avoiding
the need to create one manually via DeleteApprovalRuleTemplateRequest.builder()
deleteApprovalRuleTemplateRequest - A Consumer that will call methods on DeleteApprovalRuleTemplateInput.Builder to create a
request.default CompletableFuture<DeleteBranchResponse> deleteBranch(DeleteBranchRequest deleteBranchRequest)
Deletes a branch from a repository, unless that branch is the default branch for the repository.
deleteBranchRequest - Represents the input of a delete branch operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<DeleteBranchResponse> deleteBranch(Consumer<DeleteBranchRequest.Builder> deleteBranchRequest)
Deletes a branch from a repository, unless that branch is the default branch for the repository.
This is a convenience which creates an instance of the DeleteBranchRequest.Builder avoiding the need to
create one manually via DeleteBranchRequest.builder()
deleteBranchRequest - A Consumer that will call methods on DeleteBranchInput.Builder to create a request.
Represents the input of a delete branch operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<DeleteCommentContentResponse> deleteCommentContent(DeleteCommentContentRequest deleteCommentContentRequest)
Deletes the content of a comment made on a change, file, or commit in a repository.
deleteCommentContentRequest - default CompletableFuture<DeleteCommentContentResponse> deleteCommentContent(Consumer<DeleteCommentContentRequest.Builder> deleteCommentContentRequest)
Deletes the content of a comment made on a change, file, or commit in a repository.
This is a convenience which creates an instance of the DeleteCommentContentRequest.Builder avoiding the
need to create one manually via DeleteCommentContentRequest.builder()
deleteCommentContentRequest - A Consumer that will call methods on DeleteCommentContentInput.Builder to create a
request.default CompletableFuture<DeleteFileResponse> deleteFile(DeleteFileRequest deleteFileRequest)
Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.
deleteFileRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<DeleteFileResponse> deleteFile(Consumer<DeleteFileRequest.Builder> deleteFileRequest)
Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.
This is a convenience which creates an instance of the DeleteFileRequest.Builder avoiding the need to
create one manually via DeleteFileRequest.builder()
deleteFileRequest - A Consumer that will call methods on DeleteFileInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<DeletePullRequestApprovalRuleResponse> deletePullRequestApprovalRule(DeletePullRequestApprovalRuleRequest deletePullRequestApprovalRuleRequest)
Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.
deletePullRequestApprovalRuleRequest - default CompletableFuture<DeletePullRequestApprovalRuleResponse> deletePullRequestApprovalRule(Consumer<DeletePullRequestApprovalRuleRequest.Builder> deletePullRequestApprovalRuleRequest)
Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.
This is a convenience which creates an instance of the DeletePullRequestApprovalRuleRequest.Builder
avoiding the need to create one manually via DeletePullRequestApprovalRuleRequest.builder()
deletePullRequestApprovalRuleRequest - A Consumer that will call methods on DeletePullRequestApprovalRuleInput.Builder to create
a request.default CompletableFuture<DeleteRepositoryResponse> deleteRepository(DeleteRepositoryRequest deleteRepositoryRequest)
Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.
Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.
deleteRepositoryRequest - Represents the input of a delete repository operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<DeleteRepositoryResponse> deleteRepository(Consumer<DeleteRepositoryRequest.Builder> deleteRepositoryRequest)
Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.
Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.
This is a convenience which creates an instance of the DeleteRepositoryRequest.Builder avoiding the need
to create one manually via DeleteRepositoryRequest.builder()
deleteRepositoryRequest - A Consumer that will call methods on DeleteRepositoryInput.Builder to create a request.
Represents the input of a delete repository operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<DescribeMergeConflictsResponse> describeMergeConflicts(DescribeMergeConflictsRequest describeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.
describeMergeConflictsRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<DescribeMergeConflictsResponse> describeMergeConflicts(Consumer<DescribeMergeConflictsRequest.Builder> describeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.
This is a convenience which creates an instance of the DescribeMergeConflictsRequest.Builder avoiding the
need to create one manually via DescribeMergeConflictsRequest.builder()
describeMergeConflictsRequest - A Consumer that will call methods on DescribeMergeConflictsInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default DescribeMergeConflictsPublisher describeMergeConflictsPaginator(DescribeMergeConflictsRequest describeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.
This is a variant of
describeMergeConflicts(software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.DescribeMergeConflictsPublisher publisher = client.describeMergeConflictsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.DescribeMergeConflictsPublisher publisher = client.describeMergeConflictsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxMergeHunks won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMergeConflicts(software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsRequest)
operation.
describeMergeConflictsRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default DescribeMergeConflictsPublisher describeMergeConflictsPaginator(Consumer<DescribeMergeConflictsRequest.Builder> describeMergeConflictsRequest)
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.
This is a variant of
describeMergeConflicts(software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.DescribeMergeConflictsPublisher publisher = client.describeMergeConflictsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.DescribeMergeConflictsPublisher publisher = client.describeMergeConflictsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxMergeHunks won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMergeConflicts(software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsRequest)
operation.
This is a convenience which creates an instance of the DescribeMergeConflictsRequest.Builder avoiding the
need to create one manually via DescribeMergeConflictsRequest.builder()
describeMergeConflictsRequest - A Consumer that will call methods on DescribeMergeConflictsInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<DescribePullRequestEventsResponse> describePullRequestEvents(DescribePullRequestEventsRequest describePullRequestEventsRequest)
Returns information about one or more pull request events.
describePullRequestEventsRequest - default CompletableFuture<DescribePullRequestEventsResponse> describePullRequestEvents(Consumer<DescribePullRequestEventsRequest.Builder> describePullRequestEventsRequest)
Returns information about one or more pull request events.
This is a convenience which creates an instance of the DescribePullRequestEventsRequest.Builder avoiding
the need to create one manually via DescribePullRequestEventsRequest.builder()
describePullRequestEventsRequest - A Consumer that will call methods on DescribePullRequestEventsInput.Builder to create a
request.default DescribePullRequestEventsPublisher describePullRequestEventsPaginator(DescribePullRequestEventsRequest describePullRequestEventsRequest)
Returns information about one or more pull request events.
This is a variant of
describePullRequestEvents(software.amazon.awssdk.services.codecommit.model.DescribePullRequestEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.DescribePullRequestEventsPublisher publisher = client.describePullRequestEventsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.DescribePullRequestEventsPublisher publisher = client.describePullRequestEventsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.DescribePullRequestEventsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.DescribePullRequestEventsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describePullRequestEvents(software.amazon.awssdk.services.codecommit.model.DescribePullRequestEventsRequest)
operation.
describePullRequestEventsRequest - default DescribePullRequestEventsPublisher describePullRequestEventsPaginator(Consumer<DescribePullRequestEventsRequest.Builder> describePullRequestEventsRequest)
Returns information about one or more pull request events.
This is a variant of
describePullRequestEvents(software.amazon.awssdk.services.codecommit.model.DescribePullRequestEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.DescribePullRequestEventsPublisher publisher = client.describePullRequestEventsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.DescribePullRequestEventsPublisher publisher = client.describePullRequestEventsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.DescribePullRequestEventsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.DescribePullRequestEventsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describePullRequestEvents(software.amazon.awssdk.services.codecommit.model.DescribePullRequestEventsRequest)
operation.
This is a convenience which creates an instance of the DescribePullRequestEventsRequest.Builder avoiding
the need to create one manually via DescribePullRequestEventsRequest.builder()
describePullRequestEventsRequest - A Consumer that will call methods on DescribePullRequestEventsInput.Builder to create a
request.default CompletableFuture<DisassociateApprovalRuleTemplateFromRepositoryResponse> disassociateApprovalRuleTemplateFromRepository(DisassociateApprovalRuleTemplateFromRepositoryRequest disassociateApprovalRuleTemplateFromRepositoryRequest)
Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.
disassociateApprovalRuleTemplateFromRepositoryRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<DisassociateApprovalRuleTemplateFromRepositoryResponse> disassociateApprovalRuleTemplateFromRepository(Consumer<DisassociateApprovalRuleTemplateFromRepositoryRequest.Builder> disassociateApprovalRuleTemplateFromRepositoryRequest)
Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.
This is a convenience which creates an instance of the
DisassociateApprovalRuleTemplateFromRepositoryRequest.Builder avoiding the need to create one manually
via DisassociateApprovalRuleTemplateFromRepositoryRequest.builder()
disassociateApprovalRuleTemplateFromRepositoryRequest - A Consumer that will call methods on
DisassociateApprovalRuleTemplateFromRepositoryInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<EvaluatePullRequestApprovalRulesResponse> evaluatePullRequestApprovalRules(EvaluatePullRequestApprovalRulesRequest evaluatePullRequestApprovalRulesRequest)
Evaluates whether a pull request has met all the conditions specified in its associated approval rules.
evaluatePullRequestApprovalRulesRequest - default CompletableFuture<EvaluatePullRequestApprovalRulesResponse> evaluatePullRequestApprovalRules(Consumer<EvaluatePullRequestApprovalRulesRequest.Builder> evaluatePullRequestApprovalRulesRequest)
Evaluates whether a pull request has met all the conditions specified in its associated approval rules.
This is a convenience which creates an instance of the EvaluatePullRequestApprovalRulesRequest.Builder
avoiding the need to create one manually via EvaluatePullRequestApprovalRulesRequest.builder()
evaluatePullRequestApprovalRulesRequest - A Consumer that will call methods on EvaluatePullRequestApprovalRulesInput.Builder to
create a request.default CompletableFuture<GetApprovalRuleTemplateResponse> getApprovalRuleTemplate(GetApprovalRuleTemplateRequest getApprovalRuleTemplateRequest)
Returns information about a specified approval rule template.
getApprovalRuleTemplateRequest - default CompletableFuture<GetApprovalRuleTemplateResponse> getApprovalRuleTemplate(Consumer<GetApprovalRuleTemplateRequest.Builder> getApprovalRuleTemplateRequest)
Returns information about a specified approval rule template.
This is a convenience which creates an instance of the GetApprovalRuleTemplateRequest.Builder avoiding
the need to create one manually via GetApprovalRuleTemplateRequest.builder()
getApprovalRuleTemplateRequest - A Consumer that will call methods on GetApprovalRuleTemplateInput.Builder to create a
request.default CompletableFuture<GetBlobResponse> getBlob(GetBlobRequest getBlobRequest)
Returns the base-64 encoded content of an individual blob in a repository.
getBlobRequest - Represents the input of a get blob operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetBlobResponse> getBlob(Consumer<GetBlobRequest.Builder> getBlobRequest)
Returns the base-64 encoded content of an individual blob in a repository.
This is a convenience which creates an instance of the GetBlobRequest.Builder avoiding the need to create
one manually via GetBlobRequest.builder()
getBlobRequest - A Consumer that will call methods on GetBlobInput.Builder to create a request. Represents
the input of a get blob operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetBranchResponse> getBranch(GetBranchRequest getBranchRequest)
Returns information about a repository branch, including its name and the last commit ID.
getBranchRequest - Represents the input of a get branch operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetBranchResponse> getBranch(Consumer<GetBranchRequest.Builder> getBranchRequest)
Returns information about a repository branch, including its name and the last commit ID.
This is a convenience which creates an instance of the GetBranchRequest.Builder avoiding the need to
create one manually via GetBranchRequest.builder()
getBranchRequest - A Consumer that will call methods on GetBranchInput.Builder to create a request.
Represents the input of a get branch operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetCommentResponse> getComment(GetCommentRequest getCommentRequest)
Returns the content of a comment made on a change, file, or commit in a repository.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentRequest - default CompletableFuture<GetCommentResponse> getComment(Consumer<GetCommentRequest.Builder> getCommentRequest)
Returns the content of a comment made on a change, file, or commit in a repository.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
This is a convenience which creates an instance of the GetCommentRequest.Builder avoiding the need to
create one manually via GetCommentRequest.builder()
getCommentRequest - A Consumer that will call methods on GetCommentInput.Builder to create a request.default CompletableFuture<GetCommentReactionsResponse> getCommentReactions(GetCommentReactionsRequest getCommentReactionsRequest)
Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.
getCommentReactionsRequest - default CompletableFuture<GetCommentReactionsResponse> getCommentReactions(Consumer<GetCommentReactionsRequest.Builder> getCommentReactionsRequest)
Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.
This is a convenience which creates an instance of the GetCommentReactionsRequest.Builder avoiding the
need to create one manually via GetCommentReactionsRequest.builder()
getCommentReactionsRequest - A Consumer that will call methods on GetCommentReactionsInput.Builder to create a request.default GetCommentReactionsPublisher getCommentReactionsPaginator(GetCommentReactionsRequest getCommentReactionsRequest)
Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.
This is a variant of
getCommentReactions(software.amazon.awssdk.services.codecommit.model.GetCommentReactionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetCommentReactionsPublisher publisher = client.getCommentReactionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetCommentReactionsPublisher publisher = client.getCommentReactionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetCommentReactionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetCommentReactionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCommentReactions(software.amazon.awssdk.services.codecommit.model.GetCommentReactionsRequest)
operation.
getCommentReactionsRequest - default GetCommentReactionsPublisher getCommentReactionsPaginator(Consumer<GetCommentReactionsRequest.Builder> getCommentReactionsRequest)
Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.
This is a variant of
getCommentReactions(software.amazon.awssdk.services.codecommit.model.GetCommentReactionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetCommentReactionsPublisher publisher = client.getCommentReactionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetCommentReactionsPublisher publisher = client.getCommentReactionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetCommentReactionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetCommentReactionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCommentReactions(software.amazon.awssdk.services.codecommit.model.GetCommentReactionsRequest)
operation.
This is a convenience which creates an instance of the GetCommentReactionsRequest.Builder avoiding the
need to create one manually via GetCommentReactionsRequest.builder()
getCommentReactionsRequest - A Consumer that will call methods on GetCommentReactionsInput.Builder to create a request.default CompletableFuture<GetCommentsForComparedCommitResponse> getCommentsForComparedCommit(GetCommentsForComparedCommitRequest getCommentsForComparedCommitRequest)
Returns information about comments made on the comparison between two commits.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentsForComparedCommitRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetCommentsForComparedCommitResponse> getCommentsForComparedCommit(Consumer<GetCommentsForComparedCommitRequest.Builder> getCommentsForComparedCommitRequest)
Returns information about comments made on the comparison between two commits.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
This is a convenience which creates an instance of the GetCommentsForComparedCommitRequest.Builder
avoiding the need to create one manually via GetCommentsForComparedCommitRequest.builder()
getCommentsForComparedCommitRequest - A Consumer that will call methods on GetCommentsForComparedCommitInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default GetCommentsForComparedCommitPublisher getCommentsForComparedCommitPaginator(GetCommentsForComparedCommitRequest getCommentsForComparedCommitRequest)
Returns information about comments made on the comparison between two commits.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
This is a variant of
getCommentsForComparedCommit(software.amazon.awssdk.services.codecommit.model.GetCommentsForComparedCommitRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetCommentsForComparedCommitPublisher publisher = client.getCommentsForComparedCommitPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetCommentsForComparedCommitPublisher publisher = client.getCommentsForComparedCommitPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetCommentsForComparedCommitResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetCommentsForComparedCommitResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCommentsForComparedCommit(software.amazon.awssdk.services.codecommit.model.GetCommentsForComparedCommitRequest)
operation.
getCommentsForComparedCommitRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default GetCommentsForComparedCommitPublisher getCommentsForComparedCommitPaginator(Consumer<GetCommentsForComparedCommitRequest.Builder> getCommentsForComparedCommitRequest)
Returns information about comments made on the comparison between two commits.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
This is a variant of
getCommentsForComparedCommit(software.amazon.awssdk.services.codecommit.model.GetCommentsForComparedCommitRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetCommentsForComparedCommitPublisher publisher = client.getCommentsForComparedCommitPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetCommentsForComparedCommitPublisher publisher = client.getCommentsForComparedCommitPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetCommentsForComparedCommitResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetCommentsForComparedCommitResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCommentsForComparedCommit(software.amazon.awssdk.services.codecommit.model.GetCommentsForComparedCommitRequest)
operation.
This is a convenience which creates an instance of the GetCommentsForComparedCommitRequest.Builder
avoiding the need to create one manually via GetCommentsForComparedCommitRequest.builder()
getCommentsForComparedCommitRequest - A Consumer that will call methods on GetCommentsForComparedCommitInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetCommentsForPullRequestResponse> getCommentsForPullRequest(GetCommentsForPullRequestRequest getCommentsForPullRequestRequest)
Returns comments made on a pull request.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentsForPullRequestRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetCommentsForPullRequestResponse> getCommentsForPullRequest(Consumer<GetCommentsForPullRequestRequest.Builder> getCommentsForPullRequestRequest)
Returns comments made on a pull request.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
This is a convenience which creates an instance of the GetCommentsForPullRequestRequest.Builder avoiding
the need to create one manually via GetCommentsForPullRequestRequest.builder()
getCommentsForPullRequestRequest - A Consumer that will call methods on GetCommentsForPullRequestInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default GetCommentsForPullRequestPublisher getCommentsForPullRequestPaginator(GetCommentsForPullRequestRequest getCommentsForPullRequestRequest)
Returns comments made on a pull request.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
This is a variant of
getCommentsForPullRequest(software.amazon.awssdk.services.codecommit.model.GetCommentsForPullRequestRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetCommentsForPullRequestPublisher publisher = client.getCommentsForPullRequestPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetCommentsForPullRequestPublisher publisher = client.getCommentsForPullRequestPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetCommentsForPullRequestResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetCommentsForPullRequestResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCommentsForPullRequest(software.amazon.awssdk.services.codecommit.model.GetCommentsForPullRequestRequest)
operation.
getCommentsForPullRequestRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default GetCommentsForPullRequestPublisher getCommentsForPullRequestPaginator(Consumer<GetCommentsForPullRequestRequest.Builder> getCommentsForPullRequestRequest)
Returns comments made on a pull request.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
This is a variant of
getCommentsForPullRequest(software.amazon.awssdk.services.codecommit.model.GetCommentsForPullRequestRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetCommentsForPullRequestPublisher publisher = client.getCommentsForPullRequestPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetCommentsForPullRequestPublisher publisher = client.getCommentsForPullRequestPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetCommentsForPullRequestResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetCommentsForPullRequestResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCommentsForPullRequest(software.amazon.awssdk.services.codecommit.model.GetCommentsForPullRequestRequest)
operation.
This is a convenience which creates an instance of the GetCommentsForPullRequestRequest.Builder avoiding
the need to create one manually via GetCommentsForPullRequestRequest.builder()
getCommentsForPullRequestRequest - A Consumer that will call methods on GetCommentsForPullRequestInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetCommitResponse> getCommit(GetCommitRequest getCommitRequest)
Returns information about a commit, including commit message and committer information.
getCommitRequest - Represents the input of a get commit operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetCommitResponse> getCommit(Consumer<GetCommitRequest.Builder> getCommitRequest)
Returns information about a commit, including commit message and committer information.
This is a convenience which creates an instance of the GetCommitRequest.Builder avoiding the need to
create one manually via GetCommitRequest.builder()
getCommitRequest - A Consumer that will call methods on GetCommitInput.Builder to create a request.
Represents the input of a get commit operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetDifferencesResponse> getDifferences(GetDifferencesRequest getDifferencesRequest)
Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.
getDifferencesRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetDifferencesResponse> getDifferences(Consumer<GetDifferencesRequest.Builder> getDifferencesRequest)
Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.
This is a convenience which creates an instance of the GetDifferencesRequest.Builder avoiding the need to
create one manually via GetDifferencesRequest.builder()
getDifferencesRequest - A Consumer that will call methods on GetDifferencesInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default GetDifferencesPublisher getDifferencesPaginator(GetDifferencesRequest getDifferencesRequest)
Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.
This is a variant of
getDifferences(software.amazon.awssdk.services.codecommit.model.GetDifferencesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetDifferencesPublisher publisher = client.getDifferencesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetDifferencesPublisher publisher = client.getDifferencesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetDifferencesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetDifferencesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDifferences(software.amazon.awssdk.services.codecommit.model.GetDifferencesRequest) operation.
getDifferencesRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default GetDifferencesPublisher getDifferencesPaginator(Consumer<GetDifferencesRequest.Builder> getDifferencesRequest)
Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.
This is a variant of
getDifferences(software.amazon.awssdk.services.codecommit.model.GetDifferencesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetDifferencesPublisher publisher = client.getDifferencesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetDifferencesPublisher publisher = client.getDifferencesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetDifferencesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetDifferencesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDifferences(software.amazon.awssdk.services.codecommit.model.GetDifferencesRequest) operation.
This is a convenience which creates an instance of the GetDifferencesRequest.Builder avoiding the need to
create one manually via GetDifferencesRequest.builder()
getDifferencesRequest - A Consumer that will call methods on GetDifferencesInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetFileResponse> getFile(GetFileRequest getFileRequest)
Returns the base-64 encoded contents of a specified file and its metadata.
getFileRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetFileResponse> getFile(Consumer<GetFileRequest.Builder> getFileRequest)
Returns the base-64 encoded contents of a specified file and its metadata.
This is a convenience which creates an instance of the GetFileRequest.Builder avoiding the need to create
one manually via GetFileRequest.builder()
getFileRequest - A Consumer that will call methods on GetFileInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetFolderResponse> getFolder(GetFolderRequest getFolderRequest)
Returns the contents of a specified folder in a repository.
getFolderRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetFolderResponse> getFolder(Consumer<GetFolderRequest.Builder> getFolderRequest)
Returns the contents of a specified folder in a repository.
This is a convenience which creates an instance of the GetFolderRequest.Builder avoiding the need to
create one manually via GetFolderRequest.builder()
getFolderRequest - A Consumer that will call methods on GetFolderInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetMergeCommitResponse> getMergeCommit(GetMergeCommitRequest getMergeCommitRequest)
Returns information about a specified merge commit.
getMergeCommitRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetMergeCommitResponse> getMergeCommit(Consumer<GetMergeCommitRequest.Builder> getMergeCommitRequest)
Returns information about a specified merge commit.
This is a convenience which creates an instance of the GetMergeCommitRequest.Builder avoiding the need to
create one manually via GetMergeCommitRequest.builder()
getMergeCommitRequest - A Consumer that will call methods on GetMergeCommitInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetMergeConflictsResponse> getMergeConflicts(GetMergeConflictsRequest getMergeConflictsRequest)
Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.
getMergeConflictsRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<GetMergeConflictsResponse> getMergeConflicts(Consumer<GetMergeConflictsRequest.Builder> getMergeConflictsRequest)
Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.
This is a convenience which creates an instance of the GetMergeConflictsRequest.Builder avoiding the need
to create one manually via GetMergeConflictsRequest.builder()
getMergeConflictsRequest - A Consumer that will call methods on GetMergeConflictsInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default GetMergeConflictsPublisher getMergeConflictsPaginator(GetMergeConflictsRequest getMergeConflictsRequest)
Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.
This is a variant of
getMergeConflicts(software.amazon.awssdk.services.codecommit.model.GetMergeConflictsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetMergeConflictsPublisher publisher = client.getMergeConflictsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetMergeConflictsPublisher publisher = client.getMergeConflictsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetMergeConflictsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetMergeConflictsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxConflictFiles won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getMergeConflicts(software.amazon.awssdk.services.codecommit.model.GetMergeConflictsRequest)
operation.
getMergeConflictsRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default GetMergeConflictsPublisher getMergeConflictsPaginator(Consumer<GetMergeConflictsRequest.Builder> getMergeConflictsRequest)
Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.
This is a variant of
getMergeConflicts(software.amazon.awssdk.services.codecommit.model.GetMergeConflictsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.GetMergeConflictsPublisher publisher = client.getMergeConflictsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.GetMergeConflictsPublisher publisher = client.getMergeConflictsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.GetMergeConflictsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.GetMergeConflictsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxConflictFiles won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getMergeConflicts(software.amazon.awssdk.services.codecommit.model.GetMergeConflictsRequest)
operation.
This is a convenience which creates an instance of the GetMergeConflictsRequest.Builder avoiding the need
to create one manually via GetMergeConflictsRequest.builder()
getMergeConflictsRequest - A Consumer that will call methods on GetMergeConflictsInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<GetMergeOptionsResponse> getMergeOptions(GetMergeOptionsRequest getMergeOptionsRequest)
Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.
getMergeOptionsRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<GetMergeOptionsResponse> getMergeOptions(Consumer<GetMergeOptionsRequest.Builder> getMergeOptionsRequest)
Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.
This is a convenience which creates an instance of the GetMergeOptionsRequest.Builder avoiding the need
to create one manually via GetMergeOptionsRequest.builder()
getMergeOptionsRequest - A Consumer that will call methods on GetMergeOptionsInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<GetPullRequestResponse> getPullRequest(GetPullRequestRequest getPullRequestRequest)
Gets information about a pull request in a specified repository.
getPullRequestRequest - default CompletableFuture<GetPullRequestResponse> getPullRequest(Consumer<GetPullRequestRequest.Builder> getPullRequestRequest)
Gets information about a pull request in a specified repository.
This is a convenience which creates an instance of the GetPullRequestRequest.Builder avoiding the need to
create one manually via GetPullRequestRequest.builder()
getPullRequestRequest - A Consumer that will call methods on GetPullRequestInput.Builder to create a request.default CompletableFuture<GetPullRequestApprovalStatesResponse> getPullRequestApprovalStates(GetPullRequestApprovalStatesRequest getPullRequestApprovalStatesRequest)
Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.
getPullRequestApprovalStatesRequest - default CompletableFuture<GetPullRequestApprovalStatesResponse> getPullRequestApprovalStates(Consumer<GetPullRequestApprovalStatesRequest.Builder> getPullRequestApprovalStatesRequest)
Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.
This is a convenience which creates an instance of the GetPullRequestApprovalStatesRequest.Builder
avoiding the need to create one manually via GetPullRequestApprovalStatesRequest.builder()
getPullRequestApprovalStatesRequest - A Consumer that will call methods on GetPullRequestApprovalStatesInput.Builder to create a
request.default CompletableFuture<GetPullRequestOverrideStateResponse> getPullRequestOverrideState(GetPullRequestOverrideStateRequest getPullRequestOverrideStateRequest)
Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.
getPullRequestOverrideStateRequest - default CompletableFuture<GetPullRequestOverrideStateResponse> getPullRequestOverrideState(Consumer<GetPullRequestOverrideStateRequest.Builder> getPullRequestOverrideStateRequest)
Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.
This is a convenience which creates an instance of the GetPullRequestOverrideStateRequest.Builder
avoiding the need to create one manually via GetPullRequestOverrideStateRequest.builder()
getPullRequestOverrideStateRequest - A Consumer that will call methods on GetPullRequestOverrideStateInput.Builder to create a
request.default CompletableFuture<GetRepositoryResponse> getRepository(GetRepositoryRequest getRepositoryRequest)
Returns information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
getRepositoryRequest - Represents the input of a get repository operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetRepositoryResponse> getRepository(Consumer<GetRepositoryRequest.Builder> getRepositoryRequest)
Returns information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
This is a convenience which creates an instance of the GetRepositoryRequest.Builder avoiding the need to
create one manually via GetRepositoryRequest.builder()
getRepositoryRequest - A Consumer that will call methods on GetRepositoryInput.Builder to create a request.
Represents the input of a get repository operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetRepositoryTriggersResponse> getRepositoryTriggers(GetRepositoryTriggersRequest getRepositoryTriggersRequest)
Gets information about triggers configured for a repository.
getRepositoryTriggersRequest - Represents the input of a get repository triggers operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<GetRepositoryTriggersResponse> getRepositoryTriggers(Consumer<GetRepositoryTriggersRequest.Builder> getRepositoryTriggersRequest)
Gets information about triggers configured for a repository.
This is a convenience which creates an instance of the GetRepositoryTriggersRequest.Builder avoiding the
need to create one manually via GetRepositoryTriggersRequest.builder()
getRepositoryTriggersRequest - A Consumer that will call methods on GetRepositoryTriggersInput.Builder to create a
request. Represents the input of a get repository triggers operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<ListApprovalRuleTemplatesResponse> listApprovalRuleTemplates(ListApprovalRuleTemplatesRequest listApprovalRuleTemplatesRequest)
Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.
listApprovalRuleTemplatesRequest - default CompletableFuture<ListApprovalRuleTemplatesResponse> listApprovalRuleTemplates(Consumer<ListApprovalRuleTemplatesRequest.Builder> listApprovalRuleTemplatesRequest)
Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.
This is a convenience which creates an instance of the ListApprovalRuleTemplatesRequest.Builder avoiding
the need to create one manually via ListApprovalRuleTemplatesRequest.builder()
listApprovalRuleTemplatesRequest - A Consumer that will call methods on ListApprovalRuleTemplatesInput.Builder to create a
request.default ListApprovalRuleTemplatesPublisher listApprovalRuleTemplatesPaginator(ListApprovalRuleTemplatesRequest listApprovalRuleTemplatesRequest)
Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.
This is a variant of
listApprovalRuleTemplates(software.amazon.awssdk.services.codecommit.model.ListApprovalRuleTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListApprovalRuleTemplatesPublisher publisher = client.listApprovalRuleTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListApprovalRuleTemplatesPublisher publisher = client.listApprovalRuleTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListApprovalRuleTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListApprovalRuleTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApprovalRuleTemplates(software.amazon.awssdk.services.codecommit.model.ListApprovalRuleTemplatesRequest)
operation.
listApprovalRuleTemplatesRequest - default ListApprovalRuleTemplatesPublisher listApprovalRuleTemplatesPaginator(Consumer<ListApprovalRuleTemplatesRequest.Builder> listApprovalRuleTemplatesRequest)
Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.
This is a variant of
listApprovalRuleTemplates(software.amazon.awssdk.services.codecommit.model.ListApprovalRuleTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListApprovalRuleTemplatesPublisher publisher = client.listApprovalRuleTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListApprovalRuleTemplatesPublisher publisher = client.listApprovalRuleTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListApprovalRuleTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListApprovalRuleTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApprovalRuleTemplates(software.amazon.awssdk.services.codecommit.model.ListApprovalRuleTemplatesRequest)
operation.
This is a convenience which creates an instance of the ListApprovalRuleTemplatesRequest.Builder avoiding
the need to create one manually via ListApprovalRuleTemplatesRequest.builder()
listApprovalRuleTemplatesRequest - A Consumer that will call methods on ListApprovalRuleTemplatesInput.Builder to create a
request.default CompletableFuture<ListAssociatedApprovalRuleTemplatesForRepositoryResponse> listAssociatedApprovalRuleTemplatesForRepository(ListAssociatedApprovalRuleTemplatesForRepositoryRequest listAssociatedApprovalRuleTemplatesForRepositoryRequest)
Lists all approval rule templates that are associated with a specified repository.
listAssociatedApprovalRuleTemplatesForRepositoryRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<ListAssociatedApprovalRuleTemplatesForRepositoryResponse> listAssociatedApprovalRuleTemplatesForRepository(Consumer<ListAssociatedApprovalRuleTemplatesForRepositoryRequest.Builder> listAssociatedApprovalRuleTemplatesForRepositoryRequest)
Lists all approval rule templates that are associated with a specified repository.
This is a convenience which creates an instance of the
ListAssociatedApprovalRuleTemplatesForRepositoryRequest.Builder avoiding the need to create one manually
via ListAssociatedApprovalRuleTemplatesForRepositoryRequest.builder()
listAssociatedApprovalRuleTemplatesForRepositoryRequest - A Consumer that will call methods on
ListAssociatedApprovalRuleTemplatesForRepositoryInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default ListAssociatedApprovalRuleTemplatesForRepositoryPublisher listAssociatedApprovalRuleTemplatesForRepositoryPaginator(ListAssociatedApprovalRuleTemplatesForRepositoryRequest listAssociatedApprovalRuleTemplatesForRepositoryRequest)
Lists all approval rule templates that are associated with a specified repository.
This is a variant of
listAssociatedApprovalRuleTemplatesForRepository(software.amazon.awssdk.services.codecommit.model.ListAssociatedApprovalRuleTemplatesForRepositoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListAssociatedApprovalRuleTemplatesForRepositoryPublisher publisher = client.listAssociatedApprovalRuleTemplatesForRepositoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListAssociatedApprovalRuleTemplatesForRepositoryPublisher publisher = client.listAssociatedApprovalRuleTemplatesForRepositoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListAssociatedApprovalRuleTemplatesForRepositoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListAssociatedApprovalRuleTemplatesForRepositoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssociatedApprovalRuleTemplatesForRepository(software.amazon.awssdk.services.codecommit.model.ListAssociatedApprovalRuleTemplatesForRepositoryRequest)
operation.
listAssociatedApprovalRuleTemplatesForRepositoryRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default ListAssociatedApprovalRuleTemplatesForRepositoryPublisher listAssociatedApprovalRuleTemplatesForRepositoryPaginator(Consumer<ListAssociatedApprovalRuleTemplatesForRepositoryRequest.Builder> listAssociatedApprovalRuleTemplatesForRepositoryRequest)
Lists all approval rule templates that are associated with a specified repository.
This is a variant of
listAssociatedApprovalRuleTemplatesForRepository(software.amazon.awssdk.services.codecommit.model.ListAssociatedApprovalRuleTemplatesForRepositoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListAssociatedApprovalRuleTemplatesForRepositoryPublisher publisher = client.listAssociatedApprovalRuleTemplatesForRepositoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListAssociatedApprovalRuleTemplatesForRepositoryPublisher publisher = client.listAssociatedApprovalRuleTemplatesForRepositoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListAssociatedApprovalRuleTemplatesForRepositoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListAssociatedApprovalRuleTemplatesForRepositoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssociatedApprovalRuleTemplatesForRepository(software.amazon.awssdk.services.codecommit.model.ListAssociatedApprovalRuleTemplatesForRepositoryRequest)
operation.
This is a convenience which creates an instance of the
ListAssociatedApprovalRuleTemplatesForRepositoryRequest.Builder avoiding the need to create one manually
via ListAssociatedApprovalRuleTemplatesForRepositoryRequest.builder()
listAssociatedApprovalRuleTemplatesForRepositoryRequest - A Consumer that will call methods on
ListAssociatedApprovalRuleTemplatesForRepositoryInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<ListBranchesResponse> listBranches(ListBranchesRequest listBranchesRequest)
Gets information about one or more branches in a repository.
listBranchesRequest - Represents the input of a list branches operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<ListBranchesResponse> listBranches(Consumer<ListBranchesRequest.Builder> listBranchesRequest)
Gets information about one or more branches in a repository.
This is a convenience which creates an instance of the ListBranchesRequest.Builder avoiding the need to
create one manually via ListBranchesRequest.builder()
listBranchesRequest - A Consumer that will call methods on ListBranchesInput.Builder to create a request.
Represents the input of a list branches operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default ListBranchesPublisher listBranchesPaginator(ListBranchesRequest listBranchesRequest)
Gets information about one or more branches in a repository.
This is a variant of listBranches(software.amazon.awssdk.services.codecommit.model.ListBranchesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListBranchesPublisher publisher = client.listBranchesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListBranchesPublisher publisher = client.listBranchesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListBranchesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListBranchesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBranches(software.amazon.awssdk.services.codecommit.model.ListBranchesRequest) operation.
listBranchesRequest - Represents the input of a list branches operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default ListBranchesPublisher listBranchesPaginator(Consumer<ListBranchesRequest.Builder> listBranchesRequest)
Gets information about one or more branches in a repository.
This is a variant of listBranches(software.amazon.awssdk.services.codecommit.model.ListBranchesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListBranchesPublisher publisher = client.listBranchesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListBranchesPublisher publisher = client.listBranchesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListBranchesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListBranchesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBranches(software.amazon.awssdk.services.codecommit.model.ListBranchesRequest) operation.
This is a convenience which creates an instance of the ListBranchesRequest.Builder avoiding the need to
create one manually via ListBranchesRequest.builder()
listBranchesRequest - A Consumer that will call methods on ListBranchesInput.Builder to create a request.
Represents the input of a list branches operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<ListPullRequestsResponse> listPullRequests(ListPullRequestsRequest listPullRequestsRequest)
Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.
listPullRequestsRequest - OPEN and CLOSED.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<ListPullRequestsResponse> listPullRequests(Consumer<ListPullRequestsRequest.Builder> listPullRequestsRequest)
Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.
This is a convenience which creates an instance of the ListPullRequestsRequest.Builder avoiding the need
to create one manually via ListPullRequestsRequest.builder()
listPullRequestsRequest - A Consumer that will call methods on ListPullRequestsInput.Builder to create a request.OPEN and CLOSED.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default ListPullRequestsPublisher listPullRequestsPaginator(ListPullRequestsRequest listPullRequestsRequest)
Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.
This is a variant of
listPullRequests(software.amazon.awssdk.services.codecommit.model.ListPullRequestsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListPullRequestsPublisher publisher = client.listPullRequestsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListPullRequestsPublisher publisher = client.listPullRequestsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListPullRequestsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListPullRequestsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPullRequests(software.amazon.awssdk.services.codecommit.model.ListPullRequestsRequest)
operation.
listPullRequestsRequest - OPEN and CLOSED.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default ListPullRequestsPublisher listPullRequestsPaginator(Consumer<ListPullRequestsRequest.Builder> listPullRequestsRequest)
Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.
This is a variant of
listPullRequests(software.amazon.awssdk.services.codecommit.model.ListPullRequestsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListPullRequestsPublisher publisher = client.listPullRequestsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListPullRequestsPublisher publisher = client.listPullRequestsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListPullRequestsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListPullRequestsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPullRequests(software.amazon.awssdk.services.codecommit.model.ListPullRequestsRequest)
operation.
This is a convenience which creates an instance of the ListPullRequestsRequest.Builder avoiding the need
to create one manually via ListPullRequestsRequest.builder()
listPullRequestsRequest - A Consumer that will call methods on ListPullRequestsInput.Builder to create a request.OPEN and CLOSED.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest listRepositoriesRequest)
Gets information about one or more repositories.
listRepositoriesRequest - Represents the input of a list repositories operation.default CompletableFuture<ListRepositoriesResponse> listRepositories(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest)
Gets information about one or more repositories.
This is a convenience which creates an instance of the ListRepositoriesRequest.Builder avoiding the need
to create one manually via ListRepositoriesRequest.builder()
listRepositoriesRequest - A Consumer that will call methods on ListRepositoriesInput.Builder to create a request.
Represents the input of a list repositories operation.default CompletableFuture<ListRepositoriesResponse> listRepositories()
Gets information about one or more repositories.
default CompletableFuture<ListRepositoriesForApprovalRuleTemplateResponse> listRepositoriesForApprovalRuleTemplate(ListRepositoriesForApprovalRuleTemplateRequest listRepositoriesForApprovalRuleTemplateRequest)
Lists all repositories associated with the specified approval rule template.
listRepositoriesForApprovalRuleTemplateRequest - default CompletableFuture<ListRepositoriesForApprovalRuleTemplateResponse> listRepositoriesForApprovalRuleTemplate(Consumer<ListRepositoriesForApprovalRuleTemplateRequest.Builder> listRepositoriesForApprovalRuleTemplateRequest)
Lists all repositories associated with the specified approval rule template.
This is a convenience which creates an instance of the
ListRepositoriesForApprovalRuleTemplateRequest.Builder avoiding the need to create one manually via
ListRepositoriesForApprovalRuleTemplateRequest.builder()
listRepositoriesForApprovalRuleTemplateRequest - A Consumer that will call methods on ListRepositoriesForApprovalRuleTemplateInput.Builder
to create a request.default ListRepositoriesForApprovalRuleTemplatePublisher listRepositoriesForApprovalRuleTemplatePaginator(ListRepositoriesForApprovalRuleTemplateRequest listRepositoriesForApprovalRuleTemplateRequest)
Lists all repositories associated with the specified approval rule template.
This is a variant of
listRepositoriesForApprovalRuleTemplate(software.amazon.awssdk.services.codecommit.model.ListRepositoriesForApprovalRuleTemplateRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesForApprovalRuleTemplatePublisher publisher = client.listRepositoriesForApprovalRuleTemplatePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesForApprovalRuleTemplatePublisher publisher = client.listRepositoriesForApprovalRuleTemplatePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListRepositoriesForApprovalRuleTemplateResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListRepositoriesForApprovalRuleTemplateResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositoriesForApprovalRuleTemplate(software.amazon.awssdk.services.codecommit.model.ListRepositoriesForApprovalRuleTemplateRequest)
operation.
listRepositoriesForApprovalRuleTemplateRequest - default ListRepositoriesForApprovalRuleTemplatePublisher listRepositoriesForApprovalRuleTemplatePaginator(Consumer<ListRepositoriesForApprovalRuleTemplateRequest.Builder> listRepositoriesForApprovalRuleTemplateRequest)
Lists all repositories associated with the specified approval rule template.
This is a variant of
listRepositoriesForApprovalRuleTemplate(software.amazon.awssdk.services.codecommit.model.ListRepositoriesForApprovalRuleTemplateRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesForApprovalRuleTemplatePublisher publisher = client.listRepositoriesForApprovalRuleTemplatePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesForApprovalRuleTemplatePublisher publisher = client.listRepositoriesForApprovalRuleTemplatePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListRepositoriesForApprovalRuleTemplateResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListRepositoriesForApprovalRuleTemplateResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositoriesForApprovalRuleTemplate(software.amazon.awssdk.services.codecommit.model.ListRepositoriesForApprovalRuleTemplateRequest)
operation.
This is a convenience which creates an instance of the
ListRepositoriesForApprovalRuleTemplateRequest.Builder avoiding the need to create one manually via
ListRepositoriesForApprovalRuleTemplateRequest.builder()
listRepositoriesForApprovalRuleTemplateRequest - A Consumer that will call methods on ListRepositoriesForApprovalRuleTemplateInput.Builder
to create a request.default ListRepositoriesPublisher listRepositoriesPaginator()
Gets information about one or more repositories.
This is a variant of
listRepositories(software.amazon.awssdk.services.codecommit.model.ListRepositoriesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListRepositoriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListRepositoriesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositories(software.amazon.awssdk.services.codecommit.model.ListRepositoriesRequest)
operation.
default ListRepositoriesPublisher listRepositoriesPaginator(ListRepositoriesRequest listRepositoriesRequest)
Gets information about one or more repositories.
This is a variant of
listRepositories(software.amazon.awssdk.services.codecommit.model.ListRepositoriesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListRepositoriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListRepositoriesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositories(software.amazon.awssdk.services.codecommit.model.ListRepositoriesRequest)
operation.
listRepositoriesRequest - Represents the input of a list repositories operation.default ListRepositoriesPublisher listRepositoriesPaginator(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest)
Gets information about one or more repositories.
This is a variant of
listRepositories(software.amazon.awssdk.services.codecommit.model.ListRepositoriesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecommit.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecommit.model.ListRepositoriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecommit.model.ListRepositoriesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositories(software.amazon.awssdk.services.codecommit.model.ListRepositoriesRequest)
operation.
This is a convenience which creates an instance of the ListRepositoriesRequest.Builder avoiding the need
to create one manually via ListRepositoriesRequest.builder()
listRepositoriesRequest - A Consumer that will call methods on ListRepositoriesInput.Builder to create a request.
Represents the input of a list repositories operation.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
listTagsForResourceRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<MergeBranchesByFastForwardResponse> mergeBranchesByFastForward(MergeBranchesByFastForwardRequest mergeBranchesByFastForwardRequest)
Merges two branches using the fast-forward merge strategy.
mergeBranchesByFastForwardRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<MergeBranchesByFastForwardResponse> mergeBranchesByFastForward(Consumer<MergeBranchesByFastForwardRequest.Builder> mergeBranchesByFastForwardRequest)
Merges two branches using the fast-forward merge strategy.
This is a convenience which creates an instance of the MergeBranchesByFastForwardRequest.Builder avoiding
the need to create one manually via MergeBranchesByFastForwardRequest.builder()
mergeBranchesByFastForwardRequest - A Consumer that will call methods on MergeBranchesByFastForwardInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<MergeBranchesBySquashResponse> mergeBranchesBySquash(MergeBranchesBySquashRequest mergeBranchesBySquashRequest)
Merges two branches using the squash merge strategy.
mergeBranchesBySquashRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<MergeBranchesBySquashResponse> mergeBranchesBySquash(Consumer<MergeBranchesBySquashRequest.Builder> mergeBranchesBySquashRequest)
Merges two branches using the squash merge strategy.
This is a convenience which creates an instance of the MergeBranchesBySquashRequest.Builder avoiding the
need to create one manually via MergeBranchesBySquashRequest.builder()
mergeBranchesBySquashRequest - A Consumer that will call methods on MergeBranchesBySquashInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<MergeBranchesByThreeWayResponse> mergeBranchesByThreeWay(MergeBranchesByThreeWayRequest mergeBranchesByThreeWayRequest)
Merges two specified branches using the three-way merge strategy.
mergeBranchesByThreeWayRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<MergeBranchesByThreeWayResponse> mergeBranchesByThreeWay(Consumer<MergeBranchesByThreeWayRequest.Builder> mergeBranchesByThreeWayRequest)
Merges two specified branches using the three-way merge strategy.
This is a convenience which creates an instance of the MergeBranchesByThreeWayRequest.Builder avoiding
the need to create one manually via MergeBranchesByThreeWayRequest.builder()
mergeBranchesByThreeWayRequest - A Consumer that will call methods on MergeBranchesByThreeWayInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
git diff or a diff tool.default CompletableFuture<MergePullRequestByFastForwardResponse> mergePullRequestByFastForward(MergePullRequestByFastForwardRequest mergePullRequestByFastForwardRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestByFastForwardRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<MergePullRequestByFastForwardResponse> mergePullRequestByFastForward(Consumer<MergePullRequestByFastForwardRequest.Builder> mergePullRequestByFastForwardRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.
This is a convenience which creates an instance of the MergePullRequestByFastForwardRequest.Builder
avoiding the need to create one manually via MergePullRequestByFastForwardRequest.builder()
mergePullRequestByFastForwardRequest - A Consumer that will call methods on MergePullRequestByFastForwardInput.Builder to create
a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<MergePullRequestBySquashResponse> mergePullRequestBySquash(MergePullRequestBySquashRequest mergePullRequestBySquashRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestBySquashRequest - git diff or a diff tool.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<MergePullRequestBySquashResponse> mergePullRequestBySquash(Consumer<MergePullRequestBySquashRequest.Builder> mergePullRequestBySquashRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.
This is a convenience which creates an instance of the MergePullRequestBySquashRequest.Builder avoiding
the need to create one manually via MergePullRequestBySquashRequest.builder()
mergePullRequestBySquashRequest - A Consumer that will call methods on MergePullRequestBySquashInput.Builder to create a
request.git diff or a diff tool.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<MergePullRequestByThreeWayResponse> mergePullRequestByThreeWay(MergePullRequestByThreeWayRequest mergePullRequestByThreeWayRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestByThreeWayRequest - git diff or a diff tool.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<MergePullRequestByThreeWayResponse> mergePullRequestByThreeWay(Consumer<MergePullRequestByThreeWayRequest.Builder> mergePullRequestByThreeWayRequest)
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.
This is a convenience which creates an instance of the MergePullRequestByThreeWayRequest.Builder avoiding
the need to create one manually via MergePullRequestByThreeWayRequest.builder()
mergePullRequestByThreeWayRequest - A Consumer that will call methods on MergePullRequestByThreeWayInput.Builder to create a
request.git diff or a diff tool.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<OverridePullRequestApprovalRulesResponse> overridePullRequestApprovalRules(OverridePullRequestApprovalRulesRequest overridePullRequestApprovalRulesRequest)
Sets aside (overrides) all approval rule requirements for a specified pull request.
overridePullRequestApprovalRulesRequest - default CompletableFuture<OverridePullRequestApprovalRulesResponse> overridePullRequestApprovalRules(Consumer<OverridePullRequestApprovalRulesRequest.Builder> overridePullRequestApprovalRulesRequest)
Sets aside (overrides) all approval rule requirements for a specified pull request.
This is a convenience which creates an instance of the OverridePullRequestApprovalRulesRequest.Builder
avoiding the need to create one manually via OverridePullRequestApprovalRulesRequest.builder()
overridePullRequestApprovalRulesRequest - A Consumer that will call methods on OverridePullRequestApprovalRulesInput.Builder to
create a request.default CompletableFuture<PostCommentForComparedCommitResponse> postCommentForComparedCommit(PostCommentForComparedCommitRequest postCommentForComparedCommitRequest)
Posts a comment on the comparison between two commits.
postCommentForComparedCommitRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<PostCommentForComparedCommitResponse> postCommentForComparedCommit(Consumer<PostCommentForComparedCommitRequest.Builder> postCommentForComparedCommitRequest)
Posts a comment on the comparison between two commits.
This is a convenience which creates an instance of the PostCommentForComparedCommitRequest.Builder
avoiding the need to create one manually via PostCommentForComparedCommitRequest.builder()
postCommentForComparedCommitRequest - A Consumer that will call methods on PostCommentForComparedCommitInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<PostCommentForPullRequestResponse> postCommentForPullRequest(PostCommentForPullRequestRequest postCommentForPullRequestRequest)
Posts a comment on a pull request.
postCommentForPullRequestRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<PostCommentForPullRequestResponse> postCommentForPullRequest(Consumer<PostCommentForPullRequestRequest.Builder> postCommentForPullRequestRequest)
Posts a comment on a pull request.
This is a convenience which creates an instance of the PostCommentForPullRequestRequest.Builder avoiding
the need to create one manually via PostCommentForPullRequestRequest.builder()
postCommentForPullRequestRequest - A Consumer that will call methods on PostCommentForPullRequestInput.Builder to create a
request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<PostCommentReplyResponse> postCommentReply(PostCommentReplyRequest postCommentReplyRequest)
Posts a comment in reply to an existing comment on a comparison between commits or a pull request.
postCommentReplyRequest - default CompletableFuture<PostCommentReplyResponse> postCommentReply(Consumer<PostCommentReplyRequest.Builder> postCommentReplyRequest)
Posts a comment in reply to an existing comment on a comparison between commits or a pull request.
This is a convenience which creates an instance of the PostCommentReplyRequest.Builder avoiding the need
to create one manually via PostCommentReplyRequest.builder()
postCommentReplyRequest - A Consumer that will call methods on PostCommentReplyInput.Builder to create a request.default CompletableFuture<PutCommentReactionResponse> putCommentReaction(PutCommentReactionRequest putCommentReactionRequest)
Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.
putCommentReactionRequest - default CompletableFuture<PutCommentReactionResponse> putCommentReaction(Consumer<PutCommentReactionRequest.Builder> putCommentReactionRequest)
Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.
This is a convenience which creates an instance of the PutCommentReactionRequest.Builder avoiding the
need to create one manually via PutCommentReactionRequest.builder()
putCommentReactionRequest - A Consumer that will call methods on PutCommentReactionInput.Builder to create a request.default CompletableFuture<PutFileResponse> putFile(PutFileRequest putFileRequest)
Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.
putFileRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<PutFileResponse> putFile(Consumer<PutFileRequest.Builder> putFileRequest)
Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.
This is a convenience which creates an instance of the PutFileRequest.Builder avoiding the need to create
one manually via PutFileRequest.builder()
putFileRequest - A Consumer that will call methods on PutFileInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<PutRepositoryTriggersResponse> putRepositoryTriggers(PutRepositoryTriggersRequest putRepositoryTriggersRequest)
Replaces all triggers for a repository. Used to create or delete triggers.
putRepositoryTriggersRequest - Represents the input of a put repository triggers operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<PutRepositoryTriggersResponse> putRepositoryTriggers(Consumer<PutRepositoryTriggersRequest.Builder> putRepositoryTriggersRequest)
Replaces all triggers for a repository. Used to create or delete triggers.
This is a convenience which creates an instance of the PutRepositoryTriggersRequest.Builder avoiding the
need to create one manually via PutRepositoryTriggersRequest.builder()
putRepositoryTriggersRequest - A Consumer that will call methods on PutRepositoryTriggersInput.Builder to create a
request. Represents the input of a put repository triggers operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
tagResourceRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<TestRepositoryTriggersResponse> testRepositoryTriggers(TestRepositoryTriggersRequest testRepositoryTriggersRequest)
Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test sends data from the last commit. If no data is available, sample data is generated.
testRepositoryTriggersRequest - Represents the input of a test repository triggers operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<TestRepositoryTriggersResponse> testRepositoryTriggers(Consumer<TestRepositoryTriggersRequest.Builder> testRepositoryTriggersRequest)
Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test sends data from the last commit. If no data is available, sample data is generated.
This is a convenience which creates an instance of the TestRepositoryTriggersRequest.Builder avoiding the
need to create one manually via TestRepositoryTriggersRequest.builder()
testRepositoryTriggersRequest - A Consumer that will call methods on TestRepositoryTriggersInput.Builder to create a
request. Represents the input of a test repository triggers operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
untagResourceRequest - This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceInput.Builder to create a request.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<UpdateApprovalRuleTemplateContentResponse> updateApprovalRuleTemplateContent(UpdateApprovalRuleTemplateContentRequest updateApprovalRuleTemplateContentRequest)
Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.
updateApprovalRuleTemplateContentRequest - default CompletableFuture<UpdateApprovalRuleTemplateContentResponse> updateApprovalRuleTemplateContent(Consumer<UpdateApprovalRuleTemplateContentRequest.Builder> updateApprovalRuleTemplateContentRequest)
Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.
This is a convenience which creates an instance of the UpdateApprovalRuleTemplateContentRequest.Builder
avoiding the need to create one manually via UpdateApprovalRuleTemplateContentRequest.builder()
updateApprovalRuleTemplateContentRequest - A Consumer that will call methods on UpdateApprovalRuleTemplateContentInput.Builder to
create a request.default CompletableFuture<UpdateApprovalRuleTemplateDescriptionResponse> updateApprovalRuleTemplateDescription(UpdateApprovalRuleTemplateDescriptionRequest updateApprovalRuleTemplateDescriptionRequest)
Updates the description for a specified approval rule template.
updateApprovalRuleTemplateDescriptionRequest - default CompletableFuture<UpdateApprovalRuleTemplateDescriptionResponse> updateApprovalRuleTemplateDescription(Consumer<UpdateApprovalRuleTemplateDescriptionRequest.Builder> updateApprovalRuleTemplateDescriptionRequest)
Updates the description for a specified approval rule template.
This is a convenience which creates an instance of the
UpdateApprovalRuleTemplateDescriptionRequest.Builder avoiding the need to create one manually via
UpdateApprovalRuleTemplateDescriptionRequest.builder()
updateApprovalRuleTemplateDescriptionRequest - A Consumer that will call methods on UpdateApprovalRuleTemplateDescriptionInput.Builder to
create a request.default CompletableFuture<UpdateApprovalRuleTemplateNameResponse> updateApprovalRuleTemplateName(UpdateApprovalRuleTemplateNameRequest updateApprovalRuleTemplateNameRequest)
Updates the name of a specified approval rule template.
updateApprovalRuleTemplateNameRequest - default CompletableFuture<UpdateApprovalRuleTemplateNameResponse> updateApprovalRuleTemplateName(Consumer<UpdateApprovalRuleTemplateNameRequest.Builder> updateApprovalRuleTemplateNameRequest)
Updates the name of a specified approval rule template.
This is a convenience which creates an instance of the UpdateApprovalRuleTemplateNameRequest.Builder
avoiding the need to create one manually via UpdateApprovalRuleTemplateNameRequest.builder()
updateApprovalRuleTemplateNameRequest - A Consumer that will call methods on UpdateApprovalRuleTemplateNameInput.Builder to create
a request.default CompletableFuture<UpdateCommentResponse> updateComment(UpdateCommentRequest updateCommentRequest)
Replaces the contents of a comment.
updateCommentRequest - default CompletableFuture<UpdateCommentResponse> updateComment(Consumer<UpdateCommentRequest.Builder> updateCommentRequest)
Replaces the contents of a comment.
This is a convenience which creates an instance of the UpdateCommentRequest.Builder avoiding the need to
create one manually via UpdateCommentRequest.builder()
updateCommentRequest - A Consumer that will call methods on UpdateCommentInput.Builder to create a request.default CompletableFuture<UpdateDefaultBranchResponse> updateDefaultBranch(UpdateDefaultBranchRequest updateDefaultBranchRequest)
Sets or changes the default branch name for the specified repository.
If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.
updateDefaultBranchRequest - Represents the input of an update default branch operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<UpdateDefaultBranchResponse> updateDefaultBranch(Consumer<UpdateDefaultBranchRequest.Builder> updateDefaultBranchRequest)
Sets or changes the default branch name for the specified repository.
If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.
This is a convenience which creates an instance of the UpdateDefaultBranchRequest.Builder avoiding the
need to create one manually via UpdateDefaultBranchRequest.builder()
updateDefaultBranchRequest - A Consumer that will call methods on UpdateDefaultBranchInput.Builder to create a request.
Represents the input of an update default branch operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<UpdatePullRequestApprovalRuleContentResponse> updatePullRequestApprovalRuleContent(UpdatePullRequestApprovalRuleContentRequest updatePullRequestApprovalRuleContentRequest)
Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.
updatePullRequestApprovalRuleContentRequest - default CompletableFuture<UpdatePullRequestApprovalRuleContentResponse> updatePullRequestApprovalRuleContent(Consumer<UpdatePullRequestApprovalRuleContentRequest.Builder> updatePullRequestApprovalRuleContentRequest)
Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.
This is a convenience which creates an instance of the
UpdatePullRequestApprovalRuleContentRequest.Builder avoiding the need to create one manually via
UpdatePullRequestApprovalRuleContentRequest.builder()
updatePullRequestApprovalRuleContentRequest - A Consumer that will call methods on UpdatePullRequestApprovalRuleContentInput.Builder to
create a request.default CompletableFuture<UpdatePullRequestApprovalStateResponse> updatePullRequestApprovalState(UpdatePullRequestApprovalStateRequest updatePullRequestApprovalStateRequest)
Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.
updatePullRequestApprovalStateRequest - default CompletableFuture<UpdatePullRequestApprovalStateResponse> updatePullRequestApprovalState(Consumer<UpdatePullRequestApprovalStateRequest.Builder> updatePullRequestApprovalStateRequest)
Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.
This is a convenience which creates an instance of the UpdatePullRequestApprovalStateRequest.Builder
avoiding the need to create one manually via UpdatePullRequestApprovalStateRequest.builder()
updatePullRequestApprovalStateRequest - A Consumer that will call methods on UpdatePullRequestApprovalStateInput.Builder to create
a request.default CompletableFuture<UpdatePullRequestDescriptionResponse> updatePullRequestDescription(UpdatePullRequestDescriptionRequest updatePullRequestDescriptionRequest)
Replaces the contents of the description of a pull request.
updatePullRequestDescriptionRequest - default CompletableFuture<UpdatePullRequestDescriptionResponse> updatePullRequestDescription(Consumer<UpdatePullRequestDescriptionRequest.Builder> updatePullRequestDescriptionRequest)
Replaces the contents of the description of a pull request.
This is a convenience which creates an instance of the UpdatePullRequestDescriptionRequest.Builder
avoiding the need to create one manually via UpdatePullRequestDescriptionRequest.builder()
updatePullRequestDescriptionRequest - A Consumer that will call methods on UpdatePullRequestDescriptionInput.Builder to create a
request.default CompletableFuture<UpdatePullRequestStatusResponse> updatePullRequestStatus(UpdatePullRequestStatusRequest updatePullRequestStatusRequest)
Updates the status of a pull request.
updatePullRequestStatusRequest - OPEN to CLOSED.OPEN and CLOSED.default CompletableFuture<UpdatePullRequestStatusResponse> updatePullRequestStatus(Consumer<UpdatePullRequestStatusRequest.Builder> updatePullRequestStatusRequest)
Updates the status of a pull request.
This is a convenience which creates an instance of the UpdatePullRequestStatusRequest.Builder avoiding
the need to create one manually via UpdatePullRequestStatusRequest.builder()
updatePullRequestStatusRequest - A Consumer that will call methods on UpdatePullRequestStatusInput.Builder to create a
request.OPEN to CLOSED.OPEN and CLOSED.default CompletableFuture<UpdatePullRequestTitleResponse> updatePullRequestTitle(UpdatePullRequestTitleRequest updatePullRequestTitleRequest)
Replaces the title of a pull request.
updatePullRequestTitleRequest - default CompletableFuture<UpdatePullRequestTitleResponse> updatePullRequestTitle(Consumer<UpdatePullRequestTitleRequest.Builder> updatePullRequestTitleRequest)
Replaces the title of a pull request.
This is a convenience which creates an instance of the UpdatePullRequestTitleRequest.Builder avoiding the
need to create one manually via UpdatePullRequestTitleRequest.builder()
updatePullRequestTitleRequest - A Consumer that will call methods on UpdatePullRequestTitleInput.Builder to create a
request.default CompletableFuture<UpdateRepositoryDescriptionResponse> updateRepositoryDescription(UpdateRepositoryDescriptionRequest updateRepositoryDescriptionRequest)
Sets or changes the comment or description for a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
updateRepositoryDescriptionRequest - Represents the input of an update repository description operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<UpdateRepositoryDescriptionResponse> updateRepositoryDescription(Consumer<UpdateRepositoryDescriptionRequest.Builder> updateRepositoryDescriptionRequest)
Sets or changes the comment or description for a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
This is a convenience which creates an instance of the UpdateRepositoryDescriptionRequest.Builder
avoiding the need to create one manually via UpdateRepositoryDescriptionRequest.builder()
updateRepositoryDescriptionRequest - A Consumer that will call methods on UpdateRepositoryDescriptionInput.Builder to create a
request. Represents the input of an update repository description operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<UpdateRepositoryNameResponse> updateRepositoryName(UpdateRepositoryNameRequest updateRepositoryNameRequest)
Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide.
updateRepositoryNameRequest - Represents the input of an update repository description operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
default CompletableFuture<UpdateRepositoryNameResponse> updateRepositoryName(Consumer<UpdateRepositoryNameRequest.Builder> updateRepositoryNameRequest)
Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide.
This is a convenience which creates an instance of the UpdateRepositoryNameRequest.Builder avoiding the
need to create one manually via UpdateRepositoryNameRequest.builder()
updateRepositoryNameRequest - A Consumer that will call methods on UpdateRepositoryNameInput.Builder to create a
request. Represents the input of an update repository description operation.This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
Copyright © 2022. All rights reserved.