python-botocore/botocore/data/codecommit/2015-04-13/service-2.json
2019-10-03 19:21:31 +09:00

6091 lines
256 KiB
JSON

{
"version":"2.0",
"metadata":{
"apiVersion":"2015-04-13",
"endpointPrefix":"codecommit",
"jsonVersion":"1.1",
"protocol":"json",
"serviceAbbreviation":"CodeCommit",
"serviceFullName":"AWS CodeCommit",
"serviceId":"CodeCommit",
"signatureVersion":"v4",
"targetPrefix":"CodeCommit_20150413",
"uid":"codecommit-2015-04-13"
},
"operations":{
"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":"<p>Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.</p>"
},
"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":"<p>Returns information about the contents of one or more commits in a repository.</p>"
},
"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":"<p>Returns information about one or more repositories.</p> <note> <p>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 web page could 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 web page.</p> </note>"
},
"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":"<p>Creates a new branch in a repository and points the branch to a commit.</p> <note> <p>Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.</p> </note>"
},
"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":"<p>Creates a commit for a repository on the tip of a specified branch.</p>"
},
"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":"<p>Creates a pull request in the specified repository.</p>"
},
"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":"EncryptionIntegrityChecksFailedException"},
{"shape":"EncryptionKeyAccessDeniedException"},
{"shape":"EncryptionKeyDisabledException"},
{"shape":"EncryptionKeyNotFoundException"},
{"shape":"EncryptionKeyUnavailableException"},
{"shape":"InvalidTagsMapException"},
{"shape":"TooManyTagsException"},
{"shape":"InvalidSystemTagUsageException"},
{"shape":"TagPolicyException"}
],
"documentation":"<p>Creates a new, empty repository.</p>"
},
"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":"<p>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, as that strategy does not create a merge commit.</p> <note> <p>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.</p> </note>"
},
"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":"<p>Deletes a branch from a repository, unless that branch is the default branch for the repository. </p>"
},
"DeleteCommentContent":{
"name":"DeleteCommentContent",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteCommentContentInput"},
"output":{"shape":"DeleteCommentContentOutput"},
"errors":[
{"shape":"CommentDoesNotExistException"},
{"shape":"CommentIdRequiredException"},
{"shape":"InvalidCommentIdException"},
{"shape":"CommentDeletedException"}
],
"documentation":"<p>Deletes the content of a comment made on a change, file, or commit in a repository.</p>"
},
"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":"<p>Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file will still exist in the commits prior to the commit that contains the deletion.</p>"
},
"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":"<p>Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.</p> <important> <p>Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.</p> </important>"
},
"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":"<p>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 will be thrown.</p>"
},
"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":"<p>Returns information about one or more pull request events.</p>"
},
"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":"<p>Returns the base-64 encoded content of an individual blob within a repository.</p>"
},
"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":"<p>Returns information about a repository branch, including its name and the last commit ID.</p>"
},
"GetComment":{
"name":"GetComment",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetCommentInput"},
"output":{"shape":"GetCommentOutput"},
"errors":[
{"shape":"CommentDoesNotExistException"},
{"shape":"CommentIdRequiredException"},
{"shape":"InvalidCommentIdException"},
{"shape":"CommentDeletedException"}
],
"documentation":"<p>Returns the content of a comment made on a change, file, or commit in a repository.</p>"
},
"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":"<p>Returns information about comments made on the comparison between two commits.</p>"
},
"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":"<p>Returns comments made on a pull request.</p>"
},
"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":"<p>Returns information about a commit, including commit message and committer information.</p>"
},
"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":"<p>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.</p>"
},
"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":"<p>Returns the base-64 encoded contents of a specified file and its metadata.</p>"
},
"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":"<p>Returns the contents of a specified folder in a repository.</p>"
},
"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":"<p>Returns information about a specified merge commit.</p>"
},
"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":"<p>Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.</p>"
},
"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":"<p>Returns information about the merge options available for merging two specified branches. For details about why a particular merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.</p>"
},
"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":"<p>Gets information about a pull request in a specified repository.</p>"
},
"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":"<p>Returns information about a repository.</p> <note> <p>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 web page could 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 web page.</p> </note>"
},
"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":"<p>Gets information about triggers configured for a repository.</p>"
},
"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":"<p>Gets information about one or more branches in a repository.</p>"
},
"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":"<p>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.</p>"
},
"ListRepositories":{
"name":"ListRepositories",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListRepositoriesInput"},
"output":{"shape":"ListRepositoriesOutput"},
"errors":[
{"shape":"InvalidSortByException"},
{"shape":"InvalidOrderException"},
{"shape":"InvalidContinuationTokenException"}
],
"documentation":"<p>Gets information about one or more repositories.</p>"
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListTagsForResourceInput"},
"output":{"shape":"ListTagsForResourceOutput"},
"errors":[
{"shape":"RepositoryDoesNotExistException"},
{"shape":"InvalidRepositoryNameException"},
{"shape":"ResourceArnRequiredException"},
{"shape":"InvalidResourceArnException"}
],
"documentation":"<p>Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the AWS CodeCommit User Guide.</p>"
},
"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":"<p>Merges two branches using the fast-forward merge strategy.</p>"
},
"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":"<p>Merges two branches using the squash merge strategy.</p>"
},
"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":"<p>Merges two specified branches using the three-way merge strategy.</p>"
},
"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":"EncryptionIntegrityChecksFailedException"},
{"shape":"EncryptionKeyAccessDeniedException"},
{"shape":"EncryptionKeyDisabledException"},
{"shape":"EncryptionKeyNotFoundException"},
{"shape":"EncryptionKeyUnavailableException"}
],
"documentation":"<p>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.</p>"
},
"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":"EncryptionIntegrityChecksFailedException"},
{"shape":"EncryptionKeyAccessDeniedException"},
{"shape":"EncryptionKeyDisabledException"},
{"shape":"EncryptionKeyNotFoundException"},
{"shape":"EncryptionKeyUnavailableException"}
],
"documentation":"<p>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.</p>"
},
"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":"EncryptionIntegrityChecksFailedException"},
{"shape":"EncryptionKeyAccessDeniedException"},
{"shape":"EncryptionKeyDisabledException"},
{"shape":"EncryptionKeyNotFoundException"},
{"shape":"EncryptionKeyUnavailableException"}
],
"documentation":"<p>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.</p>"
},
"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":"EncryptionIntegrityChecksFailedException"},
{"shape":"EncryptionKeyAccessDeniedException"},
{"shape":"EncryptionKeyDisabledException"},
{"shape":"EncryptionKeyNotFoundException"},
{"shape":"EncryptionKeyUnavailableException"},
{"shape":"BeforeCommitIdAndAfterCommitIdAreSameException"},
{"shape":"CommitDoesNotExistException"},
{"shape":"InvalidPathException"},
{"shape":"PathDoesNotExistException"}
],
"documentation":"<p>Posts a comment on the comparison between two commits.</p>",
"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":"EncryptionIntegrityChecksFailedException"},
{"shape":"EncryptionKeyAccessDeniedException"},
{"shape":"EncryptionKeyDisabledException"},
{"shape":"EncryptionKeyNotFoundException"},
{"shape":"EncryptionKeyUnavailableException"},
{"shape":"CommitDoesNotExistException"},
{"shape":"InvalidPathException"},
{"shape":"PathDoesNotExistException"},
{"shape":"PathRequiredException"},
{"shape":"BeforeCommitIdAndAfterCommitIdAreSameException"}
],
"documentation":"<p>Posts a comment on a pull request.</p>",
"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":"<p>Posts a comment in reply to an existing comment on a comparison between commits or a pull request.</p>",
"idempotent":true
},
"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":"<p>Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.</p>"
},
"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":"<p>Replaces all triggers for a repository. This can be used to create or delete triggers.</p>"
},
"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":"<p>Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the AWS CodeCommit User Guide.</p>"
},
"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":"<p>Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.</p>"
},
"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":"<p>Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the AWS CodeCommit User Guide.</p>"
},
"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":"<p>Replaces the contents of a comment.</p>"
},
"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":"<p>Sets or changes the default branch name for the specified repository.</p> <note> <p>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.</p> </note>"
},
"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":"<p>Replaces the contents of the description of a pull request.</p>"
},
"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":"<p>Updates the status of a pull request. </p>"
},
"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":"<p>Replaces the title of a pull request.</p>"
},
"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":"<p>Sets or changes the comment or description for a repository.</p> <note> <p>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 web page could 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 web page.</p> </note>"
},
"UpdateRepositoryName":{
"name":"UpdateRepositoryName",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateRepositoryNameInput"},
"errors":[
{"shape":"RepositoryDoesNotExistException"},
{"shape":"RepositoryNameExistsException"},
{"shape":"RepositoryNameRequiredException"},
{"shape":"InvalidRepositoryNameException"}
],
"documentation":"<p>Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix \".git\" is prohibited. For a full description of the limits on repository names, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html\">Limits</a> in the AWS CodeCommit User Guide.</p>"
}
},
"shapes":{
"AccountId":{"type":"string"},
"ActorDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified Amazon Resource Name (ARN) does not exist in the AWS account.</p>",
"exception":true
},
"AdditionalData":{"type":"string"},
"Arn":{"type":"string"},
"AuthorDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified Amazon Resource Name (ARN) does not exist in the AWS account.</p>",
"exception":true
},
"BatchDescribeMergeConflictsError":{
"type":"structure",
"required":[
"filePath",
"exceptionName",
"message"
],
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The path to the file.</p>"
},
"exceptionName":{
"shape":"ExceptionName",
"documentation":"<p>The name of the exception.</p>"
},
"message":{
"shape":"Message",
"documentation":"<p>The message provided by the exception.</p>"
}
},
"documentation":"<p>Information about errors in a BatchDescribeMergeConflicts operation.</p>"
},
"BatchDescribeMergeConflictsErrors":{
"type":"list",
"member":{"shape":"BatchDescribeMergeConflictsError"}
},
"BatchDescribeMergeConflictsInput":{
"type":"structure",
"required":[
"repositoryName",
"destinationCommitSpecifier",
"sourceCommitSpecifier",
"mergeOption"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the merge conflicts you want to review.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"mergeOption":{
"shape":"MergeOptionTypeEnum",
"documentation":"<p>The merge option or strategy you want to use to merge the code.</p>"
},
"maxMergeHunks":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of merge hunks to include in the output.</p>"
},
"maxConflictFiles":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of files to include in the output.</p>"
},
"filePaths":{
"shape":"FilePaths",
"documentation":"<p>The path of the target files used to describe the conflicts. If not specified, the default is all conflict files.</p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
}
}
},
"BatchDescribeMergeConflictsOutput":{
"type":"structure",
"required":[
"conflicts",
"destinationCommitId",
"sourceCommitId"
],
"members":{
"conflicts":{
"shape":"Conflicts",
"documentation":"<p>A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
},
"errors":{
"shape":"BatchDescribeMergeConflictsErrors",
"documentation":"<p>A list of any errors returned while describing the merge conflicts for each file.</p>"
},
"destinationCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>"
},
"baseCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the merge base.</p>"
}
}
},
"BatchGetCommitsError":{
"type":"structure",
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>A commit ID that either could not be found or was not in a valid format.</p>"
},
"errorCode":{
"shape":"ErrorCode",
"documentation":"<p>An error code that specifies whether the commit ID was not valid or not found.</p>"
},
"errorMessage":{
"shape":"ErrorMessage",
"documentation":"<p>An error message that provides detail about why the commit ID either was not found or was not valid.</p>"
}
},
"documentation":"<p>Returns information about errors in a BatchGetCommits operation.</p>"
},
"BatchGetCommitsErrorsList":{
"type":"list",
"member":{"shape":"BatchGetCommitsError"}
},
"BatchGetCommitsInput":{
"type":"structure",
"required":[
"commitIds",
"repositoryName"
],
"members":{
"commitIds":{
"shape":"CommitIdsInputList",
"documentation":"<p>The full commit IDs of the commits to get information about.</p> <note> <p>You must supply the full SHAs of each commit. You cannot use shortened SHAs.</p> </note>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the commits.</p>"
}
}
},
"BatchGetCommitsOutput":{
"type":"structure",
"members":{
"commits":{
"shape":"CommitObjectsList",
"documentation":"<p>An array of commit data type objects, each of which contains information about a specified commit.</p>"
},
"errors":{
"shape":"BatchGetCommitsErrorsList",
"documentation":"<p>Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA or that commit was not found in the specified repository, the ID will return an error object with additional information.</p>"
}
}
},
"BatchGetRepositoriesInput":{
"type":"structure",
"required":["repositoryNames"],
"members":{
"repositoryNames":{
"shape":"RepositoryNameList",
"documentation":"<p>The names of the repositories to get information about.</p>"
}
},
"documentation":"<p>Represents the input of a batch get repositories operation.</p>"
},
"BatchGetRepositoriesOutput":{
"type":"structure",
"members":{
"repositories":{
"shape":"RepositoryMetadataList",
"documentation":"<p>A list of repositories returned by the batch get repositories operation.</p>"
},
"repositoriesNotFound":{
"shape":"RepositoryNotFoundList",
"documentation":"<p>Returns a list of repository names for which information could not be found.</p>"
}
},
"documentation":"<p>Represents the output of a batch get repositories operation.</p>"
},
"BeforeCommitIdAndAfterCommitIdAreSameException":{
"type":"structure",
"members":{
},
"documentation":"<p>The before commit ID and the after commit ID are the same, which is not valid. The before commit ID and the after commit ID must be different commit IDs.</p>",
"exception":true
},
"BlobIdDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified blob does not exist.</p>",
"exception":true
},
"BlobIdRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A blob ID is required but was not specified.</p>",
"exception":true
},
"BlobMetadata":{
"type":"structure",
"members":{
"blobId":{
"shape":"ObjectId",
"documentation":"<p>The full ID of the blob.</p>"
},
"path":{
"shape":"Path",
"documentation":"<p>The path to the blob and any associated file name, if any.</p>"
},
"mode":{
"shape":"Mode",
"documentation":"<p>The file mode permissions of the blob. File mode permission codes include:</p> <ul> <li> <p> <code>100644</code> indicates read/write</p> </li> <li> <p> <code>100755</code> indicates read/write/execute</p> </li> <li> <p> <code>160000</code> indicates a submodule</p> </li> <li> <p> <code>120000</code> indicates a symlink</p> </li> </ul>"
}
},
"documentation":"<p>Returns information about a specific Git blob object.</p>"
},
"BranchDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified branch does not exist.</p>",
"exception":true
},
"BranchInfo":{
"type":"structure",
"members":{
"branchName":{
"shape":"BranchName",
"documentation":"<p>The name of the branch.</p>"
},
"commitId":{
"shape":"CommitId",
"documentation":"<p>The ID of the last commit made to the branch.</p>"
}
},
"documentation":"<p>Returns information about a branch.</p>"
},
"BranchName":{
"type":"string",
"max":256,
"min":1
},
"BranchNameExistsException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified branch name already exists.</p>",
"exception":true
},
"BranchNameIsTagNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified branch name is not valid because it is a tag name. Type the name of a current branch in the repository. For a list of valid branch names, use <a>ListBranches</a>.</p>",
"exception":true
},
"BranchNameList":{
"type":"list",
"member":{"shape":"BranchName"}
},
"BranchNameRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A branch name is required but was not specified.</p>",
"exception":true
},
"CapitalBoolean":{"type":"boolean"},
"ChangeTypeEnum":{
"type":"string",
"enum":[
"A",
"M",
"D"
]
},
"ClientRequestToken":{"type":"string"},
"ClientRequestTokenRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A client request token is required. A client request token is an 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 will return information about the initial request that used that token.</p>",
"exception":true
},
"CloneUrlHttp":{"type":"string"},
"CloneUrlSsh":{"type":"string"},
"Comment":{
"type":"structure",
"members":{
"commentId":{
"shape":"CommentId",
"documentation":"<p>The system-generated comment ID.</p>"
},
"content":{
"shape":"Content",
"documentation":"<p>The content of the comment.</p>"
},
"inReplyTo":{
"shape":"CommentId",
"documentation":"<p>The ID of the comment for which this comment is a reply, if any.</p>"
},
"creationDate":{
"shape":"CreationDate",
"documentation":"<p>The date and time the comment was created, in timestamp format.</p>"
},
"lastModifiedDate":{
"shape":"LastModifiedDate",
"documentation":"<p>The date and time the comment was most recently modified, in timestamp format.</p>"
},
"authorArn":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the person who posted the comment.</p>"
},
"deleted":{
"shape":"IsCommentDeleted",
"documentation":"<p>A Boolean value indicating whether the comment has been deleted.</p>"
},
"clientRequestToken":{
"shape":"ClientRequestToken",
"documentation":"<p>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 will return information about the initial request that used that token.</p>"
}
},
"documentation":"<p>Returns information about a specific comment.</p>"
},
"CommentContentRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>",
"exception":true
},
"CommentContentSizeLimitExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The comment is too large. Comments are limited to 1,000 characters.</p>",
"exception":true
},
"CommentDeletedException":{
"type":"structure",
"members":{
},
"documentation":"<p>This comment has already been deleted. You cannot edit or delete a deleted comment.</p>",
"exception":true
},
"CommentDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>No comment exists with the provided ID. Verify that you have provided the correct ID, and then try again.</p>",
"exception":true
},
"CommentId":{"type":"string"},
"CommentIdRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The comment ID is missing or null. A comment ID is required.</p>",
"exception":true
},
"CommentNotCreatedByCallerException":{
"type":"structure",
"members":{
},
"documentation":"<p>You cannot modify or delete this comment. Only comment authors can modify or delete their comments.</p>",
"exception":true
},
"Comments":{
"type":"list",
"member":{"shape":"Comment"}
},
"CommentsForComparedCommit":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the compared commits.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit used to establish the 'before' of the comparison.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit used to establish the 'after' of the comparison.</p>"
},
"beforeBlobId":{
"shape":"ObjectId",
"documentation":"<p>The full blob ID of the commit used to establish the 'before' of the comparison.</p>"
},
"afterBlobId":{
"shape":"ObjectId",
"documentation":"<p>The full blob ID of the commit used to establish the 'after' of the comparison.</p>"
},
"location":{
"shape":"Location",
"documentation":"<p>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'.</p>"
},
"comments":{
"shape":"Comments",
"documentation":"<p>An array of comment objects. Each comment object contains information about a comment on the comparison between commits.</p>"
}
},
"documentation":"<p>Returns information about comments on the comparison between two commits.</p>"
},
"CommentsForComparedCommitData":{
"type":"list",
"member":{"shape":"CommentsForComparedCommit"}
},
"CommentsForPullRequest":{
"type":"structure",
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the pull request.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit will be superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>he full commit ID of the commit that was the tip of the source branch at the time the comment was made. </p>"
},
"beforeBlobId":{
"shape":"ObjectId",
"documentation":"<p>The full blob ID of the file on which you want to comment on the destination commit.</p>"
},
"afterBlobId":{
"shape":"ObjectId",
"documentation":"<p>The full blob ID of the file on which you want to comment on the source commit.</p>"
},
"location":{
"shape":"Location",
"documentation":"<p>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).</p>"
},
"comments":{
"shape":"Comments",
"documentation":"<p>An array of comment objects. Each comment object contains information about a comment on the pull request.</p>"
}
},
"documentation":"<p>Returns information about comments on a pull request.</p>"
},
"CommentsForPullRequestData":{
"type":"list",
"member":{"shape":"CommentsForPullRequest"}
},
"Commit":{
"type":"structure",
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The full SHA of the specified commit. </p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>Tree information for the specified commit.</p>"
},
"parents":{
"shape":"ParentList",
"documentation":"<p>A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.</p>"
},
"message":{
"shape":"Message",
"documentation":"<p>The commit message associated with the specified commit.</p>"
},
"author":{
"shape":"UserInfo",
"documentation":"<p>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.</p>"
},
"committer":{
"shape":"UserInfo",
"documentation":"<p>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.</p> <p>For more information about the difference between an author and a committer in Git, see <a href=\"http://git-scm.com/book/ch2-3.html\">Viewing the Commit History</a> in Pro Git by Scott Chacon and Ben Straub.</p>"
},
"additionalData":{
"shape":"AdditionalData",
"documentation":"<p>Any additional data associated with the specified commit.</p>"
}
},
"documentation":"<p>Returns information about a specific commit.</p>"
},
"CommitDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>",
"exception":true
},
"CommitId":{"type":"string"},
"CommitIdDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified commit ID does not exist.</p>",
"exception":true
},
"CommitIdRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A commit ID was not specified.</p>",
"exception":true
},
"CommitIdsInputList":{
"type":"list",
"member":{"shape":"ObjectId"}
},
"CommitIdsLimitExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The maximum number of allowed commit IDs in a batch request is 100. Verify that your batch requests contains no more than 100 commit IDs, and then try again.</p>",
"exception":true
},
"CommitIdsListRequiredException":{
"type":"structure",
"members":{
},
"exception":true
},
"CommitMessageLengthExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit message is too long. Provide a shorter string. </p>",
"exception":true
},
"CommitName":{"type":"string"},
"CommitObjectsList":{
"type":"list",
"member":{"shape":"Commit"}
},
"CommitRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A commit was not specified.</p>",
"exception":true
},
"ConcurrentReferenceUpdateException":{
"type":"structure",
"members":{
},
"documentation":"<p>The merge cannot be completed because the target branch has been modified. Another user might have modified the target branch while the merge was in progress. Wait a few minutes, and then try again.</p>",
"exception":true
},
"Conflict":{
"type":"structure",
"members":{
"conflictMetadata":{
"shape":"ConflictMetadata",
"documentation":"<p>Metadata about a conflict in a merge operation.</p>"
},
"mergeHunks":{
"shape":"MergeHunks",
"documentation":"<p>A list of hunks that contain the differences between files or lines causing the conflict.</p>"
}
},
"documentation":"<p>Information about conflicts in a merge operation.</p>"
},
"ConflictDetailLevelTypeEnum":{
"type":"string",
"enum":[
"FILE_LEVEL",
"LINE_LEVEL"
]
},
"ConflictMetadata":{
"type":"structure",
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The path of the file that contains conflicts.</p>"
},
"fileSizes":{
"shape":"FileSizes",
"documentation":"<p>The file sizes of the file in the source, destination, and base of the merge.</p>"
},
"fileModes":{
"shape":"FileModes",
"documentation":"<p>The file modes of the file in the source, destination, and base of the merge.</p>"
},
"objectTypes":{
"shape":"ObjectTypes",
"documentation":"<p>Information about any object type conflicts in a merge operation.</p>"
},
"numberOfConflicts":{
"shape":"NumberOfConflicts",
"documentation":"<p>The number of conflicts, including both hunk conflicts and metadata conflicts.</p>"
},
"isBinaryFile":{
"shape":"IsBinaryFile",
"documentation":"<p>A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.</p>"
},
"contentConflict":{
"shape":"IsContentConflict",
"documentation":"<p>A boolean value indicating whether there are conflicts in the content of a file.</p>"
},
"fileModeConflict":{
"shape":"IsFileModeConflict",
"documentation":"<p>A boolean value indicating whether there are conflicts in the file mode of a file.</p>"
},
"objectTypeConflict":{
"shape":"IsObjectTypeConflict",
"documentation":"<p>A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.</p>"
},
"mergeOperations":{
"shape":"MergeOperations",
"documentation":"<p>Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.</p>"
}
},
"documentation":"<p>Information about the metadata for a conflict in a merge operation.</p>"
},
"ConflictMetadataList":{
"type":"list",
"member":{"shape":"ConflictMetadata"}
},
"ConflictResolution":{
"type":"structure",
"members":{
"replaceContents":{
"shape":"ReplaceContentEntries",
"documentation":"<p>Files that will have content replaced as part of the merge conflict resolution.</p>"
},
"deleteFiles":{
"shape":"DeleteFileEntries",
"documentation":"<p>Files that will be deleted as part of the merge conflict resolution.</p>"
},
"setFileModes":{
"shape":"SetFileModeEntries",
"documentation":"<p>File modes that will be set as part of the merge conflict resolution.</p>"
}
},
"documentation":"<p>A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.</p>"
},
"ConflictResolutionStrategyTypeEnum":{
"type":"string",
"enum":[
"NONE",
"ACCEPT_SOURCE",
"ACCEPT_DESTINATION",
"AUTOMERGE"
]
},
"Conflicts":{
"type":"list",
"member":{"shape":"Conflict"}
},
"Content":{"type":"string"},
"CreateBranchInput":{
"type":"structure",
"required":[
"repositoryName",
"branchName",
"commitId"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository in which you want to create the new branch.</p>"
},
"branchName":{
"shape":"BranchName",
"documentation":"<p>The name of the new branch to create.</p>"
},
"commitId":{
"shape":"CommitId",
"documentation":"<p>The ID of the commit to point the new branch to.</p>"
}
},
"documentation":"<p>Represents the input of a create branch operation.</p>"
},
"CreateCommitInput":{
"type":"structure",
"required":[
"repositoryName",
"branchName"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you will create the commit.</p>"
},
"branchName":{
"shape":"BranchName",
"documentation":"<p>The name of the branch where you will create the commit.</p>"
},
"parentCommitId":{
"shape":"CommitId",
"documentation":"<p>The ID of the commit that is the parent of the commit you will create. If this is an empty repository, this is not required.</p>"
},
"authorName":{
"shape":"Name",
"documentation":"<p>The name of the author who created the commit. This information will be used as both the author and committer for the commit.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>The email address of the person who created the commit.</p>"
},
"commitMessage":{
"shape":"Message",
"documentation":"<p>The commit message you want to include as part of creating the commit. Commit messages are limited to 256 KB. If no message is specified, a default message will be used.</p>"
},
"keepEmptyFolders":{
"shape":"KeepEmptyFolders",
"documentation":"<p>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 will be created for empty folders. The default is false.</p>"
},
"putFiles":{
"shape":"PutFileEntries",
"documentation":"<p>The files to add or update in this commit.</p>"
},
"deleteFiles":{
"shape":"DeleteFileEntries",
"documentation":"<p>The files to delete in this commit. These files will still exist in prior commits.</p>"
},
"setFileModes":{
"shape":"SetFileModeEntries",
"documentation":"<p>The file modes to update for files in this commit.</p>"
}
}
},
"CreateCommitOutput":{
"type":"structure",
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The full commit ID of the commit that contains your committed file changes.</p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.</p>"
},
"filesAdded":{
"shape":"FilesMetadata",
"documentation":"<p>The files added as part of the committed file changes.</p>"
},
"filesUpdated":{
"shape":"FilesMetadata",
"documentation":"<p>The files updated as part of the commited file changes.</p>"
},
"filesDeleted":{
"shape":"FilesMetadata",
"documentation":"<p>The files deleted as part of the committed file changes.</p>"
}
}
},
"CreatePullRequestInput":{
"type":"structure",
"required":[
"title",
"targets"
],
"members":{
"title":{
"shape":"Title",
"documentation":"<p>The title of the pull request. This title will be used to identify the pull request to other users in the repository.</p>"
},
"description":{
"shape":"Description",
"documentation":"<p>A description of the pull request.</p>"
},
"targets":{
"shape":"TargetList",
"documentation":"<p>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).</p>"
},
"clientRequestToken":{
"shape":"ClientRequestToken",
"documentation":"<p>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 will return information about the initial request that used that token.</p> <note> <p>The AWS SDKs prepopulate client request tokens. If using an AWS SDK, you do not have to generate an idempotency token, as this will be done for you.</p> </note>",
"idempotencyToken":true
}
}
},
"CreatePullRequestOutput":{
"type":"structure",
"required":["pullRequest"],
"members":{
"pullRequest":{
"shape":"PullRequest",
"documentation":"<p>Information about the newly created pull request.</p>"
}
}
},
"CreateRepositoryInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the new repository to be created.</p> <note> <p>The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For a full description of the limits on repository names, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html\">Limits</a> in the AWS CodeCommit User Guide. The suffix \".git\" is prohibited.</p> </note>"
},
"repositoryDescription":{
"shape":"RepositoryDescription",
"documentation":"<p>A comment or description about the new repository.</p> <note> <p>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 web page could 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 web page.</p> </note>"
},
"tags":{
"shape":"TagsMap",
"documentation":"<p>One or more tag key-value pairs to use when tagging this repository.</p>"
}
},
"documentation":"<p>Represents the input of a create repository operation.</p>"
},
"CreateRepositoryOutput":{
"type":"structure",
"members":{
"repositoryMetadata":{
"shape":"RepositoryMetadata",
"documentation":"<p>Information about the newly created repository.</p>"
}
},
"documentation":"<p>Represents the output of a create repository operation.</p>"
},
"CreateUnreferencedMergeCommitInput":{
"type":"structure",
"required":[
"repositoryName",
"sourceCommitSpecifier",
"destinationCommitSpecifier",
"mergeOption"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to create the unreferenced merge commit.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"mergeOption":{
"shape":"MergeOptionTypeEnum",
"documentation":"<p>The merge option or strategy you want to use to merge the code.</p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
},
"authorName":{
"shape":"Name",
"documentation":"<p>The name of the author who created the unreferenced commit. This information will be used as both the author and committer for the commit.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>The email address for the person who created the unreferenced commit.</p>"
},
"commitMessage":{
"shape":"Message",
"documentation":"<p>The commit message for the unreferenced commit.</p>"
},
"keepEmptyFolders":{
"shape":"KeepEmptyFolders",
"documentation":"<p>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 will be created for empty folders. The default is false.</p>"
},
"conflictResolution":{
"shape":"ConflictResolution",
"documentation":"<p>A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.</p>"
}
}
},
"CreateUnreferencedMergeCommitOutput":{
"type":"structure",
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The full commit ID of the commit that contains your merge results.</p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The full SHA-1 pointer of the tree information for the commit that contains the merge results.</p>"
}
}
},
"CreationDate":{"type":"timestamp"},
"Date":{"type":"string"},
"DefaultBranchCannotBeDeletedException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch.</p>",
"exception":true
},
"DeleteBranchInput":{
"type":"structure",
"required":[
"repositoryName",
"branchName"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the branch to be deleted.</p>"
},
"branchName":{
"shape":"BranchName",
"documentation":"<p>The name of the branch to delete.</p>"
}
},
"documentation":"<p>Represents the input of a delete branch operation.</p>"
},
"DeleteBranchOutput":{
"type":"structure",
"members":{
"deletedBranch":{
"shape":"BranchInfo",
"documentation":"<p>Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch.</p>"
}
},
"documentation":"<p>Represents the output of a delete branch operation.</p>"
},
"DeleteCommentContentInput":{
"type":"structure",
"required":["commentId"],
"members":{
"commentId":{
"shape":"CommentId",
"documentation":"<p>The unique, system-generated ID of the comment. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.</p>"
}
}
},
"DeleteCommentContentOutput":{
"type":"structure",
"members":{
"comment":{
"shape":"Comment",
"documentation":"<p>Information about the comment you just deleted.</p>"
}
}
},
"DeleteFileEntries":{
"type":"list",
"member":{"shape":"DeleteFileEntry"}
},
"DeleteFileEntry":{
"type":"structure",
"required":["filePath"],
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The full path of the file that will be deleted, including the name of the file.</p>"
}
},
"documentation":"<p>A file that will be deleted as part of a commit.</p>"
},
"DeleteFileInput":{
"type":"structure",
"required":[
"repositoryName",
"branchName",
"filePath",
"parentCommitId"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the file to delete.</p>"
},
"branchName":{
"shape":"BranchName",
"documentation":"<p>The name of the branch where the commit will be made deleting the file.</p>"
},
"filePath":{
"shape":"Path",
"documentation":"<p>The fully-qualified path to the file that will 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.</p>"
},
"parentCommitId":{
"shape":"CommitId",
"documentation":"<p>The ID of the commit that is the tip of the branch where you want to create the commit that will delete the file. This must be the HEAD commit for the branch. The commit that deletes the file will be created from this commit ID.</p>"
},
"keepEmptyFolders":{
"shape":"KeepEmptyFolders",
"documentation":"<p>Specifies whether to delete the folder or directory that contains the file you want to delete if that file is the only object in the folder or directory. By default, empty folders will be 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 will also delete the empty folders dir4, dir3, and dir2.</p>"
},
"commitMessage":{
"shape":"Message",
"documentation":"<p>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 will be used.</p>"
},
"name":{
"shape":"Name",
"documentation":"<p>The name of the author of the commit that deletes the file. If no name is specified, the user's ARN will be used as the author name and committer name.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>The email address for the commit that deletes the file. If no email address is specified, the email address will be left blank.</p>"
}
}
},
"DeleteFileOutput":{
"type":"structure",
"required":[
"commitId",
"blobId",
"treeId",
"filePath"
],
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The full commit ID of the commit that contains the change that deletes the file.</p>"
},
"blobId":{
"shape":"ObjectId",
"documentation":"<p>The blob ID removed from the tree as part of deleting the file.</p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The full SHA-1 pointer of the tree information for the commit that contains the delete file change.</p>"
},
"filePath":{
"shape":"Path",
"documentation":"<p>The fully-qualified path to the file that will be deleted, including the full name and extension of that file.</p>"
}
}
},
"DeleteRepositoryInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository to delete.</p>"
}
},
"documentation":"<p>Represents the input of a delete repository operation.</p>"
},
"DeleteRepositoryOutput":{
"type":"structure",
"members":{
"repositoryId":{
"shape":"RepositoryId",
"documentation":"<p>The ID of the repository that was deleted.</p>"
}
},
"documentation":"<p>Represents the output of a delete repository operation.</p>"
},
"DescribeMergeConflictsInput":{
"type":"structure",
"required":[
"repositoryName",
"destinationCommitSpecifier",
"sourceCommitSpecifier",
"mergeOption",
"filePath"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to get information about a merge conflict.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"mergeOption":{
"shape":"MergeOptionTypeEnum",
"documentation":"<p>The merge option or strategy you want to use to merge the code.</p>"
},
"maxMergeHunks":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of merge hunks to include in the output.</p>"
},
"filePath":{
"shape":"Path",
"documentation":"<p>The path of the target files used to describe the conflicts. </p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
}
}
},
"DescribeMergeConflictsOutput":{
"type":"structure",
"required":[
"conflictMetadata",
"mergeHunks",
"destinationCommitId",
"sourceCommitId"
],
"members":{
"conflictMetadata":{
"shape":"ConflictMetadata",
"documentation":"<p>Contains metadata about the conflicts found in the merge.</p>"
},
"mergeHunks":{
"shape":"MergeHunks",
"documentation":"<p>A list of merge hunks of the differences between the files or lines.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
},
"destinationCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>"
},
"baseCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the merge base.</p>"
}
}
},
"DescribePullRequestEventsInput":{
"type":"structure",
"required":["pullRequestId"],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"pullRequestEventType":{
"shape":"PullRequestEventType",
"documentation":"<p>Optional. The pull request event type about which you want to return information.</p>"
},
"actorArn":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with additional commits or changing the status of a pull request.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>A 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.</p>"
}
}
},
"DescribePullRequestEventsOutput":{
"type":"structure",
"required":["pullRequestEvents"],
"members":{
"pullRequestEvents":{
"shape":"PullRequestEventList",
"documentation":"<p>Information about the pull request events.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
}
}
},
"Description":{
"type":"string",
"max":10240
},
"Difference":{
"type":"structure",
"members":{
"beforeBlob":{
"shape":"BlobMetadata",
"documentation":"<p>Information about a <code>beforeBlob</code> data type object, including the ID, the file mode permission code, and the path.</p>"
},
"afterBlob":{
"shape":"BlobMetadata",
"documentation":"<p>Information about an <code>afterBlob</code> data type object, including the ID, the file mode permission code, and the path.</p>"
},
"changeType":{
"shape":"ChangeTypeEnum",
"documentation":"<p>Whether the change type of the difference is an addition (A), deletion (D), or modification (M).</p>"
}
},
"documentation":"<p>Returns information about a set of differences for a commit specifier.</p>"
},
"DifferenceList":{
"type":"list",
"member":{"shape":"Difference"}
},
"DirectoryNameConflictsWithFileNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>A file cannot be added to the repository because the specified path name has the same name as a file that already exists in this repository. Either provide a different name for the file, or specify a different path for the file.</p>",
"exception":true
},
"Email":{"type":"string"},
"EncryptionIntegrityChecksFailedException":{
"type":"structure",
"members":{
},
"documentation":"<p>An encryption integrity check failed.</p>",
"exception":true,
"fault":true
},
"EncryptionKeyAccessDeniedException":{
"type":"structure",
"members":{
},
"documentation":"<p>An encryption key could not be accessed.</p>",
"exception":true
},
"EncryptionKeyDisabledException":{
"type":"structure",
"members":{
},
"documentation":"<p>The encryption key is disabled.</p>",
"exception":true
},
"EncryptionKeyNotFoundException":{
"type":"structure",
"members":{
},
"documentation":"<p>No encryption key was found.</p>",
"exception":true
},
"EncryptionKeyUnavailableException":{
"type":"structure",
"members":{
},
"documentation":"<p>The encryption key is not available.</p>",
"exception":true
},
"ErrorCode":{"type":"string"},
"ErrorMessage":{"type":"string"},
"EventDate":{"type":"timestamp"},
"ExceptionName":{"type":"string"},
"File":{
"type":"structure",
"members":{
"blobId":{
"shape":"ObjectId",
"documentation":"<p>The blob ID that contains the file information.</p>"
},
"absolutePath":{
"shape":"Path",
"documentation":"<p>The fully-qualified path to the file in the repository.</p>"
},
"relativePath":{
"shape":"Path",
"documentation":"<p>The relative path of the file from the folder where the query originated.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>"
}
},
"documentation":"<p>Returns information about a file in a repository.</p>"
},
"FileContent":{
"type":"blob",
"max":6291456
},
"FileContentAndSourceFileSpecifiedException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because both a source file and file content have been specified for the same file. You cannot provide both. Either specify a source file, or provide the file content directly.</p>",
"exception":true
},
"FileContentRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.</p>",
"exception":true
},
"FileContentSizeLimitExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The file cannot be added because it is too large. The maximum file size that can be added is 6 MB, and the combined file content change size is 7 MB. Consider making these changes using a Git client.</p>",
"exception":true
},
"FileDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified file does not exist. Verify that you have provided the correct name of the file, including its full path and extension.</p>",
"exception":true
},
"FileEntryRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because no files have been specified as added, updated, or changed (PutFile or DeleteFile) for the commit.</p>",
"exception":true
},
"FileList":{
"type":"list",
"member":{"shape":"File"}
},
"FileMetadata":{
"type":"structure",
"members":{
"absolutePath":{
"shape":"Path",
"documentation":"<p>The full path to the file that will be added or updated, including the name of the file.</p>"
},
"blobId":{
"shape":"ObjectId",
"documentation":"<p>The blob ID that contains the file information.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>"
}
},
"documentation":"<p>A file that will be added, updated, or deleted as part of a commit.</p>"
},
"FileModeRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because a file mode is required to update mode permissions for an existing file, but no file mode has been specified.</p>",
"exception":true
},
"FileModeTypeEnum":{
"type":"string",
"enum":[
"EXECUTABLE",
"NORMAL",
"SYMLINK"
]
},
"FileModes":{
"type":"structure",
"members":{
"source":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The file mode of a file in the source of a merge or pull request.</p>"
},
"destination":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The file mode of a file in the destination of a merge or pull request.</p>"
},
"base":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The file mode of a file in the base of a merge or pull request.</p>"
}
},
"documentation":"<p>Information about file modes in a merge or pull request.</p>"
},
"FileNameConflictsWithDirectoryNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>A file cannot be added to the repository because the specified file name has the same name as a directory in this repository. Either provide another name for the file, or add the file in a directory that does not match the file name.</p>",
"exception":true
},
"FilePathConflictsWithSubmodulePathException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because a specified file path points to a submodule. Verify that the destination files have valid file paths that do not point to a submodule.</p>",
"exception":true
},
"FilePaths":{
"type":"list",
"member":{"shape":"Path"}
},
"FileSize":{"type":"long"},
"FileSizes":{
"type":"structure",
"members":{
"source":{
"shape":"FileSize",
"documentation":"<p>The size of a file in the source of a merge or pull request.</p>"
},
"destination":{
"shape":"FileSize",
"documentation":"<p>The size of a file in the destination of a merge or pull request.</p>"
},
"base":{
"shape":"FileSize",
"documentation":"<p>The size of a file in the base of a merge or pull request.</p>"
}
},
"documentation":"<p>Information about the size of files in a merge or pull request.</p>"
},
"FileTooLargeException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html\">AWS CodeCommit User Guide</a>.</p>",
"exception":true
},
"FilesMetadata":{
"type":"list",
"member":{"shape":"FileMetadata"}
},
"Folder":{
"type":"structure",
"members":{
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The full SHA-1 pointer of the tree information for the commit that contains the folder.</p>"
},
"absolutePath":{
"shape":"Path",
"documentation":"<p>The fully-qualified path of the folder in the repository.</p>"
},
"relativePath":{
"shape":"Path",
"documentation":"<p>The relative path of the specified folder from the folder where the query originated.</p>"
}
},
"documentation":"<p>Returns information about a folder in a repository.</p>"
},
"FolderContentSizeLimitExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because at least one of the overall changes in the commit results in a folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes, or split the changes across multiple folders.</p>",
"exception":true
},
"FolderDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified folder does not exist. Either the folder name is not correct, or you did not provide the full path to the folder.</p>",
"exception":true
},
"FolderList":{
"type":"list",
"member":{"shape":"Folder"}
},
"GetBlobInput":{
"type":"structure",
"required":[
"repositoryName",
"blobId"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the blob.</p>"
},
"blobId":{
"shape":"ObjectId",
"documentation":"<p>The ID of the blob, which is its SHA-1 pointer.</p>"
}
},
"documentation":"<p>Represents the input of a get blob operation.</p>"
},
"GetBlobOutput":{
"type":"structure",
"required":["content"],
"members":{
"content":{
"shape":"blob",
"documentation":"<p>The content of the blob, usually a file.</p>"
}
},
"documentation":"<p>Represents the output of a get blob operation.</p>"
},
"GetBranchInput":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the branch for which you want to retrieve information.</p>"
},
"branchName":{
"shape":"BranchName",
"documentation":"<p>The name of the branch for which you want to retrieve information.</p>"
}
},
"documentation":"<p>Represents the input of a get branch operation.</p>"
},
"GetBranchOutput":{
"type":"structure",
"members":{
"branch":{
"shape":"BranchInfo",
"documentation":"<p>The name of the branch.</p>"
}
},
"documentation":"<p>Represents the output of a get branch operation.</p>"
},
"GetCommentInput":{
"type":"structure",
"required":["commentId"],
"members":{
"commentId":{
"shape":"CommentId",
"documentation":"<p>The unique, system-generated ID of the comment. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.</p>"
}
}
},
"GetCommentOutput":{
"type":"structure",
"members":{
"comment":{
"shape":"Comment",
"documentation":"<p>The contents of the comment.</p>"
}
}
},
"GetCommentsForComparedCommitInput":{
"type":"structure",
"required":[
"repositoryName",
"afterCommitId"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to compare commits.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>To establish the directionality of the comparison, the full commit ID of the 'before' commit.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>To establish the directionality of the comparison, the full commit ID of the 'after' commit.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results. </p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>A non-negative integer used to limit the number of returned results. The default is 100 comments, and is configurable up to 500.</p>"
}
}
},
"GetCommentsForComparedCommitOutput":{
"type":"structure",
"members":{
"commentsForComparedCommitData":{
"shape":"CommentsForComparedCommitData",
"documentation":"<p>A list of comment objects on the compared commit.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
}
}
},
"GetCommentsForPullRequestInput":{
"type":"structure",
"required":["pullRequestId"],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the pull request.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>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.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>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.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>A 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.</p>"
}
}
},
"GetCommentsForPullRequestOutput":{
"type":"structure",
"members":{
"commentsForPullRequestData":{
"shape":"CommentsForPullRequestData",
"documentation":"<p>An array of comment objects on the pull request.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
}
}
},
"GetCommitInput":{
"type":"structure",
"required":[
"repositoryName",
"commitId"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository to which the commit was made.</p>"
},
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID. Commit IDs are the full SHA of the commit.</p>"
}
},
"documentation":"<p>Represents the input of a get commit operation.</p>"
},
"GetCommitOutput":{
"type":"structure",
"required":["commit"],
"members":{
"commit":{
"shape":"Commit",
"documentation":"<p>A commit data type object that contains information about the specified commit.</p>"
}
},
"documentation":"<p>Represents the output of a get commit operation.</p>"
},
"GetDifferencesInput":{
"type":"structure",
"required":[
"repositoryName",
"afterCommitSpecifier"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to get differences.</p>"
},
"beforeCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>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 prior to the <code>afterCommitSpecifier</code> value will be shown. If you do not use <code>beforeCommitSpecifier</code> in your request, consider limiting the results with <code>maxResults</code>.</p>"
},
"afterCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit.</p>"
},
"beforePath":{
"shape":"Path",
"documentation":"<p>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 <code>beforePath</code> and <code>afterPath</code> are not specified, differences will be shown for all paths.</p>"
},
"afterPath":{
"shape":"Path",
"documentation":"<p>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 will be shown for all paths.</p>"
},
"MaxResults":{
"shape":"Limit",
"documentation":"<p>A non-negative integer used to limit the number of returned results.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
}
}
},
"GetDifferencesOutput":{
"type":"structure",
"members":{
"differences":{
"shape":"DifferenceList",
"documentation":"<p>A differences data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
}
}
},
"GetFileInput":{
"type":"structure",
"required":[
"repositoryName",
"filePath"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the file.</p>"
},
"commitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The fully-quaified reference that identifies the commit that contains the file. For example, you could specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/master. If none is provided, then the head commit will be used.</p>"
},
"filePath":{
"shape":"Path",
"documentation":"<p>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.</p>"
}
}
},
"GetFileOutput":{
"type":"structure",
"required":[
"commitId",
"blobId",
"filePath",
"fileMode",
"fileSize",
"fileContent"
],
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The full commit ID of the commit that contains the content returned by GetFile.</p>"
},
"blobId":{
"shape":"ObjectId",
"documentation":"<p>The blob ID of the object that represents the file content.</p>"
},
"filePath":{
"shape":"Path",
"documentation":"<p>The fully qualified path to the specified file. This returns the name and extension of the file.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.</p> <note> <p>The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See below for a full list of supported return values.</p> </note>"
},
"fileSize":{
"shape":"ObjectSize",
"documentation":"<p>The size of the contents of the file, in bytes.</p>"
},
"fileContent":{
"shape":"FileContent",
"documentation":"<p>The base-64 encoded binary data object that represents the content of the file.</p>"
}
}
},
"GetFolderInput":{
"type":"structure",
"required":[
"repositoryName",
"folderPath"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository.</p>"
},
"commitSpecifier":{
"shape":"CommitName",
"documentation":"<p>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 will be returned as it exists in the HEAD commit.</p>"
},
"folderPath":{
"shape":"Path",
"documentation":"<p>The fully-qualified path to the folder whose contents will be 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. </p>"
}
}
},
"GetFolderOutput":{
"type":"structure",
"required":[
"commitId",
"folderPath"
],
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The full commit ID used as a reference for which version of the folder content is returned.</p>"
},
"folderPath":{
"shape":"Path",
"documentation":"<p>The fully-qualified path of the folder whose contents are returned.</p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The full SHA-1 pointer of the tree information for the commit that contains the folder.</p>"
},
"subFolders":{
"shape":"FolderList",
"documentation":"<p>The list of folders that exist beneath the specified folder, if any.</p>"
},
"files":{
"shape":"FileList",
"documentation":"<p>The list of files that exist in the specified folder, if any.</p>"
},
"symbolicLinks":{
"shape":"SymbolicLinkList",
"documentation":"<p>The list of symbolic links to other files and folders that exist in the specified folder, if any.</p>"
},
"subModules":{
"shape":"SubModuleList",
"documentation":"<p>The list of submodules that exist in the specified folder, if any.</p>"
}
}
},
"GetMergeCommitInput":{
"type":"structure",
"required":[
"repositoryName",
"sourceCommitSpecifier",
"destinationCommitSpecifier"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the merge commit about which you want to get information.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
}
}
},
"GetMergeCommitOutput":{
"type":"structure",
"members":{
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>"
},
"destinationCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>"
},
"baseCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the merge base.</p>"
},
"mergedCommitId":{
"shape":"ObjectId",
"documentation":"<p>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, no merge commit exists.</p>"
}
}
},
"GetMergeConflictsInput":{
"type":"structure",
"required":[
"repositoryName",
"destinationCommitSpecifier",
"sourceCommitSpecifier",
"mergeOption"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was created.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"mergeOption":{
"shape":"MergeOptionTypeEnum",
"documentation":"<p>The merge option or strategy you want to use to merge the code. </p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"maxConflictFiles":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of files to include in the output.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
}
}
},
"GetMergeConflictsOutput":{
"type":"structure",
"required":[
"mergeable",
"destinationCommitId",
"sourceCommitId",
"conflictMetadataList"
],
"members":{
"mergeable":{
"shape":"IsMergeable",
"documentation":"<p>A Boolean value that indicates whether the code is mergeable by the specified merge option.</p>"
},
"destinationCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>"
},
"baseCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the merge base.</p>"
},
"conflictMetadataList":{
"shape":"ConflictMetadataList",
"documentation":"<p>A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list will always be empty.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that can be used in a request to return the next batch of the results.</p>"
}
}
},
"GetMergeOptionsInput":{
"type":"structure",
"required":[
"repositoryName",
"sourceCommitSpecifier",
"destinationCommitSpecifier"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the commits about which you want to get merge options.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
}
}
},
"GetMergeOptionsOutput":{
"type":"structure",
"required":[
"mergeOptions",
"sourceCommitId",
"destinationCommitId",
"baseCommitId"
],
"members":{
"mergeOptions":{
"shape":"MergeOptions",
"documentation":"<p>The merge option or strategy used to merge the code.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>"
},
"destinationCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>"
},
"baseCommitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the merge base.</p>"
}
}
},
"GetPullRequestInput":{
"type":"structure",
"required":["pullRequestId"],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
}
}
},
"GetPullRequestOutput":{
"type":"structure",
"required":["pullRequest"],
"members":{
"pullRequest":{
"shape":"PullRequest",
"documentation":"<p>Information about the specified pull request.</p>"
}
}
},
"GetRepositoryInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository to get information about.</p>"
}
},
"documentation":"<p>Represents the input of a get repository operation.</p>"
},
"GetRepositoryOutput":{
"type":"structure",
"members":{
"repositoryMetadata":{
"shape":"RepositoryMetadata",
"documentation":"<p>Information about the repository.</p>"
}
},
"documentation":"<p>Represents the output of a get repository operation.</p>"
},
"GetRepositoryTriggersInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository for which the trigger is configured.</p>"
}
},
"documentation":"<p>Represents the input of a get repository triggers operation.</p>"
},
"GetRepositoryTriggersOutput":{
"type":"structure",
"members":{
"configurationId":{
"shape":"RepositoryTriggersConfigurationId",
"documentation":"<p>The system-generated unique ID for the trigger.</p>"
},
"triggers":{
"shape":"RepositoryTriggersList",
"documentation":"<p>The JSON block of configuration information for each trigger.</p>"
}
},
"documentation":"<p>Represents the output of a get repository triggers operation.</p>"
},
"HunkContent":{"type":"string"},
"IdempotencyParameterMismatchException":{
"type":"structure",
"members":{
},
"documentation":"<p>The client request token is not valid. Either the token is not in a valid format, or the token has been used in a previous request and cannot be re-used.</p>",
"exception":true
},
"InvalidActorArnException":{
"type":"structure",
"members":{
},
"documentation":"<p>The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the user who initiated the change for the pull request, and then try again.</p>",
"exception":true
},
"InvalidAuthorArnException":{
"type":"structure",
"members":{
},
"documentation":"<p>The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the author of the pull request, and then try again.</p>",
"exception":true
},
"InvalidBlobIdException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified blob is not valid.</p>",
"exception":true
},
"InvalidBranchNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified reference name is not valid.</p>",
"exception":true
},
"InvalidClientRequestTokenException":{
"type":"structure",
"members":{
},
"documentation":"<p>The client request token is not valid.</p>",
"exception":true
},
"InvalidCommentIdException":{
"type":"structure",
"members":{
},
"documentation":"<p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>",
"exception":true
},
"InvalidCommitException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified commit is not valid.</p>",
"exception":true
},
"InvalidCommitIdException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified commit ID is not valid.</p>",
"exception":true
},
"InvalidConflictDetailLevelException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified conflict detail level is not valid.</p>",
"exception":true
},
"InvalidConflictResolutionException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified conflict resolution list is not valid.</p>",
"exception":true
},
"InvalidConflictResolutionStrategyException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified conflict resolution strategy is not valid.</p>",
"exception":true
},
"InvalidContinuationTokenException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified continuation token is not valid.</p>",
"exception":true
},
"InvalidDeletionParameterException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified deletion parameter is not valid.</p>",
"exception":true
},
"InvalidDescriptionException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request description is not valid. Descriptions are limited to 1,000 characters in length.</p>",
"exception":true
},
"InvalidDestinationCommitSpecifierException":{
"type":"structure",
"members":{
},
"documentation":"<p>The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID. </p>",
"exception":true
},
"InvalidEmailException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters allowed for an email address.</p>",
"exception":true
},
"InvalidFileLocationException":{
"type":"structure",
"members":{
},
"documentation":"<p>The location of the file is not valid. Make sure that you include the extension of the file as well as the file name.</p>",
"exception":true
},
"InvalidFileModeException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified file mode permission is not valid. For a list of valid file mode permissions, see <a>PutFile</a>. </p>",
"exception":true
},
"InvalidFilePositionException":{
"type":"structure",
"members":{
},
"documentation":"<p>The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.</p>",
"exception":true
},
"InvalidMaxConflictFilesException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified value for the number of conflict files to return is not valid.</p>",
"exception":true
},
"InvalidMaxMergeHunksException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified value for the number of merge hunks to return is not valid.</p>",
"exception":true
},
"InvalidMaxResultsException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified number of maximum results is not valid.</p>",
"exception":true
},
"InvalidMergeOptionException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified merge option is not valid for this operation. Not all merge strategies are supported for all operations.</p>",
"exception":true
},
"InvalidOrderException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified sort order is not valid.</p>",
"exception":true
},
"InvalidParentCommitIdException":{
"type":"structure",
"members":{
},
"documentation":"<p>The parent commit ID is not valid. The commit ID cannot be empty, and must match the head commit ID for the branch of the repository where you want to add or update a file.</p>",
"exception":true
},
"InvalidPathException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified path is not valid.</p>",
"exception":true
},
"InvalidPullRequestEventTypeException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request event type is not valid. </p>",
"exception":true
},
"InvalidPullRequestIdException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.</p>",
"exception":true
},
"InvalidPullRequestStatusException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request status is not valid. The only valid values are <code>OPEN</code> and <code>CLOSED</code>.</p>",
"exception":true
},
"InvalidPullRequestStatusUpdateException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request status update is not valid. The only valid update is from <code>OPEN</code> to <code>CLOSED</code>.</p>",
"exception":true
},
"InvalidReferenceNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified reference name format is not valid. Reference names must conform to the Git references format, for example refs/heads/master. For more information, see <a href=\"https://git-scm.com/book/en/v2/Git-Internals-Git-References\">Git Internals - Git References</a> or consult your Git documentation.</p>",
"exception":true
},
"InvalidRelativeFileVersionEnumException":{
"type":"structure",
"members":{
},
"documentation":"<p>Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version.</p>",
"exception":true
},
"InvalidReplacementContentException":{
"type":"structure",
"members":{
},
"documentation":"<p>Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing. </p>",
"exception":true
},
"InvalidReplacementTypeException":{
"type":"structure",
"members":{
},
"documentation":"<p>Automerge was specified for resolving the conflict, but the specified replacement type is not valid.</p>",
"exception":true
},
"InvalidRepositoryDescriptionException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified repository description is not valid.</p>",
"exception":true
},
"InvalidRepositoryNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>At least one specified repository name is not valid.</p> <note> <p>This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.</p> </note>",
"exception":true
},
"InvalidRepositoryTriggerBranchNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>One or more branch names specified for the trigger is not valid.</p>",
"exception":true
},
"InvalidRepositoryTriggerCustomDataException":{
"type":"structure",
"members":{
},
"documentation":"<p>The custom data provided for the trigger is not valid.</p>",
"exception":true
},
"InvalidRepositoryTriggerDestinationArnException":{
"type":"structure",
"members":{
},
"documentation":"<p>The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.</p>",
"exception":true
},
"InvalidRepositoryTriggerEventsException":{
"type":"structure",
"members":{
},
"documentation":"<p>One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.</p>",
"exception":true
},
"InvalidRepositoryTriggerNameException":{
"type":"structure",
"members":{
},
"documentation":"<p>The name of the trigger is not valid.</p>",
"exception":true
},
"InvalidRepositoryTriggerRegionException":{
"type":"structure",
"members":{
},
"documentation":"<p>The region for the trigger target does not match the region for the repository. Triggers must be created in the same region as the target for the trigger.</p>",
"exception":true
},
"InvalidResourceArnException":{
"type":"structure",
"members":{
},
"documentation":"<p>The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the AWS CodeCommit User Guide.</p>",
"exception":true
},
"InvalidSortByException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified sort by value is not valid.</p>",
"exception":true
},
"InvalidSourceCommitSpecifierException":{
"type":"structure",
"members":{
},
"documentation":"<p>The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.</p>",
"exception":true
},
"InvalidSystemTagUsageException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified tag is not valid. Key names cannot be prefixed with aws:.</p>",
"exception":true
},
"InvalidTagKeysListException":{
"type":"structure",
"members":{
},
"documentation":"<p>The list of tags is not valid.</p>",
"exception":true
},
"InvalidTagsMapException":{
"type":"structure",
"members":{
},
"documentation":"<p>The map of tags is not valid.</p>",
"exception":true
},
"InvalidTargetBranchException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified target branch is not valid.</p>",
"exception":true
},
"InvalidTargetException":{
"type":"structure",
"members":{
},
"documentation":"<p>The target for the pull request is not valid. A target must contain the full values for the repository name, source branch, and destination branch for the pull request.</p>",
"exception":true
},
"InvalidTargetsException":{
"type":"structure",
"members":{
},
"documentation":"<p>The targets for the pull request is not valid or not in a valid format. Targets are a list of target objects. Each target object must contain the full values for the repository name, source branch, and destination branch for a pull request.</p>",
"exception":true
},
"InvalidTitleException":{
"type":"structure",
"members":{
},
"documentation":"<p>The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.</p>",
"exception":true
},
"IsBinaryFile":{
"type":"structure",
"members":{
"source":{
"shape":"CapitalBoolean",
"documentation":"<p>The binary or non-binary status of file in the source of a merge or pull request.</p>"
},
"destination":{
"shape":"CapitalBoolean",
"documentation":"<p>The binary or non-binary status of a file in the destination of a merge or pull request.</p>"
},
"base":{
"shape":"CapitalBoolean",
"documentation":"<p>The binary or non-binary status of a file in the base of a merge or pull request.</p>"
}
},
"documentation":"<p>Information about whether a file is binary or textual in a merge or pull request operation.</p>"
},
"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"},
"LastModifiedDate":{"type":"timestamp"},
"Limit":{
"type":"integer",
"box":true
},
"LineNumber":{"type":"integer"},
"ListBranchesInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the branches.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that allows the operation to batch the results.</p>"
}
},
"documentation":"<p>Represents the input of a list branches operation.</p>"
},
"ListBranchesOutput":{
"type":"structure",
"members":{
"branches":{
"shape":"BranchNameList",
"documentation":"<p>The list of branch names.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that returns the batch of the results.</p>"
}
},
"documentation":"<p>Represents the output of a list branches operation.</p>"
},
"ListPullRequestsInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository for which you want to list pull requests.</p>"
},
"authorArn":{
"shape":"Arn",
"documentation":"<p>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.</p>"
},
"pullRequestStatus":{
"shape":"PullRequestStatusEnum",
"documentation":"<p>Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>A non-negative integer used to limit the number of returned results.</p>"
}
}
},
"ListPullRequestsOutput":{
"type":"structure",
"required":["pullRequestIds"],
"members":{
"pullRequestIds":{
"shape":"PullRequestIdList",
"documentation":"<p>The system-generated IDs of the pull requests.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
}
}
},
"ListRepositoriesInput":{
"type":"structure",
"members":{
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.</p>"
},
"sortBy":{
"shape":"SortByEnum",
"documentation":"<p>The criteria used to sort the results of a list repositories operation.</p>"
},
"order":{
"shape":"OrderEnum",
"documentation":"<p>The order in which to sort the results of a list repositories operation.</p>"
}
},
"documentation":"<p>Represents the input of a list repositories operation.</p>"
},
"ListRepositoriesOutput":{
"type":"structure",
"members":{
"repositories":{
"shape":"RepositoryNameIdPairList",
"documentation":"<p>Lists the repositories called by the list repositories operation.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.</p>"
}
},
"documentation":"<p>Represents the output of a list repositories operation.</p>"
},
"ListTagsForResourceInput":{
"type":"structure",
"required":["resourceArn"],
"members":{
"resourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that when provided in a request, returns the next batch of the results.</p>"
}
}
},
"ListTagsForResourceOutput":{
"type":"structure",
"members":{
"tags":{
"shape":"TagsMap",
"documentation":"<p>A list of tag key and value pairs associated with the specified resource.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>An enumeration token that allows the operation to batch the next results of the operation.</p>"
}
}
},
"Location":{
"type":"structure",
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The name of the file being compared, including its extension and subdirectory, if any.</p>"
},
"filePosition":{
"shape":"Position",
"documentation":"<p>The position of a change within a compared file, in line number format.</p>"
},
"relativeFileVersion":{
"shape":"RelativeFileVersionEnum",
"documentation":"<p>In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that comparison.</p>"
}
},
"documentation":"<p>Returns information about the location of a change or comment in the comparison between two commits or a pull request.</p>"
},
"ManualMergeRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>",
"exception":true
},
"MaxResults":{"type":"integer"},
"MaximumBranchesExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of branches for the trigger was exceeded.</p>",
"exception":true
},
"MaximumConflictResolutionEntriesExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of allowed conflict resolution entries was exceeded.</p>",
"exception":true
},
"MaximumFileContentToLoadExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of files to load exceeds the allowed limit.</p>",
"exception":true
},
"MaximumFileEntriesExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of specified files to change as part of this commit exceeds the maximum number of files that can be changed in a single commit. Consider using a Git client for these changes.</p>",
"exception":true
},
"MaximumItemsToCompareExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The maximum number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>",
"exception":true
},
"MaximumOpenPullRequestsExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>You cannot create the pull request because the repository has too many open pull requests. The maximum number of open pull requests for a repository is 1,000. Close one or more open pull requests, and then try again.</p>",
"exception":true
},
"MaximumRepositoryNamesExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The maximum number of allowed repository names was exceeded. Currently, this number is 25.</p>",
"exception":true
},
"MaximumRepositoryTriggersExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The number of triggers allowed for the repository was exceeded.</p>",
"exception":true
},
"MergeBranchesByFastForwardInput":{
"type":"structure",
"required":[
"repositoryName",
"sourceCommitSpecifier",
"destinationCommitSpecifier"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to merge two branches.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"targetBranch":{
"shape":"BranchName",
"documentation":"<p>The branch where the merge will be applied.</p>"
}
}
},
"MergeBranchesByFastForwardOutput":{
"type":"structure",
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the merge in the destination or target branch.</p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The tree ID of the merge in the destination or target branch.</p>"
}
}
},
"MergeBranchesBySquashInput":{
"type":"structure",
"required":[
"repositoryName",
"sourceCommitSpecifier",
"destinationCommitSpecifier"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to merge two branches.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"targetBranch":{
"shape":"BranchName",
"documentation":"<p>The branch where the merge will be applied. </p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
},
"authorName":{
"shape":"Name",
"documentation":"<p>The name of the author who created the commit. This information will be used as both the author and committer for the commit.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>The email address of the person merging the branches. This information will be used in the commit information for the merge.</p>"
},
"commitMessage":{
"shape":"Message",
"documentation":"<p>The commit message for the merge.</p>"
},
"keepEmptyFolders":{
"shape":"KeepEmptyFolders",
"documentation":"<p>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 will be created for empty folders. The default is false.</p>"
},
"conflictResolution":{
"shape":"ConflictResolution",
"documentation":"<p>A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.</p>"
}
}
},
"MergeBranchesBySquashOutput":{
"type":"structure",
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the merge in the destination or target branch.</p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The tree ID of the merge in the destination or target branch.</p>"
}
}
},
"MergeBranchesByThreeWayInput":{
"type":"structure",
"required":[
"repositoryName",
"sourceCommitSpecifier",
"destinationCommitSpecifier"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to merge two branches.</p>"
},
"sourceCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"destinationCommitSpecifier":{
"shape":"CommitName",
"documentation":"<p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.</p>"
},
"targetBranch":{
"shape":"BranchName",
"documentation":"<p>The branch where the merge will be applied. </p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
},
"authorName":{
"shape":"Name",
"documentation":"<p>The name of the author who created the commit. This information will be used as both the author and committer for the commit.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>The email address of the person merging the branches. This information will be used in the commit information for the merge.</p>"
},
"commitMessage":{
"shape":"Message",
"documentation":"<p>The commit message to include in the commit information for the merge.</p>"
},
"keepEmptyFolders":{
"shape":"KeepEmptyFolders",
"documentation":"<p>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 will be created for empty folders. The default is false.</p>"
},
"conflictResolution":{
"shape":"ConflictResolution",
"documentation":"<p>A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.</p>"
}
}
},
"MergeBranchesByThreeWayOutput":{
"type":"structure",
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID of the merge in the destination or target branch.</p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The tree ID of the merge in the destination or target branch.</p>"
}
}
},
"MergeHunk":{
"type":"structure",
"members":{
"isConflict":{
"shape":"IsHunkConflict",
"documentation":"<p>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. This will be true when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge will not set this to be true.</p>"
},
"source":{
"shape":"MergeHunkDetail",
"documentation":"<p>Information about the merge hunk in the source of a merge or pull request.</p>"
},
"destination":{
"shape":"MergeHunkDetail",
"documentation":"<p>Information about the merge hunk in the destination of a merge or pull request.</p>"
},
"base":{
"shape":"MergeHunkDetail",
"documentation":"<p>Information about the merge hunk in the base of a merge or pull request.</p>"
}
},
"documentation":"<p>Information about merge hunks in a merge or pull request operation.</p>"
},
"MergeHunkDetail":{
"type":"structure",
"members":{
"startLine":{
"shape":"LineNumber",
"documentation":"<p>The start position of the hunk in the merge result.</p>"
},
"endLine":{
"shape":"LineNumber",
"documentation":"<p>The end position of the hunk in the merge result.</p>"
},
"hunkContent":{
"shape":"HunkContent",
"documentation":"<p>The base-64 encoded content of the hunk merged region that might or might not contain a conflict.</p>"
}
},
"documentation":"<p>Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.</p>"
},
"MergeHunks":{
"type":"list",
"member":{"shape":"MergeHunk"}
},
"MergeMetadata":{
"type":"structure",
"members":{
"isMerged":{
"shape":"IsMerged",
"documentation":"<p>A Boolean value indicating whether the merge has been made.</p>"
},
"mergedBy":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user who merged the branches.</p>"
},
"mergeCommitId":{
"shape":"CommitId",
"documentation":"<p>The commit ID for the merge commit, if any.</p>"
},
"mergeOption":{
"shape":"MergeOptionTypeEnum",
"documentation":"<p>The merge strategy used in the merge.</p>"
}
},
"documentation":"<p>Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.</p>"
},
"MergeOperations":{
"type":"structure",
"members":{
"source":{
"shape":"ChangeTypeEnum",
"documentation":"<p>The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.</p>"
},
"destination":{
"shape":"ChangeTypeEnum",
"documentation":"<p>The operation on a file in the destination of a merge or pull request.</p>"
}
},
"documentation":"<p>Information about the file operation conflicts in a merge operation.</p>"
},
"MergeOptionRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A merge option or stategy is required, and none was provided.</p>",
"exception":true
},
"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":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was created.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>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.</p>"
}
}
},
"MergePullRequestByFastForwardOutput":{
"type":"structure",
"members":{
"pullRequest":{
"shape":"PullRequest",
"documentation":"<p>Information about the specified pull request, including information about the merge.</p>"
}
}
},
"MergePullRequestBySquashInput":{
"type":"structure",
"required":[
"pullRequestId",
"repositoryName"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was created.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>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.</p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
},
"commitMessage":{
"shape":"Message",
"documentation":"<p>The commit message to include in the commit information for the merge.</p>"
},
"authorName":{
"shape":"Name",
"documentation":"<p>The name of the author who created the commit. This information will be used as both the author and committer for the commit.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>The email address of the person merging the branches. This information will be used in the commit information for the merge.</p>"
},
"keepEmptyFolders":{
"shape":"KeepEmptyFolders",
"documentation":"<p>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 will be created for empty folders. The default is false.</p>"
},
"conflictResolution":{
"shape":"ConflictResolution",
"documentation":"<p>A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.</p>"
}
}
},
"MergePullRequestBySquashOutput":{
"type":"structure",
"members":{
"pullRequest":{"shape":"PullRequest"}
}
},
"MergePullRequestByThreeWayInput":{
"type":"structure",
"required":[
"pullRequestId",
"repositoryName"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was created.</p>"
},
"sourceCommitId":{
"shape":"ObjectId",
"documentation":"<p>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.</p>"
},
"conflictDetailLevel":{
"shape":"ConflictDetailLevelTypeEnum",
"documentation":"<p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.</p>"
},
"conflictResolutionStrategy":{
"shape":"ConflictResolutionStrategyTypeEnum",
"documentation":"<p>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 will be successful.</p>"
},
"commitMessage":{
"shape":"Message",
"documentation":"<p>The commit message to include in the commit information for the merge.</p>"
},
"authorName":{
"shape":"Name",
"documentation":"<p>The name of the author who created the commit. This information will be used as both the author and committer for the commit.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>The email address of the person merging the branches. This information will be used in the commit information for the merge.</p>"
},
"keepEmptyFolders":{
"shape":"KeepEmptyFolders",
"documentation":"<p>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 will be created for empty folders. The default is false.</p>"
},
"conflictResolution":{
"shape":"ConflictResolution",
"documentation":"<p>A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.</p>"
}
}
},
"MergePullRequestByThreeWayOutput":{
"type":"structure",
"members":{
"pullRequest":{"shape":"PullRequest"}
}
},
"Message":{"type":"string"},
"Mode":{"type":"string"},
"MultipleConflictResolutionEntriesException":{
"type":"structure",
"members":{
},
"documentation":"<p>More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.</p>",
"exception":true
},
"MultipleRepositoriesInPullRequestException":{
"type":"structure",
"members":{
},
"documentation":"<p>You cannot include more than one repository in a pull request. Make sure you have specified only one repository name in your request, and then try again.</p>",
"exception":true
},
"Name":{"type":"string"},
"NameLengthExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The user name is not valid because it has exceeded the character limit for author names. </p>",
"exception":true
},
"NextToken":{"type":"string"},
"NoChangeException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because no changes will be made to the repository as a result of this commit. A commit must contain at least one change.</p>",
"exception":true
},
"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":"<p>The type of the object in the source branch.</p>"
},
"destination":{
"shape":"ObjectTypeEnum",
"documentation":"<p>The type of the object in the destination branch.</p>"
},
"base":{
"shape":"ObjectTypeEnum",
"documentation":"<p>The type of the object in the base commit of the merge.</p>"
}
},
"documentation":"<p>Information about the type of an object in a merge operation.</p>"
},
"OrderEnum":{
"type":"string",
"enum":[
"ascending",
"descending"
]
},
"ParentCommitDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The parent commit ID is not valid because it does not exist. The specified parent commit ID does not exist in the specified branch of the repository.</p>",
"exception":true
},
"ParentCommitIdOutdatedException":{
"type":"structure",
"members":{
},
"documentation":"<p>The file could not be added because the provided parent commit ID is not the current tip of the specified branch. To view the full commit ID of the current head of the branch, use <a>GetBranch</a>.</p>",
"exception":true
},
"ParentCommitIdRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A parent commit ID is required. To view the full commit ID of a branch in a repository, use <a>GetBranch</a> or a Git command (for example, git pull or git log).</p>",
"exception":true
},
"ParentList":{
"type":"list",
"member":{"shape":"ObjectId"}
},
"Path":{"type":"string"},
"PathDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified path does not exist.</p>",
"exception":true
},
"PathRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The folderPath for a location cannot be null.</p>",
"exception":true
},
"Position":{"type":"long"},
"PostCommentForComparedCommitInput":{
"type":"structure",
"required":[
"repositoryName",
"afterCommitId",
"content"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to post a comment on the comparison between commits.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>To establish the directionality of the comparison, the full commit ID of the 'before' commit.</p> <note> <p>This is required for commenting on any commit unless that commit is the initial commit.</p> </note>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>To establish the directionality of the comparison, the full commit ID of the 'after' commit.</p>"
},
"location":{
"shape":"Location",
"documentation":"<p>The location of the comparison where you want to comment.</p>"
},
"content":{
"shape":"Content",
"documentation":"<p>The content of the comment you want to make.</p>"
},
"clientRequestToken":{
"shape":"ClientRequestToken",
"documentation":"<p>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 will return information about the initial request that used that token.</p>",
"idempotencyToken":true
}
}
},
"PostCommentForComparedCommitOutput":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you posted a comment on the comparison between commits.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>In the directionality you established, the full commit ID of the 'before' commit.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>In the directionality you established, the full commit ID of the 'after' commit.</p>"
},
"beforeBlobId":{
"shape":"ObjectId",
"documentation":"<p>In the directionality you established, the blob ID of the 'before' blob.</p>"
},
"afterBlobId":{
"shape":"ObjectId",
"documentation":"<p>In the directionality you established, the blob ID of the 'after' blob.</p>"
},
"location":{
"shape":"Location",
"documentation":"<p>The location of the comment in the comparison between the two commits.</p>"
},
"comment":{
"shape":"Comment",
"documentation":"<p>The content of the comment you posted.</p>"
}
}
},
"PostCommentForPullRequestInput":{
"type":"structure",
"required":[
"pullRequestId",
"repositoryName",
"beforeCommitId",
"afterCommitId",
"content"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to post a comment on a pull request.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>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.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>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.</p>"
},
"location":{
"shape":"Location",
"documentation":"<p>The location of the change where you want to post your comment. If no location is provided, the comment will be posted as a general comment on the pull request difference between the before commit ID and the after commit ID.</p>"
},
"content":{
"shape":"Content",
"documentation":"<p>The content of your comment on the change.</p>"
},
"clientRequestToken":{
"shape":"ClientRequestToken",
"documentation":"<p>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 will return information about the initial request that used that token.</p>",
"idempotencyToken":true
}
}
},
"PostCommentForPullRequestOutput":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you posted a comment on a pull request.</p>"
},
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. </p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>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.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>The full commit ID of the commit in the destination branch where the pull request will be merged.</p>"
},
"beforeBlobId":{
"shape":"ObjectId",
"documentation":"<p>In the directionality of the pull request, the blob ID of the 'before' blob.</p>"
},
"afterBlobId":{
"shape":"ObjectId",
"documentation":"<p>In the directionality of the pull request, the blob ID of the 'after' blob.</p>"
},
"location":{
"shape":"Location",
"documentation":"<p>The location of the change where you posted your comment.</p>"
},
"comment":{
"shape":"Comment",
"documentation":"<p>The content of the comment you posted.</p>"
}
}
},
"PostCommentReplyInput":{
"type":"structure",
"required":[
"inReplyTo",
"content"
],
"members":{
"inReplyTo":{
"shape":"CommentId",
"documentation":"<p>The system-generated ID of the comment to which you want to reply. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.</p>"
},
"clientRequestToken":{
"shape":"ClientRequestToken",
"documentation":"<p>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 will return information about the initial request that used that token.</p>",
"idempotencyToken":true
},
"content":{
"shape":"Content",
"documentation":"<p>The contents of your reply to a comment.</p>"
}
}
},
"PostCommentReplyOutput":{
"type":"structure",
"members":{
"comment":{
"shape":"Comment",
"documentation":"<p>Information about the reply to a comment.</p>"
}
}
},
"PullRequest":{
"type":"structure",
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. </p>"
},
"title":{
"shape":"Title",
"documentation":"<p>The user-defined title of the pull request. This title is displayed in the list of pull requests to other users of the repository.</p>"
},
"description":{
"shape":"Description",
"documentation":"<p>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.</p>"
},
"lastActivityDate":{
"shape":"LastModifiedDate",
"documentation":"<p>The day and time of the last user or system activity on the pull request, in timestamp format.</p>"
},
"creationDate":{
"shape":"CreationDate",
"documentation":"<p>The date and time the pull request was originally created, in timestamp format.</p>"
},
"pullRequestStatus":{
"shape":"PullRequestStatusEnum",
"documentation":"<p>The status of the pull request. Pull request status can only change from <code>OPEN</code> to <code>CLOSED</code>.</p>"
},
"authorArn":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user who created the pull request.</p>"
},
"pullRequestTargets":{
"shape":"PullRequestTargetList",
"documentation":"<p>The targets of the pull request, including the source branch and destination branch for the pull request.</p>"
},
"clientRequestToken":{
"shape":"ClientRequestToken",
"documentation":"<p>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 will return information about the initial request that used that token.</p>"
}
},
"documentation":"<p>Returns information about a pull request.</p>"
},
"PullRequestAlreadyClosedException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request status cannot be updated because it is already closed.</p>",
"exception":true
},
"PullRequestCreatedEventMetadata":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was created.</p>"
},
"sourceCommitId":{
"shape":"CommitId",
"documentation":"<p>The commit ID on the source branch used when the pull request was created.</p>"
},
"destinationCommitId":{
"shape":"CommitId",
"documentation":"<p>The commit ID of the tip of the branch specified as the destination branch when the pull request was created.</p>"
},
"mergeBase":{
"shape":"CommitId",
"documentation":"<p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>"
}
},
"documentation":"<p>Metadata about the pull request that is used when comparing the pull request source with its destination.</p>"
},
"PullRequestDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.</p>",
"exception":true
},
"PullRequestEvent":{
"type":"structure",
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request.</p>"
},
"eventDate":{
"shape":"EventDate",
"documentation":"<p>The day and time of the pull request event, in timestamp format.</p>"
},
"pullRequestEventType":{
"shape":"PullRequestEventType",
"documentation":"<p>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).</p>"
},
"actorArn":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with additional commits or changing the status of a pull request.</p>"
},
"pullRequestCreatedEventMetadata":{
"shape":"PullRequestCreatedEventMetadata",
"documentation":"<p>Information about the source and destination branches for the pull request.</p>"
},
"pullRequestStatusChangedEventMetadata":{
"shape":"PullRequestStatusChangedEventMetadata",
"documentation":"<p>Information about the change in status for the pull request event.</p>"
},
"pullRequestSourceReferenceUpdatedEventMetadata":{
"shape":"PullRequestSourceReferenceUpdatedEventMetadata",
"documentation":"<p>Information about the updated source branch for the pull request event. </p>"
},
"pullRequestMergedStateChangedEventMetadata":{
"shape":"PullRequestMergedStateChangedEventMetadata",
"documentation":"<p>Information about the change in mergability state for the pull request event.</p>"
}
},
"documentation":"<p>Returns information about a pull request event.</p>"
},
"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"
]
},
"PullRequestId":{"type":"string"},
"PullRequestIdList":{
"type":"list",
"member":{"shape":"PullRequestId"}
},
"PullRequestIdRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A pull request ID is required, but none was provided.</p>",
"exception":true
},
"PullRequestMergedStateChangedEventMetadata":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was created.</p>"
},
"destinationReference":{
"shape":"ReferenceName",
"documentation":"<p>The name of the branch that the pull request will be merged into.</p>"
},
"mergeMetadata":{
"shape":"MergeMetadata",
"documentation":"<p>Information about the merge state change event.</p>"
}
},
"documentation":"<p>Returns information about the change in the merge state for a pull request event. </p>"
},
"PullRequestSourceReferenceUpdatedEventMetadata":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where the pull request was updated.</p>"
},
"beforeCommitId":{
"shape":"CommitId",
"documentation":"<p>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.</p>"
},
"afterCommitId":{
"shape":"CommitId",
"documentation":"<p>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.</p>"
},
"mergeBase":{
"shape":"CommitId",
"documentation":"<p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>"
}
},
"documentation":"<p>Information about an update to the source branch of a pull request.</p>"
},
"PullRequestStatusChangedEventMetadata":{
"type":"structure",
"members":{
"pullRequestStatus":{
"shape":"PullRequestStatusEnum",
"documentation":"<p>The changed status of the pull request.</p>"
}
},
"documentation":"<p>Information about a change to the status of a pull request.</p>"
},
"PullRequestStatusEnum":{
"type":"string",
"enum":[
"OPEN",
"CLOSED"
]
},
"PullRequestStatusRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A pull request status is required, but none was provided.</p>",
"exception":true
},
"PullRequestTarget":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the pull request source and destination branches.</p>"
},
"sourceReference":{
"shape":"ReferenceName",
"documentation":"<p>The branch of the repository that contains the changes for the pull request. Also known as the source branch.</p>"
},
"destinationReference":{
"shape":"ReferenceName",
"documentation":"<p>The branch of the repository where the pull request changes will be merged into. Also known as the destination branch. </p>"
},
"destinationCommit":{
"shape":"CommitId",
"documentation":"<p>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.</p>"
},
"sourceCommit":{
"shape":"CommitId",
"documentation":"<p>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 will change to reflect the new tip of the branch.</p>"
},
"mergeBase":{
"shape":"CommitId",
"documentation":"<p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>"
},
"mergeMetadata":{
"shape":"MergeMetadata",
"documentation":"<p>Returns metadata about the state of the merge, including whether the merge has been made.</p>"
}
},
"documentation":"<p>Returns information about a pull request target.</p>"
},
"PullRequestTargetList":{
"type":"list",
"member":{"shape":"PullRequestTarget"}
},
"PutFileEntries":{
"type":"list",
"member":{"shape":"PutFileEntry"}
},
"PutFileEntry":{
"type":"structure",
"required":["filePath"],
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The full path to the file in the repository, including the name of the file.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>"
},
"fileContent":{
"shape":"FileContent",
"documentation":"<p>The content of the file, if a source file is not specified.</p>"
},
"sourceFile":{
"shape":"SourceFileSpecifier",
"documentation":"<p>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.</p>"
}
},
"documentation":"<p>Information about a file that will be added or updated as part of a commit.</p>"
},
"PutFileEntryConflictException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because one or more files specified in the commit reference both a file and a folder.</p>",
"exception":true
},
"PutFileInput":{
"type":"structure",
"required":[
"repositoryName",
"branchName",
"fileContent",
"filePath"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to add or update the file.</p>"
},
"branchName":{
"shape":"BranchName",
"documentation":"<p>The name of the branch where you want to add or update the file. If this is an empty repository, this branch will be created.</p>"
},
"fileContent":{
"shape":"FileContent",
"documentation":"<p>The content of the file, in binary object format. </p>"
},
"filePath":{
"shape":"Path",
"documentation":"<p>The name of the file you want to add or update, including the relative path to the file in the repository.</p> <note> <p>If the path does not currently exist in the repository, the path will be created as part of adding the file.</p> </note>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The file mode permissions of the blob. Valid file mode permissions are listed below.</p>"
},
"parentCommitId":{
"shape":"CommitId",
"documentation":"<p>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. </p> <p>The commit ID must match the ID of the head commit at the time of the operation, or an error will occur, and the file will not be added or updated.</p>"
},
"commitMessage":{
"shape":"Message",
"documentation":"<p>A message about why this file was added or updated. While optional, adding a message is strongly encouraged in order to provide a more useful commit history for your repository.</p>"
},
"name":{
"shape":"Name",
"documentation":"<p>The name of the person adding or updating the file. While optional, adding a name is strongly encouraged in order to provide a more useful commit history for your repository.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>An email address for the person adding or updating the file.</p>"
}
}
},
"PutFileOutput":{
"type":"structure",
"required":[
"commitId",
"blobId",
"treeId"
],
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The full SHA of the commit that contains this file change.</p>"
},
"blobId":{
"shape":"ObjectId",
"documentation":"<p>The ID of the blob, which is its SHA-1 pointer.</p>"
},
"treeId":{
"shape":"ObjectId",
"documentation":"<p>The full SHA-1 pointer of the tree information for the commit that contains this file change.</p>"
}
}
},
"PutRepositoryTriggersInput":{
"type":"structure",
"required":[
"repositoryName",
"triggers"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository where you want to create or update the trigger.</p>"
},
"triggers":{
"shape":"RepositoryTriggersList",
"documentation":"<p>The JSON block of configuration information for each trigger.</p>"
}
},
"documentation":"<p>Represents the input ofa put repository triggers operation.</p>"
},
"PutRepositoryTriggersOutput":{
"type":"structure",
"members":{
"configurationId":{
"shape":"RepositoryTriggersConfigurationId",
"documentation":"<p>The system-generated unique ID for the create or update operation.</p>"
}
},
"documentation":"<p>Represents the output of a put repository triggers operation.</p>"
},
"ReferenceDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified reference does not exist. You must provide a full commit ID.</p>",
"exception":true
},
"ReferenceName":{"type":"string"},
"ReferenceNameRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A reference name is required, but none was provided.</p>",
"exception":true
},
"ReferenceTypeNotSupportedException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified reference is not a supported type. </p>",
"exception":true
},
"RelativeFileVersionEnum":{
"type":"string",
"enum":[
"BEFORE",
"AFTER"
]
},
"ReplaceContentEntries":{
"type":"list",
"member":{"shape":"ReplaceContentEntry"}
},
"ReplaceContentEntry":{
"type":"structure",
"required":[
"filePath",
"replacementType"
],
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The path of the conflicting file.</p>"
},
"replacementType":{
"shape":"ReplacementTypeEnum",
"documentation":"<p>The replacement type to use when determining how to resolve the conflict.</p>"
},
"content":{
"shape":"FileContent",
"documentation":"<p>The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The file mode to apply during conflict resoltion.</p>"
}
},
"documentation":"<p>Information about a replacement content entry in the conflict of a merge or pull request operation.</p>"
},
"ReplacementContentRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>USE_NEW_CONTENT was specified but no replacement content has been provided.</p>",
"exception":true
},
"ReplacementTypeEnum":{
"type":"string",
"enum":[
"KEEP_BASE",
"KEEP_SOURCE",
"KEEP_DESTINATION",
"USE_NEW_CONTENT"
]
},
"ReplacementTypeRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A replacement type is required.</p>",
"exception":true
},
"RepositoryDescription":{
"type":"string",
"max":1000
},
"RepositoryDoesNotExistException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified repository does not exist.</p>",
"exception":true
},
"RepositoryId":{"type":"string"},
"RepositoryLimitExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>A repository resource limit was exceeded.</p>",
"exception":true
},
"RepositoryMetadata":{
"type":"structure",
"members":{
"accountId":{
"shape":"AccountId",
"documentation":"<p>The ID of the AWS account associated with the repository.</p>"
},
"repositoryId":{
"shape":"RepositoryId",
"documentation":"<p>The ID of the repository.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The repository's name.</p>"
},
"repositoryDescription":{
"shape":"RepositoryDescription",
"documentation":"<p>A comment or description about the repository.</p>"
},
"defaultBranch":{
"shape":"BranchName",
"documentation":"<p>The repository's default branch name.</p>"
},
"lastModifiedDate":{
"shape":"LastModifiedDate",
"documentation":"<p>The date and time the repository was last modified, in timestamp format.</p>"
},
"creationDate":{
"shape":"CreationDate",
"documentation":"<p>The date and time the repository was created, in timestamp format.</p>"
},
"cloneUrlHttp":{
"shape":"CloneUrlHttp",
"documentation":"<p>The URL to use for cloning the repository over HTTPS.</p>"
},
"cloneUrlSsh":{
"shape":"CloneUrlSsh",
"documentation":"<p>The URL to use for cloning the repository over SSH.</p>"
},
"Arn":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the repository.</p>"
}
},
"documentation":"<p>Information about a repository.</p>"
},
"RepositoryMetadataList":{
"type":"list",
"member":{"shape":"RepositoryMetadata"}
},
"RepositoryName":{
"type":"string",
"max":100,
"min":1,
"pattern":"[\\w\\.-]+"
},
"RepositoryNameExistsException":{
"type":"structure",
"members":{
},
"documentation":"<p>The specified repository name already exists.</p>",
"exception":true
},
"RepositoryNameIdPair":{
"type":"structure",
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name associated with the repository.</p>"
},
"repositoryId":{
"shape":"RepositoryId",
"documentation":"<p>The ID associated with the repository.</p>"
}
},
"documentation":"<p>Information about a repository name and ID.</p>"
},
"RepositoryNameIdPairList":{
"type":"list",
"member":{"shape":"RepositoryNameIdPair"}
},
"RepositoryNameList":{
"type":"list",
"member":{"shape":"RepositoryName"}
},
"RepositoryNameRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A repository name is required but was not specified.</p>",
"exception":true
},
"RepositoryNamesRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A repository names object is required but was not specified.</p>",
"exception":true
},
"RepositoryNotAssociatedWithPullRequestException":{
"type":"structure",
"members":{
},
"documentation":"<p>The repository does not contain any pull requests with that pull request ID. Use GetPullRequest to verify the correct repository name for the pull request ID.</p>",
"exception":true
},
"RepositoryNotFoundList":{
"type":"list",
"member":{"shape":"RepositoryName"}
},
"RepositoryTrigger":{
"type":"structure",
"required":[
"name",
"destinationArn",
"events"
],
"members":{
"name":{
"shape":"RepositoryTriggerName",
"documentation":"<p>The name of the trigger.</p>"
},
"destinationArn":{
"shape":"Arn",
"documentation":"<p>The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon SNS.</p>"
},
"customData":{
"shape":"RepositoryTriggerCustomData",
"documentation":"<p>Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.</p>"
},
"branches":{
"shape":"BranchNameList",
"documentation":"<p>The branches that will be included in the trigger configuration. If you specify an empty array, the trigger will apply to all branches.</p> <note> <p>Although no content is required in the array, you must include the array itself.</p> </note>"
},
"events":{
"shape":"RepositoryTriggerEventList",
"documentation":"<p>The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. </p> <note> <p>The valid value \"all\" cannot be used with any other values.</p> </note>"
}
},
"documentation":"<p>Information about a trigger for a repository.</p>"
},
"RepositoryTriggerBranchNameListRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>At least one branch name is required but was not specified in the trigger configuration.</p>",
"exception":true
},
"RepositoryTriggerCustomData":{"type":"string"},
"RepositoryTriggerDestinationArnRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A destination ARN for the target service for the trigger is required but was not specified.</p>",
"exception":true
},
"RepositoryTriggerEventEnum":{
"type":"string",
"enum":[
"all",
"updateReference",
"createReference",
"deleteReference"
]
},
"RepositoryTriggerEventList":{
"type":"list",
"member":{"shape":"RepositoryTriggerEventEnum"}
},
"RepositoryTriggerEventsListRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>At least one event for the trigger is required but was not specified.</p>",
"exception":true
},
"RepositoryTriggerExecutionFailure":{
"type":"structure",
"members":{
"trigger":{
"shape":"RepositoryTriggerName",
"documentation":"<p>The name of the trigger that did not run.</p>"
},
"failureMessage":{
"shape":"RepositoryTriggerExecutionFailureMessage",
"documentation":"<p>Additional message information about the trigger that did not run.</p>"
}
},
"documentation":"<p>A trigger failed to run.</p>"
},
"RepositoryTriggerExecutionFailureList":{
"type":"list",
"member":{"shape":"RepositoryTriggerExecutionFailure"}
},
"RepositoryTriggerExecutionFailureMessage":{"type":"string"},
"RepositoryTriggerName":{"type":"string"},
"RepositoryTriggerNameList":{
"type":"list",
"member":{"shape":"RepositoryTriggerName"}
},
"RepositoryTriggerNameRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A name for the trigger is required but was not specified.</p>",
"exception":true
},
"RepositoryTriggersConfigurationId":{"type":"string"},
"RepositoryTriggersList":{
"type":"list",
"member":{"shape":"RepositoryTrigger"}
},
"RepositoryTriggersListRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The list of triggers for the repository is required but was not specified.</p>",
"exception":true
},
"ResourceArn":{"type":"string"},
"ResourceArnRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For a list of valid resources in AWS CodeCommit, see <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats\">CodeCommit Resources and Operations</a> in the AWS CodeCommit User Guide.</p>",
"exception":true
},
"RestrictedSourceFileException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because one of the changes specifies copying or moving a .gitkeep file.</p>",
"exception":true
},
"SameFileContentException":{
"type":"structure",
"members":{
},
"documentation":"<p>The file was not added or updated because the content of the file is exactly the same as the content of that file in the repository and branch that you specified.</p>",
"exception":true
},
"SamePathRequestException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because one or more changes in this commit duplicate actions in the same file path. For example, you cannot make the same delete request to the same file in the same file path twice, or make a delete request and a move request to the same file as part of the same commit.</p>",
"exception":true
},
"SetFileModeEntries":{
"type":"list",
"member":{"shape":"SetFileModeEntry"}
},
"SetFileModeEntry":{
"type":"structure",
"required":[
"filePath",
"fileMode"
],
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The full path to the file, including the name of the file.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The file mode for the file.</p>"
}
},
"documentation":"<p>Information about the file mode changes.</p>"
},
"SortByEnum":{
"type":"string",
"enum":[
"repositoryName",
"lastModifiedDate"
]
},
"SourceAndDestinationAreSameException":{
"type":"structure",
"members":{
},
"documentation":"<p>The source branch and the destination branch for the pull request are the same. You must specify different branches for the source and destination.</p>",
"exception":true
},
"SourceFileOrContentRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>The commit cannot be created because no source files or file content have been specified for the commit.</p>",
"exception":true
},
"SourceFileSpecifier":{
"type":"structure",
"required":["filePath"],
"members":{
"filePath":{
"shape":"Path",
"documentation":"<p>The full path to the file, including the name of the file.</p>"
},
"isMove":{
"shape":"IsMove",
"documentation":"<p>Whether to remove the source file from the parent commit.</p>"
}
},
"documentation":"<p>Information about a source file that is part of changes made in a commit.</p>"
},
"SubModule":{
"type":"structure",
"members":{
"commitId":{
"shape":"ObjectId",
"documentation":"<p>The commit ID that contains the reference to the submodule.</p>"
},
"absolutePath":{
"shape":"Path",
"documentation":"<p>The fully qualified path to the folder that contains the reference to the submodule.</p>"
},
"relativePath":{
"shape":"Path",
"documentation":"<p>The relative path of the submodule from the folder where the query originated.</p>"
}
},
"documentation":"<p>Returns information about a submodule reference in a repository folder.</p>"
},
"SubModuleList":{
"type":"list",
"member":{"shape":"SubModule"}
},
"SymbolicLink":{
"type":"structure",
"members":{
"blobId":{
"shape":"ObjectId",
"documentation":"<p>The blob ID that contains the information about the symbolic link.</p>"
},
"absolutePath":{
"shape":"Path",
"documentation":"<p>The fully-qualified path to the folder that contains the symbolic link.</p>"
},
"relativePath":{
"shape":"Path",
"documentation":"<p>The relative path of the symbolic link from the folder where the query originated.</p>"
},
"fileMode":{
"shape":"FileModeTypeEnum",
"documentation":"<p>The file mode permissions of the blob that cotains information about the symbolic link.</p>"
}
},
"documentation":"<p>Returns information about a symbolic link in a repository folder.</p>"
},
"SymbolicLinkList":{
"type":"list",
"member":{"shape":"SymbolicLink"}
},
"TagKey":{
"type":"string",
"max":128,
"min":1
},
"TagKeysList":{
"type":"list",
"member":{"shape":"TagKey"}
},
"TagKeysListRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A list of tag keys is required. The list cannot be empty or null.</p>",
"exception":true
},
"TagPolicyException":{
"type":"structure",
"members":{
},
"documentation":"<p>The tag policy is not valid.</p>",
"exception":true
},
"TagResourceInput":{
"type":"structure",
"required":[
"resourceArn",
"tags"
],
"members":{
"resourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>"
},
"tags":{
"shape":"TagsMap",
"documentation":"<p>The key-value pair to use when tagging this repository.</p>"
}
}
},
"TagValue":{
"type":"string",
"max":256,
"min":0
},
"TagsMap":{
"type":"map",
"key":{"shape":"TagKey"},
"value":{"shape":"TagValue"}
},
"TagsMapRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A map of tags is required.</p>",
"exception":true
},
"Target":{
"type":"structure",
"required":[
"repositoryName",
"sourceReference"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that contains the pull request.</p>"
},
"sourceReference":{
"shape":"ReferenceName",
"documentation":"<p>The branch of the repository that contains the changes for the pull request. Also known as the source branch.</p>"
},
"destinationReference":{
"shape":"ReferenceName",
"documentation":"<p>The branch of the repository where the pull request changes will be merged into. Also known as the destination branch.</p>"
}
},
"documentation":"<p>Returns information about a target for a pull request.</p>"
},
"TargetList":{
"type":"list",
"member":{"shape":"Target"}
},
"TargetRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A pull request target is required. It cannot be empty or null. A pull request target must contain the full values for the repository name, source branch, and destination branch for the pull request.</p>",
"exception":true
},
"TargetsRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>An array of target objects is required. It cannot be empty or null.</p>",
"exception":true
},
"TestRepositoryTriggersInput":{
"type":"structure",
"required":[
"repositoryName",
"triggers"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository in which to test the triggers.</p>"
},
"triggers":{
"shape":"RepositoryTriggersList",
"documentation":"<p>The list of triggers to test.</p>"
}
},
"documentation":"<p>Represents the input of a test repository triggers operation.</p>"
},
"TestRepositoryTriggersOutput":{
"type":"structure",
"members":{
"successfulExecutions":{
"shape":"RepositoryTriggerNameList",
"documentation":"<p>The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.</p>"
},
"failedExecutions":{
"shape":"RepositoryTriggerExecutionFailureList",
"documentation":"<p>The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.</p>"
}
},
"documentation":"<p>Represents the output of a test repository triggers operation.</p>"
},
"TipOfSourceReferenceIsDifferentException":{
"type":"structure",
"members":{
},
"documentation":"<p>The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request. The pull request might have been updated. Make sure that you have the latest changes.</p>",
"exception":true
},
"TipsDivergenceExceededException":{
"type":"structure",
"members":{
},
"documentation":"<p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>",
"exception":true
},
"Title":{
"type":"string",
"max":150
},
"TitleRequiredException":{
"type":"structure",
"members":{
},
"documentation":"<p>A pull request title is required. It cannot be empty or null.</p>",
"exception":true
},
"TooManyTagsException":{
"type":"structure",
"members":{
},
"documentation":"<p>The maximum number of tags for an AWS CodeCommit resource has been exceeded.</p>",
"exception":true
},
"UntagResourceInput":{
"type":"structure",
"required":[
"resourceArn",
"tagKeys"
],
"members":{
"resourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the resource to which you want to remove tags.</p>"
},
"tagKeys":{
"shape":"TagKeysList",
"documentation":"<p>The tag key for each tag that you want to remove from the resource.</p>"
}
}
},
"UpdateCommentInput":{
"type":"structure",
"required":[
"commentId",
"content"
],
"members":{
"commentId":{
"shape":"CommentId",
"documentation":"<p>The system-generated ID of the comment you want to update. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.</p>"
},
"content":{
"shape":"Content",
"documentation":"<p>The updated content with which you want to replace the existing content of the comment.</p>"
}
}
},
"UpdateCommentOutput":{
"type":"structure",
"members":{
"comment":{
"shape":"Comment",
"documentation":"<p>Information about the updated comment.</p>"
}
}
},
"UpdateDefaultBranchInput":{
"type":"structure",
"required":[
"repositoryName",
"defaultBranchName"
],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository to set or change the default branch for.</p>"
},
"defaultBranchName":{
"shape":"BranchName",
"documentation":"<p>The name of the branch to set as the default.</p>"
}
},
"documentation":"<p>Represents the input of an update default branch operation.</p>"
},
"UpdatePullRequestDescriptionInput":{
"type":"structure",
"required":[
"pullRequestId",
"description"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"description":{
"shape":"Description",
"documentation":"<p>The updated content of the description for the pull request. This content will replace the existing description.</p>"
}
}
},
"UpdatePullRequestDescriptionOutput":{
"type":"structure",
"required":["pullRequest"],
"members":{
"pullRequest":{
"shape":"PullRequest",
"documentation":"<p>Information about the updated pull request.</p>"
}
}
},
"UpdatePullRequestStatusInput":{
"type":"structure",
"required":[
"pullRequestId",
"pullRequestStatus"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"pullRequestStatus":{
"shape":"PullRequestStatusEnum",
"documentation":"<p>The status of the pull request. The only valid operations are to update the status from <code>OPEN</code> to <code>OPEN</code>, <code>OPEN</code> to <code>CLOSED</code> or from from <code>CLOSED</code> to <code>CLOSED</code>.</p>"
}
}
},
"UpdatePullRequestStatusOutput":{
"type":"structure",
"required":["pullRequest"],
"members":{
"pullRequest":{
"shape":"PullRequest",
"documentation":"<p>Information about the pull request.</p>"
}
}
},
"UpdatePullRequestTitleInput":{
"type":"structure",
"required":[
"pullRequestId",
"title"
],
"members":{
"pullRequestId":{
"shape":"PullRequestId",
"documentation":"<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"
},
"title":{
"shape":"Title",
"documentation":"<p>The updated title of the pull request. This will replace the existing title.</p>"
}
}
},
"UpdatePullRequestTitleOutput":{
"type":"structure",
"required":["pullRequest"],
"members":{
"pullRequest":{
"shape":"PullRequest",
"documentation":"<p>Information about the updated pull request.</p>"
}
}
},
"UpdateRepositoryDescriptionInput":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository to set or change the comment or description for.</p>"
},
"repositoryDescription":{
"shape":"RepositoryDescription",
"documentation":"<p>The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.</p>"
}
},
"documentation":"<p>Represents the input of an update repository description operation.</p>"
},
"UpdateRepositoryNameInput":{
"type":"structure",
"required":[
"oldName",
"newName"
],
"members":{
"oldName":{
"shape":"RepositoryName",
"documentation":"<p>The existing name of the repository.</p>"
},
"newName":{
"shape":"RepositoryName",
"documentation":"<p>The new name for the repository.</p>"
}
},
"documentation":"<p>Represents the input of an update repository description operation.</p>"
},
"UserInfo":{
"type":"structure",
"members":{
"name":{
"shape":"Name",
"documentation":"<p>The name of the user who made the specified commit.</p>"
},
"email":{
"shape":"Email",
"documentation":"<p>The email address associated with the user who made the commit, if any.</p>"
},
"date":{
"shape":"Date",
"documentation":"<p>The date when the specified commit was commited, in timestamp format with GMT offset.</p>"
}
},
"documentation":"<p>Information about the user who made a specified commit.</p>"
},
"blob":{"type":"blob"}
},
"documentation":"<fullname>AWS CodeCommit</fullname> <p>This is the <i>AWS CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples.</p> <p>You can use the AWS CodeCommit API to work with the following objects:</p> <p>Repositories, by calling the following:</p> <ul> <li> <p> <a>BatchGetRepositories</a>, which returns information about one or more repositories associated with your AWS account.</p> </li> <li> <p> <a>CreateRepository</a>, which creates an AWS CodeCommit repository.</p> </li> <li> <p> <a>DeleteRepository</a>, which deletes an AWS CodeCommit repository.</p> </li> <li> <p> <a>GetRepository</a>, which returns information about a specified repository.</p> </li> <li> <p> <a>ListRepositories</a>, which lists all AWS CodeCommit repositories associated with your AWS account.</p> </li> <li> <p> <a>UpdateRepositoryDescription</a>, which sets or updates the description of the repository.</p> </li> <li> <p> <a>UpdateRepositoryName</a>, which changes the name of the repository. If you change the name of a repository, no other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use.</p> </li> </ul> <p>Branches, by calling the following:</p> <ul> <li> <p> <a>CreateBranch</a>, which creates a new branch in a specified repository.</p> </li> <li> <p> <a>DeleteBranch</a>, which deletes the specified branch in a repository unless it is the default branch.</p> </li> <li> <p> <a>GetBranch</a>, which returns information about a specified branch.</p> </li> <li> <p> <a>ListBranches</a>, which lists all branches for a specified repository.</p> </li> <li> <p> <a>UpdateDefaultBranch</a>, which changes the default branch for a repository.</p> </li> </ul> <p>Files, by calling the following:</p> <ul> <li> <p> <a>DeleteFile</a>, which deletes the content of a specified file from a specified branch.</p> </li> <li> <p> <a>GetBlob</a>, which returns the base-64 encoded content of an individual Git blob object within a repository.</p> </li> <li> <p> <a>GetFile</a>, which returns the base-64 encoded content of a specified file.</p> </li> <li> <p> <a>GetFolder</a>, which returns the contents of a specified folder or directory.</p> </li> <li> <p> <a>PutFile</a>, which adds or modifies a single file in a specified repository and branch.</p> </li> </ul> <p>Commits, by calling the following:</p> <ul> <li> <p> <a>BatchGetCommits</a>, which returns information about one or more commits in a repository</p> </li> <li> <p> <a>CreateCommit</a>, which creates a commit for changes to a repository.</p> </li> <li> <p> <a>GetCommit</a>, which returns information about a commit, including commit messages and author and committer information.</p> </li> <li> <p> <a>GetDifferences</a>, which returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference).</p> </li> </ul> <p>Merges, by calling the following:</p> <ul> <li> <p> <a>BatchDescribeMergeConflicts</a>, which returns information about conflicts in a merge between commits in a repository.</p> </li> <li> <p> <a>CreateUnreferencedMergeCommit</a>, which creates an unreferenced commit between two branches or commits for the purpose of comparing them and identifying any potential conflicts.</p> </li> <li> <p> <a>DescribeMergeConflicts</a>, which returns information about merge conflicts between the base, source, and destination versions of a file in a potential merge.</p> </li> <li> <p> <a>GetMergeCommit</a>, which returns information about the merge between a source and destination commit. </p> </li> <li> <p> <a>GetMergeConflicts</a>, which returns information about merge conflicts between the source and destination branch in a pull request.</p> </li> <li> <p> <a>GetMergeOptions</a>, which returns information about the available merge options between two branches or commit specifiers.</p> </li> <li> <p> <a>MergeBranchesByFastForward</a>, which merges two branches using the fast-forward merge option.</p> </li> <li> <p> <a>MergeBranchesBySquash</a>, which merges two branches using the squash merge option.</p> </li> <li> <p> <a>MergeBranchesByThreeWay</a>, which merges two branches using the three-way merge option.</p> </li> </ul> <p>Pull requests, by calling the following:</p> <ul> <li> <p> <a>CreatePullRequest</a>, which creates a pull request in a specified repository.</p> </li> <li> <p> <a>DescribePullRequestEvents</a>, which returns information about one or more pull request events.</p> </li> <li> <p> <a>GetCommentsForPullRequest</a>, which returns information about comments on a specified pull request.</p> </li> <li> <p> <a>GetPullRequest</a>, which returns information about a specified pull request.</p> </li> <li> <p> <a>ListPullRequests</a>, which lists all pull requests for a repository.</p> </li> <li> <p> <a>MergePullRequestByFastForward</a>, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the fast-forward merge option.</p> </li> <li> <p> <a>MergePullRequestBySquash</a>, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the squash merge option.</p> </li> <li> <p> <a>MergePullRequestByThreeWay</a>. which merges the source destination branch of a pull request into the specified destination branch for that pull request using the three-way merge option.</p> </li> <li> <p> <a>PostCommentForPullRequest</a>, which posts a comment to a pull request at the specified line, file, or request.</p> </li> <li> <p> <a>UpdatePullRequestDescription</a>, which updates the description of a pull request.</p> </li> <li> <p> <a>UpdatePullRequestStatus</a>, which updates the status of a pull request.</p> </li> <li> <p> <a>UpdatePullRequestTitle</a>, which updates the title of a pull request.</p> </li> </ul> <p>Comments in a repository, by calling the following:</p> <ul> <li> <p> <a>DeleteCommentContent</a>, which deletes the content of a comment on a commit in a repository.</p> </li> <li> <p> <a>GetComment</a>, which returns information about a comment on a commit.</p> </li> <li> <p> <a>GetCommentsForComparedCommit</a>, which returns information about comments on the comparison between two commit specifiers in a repository.</p> </li> <li> <p> <a>PostCommentForComparedCommit</a>, which creates a comment on the comparison between two commit specifiers in a repository.</p> </li> <li> <p> <a>PostCommentReply</a>, which creates a reply to a comment.</p> </li> <li> <p> <a>UpdateComment</a>, which updates the content of a comment on a commit in a repository.</p> </li> </ul> <p>Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:</p> <ul> <li> <p> <a>ListTagsForResource</a>, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.</p> </li> <li> <p> <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeCommit.</p> </li> <li> <p> <a>UntagResource</a>, which removes tags for a resource in AWS CodeCommit.</p> </li> </ul> <p>Triggers, by calling the following:</p> <ul> <li> <p> <a>GetRepositoryTriggers</a>, which returns information about triggers configured for a repository.</p> </li> <li> <p> <a>PutRepositoryTriggers</a>, which replaces all triggers for a repository and can be used to create or delete triggers.</p> </li> <li> <p> <a>TestRepositoryTriggers</a>, which tests the functionality of a repository trigger by sending data to the trigger target.</p> </li> </ul> <p>For information about how to use AWS CodeCommit, see the <a href=\"https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html\">AWS CodeCommit User Guide</a>.</p>"
}