View on GitHub

aws-sdk-swift

CodeCommitClientProtocol

AWS CodeCommit This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples. You can use the AWS CodeCommit API to work with the following objects: Repositories, by calling the following:

public protocol CodeCommitClientProtocol 

Branches, by calling the following:

Files, by calling the following:

Commits, by calling the following:

Merges, by calling the following:

Pull requests, by calling the following:

Approval rule templates, by calling the following:

Comments in a repository, by calling the following:

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

Triggers, by calling the following:

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.

Requirements

associateApprovalRuleTemplateWithRepository(input:completion:)

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.

func associateApprovalRuleTemplateWithRepository(input: AssociateApprovalRuleTemplateWithRepositoryInput, completion: @escaping (ClientRuntime.SdkResult<AssociateApprovalRuleTemplateWithRepositoryOutputResponse, AssociateApprovalRuleTemplateWithRepositoryOutputError>) -> Void)

batchAssociateApprovalRuleTemplateWithRepositories(input:completion:)

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

func batchAssociateApprovalRuleTemplateWithRepositories(input: BatchAssociateApprovalRuleTemplateWithRepositoriesInput, completion: @escaping (ClientRuntime.SdkResult<BatchAssociateApprovalRuleTemplateWithRepositoriesOutputResponse, BatchAssociateApprovalRuleTemplateWithRepositoriesOutputError>) -> Void)

batchDescribeMergeConflicts(input:completion:)

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

func batchDescribeMergeConflicts(input: BatchDescribeMergeConflictsInput, completion: @escaping (ClientRuntime.SdkResult<BatchDescribeMergeConflictsOutputResponse, BatchDescribeMergeConflictsOutputError>) -> Void)

batchDisassociateApprovalRuleTemplateFromRepositories(input:completion:)

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

func batchDisassociateApprovalRuleTemplateFromRepositories(input: BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, completion: @escaping (ClientRuntime.SdkResult<BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputResponse, BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputError>) -> Void)

batchGetCommits(input:completion:)

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

func batchGetCommits(input: BatchGetCommitsInput, completion: @escaping (ClientRuntime.SdkResult<BatchGetCommitsOutputResponse, BatchGetCommitsOutputError>) -> Void)

batchGetRepositories(input:completion:)

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.

func batchGetRepositories(input: BatchGetRepositoriesInput, completion: @escaping (ClientRuntime.SdkResult<BatchGetRepositoriesOutputResponse, BatchGetRepositoriesOutputError>) -> Void)

createApprovalRuleTemplate(input:completion:)

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].

func createApprovalRuleTemplate(input: CreateApprovalRuleTemplateInput, completion: @escaping (ClientRuntime.SdkResult<CreateApprovalRuleTemplateOutputResponse, CreateApprovalRuleTemplateOutputError>) -> Void)

createBranch(input:completion:)

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.

func createBranch(input: CreateBranchInput, completion: @escaping (ClientRuntime.SdkResult<CreateBranchOutputResponse, CreateBranchOutputError>) -> Void)

createCommit(input:completion:)

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

func createCommit(input: CreateCommitInput, completion: @escaping (ClientRuntime.SdkResult<CreateCommitOutputResponse, CreateCommitOutputError>) -> Void)

createPullRequest(input:completion:)

Creates a pull request in the specified repository.

func createPullRequest(input: CreatePullRequestInput, completion: @escaping (ClientRuntime.SdkResult<CreatePullRequestOutputResponse, CreatePullRequestOutputError>) -> Void)

createPullRequestApprovalRule(input:completion:)

Creates an approval rule for a pull request.

func createPullRequestApprovalRule(input: CreatePullRequestApprovalRuleInput, completion: @escaping (ClientRuntime.SdkResult<CreatePullRequestApprovalRuleOutputResponse, CreatePullRequestApprovalRuleOutputError>) -> Void)

createRepository(input:completion:)

Creates a new, empty repository.

func createRepository(input: CreateRepositoryInput, completion: @escaping (ClientRuntime.SdkResult<CreateRepositoryOutputResponse, CreateRepositoryOutputError>) -> Void)

createUnreferencedMergeCommit(input:completion:)

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.

func createUnreferencedMergeCommit(input: CreateUnreferencedMergeCommitInput, completion: @escaping (ClientRuntime.SdkResult<CreateUnreferencedMergeCommitOutputResponse, CreateUnreferencedMergeCommitOutputError>) -> Void)

deleteApprovalRuleTemplate(input:completion:)

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

