@aws-sdk/client-codebuild 3.315.0 → 3.319.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/CodeBuild.js +49 -630
- package/dist-es/CodeBuild.js +49 -630
- package/dist-types/CodeBuild.d.ts +62 -182
- package/dist-types/ts3.4/CodeBuild.d.ts +2 -1
- package/package.json +8 -8
|
@@ -45,411 +45,291 @@ import { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "./command
|
|
|
45
45
|
import { UpdateProjectVisibilityCommandInput, UpdateProjectVisibilityCommandOutput } from "./commands/UpdateProjectVisibilityCommand";
|
|
46
46
|
import { UpdateReportGroupCommandInput, UpdateReportGroupCommandOutput } from "./commands/UpdateReportGroupCommand";
|
|
47
47
|
import { UpdateWebhookCommandInput, UpdateWebhookCommandOutput } from "./commands/UpdateWebhookCommand";
|
|
48
|
-
|
|
49
|
-
* @public
|
|
50
|
-
* <fullname>CodeBuild</fullname>
|
|
51
|
-
* <p>CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code,
|
|
52
|
-
* runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the
|
|
53
|
-
* need to provision, manage, and scale your own build servers. It provides prepackaged
|
|
54
|
-
* build environments for the most popular programming languages and build tools, such as
|
|
55
|
-
* Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild
|
|
56
|
-
* to use your own build tools. CodeBuild scales automatically to meet peak build requests. You
|
|
57
|
-
* pay only for the build time you consume. For more information about CodeBuild, see the <i>
|
|
58
|
-
* <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html">CodeBuild User
|
|
59
|
-
* Guide</a>.</i>
|
|
60
|
-
* </p>
|
|
61
|
-
*/
|
|
62
|
-
export declare class CodeBuild extends CodeBuildClient {
|
|
48
|
+
export interface CodeBuild {
|
|
63
49
|
/**
|
|
64
|
-
* @
|
|
65
|
-
* <p>Deletes one or more builds.</p>
|
|
50
|
+
* @see {@link BatchDeleteBuildsCommand}
|
|
66
51
|
*/
|
|
67
52
|
batchDeleteBuilds(args: BatchDeleteBuildsCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteBuildsCommandOutput>;
|
|
68
53
|
batchDeleteBuilds(args: BatchDeleteBuildsCommandInput, cb: (err: any, data?: BatchDeleteBuildsCommandOutput) => void): void;
|
|
69
54
|
batchDeleteBuilds(args: BatchDeleteBuildsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteBuildsCommandOutput) => void): void;
|
|
70
55
|
/**
|
|
71
|
-
* @
|
|
72
|
-
* <p>Retrieves information about one or more batch builds.</p>
|
|
56
|
+
* @see {@link BatchGetBuildBatchesCommand}
|
|
73
57
|
*/
|
|
74
58
|
batchGetBuildBatches(args: BatchGetBuildBatchesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetBuildBatchesCommandOutput>;
|
|
75
59
|
batchGetBuildBatches(args: BatchGetBuildBatchesCommandInput, cb: (err: any, data?: BatchGetBuildBatchesCommandOutput) => void): void;
|
|
76
60
|
batchGetBuildBatches(args: BatchGetBuildBatchesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetBuildBatchesCommandOutput) => void): void;
|
|
77
61
|
/**
|
|
78
|
-
* @
|
|
79
|
-
* <p>Gets information about one or more builds.</p>
|
|
62
|
+
* @see {@link BatchGetBuildsCommand}
|
|
80
63
|
*/
|
|
81
64
|
batchGetBuilds(args: BatchGetBuildsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetBuildsCommandOutput>;
|
|
82
65
|
batchGetBuilds(args: BatchGetBuildsCommandInput, cb: (err: any, data?: BatchGetBuildsCommandOutput) => void): void;
|
|
83
66
|
batchGetBuilds(args: BatchGetBuildsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetBuildsCommandOutput) => void): void;
|
|
84
67
|
/**
|
|
85
|
-
* @
|
|
86
|
-
* <p>Gets information about one or more build projects.</p>
|
|
68
|
+
* @see {@link BatchGetProjectsCommand}
|
|
87
69
|
*/
|
|
88
70
|
batchGetProjects(args: BatchGetProjectsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetProjectsCommandOutput>;
|
|
89
71
|
batchGetProjects(args: BatchGetProjectsCommandInput, cb: (err: any, data?: BatchGetProjectsCommandOutput) => void): void;
|
|
90
72
|
batchGetProjects(args: BatchGetProjectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetProjectsCommandOutput) => void): void;
|
|
91
73
|
/**
|
|
92
|
-
* @
|
|
93
|
-
* <p>
|
|
94
|
-
* Returns an array of report groups.
|
|
95
|
-
* </p>
|
|
74
|
+
* @see {@link BatchGetReportGroupsCommand}
|
|
96
75
|
*/
|
|
97
76
|
batchGetReportGroups(args: BatchGetReportGroupsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetReportGroupsCommandOutput>;
|
|
98
77
|
batchGetReportGroups(args: BatchGetReportGroupsCommandInput, cb: (err: any, data?: BatchGetReportGroupsCommandOutput) => void): void;
|
|
99
78
|
batchGetReportGroups(args: BatchGetReportGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetReportGroupsCommandOutput) => void): void;
|
|
100
79
|
/**
|
|
101
|
-
* @
|
|
102
|
-
* <p>
|
|
103
|
-
* Returns an array of reports.
|
|
104
|
-
* </p>
|
|
80
|
+
* @see {@link BatchGetReportsCommand}
|
|
105
81
|
*/
|
|
106
82
|
batchGetReports(args: BatchGetReportsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetReportsCommandOutput>;
|
|
107
83
|
batchGetReports(args: BatchGetReportsCommandInput, cb: (err: any, data?: BatchGetReportsCommandOutput) => void): void;
|
|
108
84
|
batchGetReports(args: BatchGetReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetReportsCommandOutput) => void): void;
|
|
109
85
|
/**
|
|
110
|
-
* @
|
|
111
|
-
* <p>Creates a build project.</p>
|
|
86
|
+
* @see {@link CreateProjectCommand}
|
|
112
87
|
*/
|
|
113
88
|
createProject(args: CreateProjectCommandInput, options?: __HttpHandlerOptions): Promise<CreateProjectCommandOutput>;
|
|
114
89
|
createProject(args: CreateProjectCommandInput, cb: (err: any, data?: CreateProjectCommandOutput) => void): void;
|
|
115
90
|
createProject(args: CreateProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProjectCommandOutput) => void): void;
|
|
116
91
|
/**
|
|
117
|
-
* @
|
|
118
|
-
* <p>
|
|
119
|
-
* Creates a report group. A report group contains a collection of reports.
|
|
120
|
-
* </p>
|
|
92
|
+
* @see {@link CreateReportGroupCommand}
|
|
121
93
|
*/
|
|
122
94
|
createReportGroup(args: CreateReportGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateReportGroupCommandOutput>;
|
|
123
95
|
createReportGroup(args: CreateReportGroupCommandInput, cb: (err: any, data?: CreateReportGroupCommandOutput) => void): void;
|
|
124
96
|
createReportGroup(args: CreateReportGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReportGroupCommandOutput) => void): void;
|
|
125
97
|
/**
|
|
126
|
-
* @
|
|
127
|
-
* <p>For an existing CodeBuild build project that has its source code stored in a GitHub or
|
|
128
|
-
* Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a
|
|
129
|
-
* code change is pushed to the repository.</p>
|
|
130
|
-
* <important>
|
|
131
|
-
* <p>If you enable webhooks for an CodeBuild project, and the project is used as a build
|
|
132
|
-
* step in CodePipeline, then two identical builds are created for each commit. One build is
|
|
133
|
-
* triggered through webhooks, and one through CodePipeline. Because billing is on a per-build
|
|
134
|
-
* basis, you are billed for both builds. Therefore, if you are using CodePipeline, we
|
|
135
|
-
* recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the
|
|
136
|
-
* Webhook box. For more information, see step 5 in <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console">Change a Build Project's Settings</a>.</p>
|
|
137
|
-
* </important>
|
|
98
|
+
* @see {@link CreateWebhookCommand}
|
|
138
99
|
*/
|
|
139
100
|
createWebhook(args: CreateWebhookCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebhookCommandOutput>;
|
|
140
101
|
createWebhook(args: CreateWebhookCommandInput, cb: (err: any, data?: CreateWebhookCommandOutput) => void): void;
|
|
141
102
|
createWebhook(args: CreateWebhookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebhookCommandOutput) => void): void;
|
|
142
103
|
/**
|
|
143
|
-
* @
|
|
144
|
-
* <p>Deletes a batch build.</p>
|
|
104
|
+
* @see {@link DeleteBuildBatchCommand}
|
|
145
105
|
*/
|
|
146
106
|
deleteBuildBatch(args: DeleteBuildBatchCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBuildBatchCommandOutput>;
|
|
147
107
|
deleteBuildBatch(args: DeleteBuildBatchCommandInput, cb: (err: any, data?: DeleteBuildBatchCommandOutput) => void): void;
|
|
148
108
|
deleteBuildBatch(args: DeleteBuildBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBuildBatchCommandOutput) => void): void;
|
|
149
109
|
/**
|
|
150
|
-
* @
|
|
151
|
-
* <p> Deletes a build project. When you delete a project, its builds are not deleted.
|
|
152
|
-
* </p>
|
|
110
|
+
* @see {@link DeleteProjectCommand}
|
|
153
111
|
*/
|
|
154
112
|
deleteProject(args: DeleteProjectCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProjectCommandOutput>;
|
|
155
113
|
deleteProject(args: DeleteProjectCommandInput, cb: (err: any, data?: DeleteProjectCommandOutput) => void): void;
|
|
156
114
|
deleteProject(args: DeleteProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProjectCommandOutput) => void): void;
|
|
157
115
|
/**
|
|
158
|
-
* @
|
|
159
|
-
* <p>
|
|
160
|
-
* Deletes a report.
|
|
161
|
-
* </p>
|
|
116
|
+
* @see {@link DeleteReportCommand}
|
|
162
117
|
*/
|
|
163
118
|
deleteReport(args: DeleteReportCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReportCommandOutput>;
|
|
164
119
|
deleteReport(args: DeleteReportCommandInput, cb: (err: any, data?: DeleteReportCommandOutput) => void): void;
|
|
165
120
|
deleteReport(args: DeleteReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReportCommandOutput) => void): void;
|
|
166
121
|
/**
|
|
167
|
-
* @
|
|
168
|
-
* <p>Deletes a report group. Before you delete a report group, you must delete its reports. </p>
|
|
122
|
+
* @see {@link DeleteReportGroupCommand}
|
|
169
123
|
*/
|
|
170
124
|
deleteReportGroup(args: DeleteReportGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReportGroupCommandOutput>;
|
|
171
125
|
deleteReportGroup(args: DeleteReportGroupCommandInput, cb: (err: any, data?: DeleteReportGroupCommandOutput) => void): void;
|
|
172
126
|
deleteReportGroup(args: DeleteReportGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReportGroupCommandOutput) => void): void;
|
|
173
127
|
/**
|
|
174
|
-
* @
|
|
175
|
-
* <p> Deletes a resource policy that is identified by its resource ARN. </p>
|
|
128
|
+
* @see {@link DeleteResourcePolicyCommand}
|
|
176
129
|
*/
|
|
177
130
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
|
|
178
131
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
179
132
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
180
133
|
/**
|
|
181
|
-
* @
|
|
182
|
-
* <p> Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. </p>
|
|
134
|
+
* @see {@link DeleteSourceCredentialsCommand}
|
|
183
135
|
*/
|
|
184
136
|
deleteSourceCredentials(args: DeleteSourceCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSourceCredentialsCommandOutput>;
|
|
185
137
|
deleteSourceCredentials(args: DeleteSourceCredentialsCommandInput, cb: (err: any, data?: DeleteSourceCredentialsCommandOutput) => void): void;
|
|
186
138
|
deleteSourceCredentials(args: DeleteSourceCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceCredentialsCommandOutput) => void): void;
|
|
187
139
|
/**
|
|
188
|
-
* @
|
|
189
|
-
* <p>For an existing CodeBuild build project that has its source code stored in a GitHub or
|
|
190
|
-
* Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code
|
|
191
|
-
* change is pushed to the repository.</p>
|
|
140
|
+
* @see {@link DeleteWebhookCommand}
|
|
192
141
|
*/
|
|
193
142
|
deleteWebhook(args: DeleteWebhookCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWebhookCommandOutput>;
|
|
194
143
|
deleteWebhook(args: DeleteWebhookCommandInput, cb: (err: any, data?: DeleteWebhookCommandOutput) => void): void;
|
|
195
144
|
deleteWebhook(args: DeleteWebhookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWebhookCommandOutput) => void): void;
|
|
196
145
|
/**
|
|
197
|
-
* @
|
|
198
|
-
* <p>Retrieves one or more code coverage reports.</p>
|
|
146
|
+
* @see {@link DescribeCodeCoveragesCommand}
|
|
199
147
|
*/
|
|
200
148
|
describeCodeCoverages(args: DescribeCodeCoveragesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCodeCoveragesCommandOutput>;
|
|
201
149
|
describeCodeCoverages(args: DescribeCodeCoveragesCommandInput, cb: (err: any, data?: DescribeCodeCoveragesCommandOutput) => void): void;
|
|
202
150
|
describeCodeCoverages(args: DescribeCodeCoveragesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCodeCoveragesCommandOutput) => void): void;
|
|
203
151
|
/**
|
|
204
|
-
* @
|
|
205
|
-
* <p>
|
|
206
|
-
* Returns a list of details about test cases for a report.
|
|
207
|
-
* </p>
|
|
152
|
+
* @see {@link DescribeTestCasesCommand}
|
|
208
153
|
*/
|
|
209
154
|
describeTestCases(args: DescribeTestCasesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTestCasesCommandOutput>;
|
|
210
155
|
describeTestCases(args: DescribeTestCasesCommandInput, cb: (err: any, data?: DescribeTestCasesCommandOutput) => void): void;
|
|
211
156
|
describeTestCases(args: DescribeTestCasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTestCasesCommandOutput) => void): void;
|
|
212
157
|
/**
|
|
213
|
-
* @
|
|
214
|
-
* <p>Analyzes and accumulates test report values for the specified test reports.</p>
|
|
158
|
+
* @see {@link GetReportGroupTrendCommand}
|
|
215
159
|
*/
|
|
216
160
|
getReportGroupTrend(args: GetReportGroupTrendCommandInput, options?: __HttpHandlerOptions): Promise<GetReportGroupTrendCommandOutput>;
|
|
217
161
|
getReportGroupTrend(args: GetReportGroupTrendCommandInput, cb: (err: any, data?: GetReportGroupTrendCommandOutput) => void): void;
|
|
218
162
|
getReportGroupTrend(args: GetReportGroupTrendCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReportGroupTrendCommandOutput) => void): void;
|
|
219
163
|
/**
|
|
220
|
-
* @
|
|
221
|
-
* <p> Gets a resource policy that is identified by its resource ARN. </p>
|
|
164
|
+
* @see {@link GetResourcePolicyCommand}
|
|
222
165
|
*/
|
|
223
166
|
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
|
|
224
167
|
getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
225
168
|
getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
226
169
|
/**
|
|
227
|
-
* @
|
|
228
|
-
* <p> Imports the source repository credentials for an CodeBuild project that has its
|
|
229
|
-
* source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>
|
|
170
|
+
* @see {@link ImportSourceCredentialsCommand}
|
|
230
171
|
*/
|
|
231
172
|
importSourceCredentials(args: ImportSourceCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<ImportSourceCredentialsCommandOutput>;
|
|
232
173
|
importSourceCredentials(args: ImportSourceCredentialsCommandInput, cb: (err: any, data?: ImportSourceCredentialsCommandOutput) => void): void;
|
|
233
174
|
importSourceCredentials(args: ImportSourceCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportSourceCredentialsCommandOutput) => void): void;
|
|
234
175
|
/**
|
|
235
|
-
* @
|
|
236
|
-
* <p>Resets the cache for a project.</p>
|
|
176
|
+
* @see {@link InvalidateProjectCacheCommand}
|
|
237
177
|
*/
|
|
238
178
|
invalidateProjectCache(args: InvalidateProjectCacheCommandInput, options?: __HttpHandlerOptions): Promise<InvalidateProjectCacheCommandOutput>;
|
|
239
179
|
invalidateProjectCache(args: InvalidateProjectCacheCommandInput, cb: (err: any, data?: InvalidateProjectCacheCommandOutput) => void): void;
|
|
240
180
|
invalidateProjectCache(args: InvalidateProjectCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvalidateProjectCacheCommandOutput) => void): void;
|
|
241
181
|
/**
|
|
242
|
-
* @
|
|
243
|
-
* <p>Retrieves the identifiers of your build batches in the current region.</p>
|
|
182
|
+
* @see {@link ListBuildBatchesCommand}
|
|
244
183
|
*/
|
|
245
184
|
listBuildBatches(args: ListBuildBatchesCommandInput, options?: __HttpHandlerOptions): Promise<ListBuildBatchesCommandOutput>;
|
|
246
185
|
listBuildBatches(args: ListBuildBatchesCommandInput, cb: (err: any, data?: ListBuildBatchesCommandOutput) => void): void;
|
|
247
186
|
listBuildBatches(args: ListBuildBatchesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBuildBatchesCommandOutput) => void): void;
|
|
248
187
|
/**
|
|
249
|
-
* @
|
|
250
|
-
* <p>Retrieves the identifiers of the build batches for a specific project.</p>
|
|
188
|
+
* @see {@link ListBuildBatchesForProjectCommand}
|
|
251
189
|
*/
|
|
252
190
|
listBuildBatchesForProject(args: ListBuildBatchesForProjectCommandInput, options?: __HttpHandlerOptions): Promise<ListBuildBatchesForProjectCommandOutput>;
|
|
253
191
|
listBuildBatchesForProject(args: ListBuildBatchesForProjectCommandInput, cb: (err: any, data?: ListBuildBatchesForProjectCommandOutput) => void): void;
|
|
254
192
|
listBuildBatchesForProject(args: ListBuildBatchesForProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBuildBatchesForProjectCommandOutput) => void): void;
|
|
255
193
|
/**
|
|
256
|
-
* @
|
|
257
|
-
* <p>Gets a list of build IDs, with each build ID representing a single build.</p>
|
|
194
|
+
* @see {@link ListBuildsCommand}
|
|
258
195
|
*/
|
|
259
196
|
listBuilds(args: ListBuildsCommandInput, options?: __HttpHandlerOptions): Promise<ListBuildsCommandOutput>;
|
|
260
197
|
listBuilds(args: ListBuildsCommandInput, cb: (err: any, data?: ListBuildsCommandOutput) => void): void;
|
|
261
198
|
listBuilds(args: ListBuildsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBuildsCommandOutput) => void): void;
|
|
262
199
|
/**
|
|
263
|
-
* @
|
|
264
|
-
* <p>Gets a list of build identifiers for the specified build project, with each build
|
|
265
|
-
* identifier representing a single build.</p>
|
|
200
|
+
* @see {@link ListBuildsForProjectCommand}
|
|
266
201
|
*/
|
|
267
202
|
listBuildsForProject(args: ListBuildsForProjectCommandInput, options?: __HttpHandlerOptions): Promise<ListBuildsForProjectCommandOutput>;
|
|
268
203
|
listBuildsForProject(args: ListBuildsForProjectCommandInput, cb: (err: any, data?: ListBuildsForProjectCommandOutput) => void): void;
|
|
269
204
|
listBuildsForProject(args: ListBuildsForProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBuildsForProjectCommandOutput) => void): void;
|
|
270
205
|
/**
|
|
271
|
-
* @
|
|
272
|
-
* <p>Gets information about Docker images that are managed by CodeBuild.</p>
|
|
206
|
+
* @see {@link ListCuratedEnvironmentImagesCommand}
|
|
273
207
|
*/
|
|
274
208
|
listCuratedEnvironmentImages(args: ListCuratedEnvironmentImagesCommandInput, options?: __HttpHandlerOptions): Promise<ListCuratedEnvironmentImagesCommandOutput>;
|
|
275
209
|
listCuratedEnvironmentImages(args: ListCuratedEnvironmentImagesCommandInput, cb: (err: any, data?: ListCuratedEnvironmentImagesCommandOutput) => void): void;
|
|
276
210
|
listCuratedEnvironmentImages(args: ListCuratedEnvironmentImagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCuratedEnvironmentImagesCommandOutput) => void): void;
|
|
277
211
|
/**
|
|
278
|
-
* @
|
|
279
|
-
* <p>Gets a list of build project names, with each build project name representing a single
|
|
280
|
-
* build project.</p>
|
|
212
|
+
* @see {@link ListProjectsCommand}
|
|
281
213
|
*/
|
|
282
214
|
listProjects(args: ListProjectsCommandInput, options?: __HttpHandlerOptions): Promise<ListProjectsCommandOutput>;
|
|
283
215
|
listProjects(args: ListProjectsCommandInput, cb: (err: any, data?: ListProjectsCommandOutput) => void): void;
|
|
284
216
|
listProjects(args: ListProjectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProjectsCommandOutput) => void): void;
|
|
285
217
|
/**
|
|
286
|
-
* @
|
|
287
|
-
* <p>
|
|
288
|
-
* Gets a list ARNs for the report groups in the current Amazon Web Services account.
|
|
289
|
-
* </p>
|
|
218
|
+
* @see {@link ListReportGroupsCommand}
|
|
290
219
|
*/
|
|
291
220
|
listReportGroups(args: ListReportGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListReportGroupsCommandOutput>;
|
|
292
221
|
listReportGroups(args: ListReportGroupsCommandInput, cb: (err: any, data?: ListReportGroupsCommandOutput) => void): void;
|
|
293
222
|
listReportGroups(args: ListReportGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReportGroupsCommandOutput) => void): void;
|
|
294
223
|
/**
|
|
295
|
-
* @
|
|
296
|
-
* <p>
|
|
297
|
-
* Returns a list of ARNs for the reports in the current Amazon Web Services account.
|
|
298
|
-
* </p>
|
|
224
|
+
* @see {@link ListReportsCommand}
|
|
299
225
|
*/
|
|
300
226
|
listReports(args: ListReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListReportsCommandOutput>;
|
|
301
227
|
listReports(args: ListReportsCommandInput, cb: (err: any, data?: ListReportsCommandOutput) => void): void;
|
|
302
228
|
listReports(args: ListReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReportsCommandOutput) => void): void;
|
|
303
229
|
/**
|
|
304
|
-
* @
|
|
305
|
-
* <p>
|
|
306
|
-
* Returns a list of ARNs for the reports that belong to a <code>ReportGroup</code>.
|
|
307
|
-
* </p>
|
|
230
|
+
* @see {@link ListReportsForReportGroupCommand}
|
|
308
231
|
*/
|
|
309
232
|
listReportsForReportGroup(args: ListReportsForReportGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListReportsForReportGroupCommandOutput>;
|
|
310
233
|
listReportsForReportGroup(args: ListReportsForReportGroupCommandInput, cb: (err: any, data?: ListReportsForReportGroupCommandOutput) => void): void;
|
|
311
234
|
listReportsForReportGroup(args: ListReportsForReportGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReportsForReportGroupCommandOutput) => void): void;
|
|
312
235
|
/**
|
|
313
|
-
* @
|
|
314
|
-
* <p> Gets a list of projects that are shared with other Amazon Web Services accounts or users. </p>
|
|
236
|
+
* @see {@link ListSharedProjectsCommand}
|
|
315
237
|
*/
|
|
316
238
|
listSharedProjects(args: ListSharedProjectsCommandInput, options?: __HttpHandlerOptions): Promise<ListSharedProjectsCommandOutput>;
|
|
317
239
|
listSharedProjects(args: ListSharedProjectsCommandInput, cb: (err: any, data?: ListSharedProjectsCommandOutput) => void): void;
|
|
318
240
|
listSharedProjects(args: ListSharedProjectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSharedProjectsCommandOutput) => void): void;
|
|
319
241
|
/**
|
|
320
|
-
* @
|
|
321
|
-
* <p> Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
|
|
322
|
-
* </p>
|
|
242
|
+
* @see {@link ListSharedReportGroupsCommand}
|
|
323
243
|
*/
|
|
324
244
|
listSharedReportGroups(args: ListSharedReportGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListSharedReportGroupsCommandOutput>;
|
|
325
245
|
listSharedReportGroups(args: ListSharedReportGroupsCommandInput, cb: (err: any, data?: ListSharedReportGroupsCommandOutput) => void): void;
|
|
326
246
|
listSharedReportGroups(args: ListSharedReportGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSharedReportGroupsCommandOutput) => void): void;
|
|
327
247
|
/**
|
|
328
|
-
* @
|
|
329
|
-
* <p> Returns a list of <code>SourceCredentialsInfo</code> objects. </p>
|
|
248
|
+
* @see {@link ListSourceCredentialsCommand}
|
|
330
249
|
*/
|
|
331
250
|
listSourceCredentials(args: ListSourceCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<ListSourceCredentialsCommandOutput>;
|
|
332
251
|
listSourceCredentials(args: ListSourceCredentialsCommandInput, cb: (err: any, data?: ListSourceCredentialsCommandOutput) => void): void;
|
|
333
252
|
listSourceCredentials(args: ListSourceCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourceCredentialsCommandOutput) => void): void;
|
|
334
253
|
/**
|
|
335
|
-
* @
|
|
336
|
-
* <p> Stores a resource policy for the ARN of a <code>Project</code> or
|
|
337
|
-
* <code>ReportGroup</code> object. </p>
|
|
254
|
+
* @see {@link PutResourcePolicyCommand}
|
|
338
255
|
*/
|
|
339
256
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
340
257
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
341
258
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
342
259
|
/**
|
|
343
|
-
* @
|
|
344
|
-
* <p>Restarts a build.</p>
|
|
260
|
+
* @see {@link RetryBuildCommand}
|
|
345
261
|
*/
|
|
346
262
|
retryBuild(args: RetryBuildCommandInput, options?: __HttpHandlerOptions): Promise<RetryBuildCommandOutput>;
|
|
347
263
|
retryBuild(args: RetryBuildCommandInput, cb: (err: any, data?: RetryBuildCommandOutput) => void): void;
|
|
348
264
|
retryBuild(args: RetryBuildCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetryBuildCommandOutput) => void): void;
|
|
349
265
|
/**
|
|
350
|
-
* @
|
|
351
|
-
* <p>Restarts a failed batch build. Only batch builds that have failed can be retried.</p>
|
|
266
|
+
* @see {@link RetryBuildBatchCommand}
|
|
352
267
|
*/
|
|
353
268
|
retryBuildBatch(args: RetryBuildBatchCommandInput, options?: __HttpHandlerOptions): Promise<RetryBuildBatchCommandOutput>;
|
|
354
269
|
retryBuildBatch(args: RetryBuildBatchCommandInput, cb: (err: any, data?: RetryBuildBatchCommandOutput) => void): void;
|
|
355
270
|
retryBuildBatch(args: RetryBuildBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetryBuildBatchCommandOutput) => void): void;
|
|
356
271
|
/**
|
|
357
|
-
* @
|
|
358
|
-
* <p>Starts running a build.</p>
|
|
272
|
+
* @see {@link StartBuildCommand}
|
|
359
273
|
*/
|
|
360
274
|
startBuild(args: StartBuildCommandInput, options?: __HttpHandlerOptions): Promise<StartBuildCommandOutput>;
|
|
361
275
|
startBuild(args: StartBuildCommandInput, cb: (err: any, data?: StartBuildCommandOutput) => void): void;
|
|
362
276
|
startBuild(args: StartBuildCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartBuildCommandOutput) => void): void;
|
|
363
277
|
/**
|
|
364
|
-
* @
|
|
365
|
-
* <p>Starts a batch build for a project.</p>
|
|
278
|
+
* @see {@link StartBuildBatchCommand}
|
|
366
279
|
*/
|
|
367
280
|
startBuildBatch(args: StartBuildBatchCommandInput, options?: __HttpHandlerOptions): Promise<StartBuildBatchCommandOutput>;
|
|
368
281
|
startBuildBatch(args: StartBuildBatchCommandInput, cb: (err: any, data?: StartBuildBatchCommandOutput) => void): void;
|
|
369
282
|
startBuildBatch(args: StartBuildBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartBuildBatchCommandOutput) => void): void;
|
|
370
283
|
/**
|
|
371
|
-
* @
|
|
372
|
-
* <p>Attempts to stop running a build.</p>
|
|
284
|
+
* @see {@link StopBuildCommand}
|
|
373
285
|
*/
|
|
374
286
|
stopBuild(args: StopBuildCommandInput, options?: __HttpHandlerOptions): Promise<StopBuildCommandOutput>;
|
|
375
287
|
stopBuild(args: StopBuildCommandInput, cb: (err: any, data?: StopBuildCommandOutput) => void): void;
|
|
376
288
|
stopBuild(args: StopBuildCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopBuildCommandOutput) => void): void;
|
|
377
289
|
/**
|
|
378
|
-
* @
|
|
379
|
-
* <p>Stops a running batch build.</p>
|
|
290
|
+
* @see {@link StopBuildBatchCommand}
|
|
380
291
|
*/
|
|
381
292
|
stopBuildBatch(args: StopBuildBatchCommandInput, options?: __HttpHandlerOptions): Promise<StopBuildBatchCommandOutput>;
|
|
382
293
|
stopBuildBatch(args: StopBuildBatchCommandInput, cb: (err: any, data?: StopBuildBatchCommandOutput) => void): void;
|
|
383
294
|
stopBuildBatch(args: StopBuildBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopBuildBatchCommandOutput) => void): void;
|
|
384
295
|
/**
|
|
385
|
-
* @
|
|
386
|
-
* <p>Changes the settings of a build project.</p>
|
|
296
|
+
* @see {@link UpdateProjectCommand}
|
|
387
297
|
*/
|
|
388
298
|
updateProject(args: UpdateProjectCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProjectCommandOutput>;
|
|
389
299
|
updateProject(args: UpdateProjectCommandInput, cb: (err: any, data?: UpdateProjectCommandOutput) => void): void;
|
|
390
300
|
updateProject(args: UpdateProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProjectCommandOutput) => void): void;
|
|
391
301
|
/**
|
|
392
|
-
* @
|
|
393
|
-
* <p>Changes the public visibility for a project. The project's build results, logs, and
|
|
394
|
-
* artifacts are available to the general public. For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/public-builds.html">Public build
|
|
395
|
-
* projects</a> in the <i>CodeBuild User Guide</i>.</p>
|
|
396
|
-
* <important>
|
|
397
|
-
* <p>The following should be kept in mind when making your projects public:</p>
|
|
398
|
-
* <ul>
|
|
399
|
-
* <li>
|
|
400
|
-
* <p>All of a project's build results, logs, and artifacts, including builds that were run
|
|
401
|
-
* when the project was private, are available to the general public.</p>
|
|
402
|
-
* </li>
|
|
403
|
-
* <li>
|
|
404
|
-
* <p>All build logs and artifacts are available to the public. Environment variables, source
|
|
405
|
-
* code, and other sensitive information may have been output to the build logs and artifacts.
|
|
406
|
-
* You must be careful about what information is output to the build logs. Some best practice
|
|
407
|
-
* are:</p>
|
|
408
|
-
* <ul>
|
|
409
|
-
* <li>
|
|
410
|
-
* <p>Do not store sensitive values, especially Amazon Web Services access key IDs and secret access
|
|
411
|
-
* keys, in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store
|
|
412
|
-
* or Secrets Manager to store sensitive values.</p>
|
|
413
|
-
* </li>
|
|
414
|
-
* <li>
|
|
415
|
-
* <p>Follow <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/webhooks.html#webhook-best-practices">Best
|
|
416
|
-
* practices for using webhooks</a> in the <i>CodeBuild User
|
|
417
|
-
* Guide</i> to limit which entities can trigger a build, and do
|
|
418
|
-
* not store the buildspec in the project itself, to ensure that your webhooks are as
|
|
419
|
-
* secure as possible.</p>
|
|
420
|
-
* </li>
|
|
421
|
-
* </ul>
|
|
422
|
-
* </li>
|
|
423
|
-
* <li>
|
|
424
|
-
* <p>A malicious user can use public builds to distribute malicious artifacts. We recommend
|
|
425
|
-
* that you review all pull requests to verify that the pull request is a legitimate change. We
|
|
426
|
-
* also recommend that you validate any artifacts with their checksums to make sure that the
|
|
427
|
-
* correct artifacts are being downloaded.</p>
|
|
428
|
-
* </li>
|
|
429
|
-
* </ul>
|
|
430
|
-
* </important>
|
|
302
|
+
* @see {@link UpdateProjectVisibilityCommand}
|
|
431
303
|
*/
|
|
432
304
|
updateProjectVisibility(args: UpdateProjectVisibilityCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProjectVisibilityCommandOutput>;
|
|
433
305
|
updateProjectVisibility(args: UpdateProjectVisibilityCommandInput, cb: (err: any, data?: UpdateProjectVisibilityCommandOutput) => void): void;
|
|
434
306
|
updateProjectVisibility(args: UpdateProjectVisibilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProjectVisibilityCommandOutput) => void): void;
|
|
435
307
|
/**
|
|
436
|
-
* @
|
|
437
|
-
* <p>
|
|
438
|
-
* Updates a report group.
|
|
439
|
-
* </p>
|
|
308
|
+
* @see {@link UpdateReportGroupCommand}
|
|
440
309
|
*/
|
|
441
310
|
updateReportGroup(args: UpdateReportGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReportGroupCommandOutput>;
|
|
442
311
|
updateReportGroup(args: UpdateReportGroupCommandInput, cb: (err: any, data?: UpdateReportGroupCommandOutput) => void): void;
|
|
443
312
|
updateReportGroup(args: UpdateReportGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReportGroupCommandOutput) => void): void;
|
|
444
313
|
/**
|
|
445
|
-
* @
|
|
446
|
-
* <p> Updates the webhook associated with an CodeBuild build project. </p>
|
|
447
|
-
* <note>
|
|
448
|
-
* <p> If you use Bitbucket for your repository, <code>rotateSecret</code> is ignored.
|
|
449
|
-
* </p>
|
|
450
|
-
* </note>
|
|
314
|
+
* @see {@link UpdateWebhookCommand}
|
|
451
315
|
*/
|
|
452
316
|
updateWebhook(args: UpdateWebhookCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWebhookCommandOutput>;
|
|
453
317
|
updateWebhook(args: UpdateWebhookCommandInput, cb: (err: any, data?: UpdateWebhookCommandOutput) => void): void;
|
|
454
318
|
updateWebhook(args: UpdateWebhookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWebhookCommandOutput) => void): void;
|
|
455
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
* @public
|
|
322
|
+
* <fullname>CodeBuild</fullname>
|
|
323
|
+
* <p>CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code,
|
|
324
|
+
* runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the
|
|
325
|
+
* need to provision, manage, and scale your own build servers. It provides prepackaged
|
|
326
|
+
* build environments for the most popular programming languages and build tools, such as
|
|
327
|
+
* Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild
|
|
328
|
+
* to use your own build tools. CodeBuild scales automatically to meet peak build requests. You
|
|
329
|
+
* pay only for the build time you consume. For more information about CodeBuild, see the <i>
|
|
330
|
+
* <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html">CodeBuild User
|
|
331
|
+
* Guide</a>.</i>
|
|
332
|
+
* </p>
|
|
333
|
+
*/
|
|
334
|
+
export declare class CodeBuild extends CodeBuildClient implements CodeBuild {
|
|
335
|
+
}
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
UpdateWebhookCommandInput,
|
|
181
181
|
UpdateWebhookCommandOutput,
|
|
182
182
|
} from "./commands/UpdateWebhookCommand";
|
|
183
|
-
export
|
|
183
|
+
export interface CodeBuild {
|
|
184
184
|
batchDeleteBuilds(
|
|
185
185
|
args: BatchDeleteBuildsCommandInput,
|
|
186
186
|
options?: __HttpHandlerOptions
|
|
@@ -767,3 +767,4 @@ export declare class CodeBuild extends CodeBuildClient {
|
|
|
767
767
|
cb: (err: any, data?: UpdateWebhookCommandOutput) => void
|
|
768
768
|
): void;
|
|
769
769
|
}
|
|
770
|
+
export declare class CodeBuild extends CodeBuildClient implements CodeBuild {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codebuild",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codebuild Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|