Update vendored deps, including AWS SDK, openpgp, ftp, ...

This commit is contained in:
Andrey Smirnov
2018-04-05 17:46:45 +03:00
parent cef4fefc40
commit 0e6ee35942
1497 changed files with 450721 additions and 68034 deletions
File diff suppressed because it is too large Load Diff
@@ -68,14 +68,33 @@ type CodeCommitAPI interface {
CreateBranchWithContext(aws.Context, *codecommit.CreateBranchInput, ...request.Option) (*codecommit.CreateBranchOutput, error)
CreateBranchRequest(*codecommit.CreateBranchInput) (*request.Request, *codecommit.CreateBranchOutput)
CreatePullRequest(*codecommit.CreatePullRequestInput) (*codecommit.CreatePullRequestOutput, error)
CreatePullRequestWithContext(aws.Context, *codecommit.CreatePullRequestInput, ...request.Option) (*codecommit.CreatePullRequestOutput, error)
CreatePullRequestRequest(*codecommit.CreatePullRequestInput) (*request.Request, *codecommit.CreatePullRequestOutput)
CreateRepository(*codecommit.CreateRepositoryInput) (*codecommit.CreateRepositoryOutput, error)
CreateRepositoryWithContext(aws.Context, *codecommit.CreateRepositoryInput, ...request.Option) (*codecommit.CreateRepositoryOutput, error)
CreateRepositoryRequest(*codecommit.CreateRepositoryInput) (*request.Request, *codecommit.CreateRepositoryOutput)
DeleteBranch(*codecommit.DeleteBranchInput) (*codecommit.DeleteBranchOutput, error)
DeleteBranchWithContext(aws.Context, *codecommit.DeleteBranchInput, ...request.Option) (*codecommit.DeleteBranchOutput, error)
DeleteBranchRequest(*codecommit.DeleteBranchInput) (*request.Request, *codecommit.DeleteBranchOutput)
DeleteCommentContent(*codecommit.DeleteCommentContentInput) (*codecommit.DeleteCommentContentOutput, error)
DeleteCommentContentWithContext(aws.Context, *codecommit.DeleteCommentContentInput, ...request.Option) (*codecommit.DeleteCommentContentOutput, error)
DeleteCommentContentRequest(*codecommit.DeleteCommentContentInput) (*request.Request, *codecommit.DeleteCommentContentOutput)
DeleteRepository(*codecommit.DeleteRepositoryInput) (*codecommit.DeleteRepositoryOutput, error)
DeleteRepositoryWithContext(aws.Context, *codecommit.DeleteRepositoryInput, ...request.Option) (*codecommit.DeleteRepositoryOutput, error)
DeleteRepositoryRequest(*codecommit.DeleteRepositoryInput) (*request.Request, *codecommit.DeleteRepositoryOutput)
DescribePullRequestEvents(*codecommit.DescribePullRequestEventsInput) (*codecommit.DescribePullRequestEventsOutput, error)
DescribePullRequestEventsWithContext(aws.Context, *codecommit.DescribePullRequestEventsInput, ...request.Option) (*codecommit.DescribePullRequestEventsOutput, error)
DescribePullRequestEventsRequest(*codecommit.DescribePullRequestEventsInput) (*request.Request, *codecommit.DescribePullRequestEventsOutput)
DescribePullRequestEventsPages(*codecommit.DescribePullRequestEventsInput, func(*codecommit.DescribePullRequestEventsOutput, bool) bool) error
DescribePullRequestEventsPagesWithContext(aws.Context, *codecommit.DescribePullRequestEventsInput, func(*codecommit.DescribePullRequestEventsOutput, bool) bool, ...request.Option) error
GetBlob(*codecommit.GetBlobInput) (*codecommit.GetBlobOutput, error)
GetBlobWithContext(aws.Context, *codecommit.GetBlobInput, ...request.Option) (*codecommit.GetBlobOutput, error)
GetBlobRequest(*codecommit.GetBlobInput) (*request.Request, *codecommit.GetBlobOutput)
@@ -84,6 +103,24 @@ type CodeCommitAPI interface {
GetBranchWithContext(aws.Context, *codecommit.GetBranchInput, ...request.Option) (*codecommit.GetBranchOutput, error)
GetBranchRequest(*codecommit.GetBranchInput) (*request.Request, *codecommit.GetBranchOutput)
GetComment(*codecommit.GetCommentInput) (*codecommit.GetCommentOutput, error)
GetCommentWithContext(aws.Context, *codecommit.GetCommentInput, ...request.Option) (*codecommit.GetCommentOutput, error)
GetCommentRequest(*codecommit.GetCommentInput) (*request.Request, *codecommit.GetCommentOutput)
GetCommentsForComparedCommit(*codecommit.GetCommentsForComparedCommitInput) (*codecommit.GetCommentsForComparedCommitOutput, error)
GetCommentsForComparedCommitWithContext(aws.Context, *codecommit.GetCommentsForComparedCommitInput, ...request.Option) (*codecommit.GetCommentsForComparedCommitOutput, error)
GetCommentsForComparedCommitRequest(*codecommit.GetCommentsForComparedCommitInput) (*request.Request, *codecommit.GetCommentsForComparedCommitOutput)
GetCommentsForComparedCommitPages(*codecommit.GetCommentsForComparedCommitInput, func(*codecommit.GetCommentsForComparedCommitOutput, bool) bool) error
GetCommentsForComparedCommitPagesWithContext(aws.Context, *codecommit.GetCommentsForComparedCommitInput, func(*codecommit.GetCommentsForComparedCommitOutput, bool) bool, ...request.Option) error
GetCommentsForPullRequest(*codecommit.GetCommentsForPullRequestInput) (*codecommit.GetCommentsForPullRequestOutput, error)
GetCommentsForPullRequestWithContext(aws.Context, *codecommit.GetCommentsForPullRequestInput, ...request.Option) (*codecommit.GetCommentsForPullRequestOutput, error)
GetCommentsForPullRequestRequest(*codecommit.GetCommentsForPullRequestInput) (*request.Request, *codecommit.GetCommentsForPullRequestOutput)
GetCommentsForPullRequestPages(*codecommit.GetCommentsForPullRequestInput, func(*codecommit.GetCommentsForPullRequestOutput, bool) bool) error
GetCommentsForPullRequestPagesWithContext(aws.Context, *codecommit.GetCommentsForPullRequestInput, func(*codecommit.GetCommentsForPullRequestOutput, bool) bool, ...request.Option) error
GetCommit(*codecommit.GetCommitInput) (*codecommit.GetCommitOutput, error)
GetCommitWithContext(aws.Context, *codecommit.GetCommitInput, ...request.Option) (*codecommit.GetCommitOutput, error)
GetCommitRequest(*codecommit.GetCommitInput) (*request.Request, *codecommit.GetCommitOutput)
@@ -95,6 +132,14 @@ type CodeCommitAPI interface {
GetDifferencesPages(*codecommit.GetDifferencesInput, func(*codecommit.GetDifferencesOutput, bool) bool) error
GetDifferencesPagesWithContext(aws.Context, *codecommit.GetDifferencesInput, func(*codecommit.GetDifferencesOutput, bool) bool, ...request.Option) error
GetMergeConflicts(*codecommit.GetMergeConflictsInput) (*codecommit.GetMergeConflictsOutput, error)
GetMergeConflictsWithContext(aws.Context, *codecommit.GetMergeConflictsInput, ...request.Option) (*codecommit.GetMergeConflictsOutput, error)
GetMergeConflictsRequest(*codecommit.GetMergeConflictsInput) (*request.Request, *codecommit.GetMergeConflictsOutput)
GetPullRequest(*codecommit.GetPullRequestInput) (*codecommit.GetPullRequestOutput, error)
GetPullRequestWithContext(aws.Context, *codecommit.GetPullRequestInput, ...request.Option) (*codecommit.GetPullRequestOutput, error)
GetPullRequestRequest(*codecommit.GetPullRequestInput) (*request.Request, *codecommit.GetPullRequestOutput)
GetRepository(*codecommit.GetRepositoryInput) (*codecommit.GetRepositoryOutput, error)
GetRepositoryWithContext(aws.Context, *codecommit.GetRepositoryInput, ...request.Option) (*codecommit.GetRepositoryOutput, error)
GetRepositoryRequest(*codecommit.GetRepositoryInput) (*request.Request, *codecommit.GetRepositoryOutput)
@@ -110,6 +155,13 @@ type CodeCommitAPI interface {
ListBranchesPages(*codecommit.ListBranchesInput, func(*codecommit.ListBranchesOutput, bool) bool) error
ListBranchesPagesWithContext(aws.Context, *codecommit.ListBranchesInput, func(*codecommit.ListBranchesOutput, bool) bool, ...request.Option) error
ListPullRequests(*codecommit.ListPullRequestsInput) (*codecommit.ListPullRequestsOutput, error)
ListPullRequestsWithContext(aws.Context, *codecommit.ListPullRequestsInput, ...request.Option) (*codecommit.ListPullRequestsOutput, error)
ListPullRequestsRequest(*codecommit.ListPullRequestsInput) (*request.Request, *codecommit.ListPullRequestsOutput)
ListPullRequestsPages(*codecommit.ListPullRequestsInput, func(*codecommit.ListPullRequestsOutput, bool) bool) error
ListPullRequestsPagesWithContext(aws.Context, *codecommit.ListPullRequestsInput, func(*codecommit.ListPullRequestsOutput, bool) bool, ...request.Option) error
ListRepositories(*codecommit.ListRepositoriesInput) (*codecommit.ListRepositoriesOutput, error)
ListRepositoriesWithContext(aws.Context, *codecommit.ListRepositoriesInput, ...request.Option) (*codecommit.ListRepositoriesOutput, error)
ListRepositoriesRequest(*codecommit.ListRepositoriesInput) (*request.Request, *codecommit.ListRepositoriesOutput)
@@ -117,6 +169,26 @@ type CodeCommitAPI interface {
ListRepositoriesPages(*codecommit.ListRepositoriesInput, func(*codecommit.ListRepositoriesOutput, bool) bool) error
ListRepositoriesPagesWithContext(aws.Context, *codecommit.ListRepositoriesInput, func(*codecommit.ListRepositoriesOutput, bool) bool, ...request.Option) error
MergePullRequestByFastForward(*codecommit.MergePullRequestByFastForwardInput) (*codecommit.MergePullRequestByFastForwardOutput, error)
MergePullRequestByFastForwardWithContext(aws.Context, *codecommit.MergePullRequestByFastForwardInput, ...request.Option) (*codecommit.MergePullRequestByFastForwardOutput, error)
MergePullRequestByFastForwardRequest(*codecommit.MergePullRequestByFastForwardInput) (*request.Request, *codecommit.MergePullRequestByFastForwardOutput)
PostCommentForComparedCommit(*codecommit.PostCommentForComparedCommitInput) (*codecommit.PostCommentForComparedCommitOutput, error)
PostCommentForComparedCommitWithContext(aws.Context, *codecommit.PostCommentForComparedCommitInput, ...request.Option) (*codecommit.PostCommentForComparedCommitOutput, error)
PostCommentForComparedCommitRequest(*codecommit.PostCommentForComparedCommitInput) (*request.Request, *codecommit.PostCommentForComparedCommitOutput)
PostCommentForPullRequest(*codecommit.PostCommentForPullRequestInput) (*codecommit.PostCommentForPullRequestOutput, error)
PostCommentForPullRequestWithContext(aws.Context, *codecommit.PostCommentForPullRequestInput, ...request.Option) (*codecommit.PostCommentForPullRequestOutput, error)
PostCommentForPullRequestRequest(*codecommit.PostCommentForPullRequestInput) (*request.Request, *codecommit.PostCommentForPullRequestOutput)
PostCommentReply(*codecommit.PostCommentReplyInput) (*codecommit.PostCommentReplyOutput, error)
PostCommentReplyWithContext(aws.Context, *codecommit.PostCommentReplyInput, ...request.Option) (*codecommit.PostCommentReplyOutput, error)
PostCommentReplyRequest(*codecommit.PostCommentReplyInput) (*request.Request, *codecommit.PostCommentReplyOutput)
PutFile(*codecommit.PutFileInput) (*codecommit.PutFileOutput, error)
PutFileWithContext(aws.Context, *codecommit.PutFileInput, ...request.Option) (*codecommit.PutFileOutput, error)
PutFileRequest(*codecommit.PutFileInput) (*request.Request, *codecommit.PutFileOutput)
PutRepositoryTriggers(*codecommit.PutRepositoryTriggersInput) (*codecommit.PutRepositoryTriggersOutput, error)
PutRepositoryTriggersWithContext(aws.Context, *codecommit.PutRepositoryTriggersInput, ...request.Option) (*codecommit.PutRepositoryTriggersOutput, error)
PutRepositoryTriggersRequest(*codecommit.PutRepositoryTriggersInput) (*request.Request, *codecommit.PutRepositoryTriggersOutput)
@@ -125,10 +197,26 @@ type CodeCommitAPI interface {
TestRepositoryTriggersWithContext(aws.Context, *codecommit.TestRepositoryTriggersInput, ...request.Option) (*codecommit.TestRepositoryTriggersOutput, error)
TestRepositoryTriggersRequest(*codecommit.TestRepositoryTriggersInput) (*request.Request, *codecommit.TestRepositoryTriggersOutput)
UpdateComment(*codecommit.UpdateCommentInput) (*codecommit.UpdateCommentOutput, error)
UpdateCommentWithContext(aws.Context, *codecommit.UpdateCommentInput, ...request.Option) (*codecommit.UpdateCommentOutput, error)
UpdateCommentRequest(*codecommit.UpdateCommentInput) (*request.Request, *codecommit.UpdateCommentOutput)
UpdateDefaultBranch(*codecommit.UpdateDefaultBranchInput) (*codecommit.UpdateDefaultBranchOutput, error)
UpdateDefaultBranchWithContext(aws.Context, *codecommit.UpdateDefaultBranchInput, ...request.Option) (*codecommit.UpdateDefaultBranchOutput, error)
UpdateDefaultBranchRequest(*codecommit.UpdateDefaultBranchInput) (*request.Request, *codecommit.UpdateDefaultBranchOutput)
UpdatePullRequestDescription(*codecommit.UpdatePullRequestDescriptionInput) (*codecommit.UpdatePullRequestDescriptionOutput, error)
UpdatePullRequestDescriptionWithContext(aws.Context, *codecommit.UpdatePullRequestDescriptionInput, ...request.Option) (*codecommit.UpdatePullRequestDescriptionOutput, error)
UpdatePullRequestDescriptionRequest(*codecommit.UpdatePullRequestDescriptionInput) (*request.Request, *codecommit.UpdatePullRequestDescriptionOutput)
UpdatePullRequestStatus(*codecommit.UpdatePullRequestStatusInput) (*codecommit.UpdatePullRequestStatusOutput, error)
UpdatePullRequestStatusWithContext(aws.Context, *codecommit.UpdatePullRequestStatusInput, ...request.Option) (*codecommit.UpdatePullRequestStatusOutput, error)
UpdatePullRequestStatusRequest(*codecommit.UpdatePullRequestStatusInput) (*request.Request, *codecommit.UpdatePullRequestStatusOutput)
UpdatePullRequestTitle(*codecommit.UpdatePullRequestTitleInput) (*codecommit.UpdatePullRequestTitleOutput, error)
UpdatePullRequestTitleWithContext(aws.Context, *codecommit.UpdatePullRequestTitleInput, ...request.Option) (*codecommit.UpdatePullRequestTitleOutput, error)
UpdatePullRequestTitleRequest(*codecommit.UpdatePullRequestTitleInput) (*request.Request, *codecommit.UpdatePullRequestTitleOutput)
UpdateRepositoryDescription(*codecommit.UpdateRepositoryDescriptionInput) (*codecommit.UpdateRepositoryDescriptionOutput, error)
UpdateRepositoryDescriptionWithContext(aws.Context, *codecommit.UpdateRepositoryDescriptionInput, ...request.Option) (*codecommit.UpdateRepositoryDescriptionOutput, error)
UpdateRepositoryDescriptionRequest(*codecommit.UpdateRepositoryDescriptionInput) (*request.Request, *codecommit.UpdateRepositoryDescriptionOutput)
+74 -17
View File
@@ -12,19 +12,19 @@
// Repositories, by calling the following:
//
// * BatchGetRepositories, which returns information about one or more repositories
// associated with your AWS account
// associated with your AWS account.
//
// * CreateRepository, which creates an AWS CodeCommit repository
// * CreateRepository, which creates an AWS CodeCommit repository.
//
// * DeleteRepository, which deletes an AWS CodeCommit repository
// * DeleteRepository, which deletes an AWS CodeCommit repository.
//
// * GetRepository, which returns information about a specified repository
// * GetRepository, which returns information about a specified repository.
//
// * ListRepositories, which lists all AWS CodeCommit repositories associated
// with your AWS account
// with your AWS account.
//
// * UpdateRepositoryDescription, which sets or updates the description of
// the repository
// 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
@@ -32,36 +32,93 @@
//
// Branches, by calling the following:
//
// * CreateBranch, which creates a new branch in a specified repository
// * CreateBranch, which creates a new branch in a specified repository.
//
// * GetBranch, which returns information about a specified branch
// * DeleteBranch, which deletes the specified branch in a repository unless
// it is the default branch.
//
// * ListBranches, which lists all branches for a specified repository
// * GetBranch, which returns information about a specified branch.
//
// * UpdateDefaultBranch, which changes the default branch for a repository
// * ListBranches, which lists all branches for a specified repository.
//
// * UpdateDefaultBranch, which changes the default branch for a repository.
//
// Files, by calling the following:
//
// * PutFile, which adds or modifies a file in a specified repository and
// branch.
//
// 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
// Git blob object within a repository.
//
// * GetCommit, which returns information about a commit, including commit
// messages and author and committer information
// 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)
// 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
// for a repository.
//
// * PutRepositoryTriggers, which replaces all triggers for a repository
// and can be used to create or delete triggers
// 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
// trigger by sending data to the trigger target.
//
// For information about how to use AWS CodeCommit, see the AWS CodeCommit User
// Guide (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).
@@ -73,7 +130,7 @@
//
// Using the Client
//
// To AWS CodeCommit with the SDK use the New function to create
// To contact AWS CodeCommit with the SDK use the New function to create
// a new service client. With that client you can make API requests to the service.
// These clients are safe to use concurrently.
//
+460 -1
View File
@@ -4,6 +4,25 @@ package codecommit
const (
// ErrCodeActorDoesNotExistException for service response error code
// "ActorDoesNotExistException".
//
// The specified Amazon Resource Name (ARN) does not exist in the AWS account.
ErrCodeActorDoesNotExistException = "ActorDoesNotExistException"
// ErrCodeAuthorDoesNotExistException for service response error code
// "AuthorDoesNotExistException".
//
// The specified Amazon Resource Name (ARN) does not exist in the AWS account.
ErrCodeAuthorDoesNotExistException = "AuthorDoesNotExistException"
// ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException for service response error code
// "BeforeCommitIdAndAfterCommitIdAreSameException".
//
// 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.
ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException = "BeforeCommitIdAndAfterCommitIdAreSameException"
// ErrCodeBlobIdDoesNotExistException for service response error code
// "BlobIdDoesNotExistException".
//
@@ -28,12 +47,70 @@ const (
// The specified branch name already exists.
ErrCodeBranchNameExistsException = "BranchNameExistsException"
// ErrCodeBranchNameIsTagNameException for service response error code
// "BranchNameIsTagNameException".
//
// 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 ListBranches.
ErrCodeBranchNameIsTagNameException = "BranchNameIsTagNameException"
// ErrCodeBranchNameRequiredException for service response error code
// "BranchNameRequiredException".
//
// A branch name is required but was not specified.
ErrCodeBranchNameRequiredException = "BranchNameRequiredException"
// ErrCodeClientRequestTokenRequiredException for service response error code
// "ClientRequestTokenRequiredException".
//
// 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.
ErrCodeClientRequestTokenRequiredException = "ClientRequestTokenRequiredException"
// ErrCodeCommentContentRequiredException for service response error code
// "CommentContentRequiredException".
//
// The comment is empty. You must provide some content for a comment. The content
// cannot be null.
ErrCodeCommentContentRequiredException = "CommentContentRequiredException"
// ErrCodeCommentContentSizeLimitExceededException for service response error code
// "CommentContentSizeLimitExceededException".
//
// The comment is too large. Comments are limited to 1,000 characters.
ErrCodeCommentContentSizeLimitExceededException = "CommentContentSizeLimitExceededException"
// ErrCodeCommentDeletedException for service response error code
// "CommentDeletedException".
//
// This comment has already been deleted. You cannot edit or delete a deleted
// comment.
ErrCodeCommentDeletedException = "CommentDeletedException"
// ErrCodeCommentDoesNotExistException for service response error code
// "CommentDoesNotExistException".
//
// No comment exists with the provided ID. Verify that you have provided the
// correct ID, and then try again.
ErrCodeCommentDoesNotExistException = "CommentDoesNotExistException"
// ErrCodeCommentIdRequiredException for service response error code
// "CommentIdRequiredException".
//
// The comment ID is missing or null. A comment ID is required.
ErrCodeCommentIdRequiredException = "CommentIdRequiredException"
// ErrCodeCommentNotCreatedByCallerException for service response error code
// "CommentNotCreatedByCallerException".
//
// You cannot modify or delete this comment. Only comment authors can modify
// or delete their comments.
ErrCodeCommentNotCreatedByCallerException = "CommentNotCreatedByCallerException"
// ErrCodeCommitDoesNotExistException for service response error code
// "CommitDoesNotExistException".
//
@@ -53,12 +130,35 @@ const (
// A commit ID was not specified.
ErrCodeCommitIdRequiredException = "CommitIdRequiredException"
// ErrCodeCommitMessageLengthExceededException for service response error code
// "CommitMessageLengthExceededException".
//
// The commit message is too long. Provide a shorter string.
ErrCodeCommitMessageLengthExceededException = "CommitMessageLengthExceededException"
// ErrCodeCommitRequiredException for service response error code
// "CommitRequiredException".
//
// A commit was not specified.
ErrCodeCommitRequiredException = "CommitRequiredException"
// ErrCodeDefaultBranchCannotBeDeletedException for service response error code
// "DefaultBranchCannotBeDeletedException".
//
// 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.
ErrCodeDefaultBranchCannotBeDeletedException = "DefaultBranchCannotBeDeletedException"
// ErrCodeDirectoryNameConflictsWithFileNameException for service response error code
// "DirectoryNameConflictsWithFileNameException".
//
// 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.
ErrCodeDirectoryNameConflictsWithFileNameException = "DirectoryNameConflictsWithFileNameException"
// ErrCodeEncryptionIntegrityChecksFailedException for service response error code
// "EncryptionIntegrityChecksFailedException".
//
@@ -89,6 +189,30 @@ const (
// The encryption key is not available.
ErrCodeEncryptionKeyUnavailableException = "EncryptionKeyUnavailableException"
// ErrCodeFileContentRequiredException for service response error code
// "FileContentRequiredException".
//
// The file cannot be added because it is empty. Empty files cannot be added
// to the repository with this API.
ErrCodeFileContentRequiredException = "FileContentRequiredException"
// ErrCodeFileContentSizeLimitExceededException for service response error code
// "FileContentSizeLimitExceededException".
//
// The file cannot be added because it is too large. The maximum file size that
// can be added using PutFile is 6 MB. For files larger than 6 MB but smaller
// than 2 GB, add them using a Git client.
ErrCodeFileContentSizeLimitExceededException = "FileContentSizeLimitExceededException"
// ErrCodeFileNameConflictsWithDirectoryNameException for service response error code
// "FileNameConflictsWithDirectoryNameException".
//
// 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.
ErrCodeFileNameConflictsWithDirectoryNameException = "FileNameConflictsWithDirectoryNameException"
// ErrCodeFileTooLargeException for service response error code
// "FileTooLargeException".
//
@@ -97,6 +221,28 @@ const (
// (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).
ErrCodeFileTooLargeException = "FileTooLargeException"
// ErrCodeIdempotencyParameterMismatchException for service response error code
// "IdempotencyParameterMismatchException".
//
// 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.
ErrCodeIdempotencyParameterMismatchException = "IdempotencyParameterMismatchException"
// ErrCodeInvalidActorArnException for service response error code
// "InvalidActorArnException".
//
// 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.
ErrCodeInvalidActorArnException = "InvalidActorArnException"
// ErrCodeInvalidAuthorArnException for service response error code
// "InvalidAuthorArnException".
//
// 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.
ErrCodeInvalidAuthorArnException = "InvalidAuthorArnException"
// ErrCodeInvalidBlobIdException for service response error code
// "InvalidBlobIdException".
//
@@ -106,9 +252,22 @@ const (
// ErrCodeInvalidBranchNameException for service response error code
// "InvalidBranchNameException".
//
// The specified branch name is not valid.
// The specified reference name is not valid.
ErrCodeInvalidBranchNameException = "InvalidBranchNameException"
// ErrCodeInvalidClientRequestTokenException for service response error code
// "InvalidClientRequestTokenException".
//
// The client request token is not valid.
ErrCodeInvalidClientRequestTokenException = "InvalidClientRequestTokenException"
// ErrCodeInvalidCommentIdException for service response error code
// "InvalidCommentIdException".
//
// The comment ID is not in a valid format. Make sure that you have provided
// the full comment ID.
ErrCodeInvalidCommentIdException = "InvalidCommentIdException"
// ErrCodeInvalidCommitException for service response error code
// "InvalidCommitException".
//
@@ -127,24 +286,125 @@ const (
// The specified continuation token is not valid.
ErrCodeInvalidContinuationTokenException = "InvalidContinuationTokenException"
// ErrCodeInvalidDescriptionException for service response error code
// "InvalidDescriptionException".
//
// The pull request description is not valid. Descriptions are limited to 1,000
// characters in length.
ErrCodeInvalidDescriptionException = "InvalidDescriptionException"
// ErrCodeInvalidDestinationCommitSpecifierException for service response error code
// "InvalidDestinationCommitSpecifierException".
//
// The destination commit specifier is not valid. You must provide a valid branch
// name, tag, or full commit ID.
ErrCodeInvalidDestinationCommitSpecifierException = "InvalidDestinationCommitSpecifierException"
// ErrCodeInvalidEmailException for service response error code
// "InvalidEmailException".
//
// 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.
ErrCodeInvalidEmailException = "InvalidEmailException"
// ErrCodeInvalidFileLocationException for service response error code
// "InvalidFileLocationException".
//
// The location of the file is not valid. Make sure that you include the extension
// of the file as well as the file name.
ErrCodeInvalidFileLocationException = "InvalidFileLocationException"
// ErrCodeInvalidFileModeException for service response error code
// "InvalidFileModeException".
//
// The specified file mode permission is not valid. For a list of valid file
// mode permissions, see PutFile.
ErrCodeInvalidFileModeException = "InvalidFileModeException"
// ErrCodeInvalidFilePositionException for service response error code
// "InvalidFilePositionException".
//
// The position is not valid. Make sure that the line number exists in the version
// of the file you want to comment on.
ErrCodeInvalidFilePositionException = "InvalidFilePositionException"
// ErrCodeInvalidMaxResultsException for service response error code
// "InvalidMaxResultsException".
//
// The specified number of maximum results is not valid.
ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException"
// ErrCodeInvalidMergeOptionException for service response error code
// "InvalidMergeOptionException".
//
// The specified merge option is not valid. The only valid value is FAST_FORWARD_MERGE.
ErrCodeInvalidMergeOptionException = "InvalidMergeOptionException"
// ErrCodeInvalidOrderException for service response error code
// "InvalidOrderException".
//
// The specified sort order is not valid.
ErrCodeInvalidOrderException = "InvalidOrderException"
// ErrCodeInvalidParentCommitIdException for service response error code
// "InvalidParentCommitIdException".
//
// 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.
ErrCodeInvalidParentCommitIdException = "InvalidParentCommitIdException"
// ErrCodeInvalidPathException for service response error code
// "InvalidPathException".
//
// The specified path is not valid.
ErrCodeInvalidPathException = "InvalidPathException"
// ErrCodeInvalidPullRequestEventTypeException for service response error code
// "InvalidPullRequestEventTypeException".
//
// The pull request event type is not valid.
ErrCodeInvalidPullRequestEventTypeException = "InvalidPullRequestEventTypeException"
// ErrCodeInvalidPullRequestIdException for service response error code
// "InvalidPullRequestIdException".
//
// 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.
ErrCodeInvalidPullRequestIdException = "InvalidPullRequestIdException"
// ErrCodeInvalidPullRequestStatusException for service response error code
// "InvalidPullRequestStatusException".
//
// The pull request status is not valid. The only valid values are OPEN and
// CLOSED.
ErrCodeInvalidPullRequestStatusException = "InvalidPullRequestStatusException"
// ErrCodeInvalidPullRequestStatusUpdateException for service response error code
// "InvalidPullRequestStatusUpdateException".
//
// The pull request status update is not valid. The only valid update is from
// OPEN to CLOSED.
ErrCodeInvalidPullRequestStatusUpdateException = "InvalidPullRequestStatusUpdateException"
// ErrCodeInvalidReferenceNameException for service response error code
// "InvalidReferenceNameException".
//
// 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 (https://git-scm.com/book/en/v2/Git-Internals-Git-References)
// or consult your Git documentation.
ErrCodeInvalidReferenceNameException = "InvalidReferenceNameException"
// ErrCodeInvalidRelativeFileVersionEnumException for service response error code
// "InvalidRelativeFileVersionEnumException".
//
// 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.
ErrCodeInvalidRelativeFileVersionEnumException = "InvalidRelativeFileVersionEnumException"
// ErrCodeInvalidRepositoryDescriptionException for service response error code
// "InvalidRepositoryDescriptionException".
//
@@ -207,12 +467,58 @@ const (
// The specified sort by value is not valid.
ErrCodeInvalidSortByException = "InvalidSortByException"
// ErrCodeInvalidSourceCommitSpecifierException for service response error code
// "InvalidSourceCommitSpecifierException".
//
// The source commit specifier is not valid. You must provide a valid branch
// name, tag, or full commit ID.
ErrCodeInvalidSourceCommitSpecifierException = "InvalidSourceCommitSpecifierException"
// ErrCodeInvalidTargetException for service response error code
// "InvalidTargetException".
//
// 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.
ErrCodeInvalidTargetException = "InvalidTargetException"
// ErrCodeInvalidTargetsException for service response error code
// "InvalidTargetsException".
//
// 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.
ErrCodeInvalidTargetsException = "InvalidTargetsException"
// ErrCodeInvalidTitleException for service response error code
// "InvalidTitleException".
//
// The title of the pull request is not valid. Pull request titles cannot exceed
// 100 characters in length.
ErrCodeInvalidTitleException = "InvalidTitleException"
// ErrCodeManualMergeRequiredException for service response error code
// "ManualMergeRequiredException".
//
// The pull request cannot be merged automatically into the destination branch.
// You must manually merge the branches and resolve any conflicts.
ErrCodeManualMergeRequiredException = "ManualMergeRequiredException"
// ErrCodeMaximumBranchesExceededException for service response error code
// "MaximumBranchesExceededException".
//
// The number of branches for the trigger was exceeded.
ErrCodeMaximumBranchesExceededException = "MaximumBranchesExceededException"
// ErrCodeMaximumOpenPullRequestsExceededException for service response error code
// "MaximumOpenPullRequestsExceededException".
//
// 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.
ErrCodeMaximumOpenPullRequestsExceededException = "MaximumOpenPullRequestsExceededException"
// ErrCodeMaximumRepositoryNamesExceededException for service response error code
// "MaximumRepositoryNamesExceededException".
//
@@ -226,12 +532,106 @@ const (
// The number of triggers allowed for the repository was exceeded.
ErrCodeMaximumRepositoryTriggersExceededException = "MaximumRepositoryTriggersExceededException"
// ErrCodeMergeOptionRequiredException for service response error code
// "MergeOptionRequiredException".
//
// A merge option or stategy is required, and none was provided.
ErrCodeMergeOptionRequiredException = "MergeOptionRequiredException"
// ErrCodeMultipleRepositoriesInPullRequestException for service response error code
// "MultipleRepositoriesInPullRequestException".
//
// 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.
ErrCodeMultipleRepositoriesInPullRequestException = "MultipleRepositoriesInPullRequestException"
// ErrCodeNameLengthExceededException for service response error code
// "NameLengthExceededException".
//
// The file name is not valid because it has exceeded the character limit for
// file names. File names, including the path to the file, cannot exceed the
// character limit.
ErrCodeNameLengthExceededException = "NameLengthExceededException"
// ErrCodeParentCommitDoesNotExistException for service response error code
// "ParentCommitDoesNotExistException".
//
// The parent commit ID is not valid. The specified parent commit ID does not
// exist in the specified branch of the repository.
ErrCodeParentCommitDoesNotExistException = "ParentCommitDoesNotExistException"
// ErrCodeParentCommitIdOutdatedException for service response error code
// "ParentCommitIdOutdatedException".
//
// 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 GetBranch.
ErrCodeParentCommitIdOutdatedException = "ParentCommitIdOutdatedException"
// ErrCodeParentCommitIdRequiredException for service response error code
// "ParentCommitIdRequiredException".
//
// A parent commit ID is required. To view the full commit ID of a branch in
// a repository, use GetBranch or a Git command (for example, git pull or git
// log).
ErrCodeParentCommitIdRequiredException = "ParentCommitIdRequiredException"
// ErrCodePathDoesNotExistException for service response error code
// "PathDoesNotExistException".
//
// The specified path does not exist.
ErrCodePathDoesNotExistException = "PathDoesNotExistException"
// ErrCodePathRequiredException for service response error code
// "PathRequiredException".
//
// The filePath for a location cannot be empty or null.
ErrCodePathRequiredException = "PathRequiredException"
// ErrCodePullRequestAlreadyClosedException for service response error code
// "PullRequestAlreadyClosedException".
//
// The pull request status cannot be updated because it is already closed.
ErrCodePullRequestAlreadyClosedException = "PullRequestAlreadyClosedException"
// ErrCodePullRequestDoesNotExistException for service response error code
// "PullRequestDoesNotExistException".
//
// 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.
ErrCodePullRequestDoesNotExistException = "PullRequestDoesNotExistException"
// ErrCodePullRequestIdRequiredException for service response error code
// "PullRequestIdRequiredException".
//
// A pull request ID is required, but none was provided.
ErrCodePullRequestIdRequiredException = "PullRequestIdRequiredException"
// ErrCodePullRequestStatusRequiredException for service response error code
// "PullRequestStatusRequiredException".
//
// A pull request status is required, but none was provided.
ErrCodePullRequestStatusRequiredException = "PullRequestStatusRequiredException"
// ErrCodeReferenceDoesNotExistException for service response error code
// "ReferenceDoesNotExistException".
//
// The specified reference does not exist. You must provide a full commit ID.
ErrCodeReferenceDoesNotExistException = "ReferenceDoesNotExistException"
// ErrCodeReferenceNameRequiredException for service response error code
// "ReferenceNameRequiredException".
//
// A reference name is required, but none was provided.
ErrCodeReferenceNameRequiredException = "ReferenceNameRequiredException"
// ErrCodeReferenceTypeNotSupportedException for service response error code
// "ReferenceTypeNotSupportedException".
//
// The specified reference is not a supported type.
ErrCodeReferenceTypeNotSupportedException = "ReferenceTypeNotSupportedException"
// ErrCodeRepositoryDoesNotExistException for service response error code
// "RepositoryDoesNotExistException".
//
@@ -262,6 +662,14 @@ const (
// A repository names object is required but was not specified.
ErrCodeRepositoryNamesRequiredException = "RepositoryNamesRequiredException"
// ErrCodeRepositoryNotAssociatedWithPullRequestException for service response error code
// "RepositoryNotAssociatedWithPullRequestException".
//
// 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.
ErrCodeRepositoryNotAssociatedWithPullRequestException = "RepositoryNotAssociatedWithPullRequestException"
// ErrCodeRepositoryTriggerBranchNameListRequiredException for service response error code
// "RepositoryTriggerBranchNameListRequiredException".
//
@@ -293,4 +701,55 @@ const (
//
// The list of triggers for the repository is required but was not specified.
ErrCodeRepositoryTriggersListRequiredException = "RepositoryTriggersListRequiredException"
// ErrCodeSameFileContentException for service response error code
// "SameFileContentException".
//
// 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.
ErrCodeSameFileContentException = "SameFileContentException"
// ErrCodeSourceAndDestinationAreSameException for service response error code
// "SourceAndDestinationAreSameException".
//
// The source branch and the destination branch for the pull request are the
// same. You must specify different branches for the source and destination.
ErrCodeSourceAndDestinationAreSameException = "SourceAndDestinationAreSameException"
// ErrCodeTargetRequiredException for service response error code
// "TargetRequiredException".
//
// 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.
ErrCodeTargetRequiredException = "TargetRequiredException"
// ErrCodeTargetsRequiredException for service response error code
// "TargetsRequiredException".
//
// An array of target objects is required. It cannot be empty or null.
ErrCodeTargetsRequiredException = "TargetsRequiredException"
// ErrCodeTipOfSourceReferenceIsDifferentException for service response error code
// "TipOfSourceReferenceIsDifferentException".
//
// 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.
ErrCodeTipOfSourceReferenceIsDifferentException = "TipOfSourceReferenceIsDifferentException"
// ErrCodeTipsDivergenceExceededException for service response error code
// "TipsDivergenceExceededException".
//
// 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.
ErrCodeTipsDivergenceExceededException = "TipsDivergenceExceededException"
// ErrCodeTitleRequiredException for service response error code
// "TitleRequiredException".
//
// A pull request title is required. It cannot be empty or null.
ErrCodeTitleRequiredException = "TitleRequiredException"
)