func deleteApprovalRuleTemplate(input: DeleteApprovalRuleTemplateInput, completion: @escaping (ClientRuntime.SdkResult<DeleteApprovalRuleTemplateOutputResponse, DeleteApprovalRuleTemplateOutputError>) -> Void)

deleteBranch(input:completion:)

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

func deleteBranch(input: DeleteBranchInput, completion: @escaping (ClientRuntime.SdkResult<DeleteBranchOutputResponse, DeleteBranchOutputError>) -> Void)

deleteCommentContent(input:completion:)

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

func deleteCommentContent(input: DeleteCommentContentInput, completion: @escaping (ClientRuntime.SdkResult<DeleteCommentContentOutputResponse, DeleteCommentContentOutputError>) -> Void)

deleteFile(input:completion:)

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.

func deleteFile(input: DeleteFileInput, completion: @escaping (ClientRuntime.SdkResult<DeleteFileOutputResponse, DeleteFileOutputError>) -> Void)

deletePullRequestApprovalRule(input:completion:)

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.

func deletePullRequestApprovalRule(input: DeletePullRequestApprovalRuleInput, completion: @escaping (ClientRuntime.SdkResult<DeletePullRequestApprovalRuleOutputResponse, DeletePullRequestApprovalRuleOutputError>) -> Void)

deleteRepository(input:completion:)

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.

func deleteRepository(input: DeleteRepositoryInput, completion: @escaping (ClientRuntime.SdkResult<DeleteRepositoryOutputResponse, DeleteRepositoryOutputError>) -> Void)

describeMergeConflicts(input:completion:)

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.

func describeMergeConflicts(input: DescribeMergeConflictsInput, completion: @escaping (ClientRuntime.SdkResult<DescribeMergeConflictsOutputResponse, DescribeMergeConflictsOutputError>) -> Void)

describePullRequestEvents(input:completion:)

Returns information about one or more pull request events.

func describePullRequestEvents(input: DescribePullRequestEventsInput, completion: @escaping (ClientRuntime.SdkResult<DescribePullRequestEventsOutputResponse, DescribePullRequestEventsOutputError>) -> Void)

disassociateApprovalRuleTemplateFromRepository(input:completion:)

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.

func disassociateApprovalRuleTemplateFromRepository(input: DisassociateApprovalRuleTemplateFromRepositoryInput, completion: @escaping (ClientRuntime.SdkResult<DisassociateApprovalRuleTemplateFromRepositoryOutputResponse, DisassociateApprovalRuleTemplateFromRepositoryOutputError>) -> Void)

evaluatePullRequestApprovalRules(input:completion:)

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

func evaluatePullRequestApprovalRules(input: EvaluatePullRequestApprovalRulesInput, completion: @escaping (ClientRuntime.SdkResult<EvaluatePullRequestApprovalRulesOutputResponse, EvaluatePullRequestApprovalRulesOutputError>) -> Void)

getApprovalRuleTemplate(input:completion:)

Returns information about a specified approval rule template.

func getApprovalRuleTemplate(input: GetApprovalRuleTemplateInput, completion: @escaping (ClientRuntime.SdkResult<GetApprovalRuleTemplateOutputResponse, GetApprovalRuleTemplateOutputError>) -> Void)

getBlob(input:completion:)

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

func getBlob(input: GetBlobInput, completion: @escaping (ClientRuntime.SdkResult<GetBlobOutputResponse, GetBlobOutputError>) -> Void)

getBranch(input:completion:)

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

func getBranch(input: GetBranchInput, completion: @escaping (ClientRuntime.SdkResult<GetBranchOutputResponse, GetBranchOutputError>) -> Void)

getComment(input:completion:)

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.

func getComment(input: GetCommentInput, completion: @escaping (ClientRuntime.SdkResult<GetCommentOutputResponse, GetCommentOutputError>) -> Void)

getCommentReactions(input:completion:)

Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.

func getCommentReactions(input: GetCommentReactionsInput, completion: @escaping (ClientRuntime.SdkResult<GetCommentReactionsOutputResponse, GetCommentReactionsOutputError>) -> Void)

getCommentsForComparedCommit(input:completion:)

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.

func getCommentsForComparedCommit(input: GetCommentsForComparedCommitInput, completion: @escaping (ClientRuntime.SdkResult<GetCommentsForComparedCommitOutputResponse, GetCommentsForComparedCommitOutputError>) -> Void)

getCommentsForPullRequest(input:completion:)

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.

func getCommentsForPullRequest(input: GetCommentsForPullRequestInput, completion: @escaping (ClientRuntime.SdkResult<GetCommentsForPullRequestOutputResponse, GetCommentsForPullRequestOutputError>) -> Void)

