/
doc.go
204 lines (203 loc) · 8.01 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
// 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:
//
// * DeleteFile, which deletes the content of a specified file from a specified
// branch.
//
// * GetBlob, which returns the base-64 encoded content of an individual
// Git blob object within a repository.
//
// * GetFile, which returns the base-64 encoded content of a specified file.
//
// * GetFolder, which returns the contents of a specified folder or directory.
//
// * PutFile, which adds or modifies a single file in a specified repository
// and branch.
//
// Commits, by calling the following:
//
// * BatchGetCommits, which returns information about one or more commits
// in a repository
//
// * CreateCommit, which creates a commit for changes to 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).
//
// Merges, by calling the following:
//
// * BatchDescribeMergeConflicts, which returns information about conflicts
// in a merge between commits in a repository.
//
// * CreateUnreferencedMergeCommit, which creates an unreferenced commit
// between two branches or commits for the purpose of comparing them and
// identifying any potential conflicts.
//
// * DescribeMergeConflicts, which returns information about merge conflicts
// between the base, source, and destination versions of a file in a potential
// merge.
//
// * GetMergeCommit, which returns information about the merge between a
// source and destination commit.
//
// * GetMergeConflicts, which returns information about merge conflicts between
// the source and destination branch in a pull request.
//
// * GetMergeOptions, which returns information about the available merge
// options between two branches or commit specifiers.
//
// * MergeBranchesByFastForward, which merges two branches using the fast-forward
// merge option.
//
// * MergeBranchesBySquash, which merges two branches using the squash merge
// option.
//
// * MergeBranchesByThreeWay, which merges two branches using the three-way
// merge option.
//
// 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.
//
// * 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.
//
// * MergePullRequestBySquash, which merges the source destination branch
// of a pull request into the specified destination branch for that pull
// request using the squash merge option.
//
// * MergePullRequestByThreeWay. which merges the source destination branch
// of a pull request into the specified destination branch for that pull
// request using the three-way merge option.
//
// * 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.
//
// 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.
//
// Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the
// following:
//
// * ListTagsForResource, which gets information about AWS tags for a specified
// Amazon Resource Name (ARN) in AWS CodeCommit.
//
// * TagResource, which adds or updates tags for a resource in AWS CodeCommit.
//
// * UntagResource, which removes tags for a resource in AWS CodeCommit.
//
// 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 (https://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