Vendor aws-sdk-go (dep ensure) (#178)
This commit is contained in:
9638
vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go
generated
vendored
Normal file
9638
vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
229
vendor/github.com/aws/aws-sdk-go/service/codecommit/codecommitiface/interface.go
generated
vendored
Normal file
229
vendor/github.com/aws/aws-sdk-go/service/codecommit/codecommitiface/interface.go
generated
vendored
Normal file
@@ -0,0 +1,229 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package codecommitiface provides an interface to enable mocking the AWS CodeCommit service client
|
||||
// for testing your code.
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters.
|
||||
package codecommitiface
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/service/codecommit"
|
||||
)
|
||||
|
||||
// CodeCommitAPI provides an interface to enable mocking the
|
||||
// codecommit.CodeCommit service client's API operation,
|
||||
// paginators, and waiters. This make unit testing your code that calls out
|
||||
// to the SDK's service client's calls easier.
|
||||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS CodeCommit.
|
||||
// func myFunc(svc codecommitiface.CodeCommitAPI) bool {
|
||||
// // Make svc.BatchGetRepositories request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
// sess := session.New()
|
||||
// svc := codecommit.New(sess)
|
||||
//
|
||||
// myFunc(svc)
|
||||
// }
|
||||
//
|
||||
// In your _test.go file:
|
||||
//
|
||||
// // Define a mock struct to be used in your unit tests of myFunc.
|
||||
// type mockCodeCommitClient struct {
|
||||
// codecommitiface.CodeCommitAPI
|
||||
// }
|
||||
// func (m *mockCodeCommitClient) BatchGetRepositories(input *codecommit.BatchGetRepositoriesInput) (*codecommit.BatchGetRepositoriesOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
// func TestMyFunc(t *testing.T) {
|
||||
// // Setup Test
|
||||
// mockSvc := &mockCodeCommitClient{}
|
||||
//
|
||||
// myfunc(mockSvc)
|
||||
//
|
||||
// // Verify myFunc's functionality
|
||||
// }
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters. Its suggested to use the pattern above for testing, or using
|
||||
// tooling to generate mocks to satisfy the interfaces.
|
||||
type CodeCommitAPI interface {
|
||||
BatchGetRepositories(*codecommit.BatchGetRepositoriesInput) (*codecommit.BatchGetRepositoriesOutput, error)
|
||||
BatchGetRepositoriesWithContext(aws.Context, *codecommit.BatchGetRepositoriesInput, ...request.Option) (*codecommit.BatchGetRepositoriesOutput, error)
|
||||
BatchGetRepositoriesRequest(*codecommit.BatchGetRepositoriesInput) (*request.Request, *codecommit.BatchGetRepositoriesOutput)
|
||||
|
||||
CreateBranch(*codecommit.CreateBranchInput) (*codecommit.CreateBranchOutput, error)
|
||||
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)
|
||||
|
||||
GetBranch(*codecommit.GetBranchInput) (*codecommit.GetBranchOutput, error)
|
||||
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)
|
||||
|
||||
GetDifferences(*codecommit.GetDifferencesInput) (*codecommit.GetDifferencesOutput, error)
|
||||
GetDifferencesWithContext(aws.Context, *codecommit.GetDifferencesInput, ...request.Option) (*codecommit.GetDifferencesOutput, error)
|
||||
GetDifferencesRequest(*codecommit.GetDifferencesInput) (*request.Request, *codecommit.GetDifferencesOutput)
|
||||
|
||||
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)
|
||||
|
||||
GetRepositoryTriggers(*codecommit.GetRepositoryTriggersInput) (*codecommit.GetRepositoryTriggersOutput, error)
|
||||
GetRepositoryTriggersWithContext(aws.Context, *codecommit.GetRepositoryTriggersInput, ...request.Option) (*codecommit.GetRepositoryTriggersOutput, error)
|
||||
GetRepositoryTriggersRequest(*codecommit.GetRepositoryTriggersInput) (*request.Request, *codecommit.GetRepositoryTriggersOutput)
|
||||
|
||||
ListBranches(*codecommit.ListBranchesInput) (*codecommit.ListBranchesOutput, error)
|
||||
ListBranchesWithContext(aws.Context, *codecommit.ListBranchesInput, ...request.Option) (*codecommit.ListBranchesOutput, error)
|
||||
ListBranchesRequest(*codecommit.ListBranchesInput) (*request.Request, *codecommit.ListBranchesOutput)
|
||||
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
TestRepositoryTriggers(*codecommit.TestRepositoryTriggersInput) (*codecommit.TestRepositoryTriggersOutput, error)
|
||||
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)
|
||||
|
||||
UpdateRepositoryName(*codecommit.UpdateRepositoryNameInput) (*codecommit.UpdateRepositoryNameOutput, error)
|
||||
UpdateRepositoryNameWithContext(aws.Context, *codecommit.UpdateRepositoryNameInput, ...request.Option) (*codecommit.UpdateRepositoryNameOutput, error)
|
||||
UpdateRepositoryNameRequest(*codecommit.UpdateRepositoryNameInput) (*request.Request, *codecommit.UpdateRepositoryNameOutput)
|
||||
}
|
||||
|
||||
var _ CodeCommitAPI = (*codecommit.CodeCommit)(nil)
|
||||
146
vendor/github.com/aws/aws-sdk-go/service/codecommit/doc.go
generated
vendored
Normal file
146
vendor/github.com/aws/aws-sdk-go/service/codecommit/doc.go
generated
vendored
Normal file
@@ -0,0 +1,146 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package codecommit provides the client and types for making API
|
||||
// requests to 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.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// * 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 (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13 for more information on this service.
|
||||
//
|
||||
// See codecommit package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS CodeCommit client CodeCommit for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/#New
|
||||
package codecommit
|
||||
755
vendor/github.com/aws/aws-sdk-go/service/codecommit/errors.go
generated
vendored
Normal file
755
vendor/github.com/aws/aws-sdk-go/service/codecommit/errors.go
generated
vendored
Normal file
@@ -0,0 +1,755 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
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".
|
||||
//
|
||||
// The specified blob does not exist.
|
||||
ErrCodeBlobIdDoesNotExistException = "BlobIdDoesNotExistException"
|
||||
|
||||
// ErrCodeBlobIdRequiredException for service response error code
|
||||
// "BlobIdRequiredException".
|
||||
//
|
||||
// A blob ID is required but was not specified.
|
||||
ErrCodeBlobIdRequiredException = "BlobIdRequiredException"
|
||||
|
||||
// ErrCodeBranchDoesNotExistException for service response error code
|
||||
// "BranchDoesNotExistException".
|
||||
//
|
||||
// The specified branch does not exist.
|
||||
ErrCodeBranchDoesNotExistException = "BranchDoesNotExistException"
|
||||
|
||||
// ErrCodeBranchNameExistsException for service response error code
|
||||
// "BranchNameExistsException".
|
||||
//
|
||||
// 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".
|
||||
//
|
||||
// The specified commit does not exist or no commit was specified, and the specified
|
||||
// repository has no default branch.
|
||||
ErrCodeCommitDoesNotExistException = "CommitDoesNotExistException"
|
||||
|
||||
// ErrCodeCommitIdDoesNotExistException for service response error code
|
||||
// "CommitIdDoesNotExistException".
|
||||
//
|
||||
// The specified commit ID does not exist.
|
||||
ErrCodeCommitIdDoesNotExistException = "CommitIdDoesNotExistException"
|
||||
|
||||
// ErrCodeCommitIdRequiredException for service response error code
|
||||
// "CommitIdRequiredException".
|
||||
//
|
||||
// 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".
|
||||
//
|
||||
// An encryption integrity check failed.
|
||||
ErrCodeEncryptionIntegrityChecksFailedException = "EncryptionIntegrityChecksFailedException"
|
||||
|
||||
// ErrCodeEncryptionKeyAccessDeniedException for service response error code
|
||||
// "EncryptionKeyAccessDeniedException".
|
||||
//
|
||||
// An encryption key could not be accessed.
|
||||
ErrCodeEncryptionKeyAccessDeniedException = "EncryptionKeyAccessDeniedException"
|
||||
|
||||
// ErrCodeEncryptionKeyDisabledException for service response error code
|
||||
// "EncryptionKeyDisabledException".
|
||||
//
|
||||
// The encryption key is disabled.
|
||||
ErrCodeEncryptionKeyDisabledException = "EncryptionKeyDisabledException"
|
||||
|
||||
// ErrCodeEncryptionKeyNotFoundException for service response error code
|
||||
// "EncryptionKeyNotFoundException".
|
||||
//
|
||||
// No encryption key was found.
|
||||
ErrCodeEncryptionKeyNotFoundException = "EncryptionKeyNotFoundException"
|
||||
|
||||
// ErrCodeEncryptionKeyUnavailableException for service response error code
|
||||
// "EncryptionKeyUnavailableException".
|
||||
//
|
||||
// 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".
|
||||
//
|
||||
// The specified file exceeds the file size limit for AWS CodeCommit. For more
|
||||
// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide
|
||||
// (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".
|
||||
//
|
||||
// The specified blob is not valid.
|
||||
ErrCodeInvalidBlobIdException = "InvalidBlobIdException"
|
||||
|
||||
// ErrCodeInvalidBranchNameException for service response error code
|
||||
// "InvalidBranchNameException".
|
||||
//
|
||||
// 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".
|
||||
//
|
||||
// The specified commit is not valid.
|
||||
ErrCodeInvalidCommitException = "InvalidCommitException"
|
||||
|
||||
// ErrCodeInvalidCommitIdException for service response error code
|
||||
// "InvalidCommitIdException".
|
||||
//
|
||||
// The specified commit ID is not valid.
|
||||
ErrCodeInvalidCommitIdException = "InvalidCommitIdException"
|
||||
|
||||
// ErrCodeInvalidContinuationTokenException for service response error code
|
||||
// "InvalidContinuationTokenException".
|
||||
//
|
||||
// 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".
|
||||
//
|
||||
// The specified repository description is not valid.
|
||||
ErrCodeInvalidRepositoryDescriptionException = "InvalidRepositoryDescriptionException"
|
||||
|
||||
// ErrCodeInvalidRepositoryNameException for service response error code
|
||||
// "InvalidRepositoryNameException".
|
||||
//
|
||||
// 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.
|
||||
ErrCodeInvalidRepositoryNameException = "InvalidRepositoryNameException"
|
||||
|
||||
// ErrCodeInvalidRepositoryTriggerBranchNameException for service response error code
|
||||
// "InvalidRepositoryTriggerBranchNameException".
|
||||
//
|
||||
// One or more branch names specified for the trigger is not valid.
|
||||
ErrCodeInvalidRepositoryTriggerBranchNameException = "InvalidRepositoryTriggerBranchNameException"
|
||||
|
||||
// ErrCodeInvalidRepositoryTriggerCustomDataException for service response error code
|
||||
// "InvalidRepositoryTriggerCustomDataException".
|
||||
//
|
||||
// The custom data provided for the trigger is not valid.
|
||||
ErrCodeInvalidRepositoryTriggerCustomDataException = "InvalidRepositoryTriggerCustomDataException"
|
||||
|
||||
// ErrCodeInvalidRepositoryTriggerDestinationArnException for service response error code
|
||||
// "InvalidRepositoryTriggerDestinationArnException".
|
||||
//
|
||||
// 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.
|
||||
ErrCodeInvalidRepositoryTriggerDestinationArnException = "InvalidRepositoryTriggerDestinationArnException"
|
||||
|
||||
// ErrCodeInvalidRepositoryTriggerEventsException for service response error code
|
||||
// "InvalidRepositoryTriggerEventsException".
|
||||
//
|
||||
// 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.
|
||||
ErrCodeInvalidRepositoryTriggerEventsException = "InvalidRepositoryTriggerEventsException"
|
||||
|
||||
// ErrCodeInvalidRepositoryTriggerNameException for service response error code
|
||||
// "InvalidRepositoryTriggerNameException".
|
||||
//
|
||||
// The name of the trigger is not valid.
|
||||
ErrCodeInvalidRepositoryTriggerNameException = "InvalidRepositoryTriggerNameException"
|
||||
|
||||
// ErrCodeInvalidRepositoryTriggerRegionException for service response error code
|
||||
// "InvalidRepositoryTriggerRegionException".
|
||||
//
|
||||
// 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.
|
||||
ErrCodeInvalidRepositoryTriggerRegionException = "InvalidRepositoryTriggerRegionException"
|
||||
|
||||
// ErrCodeInvalidSortByException for service response error code
|
||||
// "InvalidSortByException".
|
||||
//
|
||||
// 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".
|
||||
//
|
||||
// The maximum number of allowed repository names was exceeded. Currently, this
|
||||
// number is 25.
|
||||
ErrCodeMaximumRepositoryNamesExceededException = "MaximumRepositoryNamesExceededException"
|
||||
|
||||
// ErrCodeMaximumRepositoryTriggersExceededException for service response error code
|
||||
// "MaximumRepositoryTriggersExceededException".
|
||||
//
|
||||
// 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".
|
||||
//
|
||||
// The specified repository does not exist.
|
||||
ErrCodeRepositoryDoesNotExistException = "RepositoryDoesNotExistException"
|
||||
|
||||
// ErrCodeRepositoryLimitExceededException for service response error code
|
||||
// "RepositoryLimitExceededException".
|
||||
//
|
||||
// A repository resource limit was exceeded.
|
||||
ErrCodeRepositoryLimitExceededException = "RepositoryLimitExceededException"
|
||||
|
||||
// ErrCodeRepositoryNameExistsException for service response error code
|
||||
// "RepositoryNameExistsException".
|
||||
//
|
||||
// The specified repository name already exists.
|
||||
ErrCodeRepositoryNameExistsException = "RepositoryNameExistsException"
|
||||
|
||||
// ErrCodeRepositoryNameRequiredException for service response error code
|
||||
// "RepositoryNameRequiredException".
|
||||
//
|
||||
// A repository name is required but was not specified.
|
||||
ErrCodeRepositoryNameRequiredException = "RepositoryNameRequiredException"
|
||||
|
||||
// ErrCodeRepositoryNamesRequiredException for service response error code
|
||||
// "RepositoryNamesRequiredException".
|
||||
//
|
||||
// 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".
|
||||
//
|
||||
// At least one branch name is required but was not specified in the trigger
|
||||
// configuration.
|
||||
ErrCodeRepositoryTriggerBranchNameListRequiredException = "RepositoryTriggerBranchNameListRequiredException"
|
||||
|
||||
// ErrCodeRepositoryTriggerDestinationArnRequiredException for service response error code
|
||||
// "RepositoryTriggerDestinationArnRequiredException".
|
||||
//
|
||||
// A destination ARN for the target service for the trigger is required but
|
||||
// was not specified.
|
||||
ErrCodeRepositoryTriggerDestinationArnRequiredException = "RepositoryTriggerDestinationArnRequiredException"
|
||||
|
||||
// ErrCodeRepositoryTriggerEventsListRequiredException for service response error code
|
||||
// "RepositoryTriggerEventsListRequiredException".
|
||||
//
|
||||
// At least one event for the trigger is required but was not specified.
|
||||
ErrCodeRepositoryTriggerEventsListRequiredException = "RepositoryTriggerEventsListRequiredException"
|
||||
|
||||
// ErrCodeRepositoryTriggerNameRequiredException for service response error code
|
||||
// "RepositoryTriggerNameRequiredException".
|
||||
//
|
||||
// A name for the trigger is required but was not specified.
|
||||
ErrCodeRepositoryTriggerNameRequiredException = "RepositoryTriggerNameRequiredException"
|
||||
|
||||
// ErrCodeRepositoryTriggersListRequiredException for service response error code
|
||||
// "RepositoryTriggersListRequiredException".
|
||||
//
|
||||
// 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"
|
||||
)
|
||||
95
vendor/github.com/aws/aws-sdk-go/service/codecommit/service.go
generated
vendored
Normal file
95
vendor/github.com/aws/aws-sdk-go/service/codecommit/service.go
generated
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package codecommit
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/client"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
|
||||
)
|
||||
|
||||
// CodeCommit provides the API operation methods for making requests to
|
||||
// AWS CodeCommit. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// CodeCommit methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type CodeCommit struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
// Used for custom client initialization logic
|
||||
var initClient func(*client.Client)
|
||||
|
||||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "codecommit" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
)
|
||||
|
||||
// New creates a new instance of the CodeCommit client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
// aws.Config parameter to add your extra config.
|
||||
//
|
||||
// Example:
|
||||
// // Create a CodeCommit client from just a session.
|
||||
// svc := codecommit.New(mySession)
|
||||
//
|
||||
// // Create a CodeCommit client with additional configuration
|
||||
// svc := codecommit.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeCommit {
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
// newClient creates, initializes and returns a new service client instance.
|
||||
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *CodeCommit {
|
||||
svc := &CodeCommit{
|
||||
Client: client.New(
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
APIVersion: "2015-04-13",
|
||||
JSONVersion: "1.1",
|
||||
TargetPrefix: "CodeCommit_20150413",
|
||||
},
|
||||
handlers,
|
||||
),
|
||||
}
|
||||
|
||||
// Handlers
|
||||
svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
|
||||
svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler)
|
||||
svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler)
|
||||
svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler)
|
||||
svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler)
|
||||
|
||||
// Run custom client initialization if present
|
||||
if initClient != nil {
|
||||
initClient(svc.Client)
|
||||
}
|
||||
|
||||
return svc
|
||||
}
|
||||
|
||||
// newRequest creates a new request for a CodeCommit operation and runs any
|
||||
// custom request initialization.
|
||||
func (c *CodeCommit) newRequest(op *request.Operation, params, data interface{}) *request.Request {
|
||||
req := c.NewRequest(op, params, data)
|
||||
|
||||
// Run custom request initialization if present
|
||||
if initRequest != nil {
|
||||
initRequest(req)
|
||||
}
|
||||
|
||||
return req
|
||||
}
|
||||
Reference in New Issue
Block a user