getCommit(input:completion:)

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

func getCommit(input: GetCommitInput, completion: @escaping (ClientRuntime.SdkResult<GetCommitOutputResponse, GetCommitOutputError>) -> Void)

getDifferences(input:completion:)

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.

func getDifferences(input: GetDifferencesInput, completion: @escaping (ClientRuntime.SdkResult<GetDifferencesOutputResponse, GetDifferencesOutputError>) -> Void)

getFile(input:completion:)

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

func getFile(input: GetFileInput, completion: @escaping (ClientRuntime.SdkResult<GetFileOutputResponse, GetFileOutputError>) -> Void)

getFolder(input:completion:)

Returns the contents of a specified folder in a repository.

func getFolder(input: GetFolderInput, completion: @escaping (ClientRuntime.SdkResult<GetFolderOutputResponse, GetFolderOutputError>) -> Void)

getMergeCommit(input:completion:)

Returns information about a specified merge commit.

func getMergeCommit(input: GetMergeCommitInput, completion: @escaping (ClientRuntime.SdkResult<GetMergeCommitOutputResponse, GetMergeCommitOutputError>) -> Void)

getMergeConflicts(input:completion:)

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

func getMergeConflicts(input: GetMergeConflictsInput, completion: @escaping (ClientRuntime.SdkResult<GetMergeConflictsOutputResponse, GetMergeConflictsOutputError>) -> Void)

getMergeOptions(input:completion:)

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.

func getMergeOptions(input: GetMergeOptionsInput, completion: @escaping (ClientRuntime.SdkResult<GetMergeOptionsOutputResponse, GetMergeOptionsOutputError>) -> Void)

getPullRequest(input:completion:)

Gets information about a pull request in a specified repository.

func getPullRequest(input: GetPullRequestInput, completion: @escaping (ClientRuntime.SdkResult<GetPullRequestOutputResponse, GetPullRequestOutputError>) -> Void)

getPullRequestApprovalStates(input:completion:)

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.

func getPullRequestApprovalStates(input: GetPullRequestApprovalStatesInput, completion: @escaping (ClientRuntime.SdkResult<GetPullRequestApprovalStatesOutputResponse, GetPullRequestApprovalStatesOutputError>) -> Void)

getPullRequestOverrideState(input:completion:)

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.

func getPullRequestOverrideState(input: GetPullRequestOverrideStateInput, completion: @escaping (ClientRuntime.SdkResult<GetPullRequestOverrideStateOutputResponse, GetPullRequestOverrideStateOutputError>) -> Void)

getRepository(input:completion:)

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.

func getRepository(input: GetRepositoryInput, completion: @escaping (ClientRuntime.SdkResult<GetRepositoryOutputResponse, GetRepositoryOutputError>) -> Void)

getRepositoryTriggers(input:completion:)

Gets information about triggers configured for a repository.

func getRepositoryTriggers(input: GetRepositoryTriggersInput, completion: @escaping (ClientRuntime.SdkResult<GetRepositoryTriggersOutputResponse, GetRepositoryTriggersOutputError>) -> Void)

listApprovalRuleTemplates(input:completion:)

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.

func listApprovalRuleTemplates(input: ListApprovalRuleTemplatesInput, completion: @escaping (ClientRuntime.SdkResult<ListApprovalRuleTemplatesOutputResponse, ListApprovalRuleTemplatesOutputError>) -> Void)

listAssociatedApprovalRuleTemplatesForRepository(input:completion:)

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

func listAssociatedApprovalRuleTemplatesForRepository(input: ListAssociatedApprovalRuleTemplatesForRepositoryInput, completion: @escaping (ClientRuntime.SdkResult<ListAssociatedApprovalRuleTemplatesForRepositoryOutputResponse, ListAssociatedApprovalRuleTemplatesForRepositoryOutputError>) -> Void)

listBranches(input:completion:)

Gets information about one or more branches in a repository.

func listBranches(input: ListBranchesInput, completion: @escaping (ClientRuntime.SdkResult<ListBranchesOutputResponse, ListBranchesOutputError>) -> Void)

listPullRequests(input:completion:)

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.

func listPullRequests(input: ListPullRequestsInput, completion: @escaping (ClientRuntime.SdkResult<ListPullRequestsOutputResponse, ListPullRequestsOutputError>) -> Void)

listRepositories(input:completion:)

Gets information about one or more repositories.

func listRepositories(input: ListRepositoriesInput, completion: @escaping (ClientRuntime.SdkResult<ListRepositoriesOutputResponse, ListRepositoriesOutputError>) -> Void)

