{ "version": "2.0", "metadata": { "apiVersion": "2015-04-13", "endpointPrefix": "codecommit", "jsonVersion": "1.1", "protocol": "json", "protocols": [ "json" ], "serviceAbbreviation": "CodeCommit", "serviceFullName": "AWS CodeCommit", "serviceId": "CodeCommit", "signatureVersion": "v4", "targetPrefix": "CodeCommit_20150413", "uid": "codecommit-2015-04-13", "auth": [ "aws.auth#sigv4" ] }, "operations": { "AssociateApprovalRuleTemplateWithRepository": { "name": "AssociateApprovalRuleTemplateWithRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AssociateApprovalRuleTemplateWithRepositoryInput" }, "errors": [ { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" }, { "shape": "MaximumRuleTemplatesAssociatedWithRepositoryException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "BatchAssociateApprovalRuleTemplateWithRepositories": { "name": "BatchAssociateApprovalRuleTemplateWithRepositories", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchAssociateApprovalRuleTemplateWithRepositoriesInput" }, "output": { "shape": "BatchAssociateApprovalRuleTemplateWithRepositoriesOutput" }, "errors": [ { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" }, { "shape": "RepositoryNamesRequiredException" }, { "shape": "MaximumRepositoryNamesExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "BatchDescribeMergeConflicts": { "name": "BatchDescribeMergeConflicts", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchDescribeMergeConflictsInput" }, "output": { "shape": "BatchDescribeMergeConflictsOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "MergeOptionRequiredException" }, { "shape": "InvalidMergeOptionException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "CommitRequiredException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidCommitException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "InvalidMaxConflictFilesException" }, { "shape": "InvalidMaxMergeHunksException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "BatchDisassociateApprovalRuleTemplateFromRepositories": { "name": "BatchDisassociateApprovalRuleTemplateFromRepositories", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchDisassociateApprovalRuleTemplateFromRepositoriesInput" }, "output": { "shape": "BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput" }, "errors": [ { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" }, { "shape": "RepositoryNamesRequiredException" }, { "shape": "MaximumRepositoryNamesExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "BatchGetCommits": { "name": "BatchGetCommits", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchGetCommitsInput" }, "output": { "shape": "BatchGetCommitsOutput" }, "errors": [ { "shape": "CommitIdsListRequiredException" }, { "shape": "CommitIdsLimitExceededException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "BatchGetRepositories": { "name": "BatchGetRepositories", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchGetRepositoriesInput" }, "output": { "shape": "BatchGetRepositoriesOutput" }, "errors": [ { "shape": "RepositoryNamesRequiredException" }, { "shape": "MaximumRepositoryNamesExceededException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "CreateApprovalRuleTemplate": { "name": "CreateApprovalRuleTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateApprovalRuleTemplateInput" }, "output": { "shape": "CreateApprovalRuleTemplateOutput" }, "errors": [ { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateNameAlreadyExistsException" }, { "shape": "ApprovalRuleTemplateContentRequiredException" }, { "shape": "InvalidApprovalRuleTemplateContentException" }, { "shape": "InvalidApprovalRuleTemplateDescriptionException" }, { "shape": "NumberOfRuleTemplatesExceededException" } ], "documentation": "

Creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, 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.

" }, "CreateBranch": { "name": "CreateBranch", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateBranchInput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "BranchNameRequiredException" }, { "shape": "BranchNameExistsException" }, { "shape": "InvalidBranchNameException" }, { "shape": "CommitIdRequiredException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidCommitIdException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "CreateCommit": { "name": "CreateCommit", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateCommitInput" }, "output": { "shape": "CreateCommitOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "ParentCommitIdRequiredException" }, { "shape": "InvalidParentCommitIdException" }, { "shape": "ParentCommitDoesNotExistException" }, { "shape": "ParentCommitIdOutdatedException" }, { "shape": "BranchNameRequiredException" }, { "shape": "InvalidBranchNameException" }, { "shape": "BranchDoesNotExistException" }, { "shape": "BranchNameIsTagNameException" }, { "shape": "FileEntryRequiredException" }, { "shape": "MaximumFileEntriesExceededException" }, { "shape": "PutFileEntryConflictException" }, { "shape": "SourceFileOrContentRequiredException" }, { "shape": "FileContentAndSourceFileSpecifiedException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "SamePathRequestException" }, { "shape": "FileDoesNotExistException" }, { "shape": "FileContentSizeLimitExceededException" }, { "shape": "FolderContentSizeLimitExceededException" }, { "shape": "InvalidDeletionParameterException" }, { "shape": "RestrictedSourceFileException" }, { "shape": "FileModeRequiredException" }, { "shape": "InvalidFileModeException" }, { "shape": "NameLengthExceededException" }, { "shape": "InvalidEmailException" }, { "shape": "CommitMessageLengthExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "NoChangeException" }, { "shape": "FileNameConflictsWithDirectoryNameException" }, { "shape": "DirectoryNameConflictsWithFileNameException" }, { "shape": "FilePathConflictsWithSubmodulePathException" } ], "documentation": "

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

" }, "CreatePullRequest": { "name": "CreatePullRequest", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreatePullRequestInput" }, "output": { "shape": "CreatePullRequestOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "ClientRequestTokenRequiredException" }, { "shape": "InvalidClientRequestTokenException" }, { "shape": "IdempotencyParameterMismatchException" }, { "shape": "ReferenceNameRequiredException" }, { "shape": "InvalidReferenceNameException" }, { "shape": "ReferenceDoesNotExistException" }, { "shape": "ReferenceTypeNotSupportedException" }, { "shape": "TitleRequiredException" }, { "shape": "InvalidTitleException" }, { "shape": "InvalidDescriptionException" }, { "shape": "TargetsRequiredException" }, { "shape": "InvalidTargetsException" }, { "shape": "TargetRequiredException" }, { "shape": "InvalidTargetException" }, { "shape": "MultipleRepositoriesInPullRequestException" }, { "shape": "MaximumOpenPullRequestsExceededException" }, { "shape": "SourceAndDestinationAreSameException" } ], "documentation": "

Creates a pull request in the specified repository.

" }, "CreatePullRequestApprovalRule": { "name": "CreatePullRequestApprovalRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreatePullRequestApprovalRuleInput" }, "output": { "shape": "CreatePullRequestApprovalRuleOutput" }, "errors": [ { "shape": "ApprovalRuleNameRequiredException" }, { "shape": "InvalidApprovalRuleNameException" }, { "shape": "ApprovalRuleNameAlreadyExistsException" }, { "shape": "ApprovalRuleContentRequiredException" }, { "shape": "InvalidApprovalRuleContentException" }, { "shape": "NumberOfRulesExceededException" }, { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "PullRequestAlreadyClosedException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Creates an approval rule for a pull request.

" }, "CreateRepository": { "name": "CreateRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateRepositoryInput" }, "output": { "shape": "CreateRepositoryOutput" }, "errors": [ { "shape": "RepositoryNameExistsException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "InvalidRepositoryDescriptionException" }, { "shape": "RepositoryLimitExceededException" }, { "shape": "OperationNotAllowedException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "EncryptionKeyInvalidIdException" }, { "shape": "EncryptionKeyInvalidUsageException" }, { "shape": "InvalidTagsMapException" }, { "shape": "TooManyTagsException" }, { "shape": "InvalidSystemTagUsageException" }, { "shape": "TagPolicyException" } ], "documentation": "

Creates a new, empty repository.

" }, "CreateUnreferencedMergeCommit": { "name": "CreateUnreferencedMergeCommit", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateUnreferencedMergeCommitInput" }, "output": { "shape": "CreateUnreferencedMergeCommitOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "CommitRequiredException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "MergeOptionRequiredException" }, { "shape": "InvalidMergeOptionException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "InvalidConflictResolutionException" }, { "shape": "ManualMergeRequiredException" }, { "shape": "MaximumConflictResolutionEntriesExceededException" }, { "shape": "MultipleConflictResolutionEntriesException" }, { "shape": "ReplacementTypeRequiredException" }, { "shape": "InvalidReplacementTypeException" }, { "shape": "ReplacementContentRequiredException" }, { "shape": "InvalidReplacementContentException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "FileContentSizeLimitExceededException" }, { "shape": "FolderContentSizeLimitExceededException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "ConcurrentReferenceUpdateException" }, { "shape": "FileModeRequiredException" }, { "shape": "InvalidFileModeException" }, { "shape": "NameLengthExceededException" }, { "shape": "InvalidEmailException" }, { "shape": "CommitMessageLengthExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "DeleteApprovalRuleTemplate": { "name": "DeleteApprovalRuleTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteApprovalRuleTemplateInput" }, "output": { "shape": "DeleteApprovalRuleTemplateOutput" }, "errors": [ { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateInUseException" } ], "documentation": "

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

" }, "DeleteBranch": { "name": "DeleteBranch", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteBranchInput" }, "output": { "shape": "DeleteBranchOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "BranchNameRequiredException" }, { "shape": "InvalidBranchNameException" }, { "shape": "DefaultBranchCannotBeDeletedException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "DeleteCommentContent": { "name": "DeleteCommentContent", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteCommentContentInput" }, "output": { "shape": "DeleteCommentContentOutput" }, "errors": [ { "shape": "CommentDoesNotExistException" }, { "shape": "CommentIdRequiredException" }, { "shape": "InvalidCommentIdException" }, { "shape": "CommentDeletedException" } ], "documentation": "

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

" }, "DeleteFile": { "name": "DeleteFile", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteFileInput" }, "output": { "shape": "DeleteFileOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "ParentCommitIdRequiredException" }, { "shape": "InvalidParentCommitIdException" }, { "shape": "ParentCommitDoesNotExistException" }, { "shape": "ParentCommitIdOutdatedException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "FileDoesNotExistException" }, { "shape": "BranchNameRequiredException" }, { "shape": "InvalidBranchNameException" }, { "shape": "BranchDoesNotExistException" }, { "shape": "BranchNameIsTagNameException" }, { "shape": "NameLengthExceededException" }, { "shape": "InvalidEmailException" }, { "shape": "CommitMessageLengthExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "DeletePullRequestApprovalRule": { "name": "DeletePullRequestApprovalRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeletePullRequestApprovalRuleInput" }, "output": { "shape": "DeletePullRequestApprovalRuleOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "PullRequestAlreadyClosedException" }, { "shape": "ApprovalRuleNameRequiredException" }, { "shape": "InvalidApprovalRuleNameException" }, { "shape": "CannotDeleteApprovalRuleFromTemplateException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "DeleteRepository": { "name": "DeleteRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteRepositoryInput" }, "output": { "shape": "DeleteRepositoryOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "DescribeMergeConflicts": { "name": "DescribeMergeConflicts", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeMergeConflictsInput" }, "output": { "shape": "DescribeMergeConflictsOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "MergeOptionRequiredException" }, { "shape": "InvalidMergeOptionException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "CommitRequiredException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidCommitException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "FileDoesNotExistException" }, { "shape": "InvalidMaxMergeHunksException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "DescribePullRequestEvents": { "name": "DescribePullRequestEvents", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribePullRequestEventsInput" }, "output": { "shape": "DescribePullRequestEventsOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidPullRequestEventTypeException" }, { "shape": "InvalidActorArnException" }, { "shape": "ActorDoesNotExistException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Returns information about one or more pull request events.

" }, "DisassociateApprovalRuleTemplateFromRepository": { "name": "DisassociateApprovalRuleTemplateFromRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DisassociateApprovalRuleTemplateFromRepositoryInput" }, "errors": [ { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "EvaluatePullRequestApprovalRules": { "name": "EvaluatePullRequestApprovalRules", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "EvaluatePullRequestApprovalRulesInput" }, "output": { "shape": "EvaluatePullRequestApprovalRulesOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidRevisionIdException" }, { "shape": "RevisionIdRequiredException" }, { "shape": "RevisionNotCurrentException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "GetApprovalRuleTemplate": { "name": "GetApprovalRuleTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetApprovalRuleTemplateInput" }, "output": { "shape": "GetApprovalRuleTemplateOutput" }, "errors": [ { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" } ], "documentation": "

Returns information about a specified approval rule template.

" }, "GetBlob": { "name": "GetBlob", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetBlobInput" }, "output": { "shape": "GetBlobOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "BlobIdRequiredException" }, { "shape": "InvalidBlobIdException" }, { "shape": "BlobIdDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "FileTooLargeException" } ], "documentation": "

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

" }, "GetBranch": { "name": "GetBranch", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetBranchInput" }, "output": { "shape": "GetBranchOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "BranchNameRequiredException" }, { "shape": "InvalidBranchNameException" }, { "shape": "BranchDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "GetComment": { "name": "GetComment", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetCommentInput" }, "output": { "shape": "GetCommentOutput" }, "errors": [ { "shape": "CommentDoesNotExistException" }, { "shape": "CommentDeletedException" }, { "shape": "CommentIdRequiredException" }, { "shape": "InvalidCommentIdException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "GetCommentReactions": { "name": "GetCommentReactions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetCommentReactionsInput" }, "output": { "shape": "GetCommentReactionsOutput" }, "errors": [ { "shape": "CommentDoesNotExistException" }, { "shape": "CommentIdRequiredException" }, { "shape": "InvalidCommentIdException" }, { "shape": "InvalidReactionUserArnException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "CommentDeletedException" } ], "documentation": "

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

" }, "GetCommentsForComparedCommit": { "name": "GetCommentsForComparedCommit", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetCommentsForComparedCommitInput" }, "output": { "shape": "GetCommentsForComparedCommitOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "CommitIdRequiredException" }, { "shape": "InvalidCommitIdException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "GetCommentsForPullRequest": { "name": "GetCommentsForPullRequest", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetCommentsForPullRequestInput" }, "output": { "shape": "GetCommentsForPullRequestOutput" }, "errors": [ { "shape": "PullRequestIdRequiredException" }, { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "CommitIdRequiredException" }, { "shape": "InvalidCommitIdException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "RepositoryNotAssociatedWithPullRequestException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "GetCommit": { "name": "GetCommit", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetCommitInput" }, "output": { "shape": "GetCommitOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "CommitIdRequiredException" }, { "shape": "InvalidCommitIdException" }, { "shape": "CommitIdDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "GetDifferences": { "name": "GetDifferences", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetDifferencesInput" }, "output": { "shape": "GetDifferencesOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidCommitIdException" }, { "shape": "CommitRequiredException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidPathException" }, { "shape": "PathDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "GetFile": { "name": "GetFile", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetFileInput" }, "output": { "shape": "GetFileOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "FileDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "FileTooLargeException" } ], "documentation": "

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

" }, "GetFolder": { "name": "GetFolder", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetFolderInput" }, "output": { "shape": "GetFolderOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "FolderDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Returns the contents of a specified folder in a repository.

" }, "GetMergeCommit": { "name": "GetMergeCommit", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetMergeCommitInput" }, "output": { "shape": "GetMergeCommitOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "CommitRequiredException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Returns information about a specified merge commit.

" }, "GetMergeConflicts": { "name": "GetMergeConflicts", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetMergeConflictsInput" }, "output": { "shape": "GetMergeConflictsOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "MergeOptionRequiredException" }, { "shape": "InvalidMergeOptionException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "CommitRequiredException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidCommitException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "InvalidMaxConflictFilesException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidDestinationCommitSpecifierException" }, { "shape": "InvalidSourceCommitSpecifierException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "GetMergeOptions": { "name": "GetMergeOptions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetMergeOptionsInput" }, "output": { "shape": "GetMergeOptionsOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "CommitRequiredException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidCommitException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "GetPullRequest": { "name": "GetPullRequest", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetPullRequestInput" }, "output": { "shape": "GetPullRequestOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Gets information about a pull request in a specified repository.

" }, "GetPullRequestApprovalStates": { "name": "GetPullRequestApprovalStates", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetPullRequestApprovalStatesInput" }, "output": { "shape": "GetPullRequestApprovalStatesOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidRevisionIdException" }, { "shape": "RevisionIdRequiredException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "GetPullRequestOverrideState": { "name": "GetPullRequestOverrideState", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetPullRequestOverrideStateInput" }, "output": { "shape": "GetPullRequestOverrideStateOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidRevisionIdException" }, { "shape": "RevisionIdRequiredException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "GetRepository": { "name": "GetRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRepositoryInput" }, "output": { "shape": "GetRepositoryOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "GetRepositoryTriggers": { "name": "GetRepositoryTriggers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRepositoryTriggersInput" }, "output": { "shape": "GetRepositoryTriggersOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Gets information about triggers configured for a repository.

" }, "ListApprovalRuleTemplates": { "name": "ListApprovalRuleTemplates", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListApprovalRuleTemplatesInput" }, "output": { "shape": "ListApprovalRuleTemplatesOutput" }, "errors": [ { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidContinuationTokenException" } ], "documentation": "

Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used.

" }, "ListAssociatedApprovalRuleTemplatesForRepository": { "name": "ListAssociatedApprovalRuleTemplatesForRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListAssociatedApprovalRuleTemplatesForRepositoryInput" }, "output": { "shape": "ListAssociatedApprovalRuleTemplatesForRepositoryOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "ListBranches": { "name": "ListBranches", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListBranchesInput" }, "output": { "shape": "ListBranchesOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "InvalidContinuationTokenException" } ], "documentation": "

Gets information about one or more branches in a repository.

" }, "ListFileCommitHistory": { "name": "ListFileCommitHistory", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListFileCommitHistoryRequest" }, "output": { "shape": "ListFileCommitHistoryResponse" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "CommitRequiredException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Retrieves a list of commits and changes to a specified file.

" }, "ListPullRequests": { "name": "ListPullRequests", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListPullRequestsInput" }, "output": { "shape": "ListPullRequestsOutput" }, "errors": [ { "shape": "InvalidPullRequestStatusException" }, { "shape": "InvalidAuthorArnException" }, { "shape": "AuthorDoesNotExistException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "ListRepositories": { "name": "ListRepositories", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListRepositoriesInput" }, "output": { "shape": "ListRepositoriesOutput" }, "errors": [ { "shape": "InvalidSortByException" }, { "shape": "InvalidOrderException" }, { "shape": "InvalidContinuationTokenException" } ], "documentation": "

Gets information about one or more repositories.

" }, "ListRepositoriesForApprovalRuleTemplate": { "name": "ListRepositoriesForApprovalRuleTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListRepositoriesForApprovalRuleTemplateInput" }, "output": { "shape": "ListRepositoriesForApprovalRuleTemplateOutput" }, "errors": [ { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" }, { "shape": "InvalidMaxResultsException" }, { "shape": "InvalidContinuationTokenException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Lists all repositories associated with the specified approval rule template.

" }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTagsForResourceInput" }, "output": { "shape": "ListTagsForResourceOutput" }, "errors": [ { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "ResourceArnRequiredException" }, { "shape": "InvalidResourceArnException" } ], "documentation": "

Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.

" }, "MergeBranchesByFastForward": { "name": "MergeBranchesByFastForward", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "MergeBranchesByFastForwardInput" }, "output": { "shape": "MergeBranchesByFastForwardOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "CommitRequiredException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidTargetBranchException" }, { "shape": "InvalidBranchNameException" }, { "shape": "BranchNameRequiredException" }, { "shape": "BranchNameIsTagNameException" }, { "shape": "BranchDoesNotExistException" }, { "shape": "ManualMergeRequiredException" }, { "shape": "ConcurrentReferenceUpdateException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Merges two branches using the fast-forward merge strategy.

" }, "MergeBranchesBySquash": { "name": "MergeBranchesBySquash", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "MergeBranchesBySquashInput" }, "output": { "shape": "MergeBranchesBySquashOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "CommitRequiredException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidTargetBranchException" }, { "shape": "InvalidBranchNameException" }, { "shape": "BranchNameRequiredException" }, { "shape": "BranchNameIsTagNameException" }, { "shape": "BranchDoesNotExistException" }, { "shape": "ManualMergeRequiredException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "InvalidConflictResolutionException" }, { "shape": "MaximumConflictResolutionEntriesExceededException" }, { "shape": "MultipleConflictResolutionEntriesException" }, { "shape": "ReplacementTypeRequiredException" }, { "shape": "InvalidReplacementTypeException" }, { "shape": "ReplacementContentRequiredException" }, { "shape": "InvalidReplacementContentException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "FileContentSizeLimitExceededException" }, { "shape": "FolderContentSizeLimitExceededException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "FileModeRequiredException" }, { "shape": "InvalidFileModeException" }, { "shape": "NameLengthExceededException" }, { "shape": "InvalidEmailException" }, { "shape": "CommitMessageLengthExceededException" }, { "shape": "ConcurrentReferenceUpdateException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Merges two branches using the squash merge strategy.

" }, "MergeBranchesByThreeWay": { "name": "MergeBranchesByThreeWay", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "MergeBranchesByThreeWayInput" }, "output": { "shape": "MergeBranchesByThreeWayOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "CommitRequiredException" }, { "shape": "InvalidCommitException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidTargetBranchException" }, { "shape": "InvalidBranchNameException" }, { "shape": "BranchNameRequiredException" }, { "shape": "BranchNameIsTagNameException" }, { "shape": "BranchDoesNotExistException" }, { "shape": "ManualMergeRequiredException" }, { "shape": "ConcurrentReferenceUpdateException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "InvalidConflictResolutionException" }, { "shape": "MaximumConflictResolutionEntriesExceededException" }, { "shape": "MultipleConflictResolutionEntriesException" }, { "shape": "ReplacementTypeRequiredException" }, { "shape": "InvalidReplacementTypeException" }, { "shape": "ReplacementContentRequiredException" }, { "shape": "InvalidReplacementContentException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "FileContentSizeLimitExceededException" }, { "shape": "FolderContentSizeLimitExceededException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "FileModeRequiredException" }, { "shape": "InvalidFileModeException" }, { "shape": "NameLengthExceededException" }, { "shape": "InvalidEmailException" }, { "shape": "CommitMessageLengthExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "MergePullRequestByFastForward": { "name": "MergePullRequestByFastForward", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "MergePullRequestByFastForwardInput" }, "output": { "shape": "MergePullRequestByFastForwardOutput" }, "errors": [ { "shape": "ManualMergeRequiredException" }, { "shape": "PullRequestAlreadyClosedException" }, { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "TipOfSourceReferenceIsDifferentException" }, { "shape": "ReferenceDoesNotExistException" }, { "shape": "InvalidCommitIdException" }, { "shape": "RepositoryNotAssociatedWithPullRequestException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "ConcurrentReferenceUpdateException" }, { "shape": "PullRequestApprovalRulesNotSatisfiedException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "MergePullRequestBySquash": { "name": "MergePullRequestBySquash", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "MergePullRequestBySquashInput" }, "output": { "shape": "MergePullRequestBySquashOutput" }, "errors": [ { "shape": "PullRequestAlreadyClosedException" }, { "shape": "PullRequestDoesNotExistException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "InvalidCommitIdException" }, { "shape": "ManualMergeRequiredException" }, { "shape": "TipOfSourceReferenceIsDifferentException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "NameLengthExceededException" }, { "shape": "InvalidEmailException" }, { "shape": "CommitMessageLengthExceededException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "InvalidConflictResolutionException" }, { "shape": "ReplacementTypeRequiredException" }, { "shape": "InvalidReplacementTypeException" }, { "shape": "MultipleConflictResolutionEntriesException" }, { "shape": "ReplacementContentRequiredException" }, { "shape": "MaximumConflictResolutionEntriesExceededException" }, { "shape": "ConcurrentReferenceUpdateException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "InvalidFileModeException" }, { "shape": "InvalidReplacementContentException" }, { "shape": "FileContentSizeLimitExceededException" }, { "shape": "FolderContentSizeLimitExceededException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "RepositoryNotAssociatedWithPullRequestException" }, { "shape": "PullRequestApprovalRulesNotSatisfiedException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "MergePullRequestByThreeWay": { "name": "MergePullRequestByThreeWay", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "MergePullRequestByThreeWayInput" }, "output": { "shape": "MergePullRequestByThreeWayOutput" }, "errors": [ { "shape": "PullRequestAlreadyClosedException" }, { "shape": "PullRequestDoesNotExistException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "InvalidCommitIdException" }, { "shape": "ManualMergeRequiredException" }, { "shape": "TipOfSourceReferenceIsDifferentException" }, { "shape": "TipsDivergenceExceededException" }, { "shape": "NameLengthExceededException" }, { "shape": "InvalidEmailException" }, { "shape": "CommitMessageLengthExceededException" }, { "shape": "InvalidConflictDetailLevelException" }, { "shape": "InvalidConflictResolutionStrategyException" }, { "shape": "InvalidConflictResolutionException" }, { "shape": "ReplacementTypeRequiredException" }, { "shape": "InvalidReplacementTypeException" }, { "shape": "MultipleConflictResolutionEntriesException" }, { "shape": "ReplacementContentRequiredException" }, { "shape": "MaximumConflictResolutionEntriesExceededException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "InvalidFileModeException" }, { "shape": "InvalidReplacementContentException" }, { "shape": "FileContentSizeLimitExceededException" }, { "shape": "FolderContentSizeLimitExceededException" }, { "shape": "MaximumFileContentToLoadExceededException" }, { "shape": "MaximumItemsToCompareExceededException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "RepositoryNotAssociatedWithPullRequestException" }, { "shape": "ConcurrentReferenceUpdateException" }, { "shape": "PullRequestApprovalRulesNotSatisfiedException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "OverridePullRequestApprovalRules": { "name": "OverridePullRequestApprovalRules", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "OverridePullRequestApprovalRulesInput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidRevisionIdException" }, { "shape": "RevisionIdRequiredException" }, { "shape": "InvalidOverrideStatusException" }, { "shape": "OverrideStatusRequiredException" }, { "shape": "OverrideAlreadySetException" }, { "shape": "RevisionNotCurrentException" }, { "shape": "PullRequestAlreadyClosedException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "PostCommentForComparedCommit": { "name": "PostCommentForComparedCommit", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PostCommentForComparedCommitInput" }, "output": { "shape": "PostCommentForComparedCommitOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "ClientRequestTokenRequiredException" }, { "shape": "InvalidClientRequestTokenException" }, { "shape": "IdempotencyParameterMismatchException" }, { "shape": "CommentContentRequiredException" }, { "shape": "CommentContentSizeLimitExceededException" }, { "shape": "InvalidFileLocationException" }, { "shape": "InvalidRelativeFileVersionEnumException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidFilePositionException" }, { "shape": "CommitIdRequiredException" }, { "shape": "InvalidCommitIdException" }, { "shape": "BeforeCommitIdAndAfterCommitIdAreSameException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidPathException" }, { "shape": "PathDoesNotExistException" }, { "shape": "PathRequiredException" } ], "documentation": "

Posts a comment on the comparison between two commits.

", "idempotent": true }, "PostCommentForPullRequest": { "name": "PostCommentForPullRequest", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PostCommentForPullRequestInput" }, "output": { "shape": "PostCommentForPullRequestOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "RepositoryNotAssociatedWithPullRequestException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "ClientRequestTokenRequiredException" }, { "shape": "InvalidClientRequestTokenException" }, { "shape": "IdempotencyParameterMismatchException" }, { "shape": "CommentContentRequiredException" }, { "shape": "CommentContentSizeLimitExceededException" }, { "shape": "InvalidFileLocationException" }, { "shape": "InvalidRelativeFileVersionEnumException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidFilePositionException" }, { "shape": "CommitIdRequiredException" }, { "shape": "InvalidCommitIdException" }, { "shape": "BeforeCommitIdAndAfterCommitIdAreSameException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "CommitDoesNotExistException" }, { "shape": "InvalidPathException" }, { "shape": "PathDoesNotExistException" }, { "shape": "PathRequiredException" } ], "documentation": "

Posts a comment on a pull request.

", "idempotent": true }, "PostCommentReply": { "name": "PostCommentReply", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PostCommentReplyInput" }, "output": { "shape": "PostCommentReplyOutput" }, "errors": [ { "shape": "ClientRequestTokenRequiredException" }, { "shape": "InvalidClientRequestTokenException" }, { "shape": "IdempotencyParameterMismatchException" }, { "shape": "CommentContentRequiredException" }, { "shape": "CommentContentSizeLimitExceededException" }, { "shape": "CommentDoesNotExistException" }, { "shape": "CommentIdRequiredException" }, { "shape": "InvalidCommentIdException" } ], "documentation": "

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

", "idempotent": true }, "PutCommentReaction": { "name": "PutCommentReaction", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutCommentReactionInput" }, "errors": [ { "shape": "CommentDoesNotExistException" }, { "shape": "CommentIdRequiredException" }, { "shape": "InvalidCommentIdException" }, { "shape": "InvalidReactionValueException" }, { "shape": "ReactionValueRequiredException" }, { "shape": "ReactionLimitExceededException" }, { "shape": "CommentDeletedException" } ], "documentation": "

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.

" }, "PutFile": { "name": "PutFile", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutFileInput" }, "output": { "shape": "PutFileOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "ParentCommitIdRequiredException" }, { "shape": "InvalidParentCommitIdException" }, { "shape": "ParentCommitDoesNotExistException" }, { "shape": "ParentCommitIdOutdatedException" }, { "shape": "FileContentRequiredException" }, { "shape": "FileContentSizeLimitExceededException" }, { "shape": "FolderContentSizeLimitExceededException" }, { "shape": "PathRequiredException" }, { "shape": "InvalidPathException" }, { "shape": "BranchNameRequiredException" }, { "shape": "InvalidBranchNameException" }, { "shape": "BranchDoesNotExistException" }, { "shape": "BranchNameIsTagNameException" }, { "shape": "InvalidFileModeException" }, { "shape": "NameLengthExceededException" }, { "shape": "InvalidEmailException" }, { "shape": "CommitMessageLengthExceededException" }, { "shape": "InvalidDeletionParameterException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" }, { "shape": "SameFileContentException" }, { "shape": "FileNameConflictsWithDirectoryNameException" }, { "shape": "DirectoryNameConflictsWithFileNameException" }, { "shape": "FilePathConflictsWithSubmodulePathException" } ], "documentation": "

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

" }, "PutRepositoryTriggers": { "name": "PutRepositoryTriggers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutRepositoryTriggersInput" }, "output": { "shape": "PutRepositoryTriggersOutput" }, "errors": [ { "shape": "RepositoryDoesNotExistException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryTriggersListRequiredException" }, { "shape": "MaximumRepositoryTriggersExceededException" }, { "shape": "InvalidRepositoryTriggerNameException" }, { "shape": "InvalidRepositoryTriggerDestinationArnException" }, { "shape": "InvalidRepositoryTriggerRegionException" }, { "shape": "InvalidRepositoryTriggerCustomDataException" }, { "shape": "MaximumBranchesExceededException" }, { "shape": "InvalidRepositoryTriggerBranchNameException" }, { "shape": "InvalidRepositoryTriggerEventsException" }, { "shape": "RepositoryTriggerNameRequiredException" }, { "shape": "RepositoryTriggerDestinationArnRequiredException" }, { "shape": "RepositoryTriggerBranchNameListRequiredException" }, { "shape": "RepositoryTriggerEventsListRequiredException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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

" }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TagResourceInput" }, "errors": [ { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "ResourceArnRequiredException" }, { "shape": "InvalidResourceArnException" }, { "shape": "TagsMapRequiredException" }, { "shape": "InvalidTagsMapException" }, { "shape": "TooManyTagsException" }, { "shape": "InvalidSystemTagUsageException" }, { "shape": "TagPolicyException" } ], "documentation": "

Adds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.

" }, "TestRepositoryTriggers": { "name": "TestRepositoryTriggers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TestRepositoryTriggersInput" }, "output": { "shape": "TestRepositoryTriggersOutput" }, "errors": [ { "shape": "RepositoryDoesNotExistException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "RepositoryTriggersListRequiredException" }, { "shape": "MaximumRepositoryTriggersExceededException" }, { "shape": "InvalidRepositoryTriggerNameException" }, { "shape": "InvalidRepositoryTriggerDestinationArnException" }, { "shape": "InvalidRepositoryTriggerRegionException" }, { "shape": "InvalidRepositoryTriggerCustomDataException" }, { "shape": "MaximumBranchesExceededException" }, { "shape": "InvalidRepositoryTriggerBranchNameException" }, { "shape": "InvalidRepositoryTriggerEventsException" }, { "shape": "RepositoryTriggerNameRequiredException" }, { "shape": "RepositoryTriggerDestinationArnRequiredException" }, { "shape": "RepositoryTriggerBranchNameListRequiredException" }, { "shape": "RepositoryTriggerEventsListRequiredException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "UntagResource": { "name": "UntagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UntagResourceInput" }, "errors": [ { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "ResourceArnRequiredException" }, { "shape": "InvalidResourceArnException" }, { "shape": "TagKeysListRequiredException" }, { "shape": "InvalidTagKeysListException" }, { "shape": "TooManyTagsException" }, { "shape": "InvalidSystemTagUsageException" }, { "shape": "TagPolicyException" } ], "documentation": "

Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.

" }, "UpdateApprovalRuleTemplateContent": { "name": "UpdateApprovalRuleTemplateContent", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateApprovalRuleTemplateContentInput" }, "output": { "shape": "UpdateApprovalRuleTemplateContentOutput" }, "errors": [ { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" }, { "shape": "InvalidApprovalRuleTemplateContentException" }, { "shape": "InvalidRuleContentSha256Exception" }, { "shape": "ApprovalRuleTemplateContentRequiredException" } ], "documentation": "

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.

" }, "UpdateApprovalRuleTemplateDescription": { "name": "UpdateApprovalRuleTemplateDescription", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateApprovalRuleTemplateDescriptionInput" }, "output": { "shape": "UpdateApprovalRuleTemplateDescriptionOutput" }, "errors": [ { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" }, { "shape": "InvalidApprovalRuleTemplateDescriptionException" } ], "documentation": "

Updates the description for a specified approval rule template.

" }, "UpdateApprovalRuleTemplateName": { "name": "UpdateApprovalRuleTemplateName", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateApprovalRuleTemplateNameInput" }, "output": { "shape": "UpdateApprovalRuleTemplateNameOutput" }, "errors": [ { "shape": "InvalidApprovalRuleTemplateNameException" }, { "shape": "ApprovalRuleTemplateNameRequiredException" }, { "shape": "ApprovalRuleTemplateDoesNotExistException" }, { "shape": "ApprovalRuleTemplateNameAlreadyExistsException" } ], "documentation": "

Updates the name of a specified approval rule template.

" }, "UpdateComment": { "name": "UpdateComment", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateCommentInput" }, "output": { "shape": "UpdateCommentOutput" }, "errors": [ { "shape": "CommentContentRequiredException" }, { "shape": "CommentContentSizeLimitExceededException" }, { "shape": "CommentDoesNotExistException" }, { "shape": "CommentIdRequiredException" }, { "shape": "InvalidCommentIdException" }, { "shape": "CommentNotCreatedByCallerException" }, { "shape": "CommentDeletedException" } ], "documentation": "

Replaces the contents of a comment.

" }, "UpdateDefaultBranch": { "name": "UpdateDefaultBranch", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateDefaultBranchInput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "BranchNameRequiredException" }, { "shape": "InvalidBranchNameException" }, { "shape": "BranchDoesNotExistException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "UpdatePullRequestApprovalRuleContent": { "name": "UpdatePullRequestApprovalRuleContent", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdatePullRequestApprovalRuleContentInput" }, "output": { "shape": "UpdatePullRequestApprovalRuleContentOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "PullRequestAlreadyClosedException" }, { "shape": "ApprovalRuleNameRequiredException" }, { "shape": "InvalidApprovalRuleNameException" }, { "shape": "ApprovalRuleDoesNotExistException" }, { "shape": "InvalidRuleContentSha256Exception" }, { "shape": "ApprovalRuleContentRequiredException" }, { "shape": "InvalidApprovalRuleContentException" }, { "shape": "CannotModifyApprovalRuleFromTemplateException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "UpdatePullRequestApprovalState": { "name": "UpdatePullRequestApprovalState", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdatePullRequestApprovalStateInput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidRevisionIdException" }, { "shape": "RevisionIdRequiredException" }, { "shape": "InvalidApprovalStateException" }, { "shape": "ApprovalStateRequiredException" }, { "shape": "PullRequestCannotBeApprovedByAuthorException" }, { "shape": "RevisionNotCurrentException" }, { "shape": "PullRequestAlreadyClosedException" }, { "shape": "MaximumNumberOfApprovalsExceededException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "UpdatePullRequestDescription": { "name": "UpdatePullRequestDescription", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdatePullRequestDescriptionInput" }, "output": { "shape": "UpdatePullRequestDescriptionOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidDescriptionException" }, { "shape": "PullRequestAlreadyClosedException" } ], "documentation": "

Replaces the contents of the description of a pull request.

" }, "UpdatePullRequestStatus": { "name": "UpdatePullRequestStatus", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdatePullRequestStatusInput" }, "output": { "shape": "UpdatePullRequestStatusOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "InvalidPullRequestStatusUpdateException" }, { "shape": "InvalidPullRequestStatusException" }, { "shape": "PullRequestStatusRequiredException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Updates the status of a pull request.

" }, "UpdatePullRequestTitle": { "name": "UpdatePullRequestTitle", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdatePullRequestTitleInput" }, "output": { "shape": "UpdatePullRequestTitleOutput" }, "errors": [ { "shape": "PullRequestDoesNotExistException" }, { "shape": "InvalidPullRequestIdException" }, { "shape": "PullRequestIdRequiredException" }, { "shape": "TitleRequiredException" }, { "shape": "InvalidTitleException" }, { "shape": "PullRequestAlreadyClosedException" } ], "documentation": "

Replaces the title of a pull request.

" }, "UpdateRepositoryDescription": { "name": "UpdateRepositoryDescription", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateRepositoryDescriptionInput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "InvalidRepositoryDescriptionException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

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.

" }, "UpdateRepositoryEncryptionKey": { "name": "UpdateRepositoryEncryptionKey", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateRepositoryEncryptionKeyInput" }, "output": { "shape": "UpdateRepositoryEncryptionKeyOutput" }, "errors": [ { "shape": "RepositoryNameRequiredException" }, { "shape": "RepositoryDoesNotExistException" }, { "shape": "InvalidRepositoryNameException" }, { "shape": "EncryptionKeyRequiredException" }, { "shape": "EncryptionIntegrityChecksFailedException" }, { "shape": "EncryptionKeyAccessDeniedException" }, { "shape": "EncryptionKeyInvalidIdException" }, { "shape": "EncryptionKeyInvalidUsageException" }, { "shape": "EncryptionKeyDisabledException" }, { "shape": "EncryptionKeyNotFoundException" }, { "shape": "EncryptionKeyUnavailableException" } ], "documentation": "

Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository.

" }, "UpdateRepositoryName": { "name": "UpdateRepositoryName", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateRepositoryNameInput" }, "errors": [ { "shape": "RepositoryDoesNotExistException" }, { "shape": "RepositoryNameExistsException" }, { "shape": "RepositoryNameRequiredException" }, { "shape": "InvalidRepositoryNameException" } ], "documentation": "

Renames a repository. The repository name must be unique across the calling Amazon Web Services 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 Quotas in the CodeCommit User Guide.

" } }, "shapes": { "AccountId": { "type": "string" }, "AdditionalData": { "type": "string" }, "Approval": { "type": "structure", "members": { "userArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the user.

" }, "approvalState": { "shape": "ApprovalState", "documentation": "

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

" } }, "documentation": "

Returns information about a specific approval on a pull request.

" }, "ApprovalList": { "type": "list", "member": { "shape": "Approval" } }, "ApprovalRule": { "type": "structure", "members": { "approvalRuleId": { "shape": "ApprovalRuleId", "documentation": "

The system-generated ID of the approval rule.

" }, "approvalRuleName": { "shape": "ApprovalRuleName", "documentation": "

The name of the approval rule.

" }, "approvalRuleContent": { "shape": "ApprovalRuleContent", "documentation": "

The content of the approval rule.

" }, "ruleContentSha256": { "shape": "RuleContentSha256", "documentation": "

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

" }, "lastModifiedDate": { "shape": "LastModifiedDate", "documentation": "

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

" }, "creationDate": { "shape": "CreationDate", "documentation": "

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

" }, "lastModifiedUser": { "shape": "Arn", "documentation": "

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

" }, "originApprovalRuleTemplate": { "shape": "OriginApprovalRuleTemplate", "documentation": "

The approval rule template used to create the rule.

" } }, "documentation": "

Returns information about an approval rule.

" }, "ApprovalRuleContent": { "type": "string", "max": 3000, "min": 1 }, "ApprovalRuleEventMetadata": { "type": "structure", "members": { "approvalRuleName": { "shape": "ApprovalRuleName", "documentation": "

The name of the approval rule.

" }, "approvalRuleId": { "shape": "ApprovalRuleId", "documentation": "

The system-generated ID of the approval rule.

" }, "approvalRuleContent": { "shape": "ApprovalRuleContent", "documentation": "

The content of the approval rule.

" } }, "documentation": "

Returns information about an event for an approval rule.

" }, "ApprovalRuleId": { "type": "string" }, "ApprovalRuleName": { "type": "string", "max": 100, "min": 1 }, "ApprovalRuleOverriddenEventMetadata": { "type": "structure", "members": { "revisionId": { "shape": "RevisionId", "documentation": "

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

" }, "overrideStatus": { "shape": "OverrideStatus", "documentation": "

The status of the override event.

" } }, "documentation": "

Returns information about an override event for approval rules for a pull request.

" }, "ApprovalRuleTemplate": { "type": "structure", "members": { "approvalRuleTemplateId": { "shape": "ApprovalRuleTemplateId", "documentation": "

The system-generated ID of the approval rule template.

" }, "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

The name of the approval rule template.

" }, "approvalRuleTemplateDescription": { "shape": "ApprovalRuleTemplateDescription", "documentation": "

The description of the approval rule template.

" }, "approvalRuleTemplateContent": { "shape": "ApprovalRuleTemplateContent", "documentation": "

The content of the approval rule template.

" }, "ruleContentSha256": { "shape": "RuleContentSha256", "documentation": "

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

" }, "lastModifiedDate": { "shape": "LastModifiedDate", "documentation": "

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

" }, "creationDate": { "shape": "CreationDate", "documentation": "

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

" }, "lastModifiedUser": { "shape": "Arn", "documentation": "

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

" } }, "documentation": "

Returns information about an approval rule template.

" }, "ApprovalRuleTemplateContent": { "type": "string", "max": 3000, "min": 1 }, "ApprovalRuleTemplateDescription": { "type": "string", "max": 1000, "min": 0 }, "ApprovalRuleTemplateId": { "type": "string" }, "ApprovalRuleTemplateName": { "type": "string", "max": 100, "min": 1 }, "ApprovalRuleTemplateNameList": { "type": "list", "member": { "shape": "ApprovalRuleTemplateName" } }, "ApprovalRulesList": { "type": "list", "member": { "shape": "ApprovalRule" } }, "ApprovalRulesNotSatisfiedList": { "type": "list", "member": { "shape": "ApprovalRuleName" } }, "ApprovalRulesSatisfiedList": { "type": "list", "member": { "shape": "ApprovalRuleName" } }, "ApprovalState": { "type": "string", "enum": [ "APPROVE", "REVOKE" ] }, "ApprovalStateChangedEventMetadata": { "type": "structure", "members": { "revisionId": { "shape": "RevisionId", "documentation": "

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

" }, "approvalStatus": { "shape": "ApprovalState", "documentation": "

The approval status for the pull request.

" } }, "documentation": "

Returns information about a change in the approval state for a pull request.

" }, "Approved": { "type": "boolean" }, "Arn": { "type": "string" }, "AssociateApprovalRuleTemplateWithRepositoryInput": { "type": "structure", "required": [ "approvalRuleTemplateName", "repositoryName" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

The name for the approval rule template.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" } } }, "BatchAssociateApprovalRuleTemplateWithRepositoriesError": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository where the association was not made.

" }, "errorCode": { "shape": "ErrorCode", "documentation": "

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

" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "

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

" } }, "documentation": "

Returns information about errors in a BatchAssociateApprovalRuleTemplateWithRepositories operation.

" }, "BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList": { "type": "list", "member": { "shape": "BatchAssociateApprovalRuleTemplateWithRepositoriesError" } }, "BatchAssociateApprovalRuleTemplateWithRepositoriesInput": { "type": "structure", "required": [ "approvalRuleTemplateName", "repositoryNames" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

The name of the template you want to associate with one or more repositories.

" }, "repositoryNames": { "shape": "RepositoryNameList", "documentation": "

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

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

" } } }, "BatchAssociateApprovalRuleTemplateWithRepositoriesOutput": { "type": "structure", "required": [ "associatedRepositoryNames", "errors" ], "members": { "associatedRepositoryNames": { "shape": "RepositoryNameList", "documentation": "

A list of names of the repositories that have been associated with the template.

" }, "errors": { "shape": "BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList", "documentation": "

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

" } } }, "BatchDescribeMergeConflictsError": { "type": "structure", "required": [ "filePath", "exceptionName", "message" ], "members": { "filePath": { "shape": "Path", "documentation": "

The path to the file.

" }, "exceptionName": { "shape": "ExceptionName", "documentation": "

The name of the exception.

" }, "message": { "shape": "Message", "documentation": "

The message provided by the exception.

" } }, "documentation": "

Returns information about errors in a BatchDescribeMergeConflicts operation.

" }, "BatchDescribeMergeConflictsErrors": { "type": "list", "member": { "shape": "BatchDescribeMergeConflictsError" } }, "BatchDescribeMergeConflictsInput": { "type": "structure", "required": [ "repositoryName", "destinationCommitSpecifier", "sourceCommitSpecifier", "mergeOption" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "mergeOption": { "shape": "MergeOptionTypeEnum", "documentation": "

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

" }, "maxMergeHunks": { "shape": "MaxResults", "documentation": "

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

" }, "maxConflictFiles": { "shape": "MaxResults", "documentation": "

The maximum number of files to include in the output.

" }, "filePaths": { "shape": "FilePaths", "documentation": "

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

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "BatchDescribeMergeConflictsOutput": { "type": "structure", "required": [ "conflicts", "destinationCommitId", "sourceCommitId" ], "members": { "conflicts": { "shape": "Conflicts", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "errors": { "shape": "BatchDescribeMergeConflictsErrors", "documentation": "

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

" }, "destinationCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "sourceCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "baseCommitId": { "shape": "ObjectId", "documentation": "

The commit ID of the merge base.

" } } }, "BatchDisassociateApprovalRuleTemplateFromRepositoriesError": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "errorCode": { "shape": "ErrorCode", "documentation": "

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

" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "

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

" } }, "documentation": "

Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.

" }, "BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList": { "type": "list", "member": { "shape": "BatchDisassociateApprovalRuleTemplateFromRepositoriesError" } }, "BatchDisassociateApprovalRuleTemplateFromRepositoriesInput": { "type": "structure", "required": [ "approvalRuleTemplateName", "repositoryNames" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

The name of the template that you want to disassociate from one or more repositories.

" }, "repositoryNames": { "shape": "RepositoryNameList", "documentation": "

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

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

" } } }, "BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput": { "type": "structure", "required": [ "disassociatedRepositoryNames", "errors" ], "members": { "disassociatedRepositoryNames": { "shape": "RepositoryNameList", "documentation": "

A list of repository names that have had their association with the template removed.

" }, "errors": { "shape": "BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList", "documentation": "

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

" } } }, "BatchGetCommitsError": { "type": "structure", "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "errorCode": { "shape": "ErrorCode", "documentation": "

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

" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "

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

" } }, "documentation": "

Returns information about errors in a BatchGetCommits operation.

" }, "BatchGetCommitsErrorsList": { "type": "list", "member": { "shape": "BatchGetCommitsError" } }, "BatchGetCommitsInput": { "type": "structure", "required": [ "commitIds", "repositoryName" ], "members": { "commitIds": { "shape": "CommitIdsInputList", "documentation": "

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

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

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the commits.

" } } }, "BatchGetCommitsOutput": { "type": "structure", "members": { "commits": { "shape": "CommitObjectsList", "documentation": "

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

" }, "errors": { "shape": "BatchGetCommitsErrorsList", "documentation": "

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

" } } }, "BatchGetRepositoriesError": { "type": "structure", "members": { "repositoryId": { "shape": "RepositoryId", "documentation": "

The ID of a repository that either could not be found or was not in a valid state.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of a repository that either could not be found or was not in a valid state.

" }, "errorCode": { "shape": "BatchGetRepositoriesErrorCodeEnum", "documentation": "

An error code that specifies the type of failure.

" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "

An error message that provides detail about why the repository either was not found or was not in a valid state.

" } }, "documentation": "

Returns information about errors in a BatchGetRepositories operation.

" }, "BatchGetRepositoriesErrorCodeEnum": { "type": "string", "enum": [ "EncryptionIntegrityChecksFailedException", "EncryptionKeyAccessDeniedException", "EncryptionKeyDisabledException", "EncryptionKeyNotFoundException", "EncryptionKeyUnavailableException", "RepositoryDoesNotExistException" ] }, "BatchGetRepositoriesErrorsList": { "type": "list", "member": { "shape": "BatchGetRepositoriesError" } }, "BatchGetRepositoriesInput": { "type": "structure", "required": [ "repositoryNames" ], "members": { "repositoryNames": { "shape": "RepositoryNameList", "documentation": "

The names of the repositories to get information about.

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

" } }, "documentation": "

Represents the input of a batch get repositories operation.

" }, "BatchGetRepositoriesOutput": { "type": "structure", "members": { "repositories": { "shape": "RepositoryMetadataList", "documentation": "

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

" }, "repositoriesNotFound": { "shape": "RepositoryNotFoundList", "documentation": "

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

" }, "errors": { "shape": "BatchGetRepositoriesErrorsList", "documentation": "

Returns information about any errors returned when attempting to retrieve information about the repositories.

" } }, "documentation": "

Represents the output of a batch get repositories operation.

" }, "BlobMetadata": { "type": "structure", "members": { "blobId": { "shape": "ObjectId", "documentation": "

The full ID of the blob.

" }, "path": { "shape": "Path", "documentation": "

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

" }, "mode": { "shape": "Mode", "documentation": "

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

" } }, "documentation": "

Returns information about a specific Git blob object.

" }, "BranchInfo": { "type": "structure", "members": { "branchName": { "shape": "BranchName", "documentation": "

The name of the branch.

" }, "commitId": { "shape": "CommitId", "documentation": "

The ID of the last commit made to the branch.

" } }, "documentation": "

Returns information about a branch.

" }, "BranchName": { "type": "string", "max": 256, "min": 1 }, "BranchNameList": { "type": "list", "member": { "shape": "BranchName" } }, "CallerReactions": { "type": "list", "member": { "shape": "ReactionValue" } }, "CapitalBoolean": { "type": "boolean" }, "ChangeTypeEnum": { "type": "string", "enum": [ "A", "M", "D" ] }, "ClientRequestToken": { "type": "string" }, "CloneUrlHttp": { "type": "string" }, "CloneUrlSsh": { "type": "string" }, "Comment": { "type": "structure", "members": { "commentId": { "shape": "CommentId", "documentation": "

The system-generated comment ID.

" }, "content": { "shape": "Content", "documentation": "

The content of the comment.

" }, "inReplyTo": { "shape": "CommentId", "documentation": "

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

" }, "creationDate": { "shape": "CreationDate", "documentation": "

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

" }, "lastModifiedDate": { "shape": "LastModifiedDate", "documentation": "

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

" }, "authorArn": { "shape": "Arn", "documentation": "

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

" }, "deleted": { "shape": "IsCommentDeleted", "documentation": "

A Boolean value indicating whether the comment has been deleted.

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

" }, "callerReactions": { "shape": "CallerReactions", "documentation": "

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

" }, "reactionCounts": { "shape": "ReactionCountsMap", "documentation": "

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

" } }, "documentation": "

Returns information about a specific comment.

" }, "CommentId": { "type": "string" }, "Comments": { "type": "list", "member": { "shape": "Comment" } }, "CommentsForComparedCommit": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the compared commits.

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

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

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

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

" }, "beforeBlobId": { "shape": "ObjectId", "documentation": "

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

" }, "afterBlobId": { "shape": "ObjectId", "documentation": "

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

" }, "location": { "shape": "Location", "documentation": "

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

" }, "comments": { "shape": "Comments", "documentation": "

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

" } }, "documentation": "

Returns information about comments on the comparison between two commits.

" }, "CommentsForComparedCommitData": { "type": "list", "member": { "shape": "CommentsForComparedCommit" } }, "CommentsForPullRequest": { "type": "structure", "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

The system-generated ID of the pull request.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the pull request.

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

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

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

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

" }, "beforeBlobId": { "shape": "ObjectId", "documentation": "

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

" }, "afterBlobId": { "shape": "ObjectId", "documentation": "

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

" }, "location": { "shape": "Location", "documentation": "

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

" }, "comments": { "shape": "Comments", "documentation": "

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

" } }, "documentation": "

Returns information about comments on a pull request.

" }, "CommentsForPullRequestData": { "type": "list", "member": { "shape": "CommentsForPullRequest" } }, "Commit": { "type": "structure", "members": { "commitId": { "shape": "ObjectId", "documentation": "

The full SHA ID of the specified commit.

" }, "treeId": { "shape": "ObjectId", "documentation": "

Tree information for the specified commit.

" }, "parents": { "shape": "ParentList", "documentation": "

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

" }, "message": { "shape": "Message", "documentation": "

The commit message associated with the specified commit.

" }, "author": { "shape": "UserInfo", "documentation": "

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

" }, "committer": { "shape": "UserInfo", "documentation": "

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

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

" }, "additionalData": { "shape": "AdditionalData", "documentation": "

Any other data associated with the specified commit.

" } }, "documentation": "

Returns information about a specific commit.

" }, "CommitId": { "type": "string" }, "CommitIdsInputList": { "type": "list", "member": { "shape": "ObjectId" } }, "CommitName": { "type": "string" }, "CommitObjectsList": { "type": "list", "member": { "shape": "Commit" } }, "Conflict": { "type": "structure", "members": { "conflictMetadata": { "shape": "ConflictMetadata", "documentation": "

Metadata about a conflict in a merge operation.

" }, "mergeHunks": { "shape": "MergeHunks", "documentation": "

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

" } }, "documentation": "

Information about conflicts in a merge operation.

" }, "ConflictDetailLevelTypeEnum": { "type": "string", "enum": [ "FILE_LEVEL", "LINE_LEVEL" ] }, "ConflictMetadata": { "type": "structure", "members": { "filePath": { "shape": "Path", "documentation": "

The path of the file that contains conflicts.

" }, "fileSizes": { "shape": "FileSizes", "documentation": "

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

" }, "fileModes": { "shape": "FileModes", "documentation": "

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

" }, "objectTypes": { "shape": "ObjectTypes", "documentation": "

Information about any object type conflicts in a merge operation.

" }, "numberOfConflicts": { "shape": "NumberOfConflicts", "documentation": "

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

" }, "isBinaryFile": { "shape": "IsBinaryFile", "documentation": "

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

" }, "contentConflict": { "shape": "IsContentConflict", "documentation": "

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

" }, "fileModeConflict": { "shape": "IsFileModeConflict", "documentation": "

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

" }, "objectTypeConflict": { "shape": "IsObjectTypeConflict", "documentation": "

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

" }, "mergeOperations": { "shape": "MergeOperations", "documentation": "

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

" } }, "documentation": "

Information about the metadata for a conflict in a merge operation.

" }, "ConflictMetadataList": { "type": "list", "member": { "shape": "ConflictMetadata" } }, "ConflictResolution": { "type": "structure", "members": { "replaceContents": { "shape": "ReplaceContentEntries", "documentation": "

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

" }, "deleteFiles": { "shape": "DeleteFileEntries", "documentation": "

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

" }, "setFileModes": { "shape": "SetFileModeEntries", "documentation": "

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

" } }, "documentation": "

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

" }, "ConflictResolutionStrategyTypeEnum": { "type": "string", "enum": [ "NONE", "ACCEPT_SOURCE", "ACCEPT_DESTINATION", "AUTOMERGE" ] }, "Conflicts": { "type": "list", "member": { "shape": "Conflict" } }, "Content": { "type": "string" }, "Count": { "type": "integer" }, "CreateApprovalRuleTemplateInput": { "type": "structure", "required": [ "approvalRuleTemplateName", "approvalRuleTemplateContent" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

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

" }, "approvalRuleTemplateContent": { "shape": "ApprovalRuleTemplateContent", "documentation": "

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

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

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

" }, "approvalRuleTemplateDescription": { "shape": "ApprovalRuleTemplateDescription", "documentation": "

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

" } } }, "CreateApprovalRuleTemplateOutput": { "type": "structure", "required": [ "approvalRuleTemplate" ], "members": { "approvalRuleTemplate": { "shape": "ApprovalRuleTemplate", "documentation": "

The content and structure of the created approval rule template.

" } } }, "CreateBranchInput": { "type": "structure", "required": [ "repositoryName", "branchName", "commitId" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "branchName": { "shape": "BranchName", "documentation": "

The name of the new branch to create.

" }, "commitId": { "shape": "CommitId", "documentation": "

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

" } }, "documentation": "

Represents the input of a create branch operation.

" }, "CreateCommitInput": { "type": "structure", "required": [ "repositoryName", "branchName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository where you create the commit.

" }, "branchName": { "shape": "BranchName", "documentation": "

The name of the branch where you create the commit.

" }, "parentCommitId": { "shape": "CommitId", "documentation": "

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

" }, "authorName": { "shape": "Name", "documentation": "

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

" }, "email": { "shape": "Email", "documentation": "

The email address of the person who created the commit.

" }, "commitMessage": { "shape": "Message", "documentation": "

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

" }, "keepEmptyFolders": { "shape": "KeepEmptyFolders", "documentation": "

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

" }, "putFiles": { "shape": "PutFileEntries", "documentation": "

The files to add or update in this commit.

" }, "deleteFiles": { "shape": "DeleteFileEntries", "documentation": "

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

" }, "setFileModes": { "shape": "SetFileModeEntries", "documentation": "

The file modes to update for files in this commit.

" } } }, "CreateCommitOutput": { "type": "structure", "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "treeId": { "shape": "ObjectId", "documentation": "

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

" }, "filesAdded": { "shape": "FilesMetadata", "documentation": "

The files added as part of the committed file changes.

" }, "filesUpdated": { "shape": "FilesMetadata", "documentation": "

The files updated as part of the commited file changes.

" }, "filesDeleted": { "shape": "FilesMetadata", "documentation": "

The files deleted as part of the committed file changes.

" } } }, "CreatePullRequestApprovalRuleInput": { "type": "structure", "required": [ "pullRequestId", "approvalRuleName", "approvalRuleContent" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "approvalRuleName": { "shape": "ApprovalRuleName", "documentation": "

The name for the approval rule.

" }, "approvalRuleContent": { "shape": "ApprovalRuleContent", "documentation": "

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

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

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

" } } }, "CreatePullRequestApprovalRuleOutput": { "type": "structure", "required": [ "approvalRule" ], "members": { "approvalRule": { "shape": "ApprovalRule", "documentation": "

Information about the created approval rule.

" } } }, "CreatePullRequestInput": { "type": "structure", "required": [ "title", "targets" ], "members": { "title": { "shape": "Title", "documentation": "

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

" }, "description": { "shape": "Description", "documentation": "

A description of the pull request.

" }, "targets": { "shape": "TargetList", "documentation": "

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

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.

", "idempotencyToken": true } } }, "CreatePullRequestOutput": { "type": "structure", "required": [ "pullRequest" ], "members": { "pullRequest": { "shape": "PullRequest", "documentation": "

Information about the newly created pull request.

" } } }, "CreateRepositoryInput": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the new repository to be created.

The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Quotas in the CodeCommit User Guide. The suffix .git is prohibited.

" }, "repositoryDescription": { "shape": "RepositoryDescription", "documentation": "

A comment or description about the new repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

" }, "tags": { "shape": "TagsMap", "documentation": "

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

" }, "kmsKeyId": { "shape": "KmsKeyId", "documentation": "

The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.

If no key is specified, the default aws/codecommit Amazon Web Services managed key is used.

" } }, "documentation": "

Represents the input of a create repository operation.

" }, "CreateRepositoryOutput": { "type": "structure", "members": { "repositoryMetadata": { "shape": "RepositoryMetadata", "documentation": "

Information about the newly created repository.

" } }, "documentation": "

Represents the output of a create repository operation.

" }, "CreateUnreferencedMergeCommitInput": { "type": "structure", "required": [ "repositoryName", "sourceCommitSpecifier", "destinationCommitSpecifier", "mergeOption" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "mergeOption": { "shape": "MergeOptionTypeEnum", "documentation": "

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

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" }, "authorName": { "shape": "Name", "documentation": "

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

" }, "email": { "shape": "Email", "documentation": "

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

" }, "commitMessage": { "shape": "Message", "documentation": "

The commit message for the unreferenced commit.

" }, "keepEmptyFolders": { "shape": "KeepEmptyFolders", "documentation": "

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

" }, "conflictResolution": { "shape": "ConflictResolution", "documentation": "

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

" } } }, "CreateUnreferencedMergeCommitOutput": { "type": "structure", "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "treeId": { "shape": "ObjectId", "documentation": "

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

" } } }, "CreationDate": { "type": "timestamp" }, "Date": { "type": "string" }, "DeleteApprovalRuleTemplateInput": { "type": "structure", "required": [ "approvalRuleTemplateName" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

The name of the approval rule template to delete.

" } } }, "DeleteApprovalRuleTemplateOutput": { "type": "structure", "required": [ "approvalRuleTemplateId" ], "members": { "approvalRuleTemplateId": { "shape": "ApprovalRuleTemplateId", "documentation": "

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

" } } }, "DeleteBranchInput": { "type": "structure", "required": [ "repositoryName", "branchName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "branchName": { "shape": "BranchName", "documentation": "

The name of the branch to delete.

" } }, "documentation": "

Represents the input of a delete branch operation.

" }, "DeleteBranchOutput": { "type": "structure", "members": { "deletedBranch": { "shape": "BranchInfo", "documentation": "

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

" } }, "documentation": "

Represents the output of a delete branch operation.

" }, "DeleteCommentContentInput": { "type": "structure", "required": [ "commentId" ], "members": { "commentId": { "shape": "CommentId", "documentation": "

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

" } } }, "DeleteCommentContentOutput": { "type": "structure", "members": { "comment": { "shape": "Comment", "documentation": "

Information about the comment you just deleted.

" } } }, "DeleteFileEntries": { "type": "list", "member": { "shape": "DeleteFileEntry" } }, "DeleteFileEntry": { "type": "structure", "required": [ "filePath" ], "members": { "filePath": { "shape": "Path", "documentation": "

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

" } }, "documentation": "

A file that is deleted as part of a commit.

" }, "DeleteFileInput": { "type": "structure", "required": [ "repositoryName", "branchName", "filePath", "parentCommitId" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "branchName": { "shape": "BranchName", "documentation": "

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

" }, "filePath": { "shape": "Path", "documentation": "

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

" }, "parentCommitId": { "shape": "CommitId", "documentation": "

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

" }, "keepEmptyFolders": { "shape": "KeepEmptyFolders", "documentation": "

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

" }, "commitMessage": { "shape": "Message", "documentation": "

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

" }, "name": { "shape": "Name", "documentation": "

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

" }, "email": { "shape": "Email", "documentation": "

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

" } } }, "DeleteFileOutput": { "type": "structure", "required": [ "commitId", "blobId", "treeId", "filePath" ], "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "blobId": { "shape": "ObjectId", "documentation": "

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

" }, "treeId": { "shape": "ObjectId", "documentation": "

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

" }, "filePath": { "shape": "Path", "documentation": "

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

" } } }, "DeletePullRequestApprovalRuleInput": { "type": "structure", "required": [ "pullRequestId", "approvalRuleName" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "approvalRuleName": { "shape": "ApprovalRuleName", "documentation": "

The name of the approval rule you want to delete.

" } } }, "DeletePullRequestApprovalRuleOutput": { "type": "structure", "required": [ "approvalRuleId" ], "members": { "approvalRuleId": { "shape": "ApprovalRuleId", "documentation": "

The ID of the deleted approval rule.

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

" } } }, "DeleteRepositoryInput": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository to delete.

" } }, "documentation": "

Represents the input of a delete repository operation.

" }, "DeleteRepositoryOutput": { "type": "structure", "members": { "repositoryId": { "shape": "RepositoryId", "documentation": "

The ID of the repository that was deleted.

" } }, "documentation": "

Represents the output of a delete repository operation.

" }, "DescribeMergeConflictsInput": { "type": "structure", "required": [ "repositoryName", "destinationCommitSpecifier", "sourceCommitSpecifier", "mergeOption", "filePath" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "mergeOption": { "shape": "MergeOptionTypeEnum", "documentation": "

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

" }, "maxMergeHunks": { "shape": "MaxResults", "documentation": "

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

" }, "filePath": { "shape": "Path", "documentation": "

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

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "DescribeMergeConflictsOutput": { "type": "structure", "required": [ "conflictMetadata", "mergeHunks", "destinationCommitId", "sourceCommitId" ], "members": { "conflictMetadata": { "shape": "ConflictMetadata", "documentation": "

Contains metadata about the conflicts found in the merge.

" }, "mergeHunks": { "shape": "MergeHunks", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "destinationCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "sourceCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "baseCommitId": { "shape": "ObjectId", "documentation": "

The commit ID of the merge base.

" } } }, "DescribePullRequestEventsInput": { "type": "structure", "required": [ "pullRequestId" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "pullRequestEventType": { "shape": "PullRequestEventType", "documentation": "

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

" }, "actorArn": { "shape": "Arn", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

" } } }, "DescribePullRequestEventsOutput": { "type": "structure", "required": [ "pullRequestEvents" ], "members": { "pullRequestEvents": { "shape": "PullRequestEventList", "documentation": "

Information about the pull request events.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "Description": { "type": "string", "max": 10240 }, "Difference": { "type": "structure", "members": { "beforeBlob": { "shape": "BlobMetadata", "documentation": "

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

" }, "afterBlob": { "shape": "BlobMetadata", "documentation": "

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

" }, "changeType": { "shape": "ChangeTypeEnum", "documentation": "

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

" } }, "documentation": "

Returns information about a set of differences for a commit specifier.

" }, "DifferenceList": { "type": "list", "member": { "shape": "Difference" } }, "DisassociateApprovalRuleTemplateFromRepositoryInput": { "type": "structure", "required": [ "approvalRuleTemplateName", "repositoryName" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

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

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository you want to disassociate from the template.

" } } }, "Email": { "type": "string" }, "ErrorCode": { "type": "string" }, "ErrorMessage": { "type": "string" }, "EvaluatePullRequestApprovalRulesInput": { "type": "structure", "required": [ "pullRequestId", "revisionId" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "revisionId": { "shape": "RevisionId", "documentation": "

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

" } } }, "EvaluatePullRequestApprovalRulesOutput": { "type": "structure", "required": [ "evaluation" ], "members": { "evaluation": { "shape": "Evaluation", "documentation": "

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

" } } }, "Evaluation": { "type": "structure", "members": { "approved": { "shape": "Approved", "documentation": "

Whether the state of the pull request is approved.

" }, "overridden": { "shape": "Overridden", "documentation": "

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

" }, "approvalRulesSatisfied": { "shape": "ApprovalRulesSatisfiedList", "documentation": "

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

" }, "approvalRulesNotSatisfied": { "shape": "ApprovalRulesNotSatisfiedList", "documentation": "

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

" } }, "documentation": "

Returns information about the approval rules applied to a pull request and whether conditions have been met.

" }, "EventDate": { "type": "timestamp" }, "ExceptionName": { "type": "string" }, "File": { "type": "structure", "members": { "blobId": { "shape": "ObjectId", "documentation": "

The blob ID that contains the file information.

" }, "absolutePath": { "shape": "Path", "documentation": "

The fully qualified path to the file in the repository.

" }, "relativePath": { "shape": "Path", "documentation": "

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

" }, "fileMode": { "shape": "FileModeTypeEnum", "documentation": "

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

" } }, "documentation": "

Returns information about a file in a repository.

" }, "FileContent": { "type": "blob", "max": 6291456 }, "FileList": { "type": "list", "member": { "shape": "File" } }, "FileMetadata": { "type": "structure", "members": { "absolutePath": { "shape": "Path", "documentation": "

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

" }, "blobId": { "shape": "ObjectId", "documentation": "

The blob ID that contains the file information.

" }, "fileMode": { "shape": "FileModeTypeEnum", "documentation": "

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

" } }, "documentation": "

A file to be added, updated, or deleted as part of a commit.

" }, "FileModeTypeEnum": { "type": "string", "enum": [ "EXECUTABLE", "NORMAL", "SYMLINK" ] }, "FileModes": { "type": "structure", "members": { "source": { "shape": "FileModeTypeEnum", "documentation": "

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

" }, "destination": { "shape": "FileModeTypeEnum", "documentation": "

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

" }, "base": { "shape": "FileModeTypeEnum", "documentation": "

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

" } }, "documentation": "

Information about file modes in a merge or pull request.

" }, "FilePaths": { "type": "list", "member": { "shape": "Path" } }, "FileSize": { "type": "long" }, "FileSizes": { "type": "structure", "members": { "source": { "shape": "FileSize", "documentation": "

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

" }, "destination": { "shape": "FileSize", "documentation": "

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

" }, "base": { "shape": "FileSize", "documentation": "

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

" } }, "documentation": "

Information about the size of files in a merge or pull request.

" }, "FileVersion": { "type": "structure", "members": { "commit": { "shape": "Commit" }, "blobId": { "shape": "ObjectId", "documentation": "

The blob ID of the object that represents the content of the file in this version.

" }, "path": { "shape": "Path", "documentation": "

The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.

" }, "revisionChildren": { "shape": "RevisionChildren", "documentation": "

An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.

" } }, "documentation": "

Information about a version of a file.

" }, "FilesMetadata": { "type": "list", "member": { "shape": "FileMetadata" } }, "Folder": { "type": "structure", "members": { "treeId": { "shape": "ObjectId", "documentation": "

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

" }, "absolutePath": { "shape": "Path", "documentation": "

The fully qualified path of the folder in the repository.

" }, "relativePath": { "shape": "Path", "documentation": "

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

" } }, "documentation": "

Returns information about a folder in a repository.

" }, "FolderList": { "type": "list", "member": { "shape": "Folder" } }, "GetApprovalRuleTemplateInput": { "type": "structure", "required": [ "approvalRuleTemplateName" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

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

" } } }, "GetApprovalRuleTemplateOutput": { "type": "structure", "required": [ "approvalRuleTemplate" ], "members": { "approvalRuleTemplate": { "shape": "ApprovalRuleTemplate", "documentation": "

The content and structure of the approval rule template.

" } } }, "GetBlobInput": { "type": "structure", "required": [ "repositoryName", "blobId" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the blob.

" }, "blobId": { "shape": "ObjectId", "documentation": "

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

" } }, "documentation": "

Represents the input of a get blob operation.

" }, "GetBlobOutput": { "type": "structure", "required": [ "content" ], "members": { "content": { "shape": "blob", "documentation": "

The content of the blob, usually a file.

" } }, "documentation": "

Represents the output of a get blob operation.

" }, "GetBranchInput": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "branchName": { "shape": "BranchName", "documentation": "

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

" } }, "documentation": "

Represents the input of a get branch operation.

" }, "GetBranchOutput": { "type": "structure", "members": { "branch": { "shape": "BranchInfo", "documentation": "

The name of the branch.

" } }, "documentation": "

Represents the output of a get branch operation.

" }, "GetCommentInput": { "type": "structure", "required": [ "commentId" ], "members": { "commentId": { "shape": "CommentId", "documentation": "

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

" } } }, "GetCommentOutput": { "type": "structure", "members": { "comment": { "shape": "Comment", "documentation": "

The contents of the comment.

" } } }, "GetCommentReactionsInput": { "type": "structure", "required": [ "commentId" ], "members": { "commentId": { "shape": "CommentId", "documentation": "

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

" }, "reactionUserArn": { "shape": "Arn", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

" } } }, "GetCommentReactionsOutput": { "type": "structure", "required": [ "reactionsForComment" ], "members": { "reactionsForComment": { "shape": "ReactionsForCommentList", "documentation": "

An array of reactions to the specified comment.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "GetCommentsForComparedCommitInput": { "type": "structure", "required": [ "repositoryName", "afterCommitId" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

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

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

" } } }, "GetCommentsForComparedCommitOutput": { "type": "structure", "members": { "commentsForComparedCommitData": { "shape": "CommentsForComparedCommitData", "documentation": "

A list of comment objects on the compared commit.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "GetCommentsForPullRequestInput": { "type": "structure", "required": [ "pullRequestId" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included.

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: beforeCommitId must be specified when repositoryName is included.

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: afterCommitId must be specified when repositoryName is included.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

" } } }, "GetCommentsForPullRequestOutput": { "type": "structure", "members": { "commentsForPullRequestData": { "shape": "CommentsForPullRequestData", "documentation": "

An array of comment objects on the pull request.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "GetCommitInput": { "type": "structure", "required": [ "repositoryName", "commitId" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "commitId": { "shape": "ObjectId", "documentation": "

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

" } }, "documentation": "

Represents the input of a get commit operation.

" }, "GetCommitOutput": { "type": "structure", "required": [ "commit" ], "members": { "commit": { "shape": "Commit", "documentation": "

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

" } }, "documentation": "

Represents the output of a get commit operation.

" }, "GetDifferencesInput": { "type": "structure", "required": [ "repositoryName", "afterCommitSpecifier" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "beforeCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "afterCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "beforePath": { "shape": "Path", "documentation": "

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

" }, "afterPath": { "shape": "Path", "documentation": "

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

" }, "MaxResults": { "shape": "Limit", "documentation": "

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

" }, "NextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "GetDifferencesOutput": { "type": "structure", "members": { "differences": { "shape": "DifferenceList", "documentation": "

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

" }, "NextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "GetFileInput": { "type": "structure", "required": [ "repositoryName", "filePath" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the file.

" }, "commitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "filePath": { "shape": "Path", "documentation": "

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

" } } }, "GetFileOutput": { "type": "structure", "required": [ "commitId", "blobId", "filePath", "fileMode", "fileSize", "fileContent" ], "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "blobId": { "shape": "ObjectId", "documentation": "

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

" }, "filePath": { "shape": "Path", "documentation": "

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

" }, "fileMode": { "shape": "FileModeTypeEnum", "documentation": "

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

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

" }, "fileSize": { "shape": "ObjectSize", "documentation": "

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

" }, "fileContent": { "shape": "FileContent", "documentation": "

The base-64 encoded binary data object that represents the content of the file.

" } } }, "GetFolderInput": { "type": "structure", "required": [ "repositoryName", "folderPath" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository.

" }, "commitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "folderPath": { "shape": "Path", "documentation": "

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

" } } }, "GetFolderOutput": { "type": "structure", "required": [ "commitId", "folderPath" ], "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "folderPath": { "shape": "Path", "documentation": "

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

" }, "treeId": { "shape": "ObjectId", "documentation": "

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

" }, "subFolders": { "shape": "FolderList", "documentation": "

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

" }, "files": { "shape": "FileList", "documentation": "

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

" }, "symbolicLinks": { "shape": "SymbolicLinkList", "documentation": "

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

" }, "subModules": { "shape": "SubModuleList", "documentation": "

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

" } } }, "GetMergeCommitInput": { "type": "structure", "required": [ "repositoryName", "sourceCommitSpecifier", "destinationCommitSpecifier" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" } } }, "GetMergeCommitOutput": { "type": "structure", "members": { "sourceCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "destinationCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "baseCommitId": { "shape": "ObjectId", "documentation": "

The commit ID of the merge base.

" }, "mergedCommitId": { "shape": "ObjectId", "documentation": "

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

" } } }, "GetMergeConflictsInput": { "type": "structure", "required": [ "repositoryName", "destinationCommitSpecifier", "sourceCommitSpecifier", "mergeOption" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "mergeOption": { "shape": "MergeOptionTypeEnum", "documentation": "

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

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "maxConflictFiles": { "shape": "MaxResults", "documentation": "

The maximum number of files to include in the output.

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "GetMergeConflictsOutput": { "type": "structure", "required": [ "mergeable", "destinationCommitId", "sourceCommitId", "conflictMetadataList" ], "members": { "mergeable": { "shape": "IsMergeable", "documentation": "

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

" }, "destinationCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "sourceCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "baseCommitId": { "shape": "ObjectId", "documentation": "

The commit ID of the merge base.

" }, "conflictMetadataList": { "shape": "ConflictMetadataList", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "GetMergeOptionsInput": { "type": "structure", "required": [ "repositoryName", "sourceCommitSpecifier", "destinationCommitSpecifier" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" } } }, "GetMergeOptionsOutput": { "type": "structure", "required": [ "mergeOptions", "sourceCommitId", "destinationCommitId", "baseCommitId" ], "members": { "mergeOptions": { "shape": "MergeOptions", "documentation": "

The merge option or strategy used to merge the code.

" }, "sourceCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "destinationCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "baseCommitId": { "shape": "ObjectId", "documentation": "

The commit ID of the merge base.

" } } }, "GetPullRequestApprovalStatesInput": { "type": "structure", "required": [ "pullRequestId", "revisionId" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

The system-generated ID for the pull request.

" }, "revisionId": { "shape": "RevisionId", "documentation": "

The system-generated ID for the pull request revision.

" } } }, "GetPullRequestApprovalStatesOutput": { "type": "structure", "members": { "approvals": { "shape": "ApprovalList", "documentation": "

Information about users who have approved the pull request.

" } } }, "GetPullRequestInput": { "type": "structure", "required": [ "pullRequestId" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" } } }, "GetPullRequestOutput": { "type": "structure", "required": [ "pullRequest" ], "members": { "pullRequest": { "shape": "PullRequest", "documentation": "

Information about the specified pull request.

" } } }, "GetPullRequestOverrideStateInput": { "type": "structure", "required": [ "pullRequestId", "revisionId" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "revisionId": { "shape": "RevisionId", "documentation": "

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

" } } }, "GetPullRequestOverrideStateOutput": { "type": "structure", "members": { "overridden": { "shape": "Overridden", "documentation": "

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

" }, "overrider": { "shape": "Arn", "documentation": "

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

" } } }, "GetRepositoryInput": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository to get information about.

" } }, "documentation": "

Represents the input of a get repository operation.

" }, "GetRepositoryOutput": { "type": "structure", "members": { "repositoryMetadata": { "shape": "RepositoryMetadata", "documentation": "

Information about the repository.

" } }, "documentation": "

Represents the output of a get repository operation.

" }, "GetRepositoryTriggersInput": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" } }, "documentation": "

Represents the input of a get repository triggers operation.

" }, "GetRepositoryTriggersOutput": { "type": "structure", "members": { "configurationId": { "shape": "RepositoryTriggersConfigurationId", "documentation": "

The system-generated unique ID for the trigger.

" }, "triggers": { "shape": "RepositoryTriggersList", "documentation": "

The JSON block of configuration information for each trigger.

" } }, "documentation": "

Represents the output of a get repository triggers operation.

" }, "HunkContent": { "type": "string" }, "IsBinaryFile": { "type": "structure", "members": { "source": { "shape": "CapitalBoolean", "documentation": "

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

" }, "destination": { "shape": "CapitalBoolean", "documentation": "

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

" }, "base": { "shape": "CapitalBoolean", "documentation": "

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

" } }, "documentation": "

Information about whether a file is binary or textual in a merge or pull request operation.

" }, "IsCommentDeleted": { "type": "boolean" }, "IsContentConflict": { "type": "boolean" }, "IsFileModeConflict": { "type": "boolean" }, "IsHunkConflict": { "type": "boolean" }, "IsMergeable": { "type": "boolean" }, "IsMerged": { "type": "boolean" }, "IsMove": { "type": "boolean" }, "IsObjectTypeConflict": { "type": "boolean" }, "KeepEmptyFolders": { "type": "boolean" }, "KmsKeyId": { "type": "string", "pattern": "^[a-zA-Z0-9:/_-]+$" }, "LastModifiedDate": { "type": "timestamp" }, "Limit": { "type": "integer", "box": true }, "LineNumber": { "type": "integer" }, "ListApprovalRuleTemplatesInput": { "type": "structure", "members": { "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

" } } }, "ListApprovalRuleTemplatesOutput": { "type": "structure", "members": { "approvalRuleTemplateNames": { "shape": "ApprovalRuleTemplateNameList", "documentation": "

The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services account.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListAssociatedApprovalRuleTemplatesForRepositoryInput": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

" } } }, "ListAssociatedApprovalRuleTemplatesForRepositoryOutput": { "type": "structure", "members": { "approvalRuleTemplateNames": { "shape": "ApprovalRuleTemplateNameList", "documentation": "

The names of all approval rule templates associated with the repository.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListBranchesInput": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the branches.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } }, "documentation": "

Represents the input of a list branches operation.

" }, "ListBranchesOutput": { "type": "structure", "members": { "branches": { "shape": "BranchNameList", "documentation": "

The list of branch names.

" }, "nextToken": { "shape": "NextToken", "documentation": "

An enumeration token that returns the batch of the results.

" } }, "documentation": "

Represents the output of a list branches operation.

" }, "ListFileCommitHistoryRequest": { "type": "structure", "required": [ "repositoryName", "filePath" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the file.

" }, "commitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "filePath": { "shape": "Path", "documentation": "

The full path of the file whose history you want to retrieve, including the name of the file.

" }, "maxResults": { "shape": "Limit", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListFileCommitHistoryResponse": { "type": "structure", "required": [ "revisionDag" ], "members": { "revisionDag": { "shape": "RevisionDag", "documentation": "

An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListPullRequestsInput": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "authorArn": { "shape": "Arn", "documentation": "

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

" }, "pullRequestStatus": { "shape": "PullRequestStatusEnum", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

" } } }, "ListPullRequestsOutput": { "type": "structure", "required": [ "pullRequestIds" ], "members": { "pullRequestIds": { "shape": "PullRequestIdList", "documentation": "

The system-generated IDs of the pull requests.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListRepositoriesForApprovalRuleTemplateInput": { "type": "structure", "required": [ "approvalRuleTemplateName" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "maxResults": { "shape": "MaxResults", "documentation": "

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

" } } }, "ListRepositoriesForApprovalRuleTemplateOutput": { "type": "structure", "members": { "repositoryNames": { "shape": "RepositoryNameList", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListRepositoriesInput": { "type": "structure", "members": { "nextToken": { "shape": "NextToken", "documentation": "

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

" }, "sortBy": { "shape": "SortByEnum", "documentation": "

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

" }, "order": { "shape": "OrderEnum", "documentation": "

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

" } }, "documentation": "

Represents the input of a list repositories operation.

" }, "ListRepositoriesOutput": { "type": "structure", "members": { "repositories": { "shape": "RepositoryNameIdPairList", "documentation": "

Lists the repositories called by the list repositories operation.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } }, "documentation": "

Represents the output of a list repositories operation.

" }, "ListTagsForResourceInput": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": { "shape": "ResourceArn", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListTagsForResourceOutput": { "type": "structure", "members": { "tags": { "shape": "TagsMap", "documentation": "

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

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "Location": { "type": "structure", "members": { "filePath": { "shape": "Path", "documentation": "

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

" }, "filePosition": { "shape": "Position", "documentation": "

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

" }, "relativeFileVersion": { "shape": "RelativeFileVersionEnum", "documentation": "

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

" } }, "documentation": "

Returns information about the location of a change or comment in the comparison between two commits or a pull request.

" }, "MaxResults": { "type": "integer" }, "MergeBranchesByFastForwardInput": { "type": "structure", "required": [ "repositoryName", "sourceCommitSpecifier", "destinationCommitSpecifier" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "targetBranch": { "shape": "BranchName", "documentation": "

The branch where the merge is applied.

" } } }, "MergeBranchesByFastForwardOutput": { "type": "structure", "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "treeId": { "shape": "ObjectId", "documentation": "

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

" } } }, "MergeBranchesBySquashInput": { "type": "structure", "required": [ "repositoryName", "sourceCommitSpecifier", "destinationCommitSpecifier" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "targetBranch": { "shape": "BranchName", "documentation": "

The branch where the merge is applied.

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" }, "authorName": { "shape": "Name", "documentation": "

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

" }, "email": { "shape": "Email", "documentation": "

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

" }, "commitMessage": { "shape": "Message", "documentation": "

The commit message for the merge.

" }, "keepEmptyFolders": { "shape": "KeepEmptyFolders", "documentation": "

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

" }, "conflictResolution": { "shape": "ConflictResolution", "documentation": "

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

" } } }, "MergeBranchesBySquashOutput": { "type": "structure", "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "treeId": { "shape": "ObjectId", "documentation": "

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

" } } }, "MergeBranchesByThreeWayInput": { "type": "structure", "required": [ "repositoryName", "sourceCommitSpecifier", "destinationCommitSpecifier" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "destinationCommitSpecifier": { "shape": "CommitName", "documentation": "

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

" }, "targetBranch": { "shape": "BranchName", "documentation": "

The branch where the merge is applied.

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" }, "authorName": { "shape": "Name", "documentation": "

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

" }, "email": { "shape": "Email", "documentation": "

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

" }, "commitMessage": { "shape": "Message", "documentation": "

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

" }, "keepEmptyFolders": { "shape": "KeepEmptyFolders", "documentation": "

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

" }, "conflictResolution": { "shape": "ConflictResolution", "documentation": "

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

" } } }, "MergeBranchesByThreeWayOutput": { "type": "structure", "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "treeId": { "shape": "ObjectId", "documentation": "

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

" } } }, "MergeHunk": { "type": "structure", "members": { "isConflict": { "shape": "IsHunkConflict", "documentation": "

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

" }, "source": { "shape": "MergeHunkDetail", "documentation": "

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

" }, "destination": { "shape": "MergeHunkDetail", "documentation": "

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

" }, "base": { "shape": "MergeHunkDetail", "documentation": "

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

" } }, "documentation": "

Information about merge hunks in a merge or pull request operation.

" }, "MergeHunkDetail": { "type": "structure", "members": { "startLine": { "shape": "LineNumber", "documentation": "

The start position of the hunk in the merge result.

" }, "endLine": { "shape": "LineNumber", "documentation": "

The end position of the hunk in the merge result.

" }, "hunkContent": { "shape": "HunkContent", "documentation": "

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

" } }, "documentation": "

Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.

" }, "MergeHunks": { "type": "list", "member": { "shape": "MergeHunk" } }, "MergeMetadata": { "type": "structure", "members": { "isMerged": { "shape": "IsMerged", "documentation": "

A Boolean value indicating whether the merge has been made.

" }, "mergedBy": { "shape": "Arn", "documentation": "

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

" }, "mergeCommitId": { "shape": "CommitId", "documentation": "

The commit ID for the merge commit, if any.

" }, "mergeOption": { "shape": "MergeOptionTypeEnum", "documentation": "

The merge strategy used in the merge.

" } }, "documentation": "

Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.

" }, "MergeOperations": { "type": "structure", "members": { "source": { "shape": "ChangeTypeEnum", "documentation": "

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

" }, "destination": { "shape": "ChangeTypeEnum", "documentation": "

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

" } }, "documentation": "

Information about the file operation conflicts in a merge operation.

" }, "MergeOptionTypeEnum": { "type": "string", "enum": [ "FAST_FORWARD_MERGE", "SQUASH_MERGE", "THREE_WAY_MERGE" ] }, "MergeOptions": { "type": "list", "member": { "shape": "MergeOptionTypeEnum" } }, "MergePullRequestByFastForwardInput": { "type": "structure", "required": [ "pullRequestId", "repositoryName" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitId": { "shape": "ObjectId", "documentation": "

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

" } } }, "MergePullRequestByFastForwardOutput": { "type": "structure", "members": { "pullRequest": { "shape": "PullRequest", "documentation": "

Information about the specified pull request, including the merge.

" } } }, "MergePullRequestBySquashInput": { "type": "structure", "required": [ "pullRequestId", "repositoryName" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" }, "commitMessage": { "shape": "Message", "documentation": "

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

" }, "authorName": { "shape": "Name", "documentation": "

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

" }, "email": { "shape": "Email", "documentation": "

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

" }, "keepEmptyFolders": { "shape": "KeepEmptyFolders", "documentation": "

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

" }, "conflictResolution": { "shape": "ConflictResolution", "documentation": "

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

" } } }, "MergePullRequestBySquashOutput": { "type": "structure", "members": { "pullRequest": { "shape": "PullRequest" } } }, "MergePullRequestByThreeWayInput": { "type": "structure", "required": [ "pullRequestId", "repositoryName" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitId": { "shape": "ObjectId", "documentation": "

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

" }, "conflictDetailLevel": { "shape": "ConflictDetailLevelTypeEnum", "documentation": "

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

" }, "conflictResolutionStrategy": { "shape": "ConflictResolutionStrategyTypeEnum", "documentation": "

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

" }, "commitMessage": { "shape": "Message", "documentation": "

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

" }, "authorName": { "shape": "Name", "documentation": "

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

" }, "email": { "shape": "Email", "documentation": "

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

" }, "keepEmptyFolders": { "shape": "KeepEmptyFolders", "documentation": "

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

" }, "conflictResolution": { "shape": "ConflictResolution", "documentation": "

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

" } } }, "MergePullRequestByThreeWayOutput": { "type": "structure", "members": { "pullRequest": { "shape": "PullRequest" } } }, "Message": { "type": "string" }, "Mode": { "type": "string" }, "Name": { "type": "string" }, "NextToken": { "type": "string" }, "NumberOfConflicts": { "type": "integer" }, "ObjectId": { "type": "string" }, "ObjectSize": { "type": "long" }, "ObjectTypeEnum": { "type": "string", "enum": [ "FILE", "DIRECTORY", "GIT_LINK", "SYMBOLIC_LINK" ] }, "ObjectTypes": { "type": "structure", "members": { "source": { "shape": "ObjectTypeEnum", "documentation": "

The type of the object in the source branch.

" }, "destination": { "shape": "ObjectTypeEnum", "documentation": "

The type of the object in the destination branch.

" }, "base": { "shape": "ObjectTypeEnum", "documentation": "

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

" } }, "documentation": "

Information about the type of an object in a merge operation.

" }, "OrderEnum": { "type": "string", "enum": [ "ascending", "descending" ] }, "OriginApprovalRuleTemplate": { "type": "structure", "members": { "approvalRuleTemplateId": { "shape": "ApprovalRuleTemplateId", "documentation": "

The ID of the template that created the approval rule.

" }, "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

The name of the template that created the approval rule.

" } }, "documentation": "

Returns information about the template that created the approval rule for a pull request.

" }, "Overridden": { "type": "boolean" }, "OverridePullRequestApprovalRulesInput": { "type": "structure", "required": [ "pullRequestId", "revisionId", "overrideStatus" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "revisionId": { "shape": "RevisionId", "documentation": "

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

" }, "overrideStatus": { "shape": "OverrideStatus", "documentation": "

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

" } } }, "OverrideStatus": { "type": "string", "enum": [ "OVERRIDE", "REVOKE" ] }, "ParentList": { "type": "list", "member": { "shape": "ObjectId" } }, "Path": { "type": "string" }, "Position": { "type": "long" }, "PostCommentForComparedCommitInput": { "type": "structure", "required": [ "repositoryName", "afterCommitId", "content" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

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

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

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

" }, "location": { "shape": "Location", "documentation": "

The location of the comparison where you want to comment.

" }, "content": { "shape": "Content", "documentation": "

The content of the comment you want to make.

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

", "idempotencyToken": true } } }, "PostCommentForComparedCommitOutput": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

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

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

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

" }, "beforeBlobId": { "shape": "ObjectId", "documentation": "

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

" }, "afterBlobId": { "shape": "ObjectId", "documentation": "

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

" }, "location": { "shape": "Location", "documentation": "

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

" }, "comment": { "shape": "Comment", "documentation": "

The content of the comment you posted.

" } } }, "PostCommentForPullRequestInput": { "type": "structure", "required": [ "pullRequestId", "repositoryName", "beforeCommitId", "afterCommitId", "content" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

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

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

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

" }, "location": { "shape": "Location", "documentation": "

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

" }, "content": { "shape": "Content", "documentation": "

The content of your comment on the change.

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

", "idempotencyToken": true } } }, "PostCommentForPullRequestOutput": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "pullRequestId": { "shape": "PullRequestId", "documentation": "

The system-generated ID of the pull request.

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

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

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

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

" }, "beforeBlobId": { "shape": "ObjectId", "documentation": "

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

" }, "afterBlobId": { "shape": "ObjectId", "documentation": "

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

" }, "location": { "shape": "Location", "documentation": "

The location of the change where you posted your comment.

" }, "comment": { "shape": "Comment", "documentation": "

The content of the comment you posted.

" } } }, "PostCommentReplyInput": { "type": "structure", "required": [ "inReplyTo", "content" ], "members": { "inReplyTo": { "shape": "CommentId", "documentation": "

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

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

", "idempotencyToken": true }, "content": { "shape": "Content", "documentation": "

The contents of your reply to a comment.

" } } }, "PostCommentReplyOutput": { "type": "structure", "members": { "comment": { "shape": "Comment", "documentation": "

Information about the reply to a comment.

" } } }, "PullRequest": { "type": "structure", "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

The system-generated ID of the pull request.

" }, "title": { "shape": "Title", "documentation": "

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

" }, "description": { "shape": "Description", "documentation": "

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

" }, "lastActivityDate": { "shape": "LastModifiedDate", "documentation": "

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

" }, "creationDate": { "shape": "CreationDate", "documentation": "

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

" }, "pullRequestStatus": { "shape": "PullRequestStatusEnum", "documentation": "

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

" }, "authorArn": { "shape": "Arn", "documentation": "

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

" }, "pullRequestTargets": { "shape": "PullRequestTargetList", "documentation": "

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

" }, "clientRequestToken": { "shape": "ClientRequestToken", "documentation": "

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

" }, "revisionId": { "shape": "RevisionId", "documentation": "

The system-generated revision ID for the pull request.

" }, "approvalRules": { "shape": "ApprovalRulesList", "documentation": "

The approval rules applied to the pull request.

" } }, "documentation": "

Returns information about a pull request.

" }, "PullRequestCreatedEventMetadata": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "sourceCommitId": { "shape": "CommitId", "documentation": "

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

" }, "destinationCommitId": { "shape": "CommitId", "documentation": "

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

" }, "mergeBase": { "shape": "CommitId", "documentation": "

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

" } }, "documentation": "

Metadata about the pull request that is used when comparing the pull request source with its destination.

" }, "PullRequestEvent": { "type": "structure", "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

The system-generated ID of the pull request.

" }, "eventDate": { "shape": "EventDate", "documentation": "

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

" }, "pullRequestEventType": { "shape": "PullRequestEventType", "documentation": "

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

" }, "actorArn": { "shape": "Arn", "documentation": "

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

" }, "pullRequestCreatedEventMetadata": { "shape": "PullRequestCreatedEventMetadata", "documentation": "

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

" }, "pullRequestStatusChangedEventMetadata": { "shape": "PullRequestStatusChangedEventMetadata", "documentation": "

Information about the change in status for the pull request event.

" }, "pullRequestSourceReferenceUpdatedEventMetadata": { "shape": "PullRequestSourceReferenceUpdatedEventMetadata", "documentation": "

Information about the updated source branch for the pull request event.

" }, "pullRequestMergedStateChangedEventMetadata": { "shape": "PullRequestMergedStateChangedEventMetadata", "documentation": "

Information about the change in mergability state for the pull request event.

" }, "approvalRuleEventMetadata": { "shape": "ApprovalRuleEventMetadata", "documentation": "

Information about a pull request event.

" }, "approvalStateChangedEventMetadata": { "shape": "ApprovalStateChangedEventMetadata", "documentation": "

Information about an approval state change for a pull request.

" }, "approvalRuleOverriddenEventMetadata": { "shape": "ApprovalRuleOverriddenEventMetadata", "documentation": "

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

" } }, "documentation": "

Returns information about a pull request event.

" }, "PullRequestEventList": { "type": "list", "member": { "shape": "PullRequestEvent" } }, "PullRequestEventType": { "type": "string", "enum": [ "PULL_REQUEST_CREATED", "PULL_REQUEST_STATUS_CHANGED", "PULL_REQUEST_SOURCE_REFERENCE_UPDATED", "PULL_REQUEST_MERGE_STATE_CHANGED", "PULL_REQUEST_APPROVAL_RULE_CREATED", "PULL_REQUEST_APPROVAL_RULE_UPDATED", "PULL_REQUEST_APPROVAL_RULE_DELETED", "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN", "PULL_REQUEST_APPROVAL_STATE_CHANGED" ] }, "PullRequestId": { "type": "string" }, "PullRequestIdList": { "type": "list", "member": { "shape": "PullRequestId" } }, "PullRequestMergedStateChangedEventMetadata": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "destinationReference": { "shape": "ReferenceName", "documentation": "

The name of the branch that the pull request is merged into.

" }, "mergeMetadata": { "shape": "MergeMetadata", "documentation": "

Information about the merge state change event.

" } }, "documentation": "

Returns information about the change in the merge state for a pull request event.

" }, "PullRequestSourceReferenceUpdatedEventMetadata": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "beforeCommitId": { "shape": "CommitId", "documentation": "

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

" }, "afterCommitId": { "shape": "CommitId", "documentation": "

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

" }, "mergeBase": { "shape": "CommitId", "documentation": "

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

" } }, "documentation": "

Information about an update to the source branch of a pull request.

" }, "PullRequestStatusChangedEventMetadata": { "type": "structure", "members": { "pullRequestStatus": { "shape": "PullRequestStatusEnum", "documentation": "

The changed status of the pull request.

" } }, "documentation": "

Information about a change to the status of a pull request.

" }, "PullRequestStatusEnum": { "type": "string", "enum": [ "OPEN", "CLOSED" ] }, "PullRequestTarget": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the pull request source and destination branches.

" }, "sourceReference": { "shape": "ReferenceName", "documentation": "

The branch of the repository that contains the changes for the pull request. Also known as the source branch.

" }, "destinationReference": { "shape": "ReferenceName", "documentation": "

The branch of the repository where the pull request changes are merged. Also known as the destination branch.

" }, "destinationCommit": { "shape": "CommitId", "documentation": "

The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged.

" }, "sourceCommit": { "shape": "CommitId", "documentation": "

The full commit ID of the tip of the source branch used to create the pull request. If the pull request branch is updated by a push while the pull request is open, the commit ID changes to reflect the new tip of the branch.

" }, "mergeBase": { "shape": "CommitId", "documentation": "

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

" }, "mergeMetadata": { "shape": "MergeMetadata", "documentation": "

Returns metadata about the state of the merge, including whether the merge has been made.

" } }, "documentation": "

Returns information about a pull request target.

" }, "PullRequestTargetList": { "type": "list", "member": { "shape": "PullRequestTarget" } }, "PutCommentReactionInput": { "type": "structure", "required": [ "commentId", "reactionValue" ], "members": { "commentId": { "shape": "CommentId", "documentation": "

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

" }, "reactionValue": { "shape": "ReactionValue", "documentation": "

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

" } } }, "PutFileEntries": { "type": "list", "member": { "shape": "PutFileEntry" } }, "PutFileEntry": { "type": "structure", "required": [ "filePath" ], "members": { "filePath": { "shape": "Path", "documentation": "

The full path to the file in the repository, including the name of the file.

" }, "fileMode": { "shape": "FileModeTypeEnum", "documentation": "

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

" }, "fileContent": { "shape": "FileContent", "documentation": "

The content of the file, if a source file is not specified.

" }, "sourceFile": { "shape": "SourceFileSpecifier", "documentation": "

The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.

" } }, "documentation": "

Information about a file added or updated as part of a commit.

" }, "PutFileInput": { "type": "structure", "required": [ "repositoryName", "branchName", "fileContent", "filePath" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "branchName": { "shape": "BranchName", "documentation": "

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

" }, "fileContent": { "shape": "FileContent", "documentation": "

The content of the file, in binary object format.

" }, "filePath": { "shape": "Path", "documentation": "

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

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

" }, "fileMode": { "shape": "FileModeTypeEnum", "documentation": "

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

" }, "parentCommitId": { "shape": "CommitId", "documentation": "

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

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

" }, "commitMessage": { "shape": "Message", "documentation": "

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

" }, "name": { "shape": "Name", "documentation": "

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

" }, "email": { "shape": "Email", "documentation": "

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

" } } }, "PutFileOutput": { "type": "structure", "required": [ "commitId", "blobId", "treeId" ], "members": { "commitId": { "shape": "ObjectId", "documentation": "

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

" }, "blobId": { "shape": "ObjectId", "documentation": "

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

" }, "treeId": { "shape": "ObjectId", "documentation": "

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

" } } }, "PutRepositoryTriggersInput": { "type": "structure", "required": [ "repositoryName", "triggers" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "triggers": { "shape": "RepositoryTriggersList", "documentation": "

The JSON block of configuration information for each trigger.

" } }, "documentation": "

Represents the input of a put repository triggers operation.

" }, "PutRepositoryTriggersOutput": { "type": "structure", "members": { "configurationId": { "shape": "RepositoryTriggersConfigurationId", "documentation": "

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

" } }, "documentation": "

Represents the output of a put repository triggers operation.

" }, "ReactionCountsMap": { "type": "map", "key": { "shape": "ReactionValue" }, "value": { "shape": "Count" } }, "ReactionEmoji": { "type": "string" }, "ReactionForComment": { "type": "structure", "members": { "reaction": { "shape": "ReactionValueFormats", "documentation": "

The reaction for a specified comment.

" }, "reactionUsers": { "shape": "ReactionUsersList", "documentation": "

The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

" }, "reactionsFromDeletedUsersCount": { "shape": "Count", "documentation": "

A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.

" } }, "documentation": "

Information about the reaction values provided by users on a comment.

" }, "ReactionShortCode": { "type": "string" }, "ReactionUnicode": { "type": "string" }, "ReactionUsersList": { "type": "list", "member": { "shape": "Arn" } }, "ReactionValue": { "type": "string" }, "ReactionValueFormats": { "type": "structure", "members": { "emoji": { "shape": "ReactionEmoji", "documentation": "

The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.

" }, "shortCode": { "shape": "ReactionShortCode", "documentation": "

The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.

" }, "unicode": { "shape": "ReactionUnicode", "documentation": "

The Unicode codepoint for the reaction.

" } }, "documentation": "

Information about the values for reactions to a comment. CodeCommit supports a limited set of reactions.

" }, "ReactionsForCommentList": { "type": "list", "member": { "shape": "ReactionForComment" } }, "ReferenceName": { "type": "string" }, "RelativeFileVersionEnum": { "type": "string", "enum": [ "BEFORE", "AFTER" ] }, "ReplaceContentEntries": { "type": "list", "member": { "shape": "ReplaceContentEntry" } }, "ReplaceContentEntry": { "type": "structure", "required": [ "filePath", "replacementType" ], "members": { "filePath": { "shape": "Path", "documentation": "

The path of the conflicting file.

" }, "replacementType": { "shape": "ReplacementTypeEnum", "documentation": "

The replacement type to use when determining how to resolve the conflict.

" }, "content": { "shape": "FileContent", "documentation": "

The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.

" }, "fileMode": { "shape": "FileModeTypeEnum", "documentation": "

The file mode to apply during conflict resoltion.

" } }, "documentation": "

Information about a replacement content entry in the conflict of a merge or pull request operation.

" }, "ReplacementTypeEnum": { "type": "string", "enum": [ "KEEP_BASE", "KEEP_SOURCE", "KEEP_DESTINATION", "USE_NEW_CONTENT" ] }, "RepositoryDescription": { "type": "string", "max": 1000 }, "RepositoryId": { "type": "string" }, "RepositoryMetadata": { "type": "structure", "members": { "accountId": { "shape": "AccountId", "documentation": "

The ID of the Amazon Web Services account associated with the repository.

" }, "repositoryId": { "shape": "RepositoryId", "documentation": "

The ID of the repository.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The repository's name.

" }, "repositoryDescription": { "shape": "RepositoryDescription", "documentation": "

A comment or description about the repository.

" }, "defaultBranch": { "shape": "BranchName", "documentation": "

The repository's default branch name.

" }, "lastModifiedDate": { "shape": "LastModifiedDate", "documentation": "

The date and time the repository was last modified, in timestamp format.

" }, "creationDate": { "shape": "CreationDate", "documentation": "

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

" }, "cloneUrlHttp": { "shape": "CloneUrlHttp", "documentation": "

The URL to use for cloning the repository over HTTPS.

" }, "cloneUrlSsh": { "shape": "CloneUrlSsh", "documentation": "

The URL to use for cloning the repository over SSH.

" }, "Arn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the repository.

" }, "kmsKeyId": { "shape": "KmsKeyId", "documentation": "

The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.

" } }, "documentation": "

Information about a repository.

" }, "RepositoryMetadataList": { "type": "list", "member": { "shape": "RepositoryMetadata" } }, "RepositoryName": { "type": "string", "max": 100, "min": 1, "pattern": "[\\w\\.-]+" }, "RepositoryNameIdPair": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name associated with the repository.

" }, "repositoryId": { "shape": "RepositoryId", "documentation": "

The ID associated with the repository.

" } }, "documentation": "

Information about a repository name and ID.

" }, "RepositoryNameIdPairList": { "type": "list", "member": { "shape": "RepositoryNameIdPair" } }, "RepositoryNameList": { "type": "list", "member": { "shape": "RepositoryName" } }, "RepositoryNotFoundList": { "type": "list", "member": { "shape": "RepositoryName" } }, "RepositoryTrigger": { "type": "structure", "required": [ "name", "destinationArn", "events" ], "members": { "name": { "shape": "RepositoryTriggerName", "documentation": "

The name of the trigger.

" }, "destinationArn": { "shape": "Arn", "documentation": "

The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).

" }, "customData": { "shape": "RepositoryTriggerCustomData", "documentation": "

Any custom data associated with the trigger to be included in the information sent to the target of the trigger.

" }, "branches": { "shape": "BranchNameList", "documentation": "

The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.

Although no content is required in the array, you must include the array itself.

" }, "events": { "shape": "RepositoryTriggerEventList", "documentation": "

The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.

The valid value \"all\" cannot be used with any other values.

" } }, "documentation": "

Information about a trigger for a repository.

If you want to receive notifications about repository events, consider using notifications instead of triggers. For more information, see Configuring notifications for repository events.

" }, "RepositoryTriggerCustomData": { "type": "string" }, "RepositoryTriggerEventEnum": { "type": "string", "enum": [ "all", "updateReference", "createReference", "deleteReference" ] }, "RepositoryTriggerEventList": { "type": "list", "member": { "shape": "RepositoryTriggerEventEnum" } }, "RepositoryTriggerExecutionFailure": { "type": "structure", "members": { "trigger": { "shape": "RepositoryTriggerName", "documentation": "

The name of the trigger that did not run.

" }, "failureMessage": { "shape": "RepositoryTriggerExecutionFailureMessage", "documentation": "

Message information about the trigger that did not run.

" } }, "documentation": "

A trigger failed to run.

" }, "RepositoryTriggerExecutionFailureList": { "type": "list", "member": { "shape": "RepositoryTriggerExecutionFailure" } }, "RepositoryTriggerExecutionFailureMessage": { "type": "string" }, "RepositoryTriggerName": { "type": "string" }, "RepositoryTriggerNameList": { "type": "list", "member": { "shape": "RepositoryTriggerName" } }, "RepositoryTriggersConfigurationId": { "type": "string" }, "RepositoryTriggersList": { "type": "list", "member": { "shape": "RepositoryTrigger" } }, "ResourceArn": { "type": "string" }, "RevisionChildren": { "type": "list", "member": { "shape": "RevisionId" } }, "RevisionDag": { "type": "list", "member": { "shape": "FileVersion" } }, "RevisionId": { "type": "string" }, "RuleContentSha256": { "type": "string" }, "SetFileModeEntries": { "type": "list", "member": { "shape": "SetFileModeEntry" } }, "SetFileModeEntry": { "type": "structure", "required": [ "filePath", "fileMode" ], "members": { "filePath": { "shape": "Path", "documentation": "

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

" }, "fileMode": { "shape": "FileModeTypeEnum", "documentation": "

The file mode for the file.

" } }, "documentation": "

Information about the file mode changes.

" }, "SortByEnum": { "type": "string", "enum": [ "repositoryName", "lastModifiedDate" ] }, "SourceFileSpecifier": { "type": "structure", "required": [ "filePath" ], "members": { "filePath": { "shape": "Path", "documentation": "

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

" }, "isMove": { "shape": "IsMove", "documentation": "

Whether to remove the source file from the parent commit.

" } }, "documentation": "

Information about a source file that is part of changes made in a commit.

" }, "SubModule": { "type": "structure", "members": { "commitId": { "shape": "ObjectId", "documentation": "

The commit ID that contains the reference to the submodule.

" }, "absolutePath": { "shape": "Path", "documentation": "

The fully qualified path to the folder that contains the reference to the submodule.

" }, "relativePath": { "shape": "Path", "documentation": "

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

" } }, "documentation": "

Returns information about a submodule reference in a repository folder.

" }, "SubModuleList": { "type": "list", "member": { "shape": "SubModule" } }, "SymbolicLink": { "type": "structure", "members": { "blobId": { "shape": "ObjectId", "documentation": "

The blob ID that contains the information about the symbolic link.

" }, "absolutePath": { "shape": "Path", "documentation": "

The fully qualified path to the folder that contains the symbolic link.

" }, "relativePath": { "shape": "Path", "documentation": "

The relative path of the symbolic link from the folder where the query originated.

" }, "fileMode": { "shape": "FileModeTypeEnum", "documentation": "

The file mode permissions of the blob that cotains information about the symbolic link.

" } }, "documentation": "

Returns information about a symbolic link in a repository folder.

" }, "SymbolicLinkList": { "type": "list", "member": { "shape": "SymbolicLink" } }, "TagKey": { "type": "string", "max": 128, "min": 1 }, "TagKeysList": { "type": "list", "member": { "shape": "TagKey" } }, "TagResourceInput": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "shape": "ResourceArn", "documentation": "

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

" }, "tags": { "shape": "TagsMap", "documentation": "

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

" } } }, "TagValue": { "type": "string", "max": 256, "min": 0 }, "TagsMap": { "type": "map", "key": { "shape": "TagKey" }, "value": { "shape": "TagValue" } }, "Target": { "type": "structure", "required": [ "repositoryName", "sourceReference" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the pull request.

" }, "sourceReference": { "shape": "ReferenceName", "documentation": "

The branch of the repository that contains the changes for the pull request. Also known as the source branch.

" }, "destinationReference": { "shape": "ReferenceName", "documentation": "

The branch of the repository where the pull request changes are merged. Also known as the destination branch.

" } }, "documentation": "

Returns information about a target for a pull request.

" }, "TargetList": { "type": "list", "member": { "shape": "Target" } }, "TestRepositoryTriggersInput": { "type": "structure", "required": [ "repositoryName", "triggers" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "triggers": { "shape": "RepositoryTriggersList", "documentation": "

The list of triggers to test.

" } }, "documentation": "

Represents the input of a test repository triggers operation.

" }, "TestRepositoryTriggersOutput": { "type": "structure", "members": { "successfulExecutions": { "shape": "RepositoryTriggerNameList", "documentation": "

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

" }, "failedExecutions": { "shape": "RepositoryTriggerExecutionFailureList", "documentation": "

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

" } }, "documentation": "

Represents the output of a test repository triggers operation.

" }, "Title": { "type": "string", "max": 150 }, "UntagResourceInput": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "shape": "ResourceArn", "documentation": "

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

" }, "tagKeys": { "shape": "TagKeysList", "documentation": "

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

" } } }, "UpdateApprovalRuleTemplateContentInput": { "type": "structure", "required": [ "approvalRuleTemplateName", "newRuleContent" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

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

" }, "newRuleContent": { "shape": "ApprovalRuleTemplateContent", "documentation": "

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

" }, "existingRuleContentSha256": { "shape": "RuleContentSha256", "documentation": "

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

" } } }, "UpdateApprovalRuleTemplateContentOutput": { "type": "structure", "required": [ "approvalRuleTemplate" ], "members": { "approvalRuleTemplate": { "shape": "ApprovalRuleTemplate" } } }, "UpdateApprovalRuleTemplateDescriptionInput": { "type": "structure", "required": [ "approvalRuleTemplateName", "approvalRuleTemplateDescription" ], "members": { "approvalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

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

" }, "approvalRuleTemplateDescription": { "shape": "ApprovalRuleTemplateDescription", "documentation": "

The updated description of the approval rule template.

" } } }, "UpdateApprovalRuleTemplateDescriptionOutput": { "type": "structure", "required": [ "approvalRuleTemplate" ], "members": { "approvalRuleTemplate": { "shape": "ApprovalRuleTemplate", "documentation": "

The structure and content of the updated approval rule template.

" } } }, "UpdateApprovalRuleTemplateNameInput": { "type": "structure", "required": [ "oldApprovalRuleTemplateName", "newApprovalRuleTemplateName" ], "members": { "oldApprovalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

The current name of the approval rule template.

" }, "newApprovalRuleTemplateName": { "shape": "ApprovalRuleTemplateName", "documentation": "

The new name you want to apply to the approval rule template.

" } } }, "UpdateApprovalRuleTemplateNameOutput": { "type": "structure", "required": [ "approvalRuleTemplate" ], "members": { "approvalRuleTemplate": { "shape": "ApprovalRuleTemplate", "documentation": "

The structure and content of the updated approval rule template.

" } } }, "UpdateCommentInput": { "type": "structure", "required": [ "commentId", "content" ], "members": { "commentId": { "shape": "CommentId", "documentation": "

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

" }, "content": { "shape": "Content", "documentation": "

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

" } } }, "UpdateCommentOutput": { "type": "structure", "members": { "comment": { "shape": "Comment", "documentation": "

Information about the updated comment.

" } } }, "UpdateDefaultBranchInput": { "type": "structure", "required": [ "repositoryName", "defaultBranchName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "defaultBranchName": { "shape": "BranchName", "documentation": "

The name of the branch to set as the default branch.

" } }, "documentation": "

Represents the input of an update default branch operation.

" }, "UpdatePullRequestApprovalRuleContentInput": { "type": "structure", "required": [ "pullRequestId", "approvalRuleName", "newRuleContent" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

The system-generated ID of the pull request.

" }, "approvalRuleName": { "shape": "ApprovalRuleName", "documentation": "

The name of the approval rule you want to update.

" }, "existingRuleContentSha256": { "shape": "RuleContentSha256", "documentation": "

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

" }, "newRuleContent": { "shape": "ApprovalRuleContent", "documentation": "

The updated content for the approval rule.

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

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

" } } }, "UpdatePullRequestApprovalRuleContentOutput": { "type": "structure", "required": [ "approvalRule" ], "members": { "approvalRule": { "shape": "ApprovalRule", "documentation": "

Information about the updated approval rule.

" } } }, "UpdatePullRequestApprovalStateInput": { "type": "structure", "required": [ "pullRequestId", "revisionId", "approvalState" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

The system-generated ID of the pull request.

" }, "revisionId": { "shape": "RevisionId", "documentation": "

The system-generated ID of the revision.

" }, "approvalState": { "shape": "ApprovalState", "documentation": "

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

" } } }, "UpdatePullRequestDescriptionInput": { "type": "structure", "required": [ "pullRequestId", "description" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "description": { "shape": "Description", "documentation": "

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

" } } }, "UpdatePullRequestDescriptionOutput": { "type": "structure", "required": [ "pullRequest" ], "members": { "pullRequest": { "shape": "PullRequest", "documentation": "

Information about the updated pull request.

" } } }, "UpdatePullRequestStatusInput": { "type": "structure", "required": [ "pullRequestId", "pullRequestStatus" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "pullRequestStatus": { "shape": "PullRequestStatusEnum", "documentation": "

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

" } } }, "UpdatePullRequestStatusOutput": { "type": "structure", "required": [ "pullRequest" ], "members": { "pullRequest": { "shape": "PullRequest", "documentation": "

Information about the pull request.

" } } }, "UpdatePullRequestTitleInput": { "type": "structure", "required": [ "pullRequestId", "title" ], "members": { "pullRequestId": { "shape": "PullRequestId", "documentation": "

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

" }, "title": { "shape": "Title", "documentation": "

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

" } } }, "UpdatePullRequestTitleOutput": { "type": "structure", "required": [ "pullRequest" ], "members": { "pullRequest": { "shape": "PullRequest", "documentation": "

Information about the updated pull request.

" } } }, "UpdateRepositoryDescriptionInput": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

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

" }, "repositoryDescription": { "shape": "RepositoryDescription", "documentation": "

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

" } }, "documentation": "

Represents the input of an update repository description operation.

" }, "UpdateRepositoryEncryptionKeyInput": { "type": "structure", "required": [ "repositoryName", "kmsKeyId" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.

" }, "kmsKeyId": { "shape": "KmsKeyId", "documentation": "

The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.

" } } }, "UpdateRepositoryEncryptionKeyOutput": { "type": "structure", "members": { "repositoryId": { "shape": "RepositoryId", "documentation": "

The ID of the repository.

" }, "kmsKeyId": { "shape": "KmsKeyId", "documentation": "

The ID of the encryption key.

" }, "originalKmsKeyId": { "shape": "KmsKeyId", "documentation": "

The ID of the encryption key formerly used to encrypt and decrypt the repository.

" } } }, "UpdateRepositoryNameInput": { "type": "structure", "required": [ "oldName", "newName" ], "members": { "oldName": { "shape": "RepositoryName", "documentation": "

The current name of the repository.

" }, "newName": { "shape": "RepositoryName", "documentation": "

The new name for the repository.

" } }, "documentation": "

Represents the input of an update repository description operation.

" }, "UserInfo": { "type": "structure", "members": { "name": { "shape": "Name", "documentation": "

The name of the user who made the specified commit.

" }, "email": { "shape": "Email", "documentation": "

The email address associated with the user who made the commit, if any.

" }, "date": { "shape": "Date", "documentation": "

The date when the specified commit was commited, in timestamp format with GMT offset.

" } }, "documentation": "

Information about the user who made a specified commit.

" }, "blob": { "type": "blob" } }, "documentation": "CodeCommit

This is the CodeCommit API Reference. This reference provides descriptions of the operations and data types for CodeCommit API along with usage examples.

You can use the CodeCommit API to work with the following objects:

Repositories, by calling the following:

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 CodeCommit (not Git tags), by calling the following:

Triggers, by calling the following:

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

" }