@datafire/amazonaws_codecommit v5.0.0
@datafire/amazonaws_codecommit
Client library for AWS CodeCommit
Installation and Usage
npm install --save @datafire/amazonaws_codecommit
let amazonaws_codecommit = require('@datafire/amazonaws_codecommit').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
amazonaws_codecommit.BatchGetRepositories({
"repositoryNames": []
}).then(data => {
console.log(data);
});
Description
AWS CodeCommit This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples. You can use the AWS CodeCommit API to work with the following objects: Repositories, by calling the following: BatchGetRepositories, which returns information about one or more repositories associated with your AWS account. CreateRepository, which creates an AWS CodeCommit repository. DeleteRepository, which deletes an AWS CodeCommit repository. GetRepository, which returns information about a specified repository. ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account. UpdateRepositoryDescription, which sets or updates the description of the repository. UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use. Branches, by calling the following: CreateBranch, which creates a new branch in a specified repository. DeleteBranch, which deletes the specified branch in a repository unless it is the default branch. GetBranch, which returns information about a specified branch. ListBranches, which lists all branches for a specified repository. UpdateDefaultBranch, which changes the default branch for a repository. Information about committed code in a repository, by calling the following: GetBlob, which returns the base-64 encoded content of an individual Git blob object within a repository. GetCommit, which returns information about a commit, including commit messages and author and committer information. GetDifferences, which returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference). Pull requests, by calling the following: CreatePullRequest, which creates a pull request in a specified repository. DescribePullRequestEvents, which returns information about one or more pull request events. GetCommentsForPullRequest, which returns information about comments on a specified pull request. GetMergeConflicts, which returns information about merge conflicts between the source and destination branch in a pull request. GetPullRequest, which returns information about a specified pull request. ListPullRequests, which lists all pull requests for a repository. MergePullRequestByFastForward, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the fast-forward merge option. PostCommentForPullRequest, which posts a comment to a pull request at the specified line, file, or request. UpdatePullRequestDescription, which updates the description of a pull request. UpdatePullRequestStatus, which updates the status of a pull request. UpdatePullRequestTitle, which updates the title of a pull request. Information about comments in a repository, by calling the following: DeleteCommentContent, which deletes the content of a comment on a commit in a repository. GetComment, which returns information about a comment on a commit. GetCommentsForComparedCommit, which returns information about comments on the comparison between two commit specifiers in a repository. PostCommentForComparedCommit, which creates a comment on the comparison between two commit specifiers in a repository. PostCommentReply, which creates a reply to a comment. UpdateComment, which updates the content of a comment on a commit in a repository. Triggers, by calling the following: GetRepositoryTriggers, which returns information about triggers configured for a repository. PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete triggers. TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger target. For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.
Actions
BatchGetRepositories
amazonaws_codecommit.BatchGetRepositories({
"repositoryNames": []
}, context)
Input
- input
object
- repositoryNames required RepositoryNameList
Output
- output BatchGetRepositoriesOutput
CreateBranch
amazonaws_codecommit.CreateBranch({
"repositoryName": "",
"branchName": "",
"commitId": ""
}, context)
Input
- input
object
- branchName required BranchName
- commitId required CommitId
- repositoryName required RepositoryName
Output
Output schema unknown
CreatePullRequest
amazonaws_codecommit.CreatePullRequest({
"title": "",
"targets": []
}, context)
Input
- input
object
- clientRequestToken ClientRequestToken
- description Description
- targets required TargetList
- title required Title
Output
- output CreatePullRequestOutput
CreateRepository
amazonaws_codecommit.CreateRepository({
"repositoryName": ""
}, context)
Input
- input
object
- repositoryDescription RepositoryDescription
- repositoryName required RepositoryName
Output
- output CreateRepositoryOutput
DeleteBranch
amazonaws_codecommit.DeleteBranch({
"repositoryName": "",
"branchName": ""
}, context)
Input
- input
object
- branchName required BranchName
- repositoryName required RepositoryName
Output
- output DeleteBranchOutput
DeleteCommentContent
amazonaws_codecommit.DeleteCommentContent({
"commentId": ""
}, context)
Input
- input
object
- commentId required CommentId
Output
- output DeleteCommentContentOutput
DeleteRepository
amazonaws_codecommit.DeleteRepository({
"repositoryName": ""
}, context)
Input
- input
object
- repositoryName required RepositoryName
Output
- output DeleteRepositoryOutput
DescribePullRequestEvents
amazonaws_codecommit.DescribePullRequestEvents({
"pullRequestId": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- actorArn Arn
- maxResults MaxResults
- nextToken NextToken
- pullRequestEventType PullRequestEventType
- pullRequestId required PullRequestId
- maxResults
Output
GetBlob
amazonaws_codecommit.GetBlob({
"repositoryName": "",
"blobId": ""
}, context)
Input
- input
object
- blobId required ObjectId
- repositoryName required RepositoryName
Output
- output GetBlobOutput
GetBranch
amazonaws_codecommit.GetBranch({}, context)
Input
- input
object
- branchName BranchName
- repositoryName RepositoryName
Output
- output GetBranchOutput
GetComment
amazonaws_codecommit.GetComment({
"commentId": ""
}, context)
Input
- input
object
- commentId required CommentId
Output
- output GetCommentOutput
GetCommentsForComparedCommit
amazonaws_codecommit.GetCommentsForComparedCommit({
"repositoryName": "",
"afterCommitId": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- afterCommitId required CommitId
- beforeCommitId CommitId
- maxResults MaxResults
- nextToken NextToken
- repositoryName required RepositoryName
- maxResults
Output
GetCommentsForPullRequest
amazonaws_codecommit.GetCommentsForPullRequest({
"pullRequestId": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- afterCommitId CommitId
- beforeCommitId CommitId
- maxResults MaxResults
- nextToken NextToken
- pullRequestId required PullRequestId
- repositoryName RepositoryName
- maxResults
Output
GetCommit
amazonaws_codecommit.GetCommit({
"repositoryName": "",
"commitId": ""
}, context)
Input
- input
object
- commitId required ObjectId
- repositoryName required RepositoryName
Output
- output GetCommitOutput
GetDifferences
amazonaws_codecommit.GetDifferences({
"repositoryName": "",
"afterCommitSpecifier": ""
}, context)
Input
- input
object
- MaxResults
string
- NextToken
string
- MaxResults Limit
- NextToken NextToken
- afterCommitSpecifier required CommitName
- afterPath Path
- beforeCommitSpecifier CommitName
- beforePath Path
- repositoryName required RepositoryName
- MaxResults
Output
- output GetDifferencesOutput
GetMergeConflicts
amazonaws_codecommit.GetMergeConflicts({
"repositoryName": "",
"destinationCommitSpecifier": "",
"sourceCommitSpecifier": "",
"mergeOption": ""
}, context)
Input
- input
object
- destinationCommitSpecifier required CommitName
- mergeOption required MergeOptionTypeEnum
- repositoryName required RepositoryName
- sourceCommitSpecifier required CommitName
Output
- output GetMergeConflictsOutput
GetPullRequest
amazonaws_codecommit.GetPullRequest({
"pullRequestId": ""
}, context)
Input
- input
object
- pullRequestId required PullRequestId
Output
- output GetPullRequestOutput
GetRepository
amazonaws_codecommit.GetRepository({
"repositoryName": ""
}, context)
Input
- input
object
- repositoryName required RepositoryName
Output
- output GetRepositoryOutput
GetRepositoryTriggers
amazonaws_codecommit.GetRepositoryTriggers({
"repositoryName": ""
}, context)
Input
- input
object
- repositoryName required RepositoryName
Output
- output GetRepositoryTriggersOutput
ListBranches
amazonaws_codecommit.ListBranches({
"repositoryName": ""
}, context)
Input
- input
object
- nextToken
string
- nextToken NextToken
- repositoryName required RepositoryName
- nextToken
Output
- output ListBranchesOutput
ListPullRequests
amazonaws_codecommit.ListPullRequests({
"repositoryName": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- authorArn Arn
- maxResults MaxResults
- nextToken NextToken
- pullRequestStatus PullRequestStatusEnum
- repositoryName required RepositoryName
- maxResults
Output
- output ListPullRequestsOutput
ListRepositories
amazonaws_codecommit.ListRepositories({}, context)
Input
- input
object
- nextToken
string
- nextToken NextToken
- order OrderEnum
- sortBy SortByEnum
- nextToken
Output
- output ListRepositoriesOutput
MergePullRequestByFastForward
amazonaws_codecommit.MergePullRequestByFastForward({
"pullRequestId": "",
"repositoryName": ""
}, context)
Input
- input
object
- pullRequestId required PullRequestId
- repositoryName required RepositoryName
- sourceCommitId CommitId
Output
PostCommentForComparedCommit
amazonaws_codecommit.PostCommentForComparedCommit({
"repositoryName": "",
"afterCommitId": "",
"content": ""
}, context)
Input
- input
object
- afterCommitId required CommitId
- beforeCommitId CommitId
- clientRequestToken ClientRequestToken
- content required Content
- location Location
- repositoryName required RepositoryName
Output
PostCommentForPullRequest
amazonaws_codecommit.PostCommentForPullRequest({
"pullRequestId": "",
"repositoryName": "",
"beforeCommitId": "",
"afterCommitId": "",
"content": ""
}, context)
Input
- input
object
- afterCommitId required CommitId
- beforeCommitId required CommitId
- clientRequestToken ClientRequestToken
- content required Content
- location Location
- pullRequestId required PullRequestId
- repositoryName required RepositoryName
Output
PostCommentReply
amazonaws_codecommit.PostCommentReply({
"inReplyTo": "",
"content": ""
}, context)
Input
- input
object
- clientRequestToken ClientRequestToken
- content required Content
- inReplyTo required CommentId
Output
- output PostCommentReplyOutput
PutRepositoryTriggers
amazonaws_codecommit.PutRepositoryTriggers({
"repositoryName": "",
"triggers": []
}, context)
Input
- input
object
- repositoryName required RepositoryName
- triggers required RepositoryTriggersList
Output
- output PutRepositoryTriggersOutput
TestRepositoryTriggers
amazonaws_codecommit.TestRepositoryTriggers({
"repositoryName": "",
"triggers": []
}, context)
Input
- input
object
- repositoryName required RepositoryName
- triggers required RepositoryTriggersList
Output
- output TestRepositoryTriggersOutput
UpdateComment
amazonaws_codecommit.UpdateComment({
"commentId": "",
"content": ""
}, context)
Input
Output
- output UpdateCommentOutput
UpdateDefaultBranch
amazonaws_codecommit.UpdateDefaultBranch({
"repositoryName": "",
"defaultBranchName": ""
}, context)
Input
- input
object
- defaultBranchName required BranchName
- repositoryName required RepositoryName
Output
Output schema unknown
UpdatePullRequestDescription
amazonaws_codecommit.UpdatePullRequestDescription({
"pullRequestId": "",
"description": ""
}, context)
Input
- input
object
- description required Description
- pullRequestId required PullRequestId
Output
UpdatePullRequestStatus
amazonaws_codecommit.UpdatePullRequestStatus({
"pullRequestId": "",
"pullRequestStatus": ""
}, context)
Input
- input
object
- pullRequestId required PullRequestId
- pullRequestStatus required PullRequestStatusEnum
Output
UpdatePullRequestTitle
amazonaws_codecommit.UpdatePullRequestTitle({
"pullRequestId": "",
"title": ""
}, context)
Input
- input
object
- pullRequestId required PullRequestId
- title required Title
Output
- output UpdatePullRequestTitleOutput
UpdateRepositoryDescription
amazonaws_codecommit.UpdateRepositoryDescription({
"repositoryName": ""
}, context)
Input
- input
object
- repositoryDescription RepositoryDescription
- repositoryName required RepositoryName
Output
Output schema unknown
UpdateRepositoryName
amazonaws_codecommit.UpdateRepositoryName({
"oldName": "",
"newName": ""
}, context)
Input
- input
object
- newName required RepositoryName
- oldName required RepositoryName
Output
Output schema unknown
Definitions
AccountId
- AccountId
string
ActorDoesNotExistException
- ActorDoesNotExistException
object
: The specified Amazon Resource Name (ARN) does not exist in the AWS account.
AdditionalData
- AdditionalData
string
Arn
- Arn
string
AuthorDoesNotExistException
- AuthorDoesNotExistException
object
: The specified Amazon Resource Name (ARN) does not exist in the AWS account.
BatchGetRepositoriesInput
- BatchGetRepositoriesInput
object
: Represents the input of a batch get repositories operation.- repositoryNames required RepositoryNameList
BatchGetRepositoriesOutput
- BatchGetRepositoriesOutput
object
: Represents the output of a batch get repositories operation.- repositories RepositoryMetadataList
- repositoriesNotFound RepositoryNotFoundList
BeforeCommitIdAndAfterCommitIdAreSameException
- BeforeCommitIdAndAfterCommitIdAreSameException
object
: 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.
BlobIdDoesNotExistException
- BlobIdDoesNotExistException
object
: The specified blob does not exist.
BlobIdRequiredException
- BlobIdRequiredException
object
: A blob ID is required but was not specified.
BlobMetadata
- BlobMetadata
object
: Returns information about a specific Git blob object.
BranchDoesNotExistException
- BranchDoesNotExistException
object
: The specified branch does not exist.
BranchInfo
- BranchInfo
object
: Returns information about a branch.- branchName BranchName
- commitId CommitId
BranchName
- BranchName
string
BranchNameExistsException
- BranchNameExistsException
object
: The specified branch name already exists.
BranchNameList
- BranchNameList
array
- items BranchName
BranchNameRequiredException
- BranchNameRequiredException
object
: A branch name is required but was not specified.
ChangeTypeEnum
- ChangeTypeEnum
string
(values: A, M, D)
ClientRequestToken
- ClientRequestToken
string
ClientRequestTokenRequiredException
- ClientRequestTokenRequiredException
object
: 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.
CloneUrlHttp
- CloneUrlHttp
string
CloneUrlSsh
- CloneUrlSsh
string
Comment
- Comment
object
: Returns information about a specific comment.- authorArn Arn
- clientRequestToken ClientRequestToken
- commentId CommentId
- content Content
- creationDate CreationDate
- deleted IsCommentDeleted
- inReplyTo CommentId
- lastModifiedDate LastModifiedDate
CommentContentRequiredException
- CommentContentRequiredException
object
: The comment is empty. You must provide some content for a comment. The content cannot be null.
CommentContentSizeLimitExceededException
- CommentContentSizeLimitExceededException
object
: The comment is too large. Comments are limited to 1,000 characters.
CommentDeletedException
- CommentDeletedException
object
: This comment has already been deleted. You cannot edit or delete a deleted comment.
CommentDoesNotExistException
- CommentDoesNotExistException
object
: No comment exists with the provided ID. Verify that you have provided the correct ID, and then try again.
CommentId
- CommentId
string
CommentIdRequiredException
- CommentIdRequiredException
object
: The comment ID is missing or null. A comment ID is required.
CommentNotCreatedByCallerException
- CommentNotCreatedByCallerException
object
: You cannot modify or delete this comment. Only comment authors can modify or delete their comments.
Comments
- Comments
array
- items Comment
CommentsForComparedCommit
- CommentsForComparedCommit
object
: Returns information about comments on the comparison between two commits.
CommentsForComparedCommitData
- CommentsForComparedCommitData
array
CommentsForPullRequest
- CommentsForPullRequest
object
: Returns information about comments on a pull request.- afterBlobId ObjectId
- afterCommitId CommitId
- beforeBlobId ObjectId
- beforeCommitId CommitId
- comments Comments
- location Location
- pullRequestId PullRequestId
- repositoryName RepositoryName
CommentsForPullRequestData
- CommentsForPullRequestData
array
- items CommentsForPullRequest
Commit
- Commit
object
: Returns information about a specific commit.- additionalData AdditionalData
- author UserInfo
- commitId ObjectId
- committer UserInfo
- message Message
- parents ParentList
- treeId ObjectId
CommitDoesNotExistException
- CommitDoesNotExistException
object
: The specified commit does not exist or no commit was specified, and the specified repository has no default branch.
CommitId
- CommitId
string
CommitIdDoesNotExistException
- CommitIdDoesNotExistException
object
: The specified commit ID does not exist.
CommitIdRequiredException
- CommitIdRequiredException
object
: A commit ID was not specified.
CommitName
- CommitName
string
CommitRequiredException
- CommitRequiredException
object
: A commit was not specified.
Content
- Content
string
CreateBranchInput
- CreateBranchInput
object
: Represents the input of a create branch operation.- branchName required BranchName
- commitId required CommitId
- repositoryName required RepositoryName
CreatePullRequestInput
- CreatePullRequestInput
object
- clientRequestToken ClientRequestToken
- description Description
- targets required TargetList
- title required Title
CreatePullRequestOutput
- CreatePullRequestOutput
object
- pullRequest required PullRequest
CreateRepositoryInput
- CreateRepositoryInput
object
: Represents the input of a create repository operation.- repositoryDescription RepositoryDescription
- repositoryName required RepositoryName
CreateRepositoryOutput
- CreateRepositoryOutput
object
: Represents the output of a create repository operation.- repositoryMetadata RepositoryMetadata
CreationDate
- CreationDate
string
Date
- Date
string
DefaultBranchCannotBeDeletedException
- DefaultBranchCannotBeDeletedException
object
: 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.
DeleteBranchInput
- DeleteBranchInput
object
: Represents the input of a delete branch operation.- branchName required BranchName
- repositoryName required RepositoryName
DeleteBranchOutput
- DeleteBranchOutput
object
: Represents the output of a delete branch operation.- deletedBranch BranchInfo
DeleteCommentContentInput
- DeleteCommentContentInput
object
- commentId required CommentId
DeleteCommentContentOutput
- DeleteCommentContentOutput
object
- comment Comment
DeleteRepositoryInput
- DeleteRepositoryInput
object
: Represents the input of a delete repository operation.- repositoryName required RepositoryName
DeleteRepositoryOutput
- DeleteRepositoryOutput
object
: Represents the output of a delete repository operation.- repositoryId RepositoryId
DescribePullRequestEventsInput
- DescribePullRequestEventsInput
object
- actorArn Arn
- maxResults MaxResults
- nextToken NextToken
- pullRequestEventType PullRequestEventType
- pullRequestId required PullRequestId
DescribePullRequestEventsOutput
- DescribePullRequestEventsOutput
object
- nextToken NextToken
- pullRequestEvents required PullRequestEventList
Description
- Description
string
Difference
- Difference
object
: Returns information about a set of differences for a commit specifier.- afterBlob BlobMetadata
- beforeBlob BlobMetadata
- changeType ChangeTypeEnum
DifferenceList
- DifferenceList
array
- items Difference
- Email
string
EncryptionIntegrityChecksFailedException
- EncryptionIntegrityChecksFailedException
object
: An encryption integrity check failed.
EncryptionKeyAccessDeniedException
- EncryptionKeyAccessDeniedException
object
: An encryption key could not be accessed.
EncryptionKeyDisabledException
- EncryptionKeyDisabledException
object
: The encryption key is disabled.
EncryptionKeyNotFoundException
- EncryptionKeyNotFoundException
object
: No encryption key was found.
EncryptionKeyUnavailableException
- EncryptionKeyUnavailableException
object
: The encryption key is not available.
EventDate
- EventDate
string
FileTooLargeException
- FileTooLargeException
object
: The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide.
GetBlobInput
- GetBlobInput
object
: Represents the input of a get blob operation.- blobId required ObjectId
- repositoryName required RepositoryName
GetBlobOutput
- GetBlobOutput
object
: Represents the output of a get blob operation.- content required blob
GetBranchInput
- GetBranchInput
object
: Represents the input of a get branch operation.- branchName BranchName
- repositoryName RepositoryName
GetBranchOutput
- GetBranchOutput
object
: Represents the output of a get branch operation.- branch BranchInfo
GetCommentInput
- GetCommentInput
object
- commentId required CommentId
GetCommentOutput
- GetCommentOutput
object
- comment Comment
GetCommentsForComparedCommitInput
- GetCommentsForComparedCommitInput
object
- afterCommitId required CommitId
- beforeCommitId CommitId
- maxResults MaxResults
- nextToken NextToken
- repositoryName required RepositoryName
GetCommentsForComparedCommitOutput
- GetCommentsForComparedCommitOutput
object
- commentsForComparedCommitData CommentsForComparedCommitData
- nextToken NextToken
GetCommentsForPullRequestInput
- GetCommentsForPullRequestInput
object
- afterCommitId CommitId
- beforeCommitId CommitId
- maxResults MaxResults
- nextToken NextToken
- pullRequestId required PullRequestId
- repositoryName RepositoryName
GetCommentsForPullRequestOutput
- GetCommentsForPullRequestOutput
object
- commentsForPullRequestData CommentsForPullRequestData
- nextToken NextToken
GetCommitInput
- GetCommitInput
object
: Represents the input of a get commit operation.- commitId required ObjectId
- repositoryName required RepositoryName
GetCommitOutput
- GetCommitOutput
object
: Represents the output of a get commit operation.- commit required Commit
GetDifferencesInput
- GetDifferencesInput
object
- MaxResults Limit
- NextToken NextToken
- afterCommitSpecifier required CommitName
- afterPath Path
- beforeCommitSpecifier CommitName
- beforePath Path
- repositoryName required RepositoryName
GetDifferencesOutput
- GetDifferencesOutput
object
- NextToken NextToken
- differences DifferenceList
GetMergeConflictsInput
- GetMergeConflictsInput
object
- destinationCommitSpecifier required CommitName
- mergeOption required MergeOptionTypeEnum
- repositoryName required RepositoryName
- sourceCommitSpecifier required CommitName
GetMergeConflictsOutput
- GetMergeConflictsOutput
object
- destinationCommitId required CommitId
- mergeable required IsMergeable
- sourceCommitId required CommitId
GetPullRequestInput
- GetPullRequestInput
object
- pullRequestId required PullRequestId
GetPullRequestOutput
- GetPullRequestOutput
object
- pullRequest required PullRequest
GetRepositoryInput
- GetRepositoryInput
object
: Represents the input of a get repository operation.- repositoryName required RepositoryName
GetRepositoryOutput
- GetRepositoryOutput
object
: Represents the output of a get repository operation.- repositoryMetadata RepositoryMetadata
GetRepositoryTriggersInput
- GetRepositoryTriggersInput
object
: Represents the input of a get repository triggers operation.- repositoryName required RepositoryName
GetRepositoryTriggersOutput
- GetRepositoryTriggersOutput
object
: Represents the output of a get repository triggers operation.- configurationId RepositoryTriggersConfigurationId
- triggers RepositoryTriggersList
IdempotencyParameterMismatchException
- IdempotencyParameterMismatchException
object
: 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.
InvalidActorArnException
- InvalidActorArnException
object
: 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.
InvalidAuthorArnException
- InvalidAuthorArnException
object
: 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.
InvalidBlobIdException
- InvalidBlobIdException
object
: The specified blob is not valid.
InvalidBranchNameException
- InvalidBranchNameException
object
: The specified reference name is not valid.
InvalidClientRequestTokenException
- InvalidClientRequestTokenException
object
: The client request token is not valid.
InvalidCommentIdException
- InvalidCommentIdException
object
: The comment ID is not in a valid format. Make sure that you have provided the full comment ID.
InvalidCommitException
- InvalidCommitException
object
: The specified commit is not valid.
InvalidCommitIdException
- InvalidCommitIdException
object
: The specified commit ID is not valid.
InvalidContinuationTokenException
- InvalidContinuationTokenException
object
: The specified continuation token is not valid.
InvalidDescriptionException
- InvalidDescriptionException
object
: The pull request description is not valid. Descriptions are limited to 1,000 characters in length.
InvalidDestinationCommitSpecifierException
- InvalidDestinationCommitSpecifierException
object
: The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.
InvalidFileLocationException
- InvalidFileLocationException
object
: The location of the file is not valid. Make sure that you include the extension of the file as well as the file name.
InvalidFilePositionException
- InvalidFilePositionException
object
: The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.
InvalidMaxResultsException
- InvalidMaxResultsException
object
: The specified number of maximum results is not valid.
InvalidMergeOptionException
- InvalidMergeOptionException
object
: The specified merge option is not valid. The only valid value is FAST_FORWARD_MERGE.
InvalidOrderException
- InvalidOrderException
object
: The specified sort order is not valid.
InvalidPathException
- InvalidPathException
object
: The specified path is not valid.
InvalidPullRequestEventTypeException
- InvalidPullRequestEventTypeException
object
: The pull request event type is not valid.
InvalidPullRequestIdException
- InvalidPullRequestIdException
object
: 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.
InvalidPullRequestStatusException
- InvalidPullRequestStatusException
object
: The pull request status is not valid. The only valid values are OPEN and CLOSED.
InvalidPullRequestStatusUpdateException
- InvalidPullRequestStatusUpdateException
object
: The pull request status update is not valid. The only valid update is from OPEN to CLOSED.
InvalidReferenceNameException
- InvalidReferenceNameException
object
: 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 Git Internals - Git References or consult your Git documentation.
InvalidRelativeFileVersionEnumException
- InvalidRelativeFileVersionEnumException
object
: 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.
InvalidRepositoryDescriptionException
- InvalidRepositoryDescriptionException
object
: The specified repository description is not valid.
InvalidRepositoryNameException
- InvalidRepositoryNameException
object
: At least one specified repository name is not valid. 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.
InvalidRepositoryTriggerBranchNameException
- InvalidRepositoryTriggerBranchNameException
object
: One or more branch names specified for the trigger is not valid.
InvalidRepositoryTriggerCustomDataException
- InvalidRepositoryTriggerCustomDataException
object
: The custom data provided for the trigger is not valid.
InvalidRepositoryTriggerDestinationArnException
- InvalidRepositoryTriggerDestinationArnException
object
: 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.
InvalidRepositoryTriggerEventsException
- InvalidRepositoryTriggerEventsException
object
: 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.
InvalidRepositoryTriggerNameException
- InvalidRepositoryTriggerNameException
object
: The name of the trigger is not valid.
InvalidRepositoryTriggerRegionException
- InvalidRepositoryTriggerRegionException
object
: 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.
InvalidSortByException
- InvalidSortByException
object
: The specified sort by value is not valid.
InvalidSourceCommitSpecifierException
- InvalidSourceCommitSpecifierException
object
: The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.
InvalidTargetException
- InvalidTargetException
object
: 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.
InvalidTargetsException
- InvalidTargetsException
object
: 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.
InvalidTitleException
- InvalidTitleException
object
: The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.
IsCommentDeleted
- IsCommentDeleted
boolean
IsMergeable
- IsMergeable
boolean
IsMerged
- IsMerged
boolean
LastModifiedDate
- LastModifiedDate
string
Limit
- Limit
integer
ListBranchesInput
- ListBranchesInput
object
: Represents the input of a list branches operation.- nextToken NextToken
- repositoryName required RepositoryName
ListBranchesOutput
- ListBranchesOutput
object
: Represents the output of a list branches operation.- branches BranchNameList
- nextToken NextToken
ListPullRequestsInput
- ListPullRequestsInput
object
- authorArn Arn
- maxResults MaxResults
- nextToken NextToken
- pullRequestStatus PullRequestStatusEnum
- repositoryName required RepositoryName
ListPullRequestsOutput
- ListPullRequestsOutput
object
- nextToken NextToken
- pullRequestIds required PullRequestIdList
ListRepositoriesInput
- ListRepositoriesInput
object
: Represents the input of a list repositories operation.- nextToken NextToken
- order OrderEnum
- sortBy SortByEnum
ListRepositoriesOutput
- ListRepositoriesOutput
object
: Represents the output of a list repositories operation.- nextToken NextToken
- repositories RepositoryNameIdPairList
Location
- Location
object
: Returns information about the location of a change or comment in the comparison between two commits or a pull request.- filePath Path
- filePosition Position
- relativeFileVersion RelativeFileVersionEnum
ManualMergeRequiredException
- ManualMergeRequiredException
object
: The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.
MaxResults
- MaxResults
integer
MaximumBranchesExceededException
- MaximumBranchesExceededException
object
: The number of branches for the trigger was exceeded.
MaximumOpenPullRequestsExceededException
- MaximumOpenPullRequestsExceededException
object
: 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.
MaximumRepositoryNamesExceededException
- MaximumRepositoryNamesExceededException
object
: The maximum number of allowed repository names was exceeded. Currently, this number is 25.
MaximumRepositoryTriggersExceededException
- MaximumRepositoryTriggersExceededException
object
: The number of triggers allowed for the repository was exceeded.
MergeMetadata
- MergeMetadata
object
: Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.
MergeOptionRequiredException
- MergeOptionRequiredException
object
: A merge option or stategy is required, and none was provided.
MergeOptionTypeEnum
- MergeOptionTypeEnum
string
(values: FAST_FORWARD_MERGE)
MergePullRequestByFastForwardInput
- MergePullRequestByFastForwardInput
object
- pullRequestId required PullRequestId
- repositoryName required RepositoryName
- sourceCommitId CommitId
MergePullRequestByFastForwardOutput
- MergePullRequestByFastForwardOutput
object
- pullRequest PullRequest
Message
- Message
string
Mode
- Mode
string
MultipleRepositoriesInPullRequestException
- MultipleRepositoriesInPullRequestException
object
: 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.
Name
- Name
string
NextToken
- NextToken
string
ObjectId
- ObjectId
string
OrderEnum
- OrderEnum
string
(values: ascending, descending)
ParentList
- ParentList
array
- items ObjectId
Path
- Path
string
PathDoesNotExistException
- PathDoesNotExistException
object
: The specified path does not exist.
PathRequiredException
- PathRequiredException
object
: The filePath for a location cannot be empty or null.
Position
- Position
integer
PostCommentForComparedCommitInput
- PostCommentForComparedCommitInput
object
- afterCommitId required CommitId
- beforeCommitId CommitId
- clientRequestToken ClientRequestToken
- content required Content
- location Location
- repositoryName required RepositoryName
PostCommentForComparedCommitOutput
- PostCommentForComparedCommitOutput
object
PostCommentForPullRequestInput
- PostCommentForPullRequestInput
object
- afterCommitId required CommitId
- beforeCommitId required CommitId
- clientRequestToken ClientRequestToken
- content required Content
- location Location
- pullRequestId required PullRequestId
- repositoryName required RepositoryName
PostCommentForPullRequestOutput
- PostCommentForPullRequestOutput
object
- afterBlobId ObjectId
- afterCommitId CommitId
- beforeBlobId ObjectId
- beforeCommitId CommitId
- comment Comment
- location Location
- pullRequestId PullRequestId
- repositoryName RepositoryName
PostCommentReplyInput
- PostCommentReplyInput
object
- clientRequestToken ClientRequestToken
- content required Content
- inReplyTo required CommentId
PostCommentReplyOutput
- PostCommentReplyOutput
object
- comment Comment
PullRequest
- PullRequest
object
: Returns information about a pull request.- authorArn Arn
- clientRequestToken ClientRequestToken
- creationDate CreationDate
- description Description
- lastActivityDate LastModifiedDate
- pullRequestId PullRequestId
- pullRequestStatus PullRequestStatusEnum
- pullRequestTargets PullRequestTargetList
- title Title
PullRequestAlreadyClosedException
- PullRequestAlreadyClosedException
object
: The pull request status cannot be updated because it is already closed.
PullRequestDoesNotExistException
- PullRequestDoesNotExistException
object
: 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.
PullRequestEvent
- PullRequestEvent
object
: Returns information about a pull request event.- actorArn Arn
- eventDate EventDate
- pullRequestEventType PullRequestEventType
- pullRequestId PullRequestId
- pullRequestMergedStateChangedEventMetadata PullRequestMergedStateChangedEventMetadata
- pullRequestSourceReferenceUpdatedEventMetadata PullRequestSourceReferenceUpdatedEventMetadata
- pullRequestStatusChangedEventMetadata PullRequestStatusChangedEventMetadata
PullRequestEventList
- PullRequestEventList
array
- items PullRequestEvent
PullRequestEventType
- PullRequestEventType
string
(values: PULL_REQUEST_CREATED, PULL_REQUEST_STATUS_CHANGED, PULL_REQUEST_SOURCE_REFERENCE_UPDATED, PULL_REQUEST_MERGE_STATE_CHANGED)
PullRequestId
- PullRequestId
string
PullRequestIdList
- PullRequestIdList
array
- items PullRequestId
PullRequestIdRequiredException
- PullRequestIdRequiredException
object
: A pull request ID is required, but none was provided.
PullRequestMergedStateChangedEventMetadata
- PullRequestMergedStateChangedEventMetadata
object
: Returns information about the change in the merge state for a pull request event.- destinationReference ReferenceName
- mergeMetadata MergeMetadata
- repositoryName RepositoryName
PullRequestSourceReferenceUpdatedEventMetadata
- PullRequestSourceReferenceUpdatedEventMetadata
object
: Information about an update to the source branch of a pull request.- afterCommitId CommitId
- beforeCommitId CommitId
- repositoryName RepositoryName
PullRequestStatusChangedEventMetadata
- PullRequestStatusChangedEventMetadata
object
: Information about a change to the status of a pull request.- pullRequestStatus PullRequestStatusEnum
PullRequestStatusEnum
- PullRequestStatusEnum
string
(values: OPEN, CLOSED)
PullRequestStatusRequiredException
- PullRequestStatusRequiredException
object
: A pull request status is required, but none was provided.
PullRequestTarget
- PullRequestTarget
object
: Returns information about a pull request target.- destinationCommit CommitId
- destinationReference ReferenceName
- mergeMetadata MergeMetadata
- repositoryName RepositoryName
- sourceCommit CommitId
- sourceReference ReferenceName
PullRequestTargetList
- PullRequestTargetList
array
- items PullRequestTarget
PutRepositoryTriggersInput
- PutRepositoryTriggersInput
object
: Represents the input ofa put repository triggers operation.- repositoryName required RepositoryName
- triggers required RepositoryTriggersList
PutRepositoryTriggersOutput
- PutRepositoryTriggersOutput
object
: Represents the output of a put repository triggers operation.- configurationId RepositoryTriggersConfigurationId
ReferenceDoesNotExistException
- ReferenceDoesNotExistException
object
: The specified reference does not exist. You must provide a full commit ID.
ReferenceName
- ReferenceName
string
ReferenceNameRequiredException
- ReferenceNameRequiredException
object
: A reference name is required, but none was provided.
ReferenceTypeNotSupportedException
- ReferenceTypeNotSupportedException
object
: The specified reference is not a supported type.
RelativeFileVersionEnum
- RelativeFileVersionEnum
string
(values: BEFORE, AFTER)
RepositoryDescription
- RepositoryDescription
string
RepositoryDoesNotExistException
- RepositoryDoesNotExistException
object
: The specified repository does not exist.
RepositoryId
- RepositoryId
string
RepositoryLimitExceededException
- RepositoryLimitExceededException
object
: A repository resource limit was exceeded.
RepositoryMetadata
- RepositoryMetadata
object
: Information about a repository.- Arn Arn
- accountId AccountId
- cloneUrlHttp CloneUrlHttp
- cloneUrlSsh CloneUrlSsh
- creationDate CreationDate
- defaultBranch BranchName
- lastModifiedDate LastModifiedDate
- repositoryDescription RepositoryDescription
- repositoryId RepositoryId
- repositoryName RepositoryName
RepositoryMetadataList
- RepositoryMetadataList
array
- items RepositoryMetadata
RepositoryName
- RepositoryName
string
RepositoryNameExistsException
- RepositoryNameExistsException
object
: The specified repository name already exists.
RepositoryNameIdPair
- RepositoryNameIdPair
object
: Information about a repository name and ID.- repositoryId RepositoryId
- repositoryName RepositoryName
RepositoryNameIdPairList
- RepositoryNameIdPairList
array
- items RepositoryNameIdPair
RepositoryNameList
- RepositoryNameList
array
- items RepositoryName
RepositoryNameRequiredException
- RepositoryNameRequiredException
object
: A repository name is required but was not specified.
RepositoryNamesRequiredException
- RepositoryNamesRequiredException
object
: A repository names object is required but was not specified.
RepositoryNotAssociatedWithPullRequestException
- RepositoryNotAssociatedWithPullRequestException
object
: The repository does not contain any pull requests with that pull request ID. Check to make sure you have provided the correct repository name for the pull request.
RepositoryNotFoundList
- RepositoryNotFoundList
array
- items RepositoryName
RepositoryTrigger
- RepositoryTrigger
object
: Information about a trigger for a repository.- branches BranchNameList
- customData RepositoryTriggerCustomData
- destinationArn required Arn
- events required RepositoryTriggerEventList
- name required RepositoryTriggerName
RepositoryTriggerBranchNameListRequiredException
- RepositoryTriggerBranchNameListRequiredException
object
: At least one branch name is required but was not specified in the trigger configuration.
RepositoryTriggerCustomData
- RepositoryTriggerCustomData
string
RepositoryTriggerDestinationArnRequiredException
- RepositoryTriggerDestinationArnRequiredException
object
: A destination ARN for the target service for the trigger is required but was not specified.
RepositoryTriggerEventEnum
- RepositoryTriggerEventEnum
string
(values: all, updateReference, createReference, deleteReference)
RepositoryTriggerEventList
- RepositoryTriggerEventList
array
RepositoryTriggerEventsListRequiredException
- RepositoryTriggerEventsListRequiredException
object
: At least one event for the trigger is required but was not specified.
RepositoryTriggerExecutionFailure
- RepositoryTriggerExecutionFailure
object
: A trigger failed to run.- failureMessage RepositoryTriggerExecutionFailureMessage
- trigger RepositoryTriggerName
RepositoryTriggerExecutionFailureList
- RepositoryTriggerExecutionFailureList
array
RepositoryTriggerExecutionFailureMessage
- RepositoryTriggerExecutionFailureMessage
string
RepositoryTriggerName
- RepositoryTriggerName
string
RepositoryTriggerNameList
- RepositoryTriggerNameList
array
- items RepositoryTriggerName
RepositoryTriggerNameRequiredException
- RepositoryTriggerNameRequiredException
object
: A name for the trigger is required but was not specified.
RepositoryTriggersConfigurationId
- RepositoryTriggersConfigurationId
string
RepositoryTriggersList
- RepositoryTriggersList
array
- items RepositoryTrigger
RepositoryTriggersListRequiredException
- RepositoryTriggersListRequiredException
object
: The list of triggers for the repository is required but was not specified.
SortByEnum
- SortByEnum
string
(values: repositoryName, lastModifiedDate)
SourceAndDestinationAreSameException
- SourceAndDestinationAreSameException
object
: The source branch and the destination branch for the pull request are the same. You must specify different branches for the source and destination.
Target
- Target
object
: Returns information about a target for a pull request.- destinationReference ReferenceName
- repositoryName required RepositoryName
- sourceReference required ReferenceName
TargetList
- TargetList
array
- items Target
TargetRequiredException
- TargetRequiredException
object
: 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.
TargetsRequiredException
- TargetsRequiredException
object
: An array of target objects is required. It cannot be empty or null.
TestRepositoryTriggersInput
- TestRepositoryTriggersInput
object
: Represents the input of a test repository triggers operation.- repositoryName required RepositoryName
- triggers required RepositoryTriggersList
TestRepositoryTriggersOutput
- TestRepositoryTriggersOutput
object
: Represents the output of a test repository triggers operation.- failedExecutions RepositoryTriggerExecutionFailureList
- successfulExecutions RepositoryTriggerNameList
TipOfSourceReferenceIsDifferentException
- TipOfSourceReferenceIsDifferentException
object
: 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.
TipsDivergenceExceededException
- TipsDivergenceExceededException
object
: 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 git diff or a diff tool.
Title
- Title
string
TitleRequiredException
- TitleRequiredException
object
: A pull request title is required. It cannot be empty or null.
UpdateCommentInput
UpdateCommentOutput
- UpdateCommentOutput
object
- comment Comment
UpdateDefaultBranchInput
- UpdateDefaultBranchInput
object
: Represents the input of an update default branch operation.- defaultBranchName required BranchName
- repositoryName required RepositoryName
UpdatePullRequestDescriptionInput
- UpdatePullRequestDescriptionInput
object
- description required Description
- pullRequestId required PullRequestId
UpdatePullRequestDescriptionOutput
- UpdatePullRequestDescriptionOutput
object
- pullRequest required PullRequest
UpdatePullRequestStatusInput
- UpdatePullRequestStatusInput
object
- pullRequestId required PullRequestId
- pullRequestStatus required PullRequestStatusEnum
UpdatePullRequestStatusOutput
- UpdatePullRequestStatusOutput
object
- pullRequest required PullRequest
UpdatePullRequestTitleInput
- UpdatePullRequestTitleInput
object
- pullRequestId required PullRequestId
- title required Title
UpdatePullRequestTitleOutput
- UpdatePullRequestTitleOutput
object
- pullRequest required PullRequest
UpdateRepositoryDescriptionInput
- UpdateRepositoryDescriptionInput
object
: Represents the input of an update repository description operation.- repositoryDescription RepositoryDescription
- repositoryName required RepositoryName
UpdateRepositoryNameInput
- UpdateRepositoryNameInput
object
: Represents the input of an update repository description operation.- newName required RepositoryName
- oldName required RepositoryName
UserInfo
- UserInfo
object
: Information about the user who made a specified commit.
blob
- blob
string