listRepositoriesForApprovalRuleTemplate(input:completion:)

Lists all repositories associated with the specified approval rule template.

func listRepositoriesForApprovalRuleTemplate(input: ListRepositoriesForApprovalRuleTemplateInput, completion: @escaping (ClientRuntime.SdkResult<ListRepositoriesForApprovalRuleTemplateOutputResponse, ListRepositoriesForApprovalRuleTemplateOutputError>) -> Void)

listTagsForResource(input:completion:)

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.

func listTagsForResource(input: ListTagsForResourceInput, completion: @escaping (ClientRuntime.SdkResult<ListTagsForResourceOutputResponse, ListTagsForResourceOutputError>) -> Void)

mergeBranchesByFastForward(input:completion:)

Merges two branches using the fast-forward merge strategy.

func mergeBranchesByFastForward(input: MergeBranchesByFastForwardInput, completion: @escaping (ClientRuntime.SdkResult<MergeBranchesByFastForwardOutputResponse, MergeBranchesByFastForwardOutputError>) -> Void)

mergeBranchesBySquash(input:completion:)

Merges two branches using the squash merge strategy.

func mergeBranchesBySquash(input: MergeBranchesBySquashInput, completion: @escaping (ClientRuntime.SdkResult<MergeBranchesBySquashOutputResponse, MergeBranchesBySquashOutputError>) -> Void)

mergeBranchesByThreeWay(input:completion:)

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

func mergeBranchesByThreeWay(input: MergeBranchesByThreeWayInput, completion: @escaping (ClientRuntime.SdkResult<MergeBranchesByThreeWayOutputResponse, MergeBranchesByThreeWayOutputError>) -> Void)

mergePullRequestByFastForward(input:completion:)

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.

func mergePullRequestByFastForward(input: MergePullRequestByFastForwardInput, completion: @escaping (ClientRuntime.SdkResult<MergePullRequestByFastForwardOutputResponse, MergePullRequestByFastForwardOutputError>) -> Void)

mergePullRequestBySquash(input:completion:)

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.

func mergePullRequestBySquash(input: MergePullRequestBySquashInput, completion: @escaping (ClientRuntime.SdkResult<MergePullRequestBySquashOutputResponse, MergePullRequestBySquashOutputError>) -> Void)

mergePullRequestByThreeWay(input:completion:)

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.

func mergePullRequestByThreeWay(input: MergePullRequestByThreeWayInput, completion: @escaping (ClientRuntime.SdkResult<MergePullRequestByThreeWayOutputResponse, MergePullRequestByThreeWayOutputError>) -> Void)

overridePullRequestApprovalRules(input:completion:)

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

func overridePullRequestApprovalRules(input: OverridePullRequestApprovalRulesInput, completion: @escaping (ClientRuntime.SdkResult<OverridePullRequestApprovalRulesOutputResponse, OverridePullRequestApprovalRulesOutputError>) -> Void)

postCommentForComparedCommit(input:completion:)

Posts a comment on the comparison between two commits.

func postCommentForComparedCommit(input: PostCommentForComparedCommitInput, completion: @escaping (ClientRuntime.SdkResult<PostCommentForComparedCommitOutputResponse, PostCommentForComparedCommitOutputError>) -> Void)

postCommentForPullRequest(input:completion:)

Posts a comment on a pull request.

func postCommentForPullRequest(input: PostCommentForPullRequestInput, completion: @escaping (ClientRuntime.SdkResult<PostCommentForPullRequestOutputResponse, PostCommentForPullRequestOutputError>) -> Void)

postCommentReply(input:completion:)

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

func postCommentReply(input: PostCommentReplyInput, completion: @escaping (ClientRuntime.SdkResult<PostCommentReplyOutputResponse, PostCommentReplyOutputError>) -> Void)

putCommentReaction(input:completion:)

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.

func putCommentReaction(input: PutCommentReactionInput, completion: @escaping (ClientRuntime.SdkResult<PutCommentReactionOutputResponse, PutCommentReactionOutputError>) -> Void)

putFile(input:completion:)

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

func putFile(input: PutFileInput, completion: @escaping (ClientRuntime.SdkResult<PutFileOutputResponse, PutFileOutputError>) -> Void)

putRepositoryTriggers(input:completion:)

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

func putRepositoryTriggers(input: PutRepositoryTriggersInput, completion: @escaping (ClientRuntime.SdkResult<PutRepositoryTriggersOutputResponse, PutRepositoryTriggersOutputError>) -> Void)

tagResource(input:completion:)

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.

func tagResource(input: TagResourceInput, completion: @escaping (ClientRuntime.SdkResult<TagResourceOutputResponse, TagResourceOutputError>) -> Void)

testRepositoryTriggers(input:completion:)

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.

func testRepositoryTriggers(input: TestRepositoryTriggersInput, completion: @escaping (ClientRuntime.SdkResult<TestRepositoryTriggersOutputResponse, TestRepositoryTriggersOutputError>) -> Void)

untagResource(input:completion:)

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.

func untagResource(input: UntagResourceInput, completion: @escaping (ClientRuntime.SdkResult<UntagResourceOutputResponse, UntagResourceOutputError>) -> Void)

updateApprovalRuleTemplateContent(input:completion:)

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.

func updateApprovalRuleTemplateContent(input: UpdateApprovalRuleTemplateContentInput, completion: @escaping (ClientRuntime.SdkResult<UpdateApprovalRuleTemplateContentOutputResponse, UpdateApprovalRuleTemplateContentOutputError>) -> Void)

updateApprovalRuleTemplateDescription(input:completion:)

Updates the description for a specified approval rule template.

func updateApprovalRuleTemplateDescription(input: UpdateApprovalRuleTemplateDescriptionInput, completion: @escaping (ClientRuntime.SdkResult<UpdateApprovalRuleTemplateDescriptionOutputResponse, UpdateApprovalRuleTemplateDescriptionOutputError>) -> Void)

updateApprovalRuleTemplateName(input:completion:)

Updates the name of a specified approval rule template.

func updateApprovalRuleTemplateName(input: UpdateApprovalRuleTemplateNameInput, completion: @escaping (ClientRuntime.SdkResult<UpdateApprovalRuleTemplateNameOutputResponse, UpdateApprovalRuleTemplateNameOutputError>) -> Void)

updateComment(input:completion:)

Replaces the contents of a comment.

func updateComment(input: UpdateCommentInput, completion: @escaping (ClientRuntime.SdkResult<UpdateCommentOutputResponse, UpdateCommentOutputError>) -> Void)

updateDefaultBranch(input:completion:)

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.

func updateDefaultBranch(input: UpdateDefaultBranchInput, completion: @escaping (ClientRuntime.SdkResult<UpdateDefaultBranchOutputResponse, UpdateDefaultBranchOutputError>) -> Void)

updatePullRequestApprovalRuleContent(input:completion:)

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.

func updatePullRequestApprovalRuleContent(input: UpdatePullRequestApprovalRuleContentInput, completion: @escaping (ClientRuntime.SdkResult<UpdatePullRequestApprovalRuleContentOutputResponse, UpdatePullRequestApprovalRuleContentOutputError>) -> Void)

updatePullRequestApprovalState(input:completion:)

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.

func updatePullRequestApprovalState(input: UpdatePullRequestApprovalStateInput, completion: @escaping (ClientRuntime.SdkResult<UpdatePullRequestApprovalStateOutputResponse, UpdatePullRequestApprovalStateOutputError>) -> Void)

updatePullRequestDescription(input:completion:)

Replaces the contents of the description of a pull request.

func updatePullRequestDescription(input: UpdatePullRequestDescriptionInput, completion: @escaping (ClientRuntime.SdkResult<UpdatePullRequestDescriptionOutputResponse, UpdatePullRequestDescriptionOutputError>) -> Void)

updatePullRequestStatus(input:completion:)

Updates the status of a pull request.

func updatePullRequestStatus(input: UpdatePullRequestStatusInput, completion: @escaping (ClientRuntime.SdkResult<UpdatePullRequestStatusOutputResponse, UpdatePullRequestStatusOutputError>) -> Void)

updatePullRequestTitle(input:completion:)

Replaces the title of a pull request.

func updatePullRequestTitle(input: UpdatePullRequestTitleInput, completion: @escaping (ClientRuntime.SdkResult<UpdatePullRequestTitleOutputResponse, UpdatePullRequestTitleOutputError>) -> Void)

updateRepositoryDescription(input:completion:)

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.

func updateRepositoryDescription(input: UpdateRepositoryDescriptionInput, completion: @escaping (ClientRuntime.SdkResult<UpdateRepositoryDescriptionOutputResponse, UpdateRepositoryDescriptionOutputError>) -> Void)

updateRepositoryName(input:completion:)

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.

func updateRepositoryName(input: UpdateRepositoryNameInput, completion: @escaping (ClientRuntime.SdkResult<UpdateRepositoryNameOutputResponse, UpdateRepositoryNameOutputError>) -> Void)