types-boto3-codebuild 1.35.71__py3-none-any.whl

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.
@@ -0,0 +1,824 @@
1
+ """
2
+ Type annotations for codebuild service client.
3
+
4
+ [Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from boto3.session import Session
10
+ from types_boto3_codebuild.client import CodeBuildClient
11
+
12
+ session = Session()
13
+ client: CodeBuildClient = session.client("codebuild")
14
+ ```
15
+
16
+ Copyright 2024 Vlad Emelianov
17
+ """
18
+
19
+ import sys
20
+ from typing import Any, Dict, Mapping, Type, overload
21
+
22
+ from botocore.client import BaseClient, ClientMeta
23
+
24
+ from .paginator import (
25
+ DescribeCodeCoveragesPaginator,
26
+ DescribeTestCasesPaginator,
27
+ ListBuildBatchesForProjectPaginator,
28
+ ListBuildBatchesPaginator,
29
+ ListBuildsForProjectPaginator,
30
+ ListBuildsPaginator,
31
+ ListProjectsPaginator,
32
+ ListReportGroupsPaginator,
33
+ ListReportsForReportGroupPaginator,
34
+ ListReportsPaginator,
35
+ ListSharedProjectsPaginator,
36
+ ListSharedReportGroupsPaginator,
37
+ )
38
+ from .type_defs import (
39
+ BatchDeleteBuildsInputRequestTypeDef,
40
+ BatchDeleteBuildsOutputTypeDef,
41
+ BatchGetBuildBatchesInputRequestTypeDef,
42
+ BatchGetBuildBatchesOutputTypeDef,
43
+ BatchGetBuildsInputRequestTypeDef,
44
+ BatchGetBuildsOutputTypeDef,
45
+ BatchGetFleetsInputRequestTypeDef,
46
+ BatchGetFleetsOutputTypeDef,
47
+ BatchGetProjectsInputRequestTypeDef,
48
+ BatchGetProjectsOutputTypeDef,
49
+ BatchGetReportGroupsInputRequestTypeDef,
50
+ BatchGetReportGroupsOutputTypeDef,
51
+ BatchGetReportsInputRequestTypeDef,
52
+ BatchGetReportsOutputTypeDef,
53
+ CreateFleetInputRequestTypeDef,
54
+ CreateFleetOutputTypeDef,
55
+ CreateProjectInputRequestTypeDef,
56
+ CreateProjectOutputTypeDef,
57
+ CreateReportGroupInputRequestTypeDef,
58
+ CreateReportGroupOutputTypeDef,
59
+ CreateWebhookInputRequestTypeDef,
60
+ CreateWebhookOutputTypeDef,
61
+ DeleteBuildBatchInputRequestTypeDef,
62
+ DeleteBuildBatchOutputTypeDef,
63
+ DeleteFleetInputRequestTypeDef,
64
+ DeleteProjectInputRequestTypeDef,
65
+ DeleteReportGroupInputRequestTypeDef,
66
+ DeleteReportInputRequestTypeDef,
67
+ DeleteResourcePolicyInputRequestTypeDef,
68
+ DeleteSourceCredentialsInputRequestTypeDef,
69
+ DeleteSourceCredentialsOutputTypeDef,
70
+ DeleteWebhookInputRequestTypeDef,
71
+ DescribeCodeCoveragesInputRequestTypeDef,
72
+ DescribeCodeCoveragesOutputTypeDef,
73
+ DescribeTestCasesInputRequestTypeDef,
74
+ DescribeTestCasesOutputTypeDef,
75
+ GetReportGroupTrendInputRequestTypeDef,
76
+ GetReportGroupTrendOutputTypeDef,
77
+ GetResourcePolicyInputRequestTypeDef,
78
+ GetResourcePolicyOutputTypeDef,
79
+ ImportSourceCredentialsInputRequestTypeDef,
80
+ ImportSourceCredentialsOutputTypeDef,
81
+ InvalidateProjectCacheInputRequestTypeDef,
82
+ ListBuildBatchesForProjectInputRequestTypeDef,
83
+ ListBuildBatchesForProjectOutputTypeDef,
84
+ ListBuildBatchesInputRequestTypeDef,
85
+ ListBuildBatchesOutputTypeDef,
86
+ ListBuildsForProjectInputRequestTypeDef,
87
+ ListBuildsForProjectOutputTypeDef,
88
+ ListBuildsInputRequestTypeDef,
89
+ ListBuildsOutputTypeDef,
90
+ ListCuratedEnvironmentImagesOutputTypeDef,
91
+ ListFleetsInputRequestTypeDef,
92
+ ListFleetsOutputTypeDef,
93
+ ListProjectsInputRequestTypeDef,
94
+ ListProjectsOutputTypeDef,
95
+ ListReportGroupsInputRequestTypeDef,
96
+ ListReportGroupsOutputTypeDef,
97
+ ListReportsForReportGroupInputRequestTypeDef,
98
+ ListReportsForReportGroupOutputTypeDef,
99
+ ListReportsInputRequestTypeDef,
100
+ ListReportsOutputTypeDef,
101
+ ListSharedProjectsInputRequestTypeDef,
102
+ ListSharedProjectsOutputTypeDef,
103
+ ListSharedReportGroupsInputRequestTypeDef,
104
+ ListSharedReportGroupsOutputTypeDef,
105
+ ListSourceCredentialsOutputTypeDef,
106
+ PutResourcePolicyInputRequestTypeDef,
107
+ PutResourcePolicyOutputTypeDef,
108
+ RetryBuildBatchInputRequestTypeDef,
109
+ RetryBuildBatchOutputTypeDef,
110
+ RetryBuildInputRequestTypeDef,
111
+ RetryBuildOutputTypeDef,
112
+ StartBuildBatchInputRequestTypeDef,
113
+ StartBuildBatchOutputTypeDef,
114
+ StartBuildInputRequestTypeDef,
115
+ StartBuildOutputTypeDef,
116
+ StopBuildBatchInputRequestTypeDef,
117
+ StopBuildBatchOutputTypeDef,
118
+ StopBuildInputRequestTypeDef,
119
+ StopBuildOutputTypeDef,
120
+ UpdateFleetInputRequestTypeDef,
121
+ UpdateFleetOutputTypeDef,
122
+ UpdateProjectInputRequestTypeDef,
123
+ UpdateProjectOutputTypeDef,
124
+ UpdateProjectVisibilityInputRequestTypeDef,
125
+ UpdateProjectVisibilityOutputTypeDef,
126
+ UpdateReportGroupInputRequestTypeDef,
127
+ UpdateReportGroupOutputTypeDef,
128
+ UpdateWebhookInputRequestTypeDef,
129
+ UpdateWebhookOutputTypeDef,
130
+ )
131
+
132
+ if sys.version_info >= (3, 12):
133
+ from typing import Literal, Unpack
134
+ else:
135
+ from typing_extensions import Literal, Unpack
136
+
137
+
138
+ __all__ = ("CodeBuildClient",)
139
+
140
+
141
+ class BotocoreClientError(Exception):
142
+ MSG_TEMPLATE: str
143
+
144
+ def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
145
+ self.response: Dict[str, Any]
146
+ self.operation_name: str
147
+
148
+
149
+ class Exceptions:
150
+ AccountLimitExceededException: Type[BotocoreClientError]
151
+ ClientError: Type[BotocoreClientError]
152
+ InvalidInputException: Type[BotocoreClientError]
153
+ OAuthProviderException: Type[BotocoreClientError]
154
+ ResourceAlreadyExistsException: Type[BotocoreClientError]
155
+ ResourceNotFoundException: Type[BotocoreClientError]
156
+
157
+
158
+ class CodeBuildClient(BaseClient):
159
+ """
160
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild.html#CodeBuild.Client)
161
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/)
162
+ """
163
+
164
+ meta: ClientMeta
165
+
166
+ @property
167
+ def exceptions(self) -> Exceptions:
168
+ """
169
+ CodeBuildClient exceptions.
170
+
171
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild.html#CodeBuild.Client)
172
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#exceptions)
173
+ """
174
+
175
+ def can_paginate(self, operation_name: str) -> bool:
176
+ """
177
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/can_paginate.html)
178
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#can_paginate)
179
+ """
180
+
181
+ def generate_presigned_url(
182
+ self,
183
+ ClientMethod: str,
184
+ Params: Mapping[str, Any] = ...,
185
+ ExpiresIn: int = 3600,
186
+ HttpMethod: str = ...,
187
+ ) -> str:
188
+ """
189
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/generate_presigned_url.html)
190
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#generate_presigned_url)
191
+ """
192
+
193
+ def close(self) -> None:
194
+ """
195
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/close.html)
196
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#close)
197
+ """
198
+
199
+ def batch_delete_builds(
200
+ self, **kwargs: Unpack[BatchDeleteBuildsInputRequestTypeDef]
201
+ ) -> BatchDeleteBuildsOutputTypeDef:
202
+ """
203
+ Deletes one or more builds.
204
+
205
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/batch_delete_builds.html)
206
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#batch_delete_builds)
207
+ """
208
+
209
+ def batch_get_build_batches(
210
+ self, **kwargs: Unpack[BatchGetBuildBatchesInputRequestTypeDef]
211
+ ) -> BatchGetBuildBatchesOutputTypeDef:
212
+ """
213
+ Retrieves information about one or more batch builds.
214
+
215
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/batch_get_build_batches.html)
216
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#batch_get_build_batches)
217
+ """
218
+
219
+ def batch_get_builds(
220
+ self, **kwargs: Unpack[BatchGetBuildsInputRequestTypeDef]
221
+ ) -> BatchGetBuildsOutputTypeDef:
222
+ """
223
+ Gets information about one or more builds.
224
+
225
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/batch_get_builds.html)
226
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#batch_get_builds)
227
+ """
228
+
229
+ def batch_get_fleets(
230
+ self, **kwargs: Unpack[BatchGetFleetsInputRequestTypeDef]
231
+ ) -> BatchGetFleetsOutputTypeDef:
232
+ """
233
+ Gets information about one or more compute fleets.
234
+
235
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/batch_get_fleets.html)
236
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#batch_get_fleets)
237
+ """
238
+
239
+ def batch_get_projects(
240
+ self, **kwargs: Unpack[BatchGetProjectsInputRequestTypeDef]
241
+ ) -> BatchGetProjectsOutputTypeDef:
242
+ """
243
+ Gets information about one or more build projects.
244
+
245
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/batch_get_projects.html)
246
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#batch_get_projects)
247
+ """
248
+
249
+ def batch_get_report_groups(
250
+ self, **kwargs: Unpack[BatchGetReportGroupsInputRequestTypeDef]
251
+ ) -> BatchGetReportGroupsOutputTypeDef:
252
+ """
253
+ Returns an array of report groups.
254
+
255
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/batch_get_report_groups.html)
256
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#batch_get_report_groups)
257
+ """
258
+
259
+ def batch_get_reports(
260
+ self, **kwargs: Unpack[BatchGetReportsInputRequestTypeDef]
261
+ ) -> BatchGetReportsOutputTypeDef:
262
+ """
263
+ Returns an array of reports.
264
+
265
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/batch_get_reports.html)
266
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#batch_get_reports)
267
+ """
268
+
269
+ def create_fleet(
270
+ self, **kwargs: Unpack[CreateFleetInputRequestTypeDef]
271
+ ) -> CreateFleetOutputTypeDef:
272
+ """
273
+ Creates a compute fleet.
274
+
275
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/create_fleet.html)
276
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#create_fleet)
277
+ """
278
+
279
+ def create_project(
280
+ self, **kwargs: Unpack[CreateProjectInputRequestTypeDef]
281
+ ) -> CreateProjectOutputTypeDef:
282
+ """
283
+ Creates a build project.
284
+
285
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/create_project.html)
286
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#create_project)
287
+ """
288
+
289
+ def create_report_group(
290
+ self, **kwargs: Unpack[CreateReportGroupInputRequestTypeDef]
291
+ ) -> CreateReportGroupOutputTypeDef:
292
+ """
293
+ Creates a report group.
294
+
295
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/create_report_group.html)
296
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#create_report_group)
297
+ """
298
+
299
+ def create_webhook(
300
+ self, **kwargs: Unpack[CreateWebhookInputRequestTypeDef]
301
+ ) -> CreateWebhookOutputTypeDef:
302
+ """
303
+ For an existing CodeBuild build project that has its source code stored in a
304
+ GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the
305
+ source code every time a code change is pushed to the repository.
306
+
307
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/create_webhook.html)
308
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#create_webhook)
309
+ """
310
+
311
+ def delete_build_batch(
312
+ self, **kwargs: Unpack[DeleteBuildBatchInputRequestTypeDef]
313
+ ) -> DeleteBuildBatchOutputTypeDef:
314
+ """
315
+ Deletes a batch build.
316
+
317
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/delete_build_batch.html)
318
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#delete_build_batch)
319
+ """
320
+
321
+ def delete_fleet(self, **kwargs: Unpack[DeleteFleetInputRequestTypeDef]) -> Dict[str, Any]:
322
+ """
323
+ Deletes a compute fleet.
324
+
325
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/delete_fleet.html)
326
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#delete_fleet)
327
+ """
328
+
329
+ def delete_project(self, **kwargs: Unpack[DeleteProjectInputRequestTypeDef]) -> Dict[str, Any]:
330
+ """
331
+ Deletes a build project.
332
+
333
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/delete_project.html)
334
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#delete_project)
335
+ """
336
+
337
+ def delete_report(self, **kwargs: Unpack[DeleteReportInputRequestTypeDef]) -> Dict[str, Any]:
338
+ """
339
+ Deletes a report.
340
+
341
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/delete_report.html)
342
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#delete_report)
343
+ """
344
+
345
+ def delete_report_group(
346
+ self, **kwargs: Unpack[DeleteReportGroupInputRequestTypeDef]
347
+ ) -> Dict[str, Any]:
348
+ """
349
+ Deletes a report group.
350
+
351
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/delete_report_group.html)
352
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#delete_report_group)
353
+ """
354
+
355
+ def delete_resource_policy(
356
+ self, **kwargs: Unpack[DeleteResourcePolicyInputRequestTypeDef]
357
+ ) -> Dict[str, Any]:
358
+ """
359
+ Deletes a resource policy that is identified by its resource ARN.
360
+
361
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/delete_resource_policy.html)
362
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#delete_resource_policy)
363
+ """
364
+
365
+ def delete_source_credentials(
366
+ self, **kwargs: Unpack[DeleteSourceCredentialsInputRequestTypeDef]
367
+ ) -> DeleteSourceCredentialsOutputTypeDef:
368
+ """
369
+ Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
370
+
371
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/delete_source_credentials.html)
372
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#delete_source_credentials)
373
+ """
374
+
375
+ def delete_webhook(self, **kwargs: Unpack[DeleteWebhookInputRequestTypeDef]) -> Dict[str, Any]:
376
+ """
377
+ For an existing CodeBuild build project that has its source code stored in a
378
+ GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code
379
+ every time a code change is pushed to the repository.
380
+
381
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/delete_webhook.html)
382
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#delete_webhook)
383
+ """
384
+
385
+ def describe_code_coverages(
386
+ self, **kwargs: Unpack[DescribeCodeCoveragesInputRequestTypeDef]
387
+ ) -> DescribeCodeCoveragesOutputTypeDef:
388
+ """
389
+ Retrieves one or more code coverage reports.
390
+
391
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/describe_code_coverages.html)
392
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#describe_code_coverages)
393
+ """
394
+
395
+ def describe_test_cases(
396
+ self, **kwargs: Unpack[DescribeTestCasesInputRequestTypeDef]
397
+ ) -> DescribeTestCasesOutputTypeDef:
398
+ """
399
+ Returns a list of details about test cases for a report.
400
+
401
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/describe_test_cases.html)
402
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#describe_test_cases)
403
+ """
404
+
405
+ def get_report_group_trend(
406
+ self, **kwargs: Unpack[GetReportGroupTrendInputRequestTypeDef]
407
+ ) -> GetReportGroupTrendOutputTypeDef:
408
+ """
409
+ Analyzes and accumulates test report values for the specified test reports.
410
+
411
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_report_group_trend.html)
412
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_report_group_trend)
413
+ """
414
+
415
+ def get_resource_policy(
416
+ self, **kwargs: Unpack[GetResourcePolicyInputRequestTypeDef]
417
+ ) -> GetResourcePolicyOutputTypeDef:
418
+ """
419
+ Gets a resource policy that is identified by its resource ARN.
420
+
421
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_resource_policy.html)
422
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_resource_policy)
423
+ """
424
+
425
+ def import_source_credentials(
426
+ self, **kwargs: Unpack[ImportSourceCredentialsInputRequestTypeDef]
427
+ ) -> ImportSourceCredentialsOutputTypeDef:
428
+ """
429
+ Imports the source repository credentials for an CodeBuild project that has its
430
+ source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed,
431
+ or Bitbucket repository.
432
+
433
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/import_source_credentials.html)
434
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#import_source_credentials)
435
+ """
436
+
437
+ def invalidate_project_cache(
438
+ self, **kwargs: Unpack[InvalidateProjectCacheInputRequestTypeDef]
439
+ ) -> Dict[str, Any]:
440
+ """
441
+ Resets the cache for a project.
442
+
443
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/invalidate_project_cache.html)
444
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#invalidate_project_cache)
445
+ """
446
+
447
+ def list_build_batches(
448
+ self, **kwargs: Unpack[ListBuildBatchesInputRequestTypeDef]
449
+ ) -> ListBuildBatchesOutputTypeDef:
450
+ """
451
+ Retrieves the identifiers of your build batches in the current region.
452
+
453
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_build_batches.html)
454
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_build_batches)
455
+ """
456
+
457
+ def list_build_batches_for_project(
458
+ self, **kwargs: Unpack[ListBuildBatchesForProjectInputRequestTypeDef]
459
+ ) -> ListBuildBatchesForProjectOutputTypeDef:
460
+ """
461
+ Retrieves the identifiers of the build batches for a specific project.
462
+
463
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_build_batches_for_project.html)
464
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_build_batches_for_project)
465
+ """
466
+
467
+ def list_builds(
468
+ self, **kwargs: Unpack[ListBuildsInputRequestTypeDef]
469
+ ) -> ListBuildsOutputTypeDef:
470
+ """
471
+ Gets a list of build IDs, with each build ID representing a single build.
472
+
473
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_builds.html)
474
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_builds)
475
+ """
476
+
477
+ def list_builds_for_project(
478
+ self, **kwargs: Unpack[ListBuildsForProjectInputRequestTypeDef]
479
+ ) -> ListBuildsForProjectOutputTypeDef:
480
+ """
481
+ Gets a list of build identifiers for the specified build project, with each
482
+ build identifier representing a single build.
483
+
484
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_builds_for_project.html)
485
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_builds_for_project)
486
+ """
487
+
488
+ def list_curated_environment_images(self) -> ListCuratedEnvironmentImagesOutputTypeDef:
489
+ """
490
+ Gets information about Docker images that are managed by CodeBuild.
491
+
492
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_curated_environment_images.html)
493
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_curated_environment_images)
494
+ """
495
+
496
+ def list_fleets(
497
+ self, **kwargs: Unpack[ListFleetsInputRequestTypeDef]
498
+ ) -> ListFleetsOutputTypeDef:
499
+ """
500
+ Gets a list of compute fleet names with each compute fleet name representing a
501
+ single compute fleet.
502
+
503
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_fleets.html)
504
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_fleets)
505
+ """
506
+
507
+ def list_projects(
508
+ self, **kwargs: Unpack[ListProjectsInputRequestTypeDef]
509
+ ) -> ListProjectsOutputTypeDef:
510
+ """
511
+ Gets a list of build project names, with each build project name representing a
512
+ single build project.
513
+
514
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_projects.html)
515
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_projects)
516
+ """
517
+
518
+ def list_report_groups(
519
+ self, **kwargs: Unpack[ListReportGroupsInputRequestTypeDef]
520
+ ) -> ListReportGroupsOutputTypeDef:
521
+ """
522
+ Gets a list ARNs for the report groups in the current Amazon Web Services
523
+ account.
524
+
525
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_report_groups.html)
526
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_report_groups)
527
+ """
528
+
529
+ def list_reports(
530
+ self, **kwargs: Unpack[ListReportsInputRequestTypeDef]
531
+ ) -> ListReportsOutputTypeDef:
532
+ """
533
+ Returns a list of ARNs for the reports in the current Amazon Web Services
534
+ account.
535
+
536
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_reports.html)
537
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_reports)
538
+ """
539
+
540
+ def list_reports_for_report_group(
541
+ self, **kwargs: Unpack[ListReportsForReportGroupInputRequestTypeDef]
542
+ ) -> ListReportsForReportGroupOutputTypeDef:
543
+ """
544
+ Returns a list of ARNs for the reports that belong to a
545
+ <code>ReportGroup</code>.
546
+
547
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_reports_for_report_group.html)
548
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_reports_for_report_group)
549
+ """
550
+
551
+ def list_shared_projects(
552
+ self, **kwargs: Unpack[ListSharedProjectsInputRequestTypeDef]
553
+ ) -> ListSharedProjectsOutputTypeDef:
554
+ """
555
+ Gets a list of projects that are shared with other Amazon Web Services accounts
556
+ or users.
557
+
558
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_shared_projects.html)
559
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_shared_projects)
560
+ """
561
+
562
+ def list_shared_report_groups(
563
+ self, **kwargs: Unpack[ListSharedReportGroupsInputRequestTypeDef]
564
+ ) -> ListSharedReportGroupsOutputTypeDef:
565
+ """
566
+ Gets a list of report groups that are shared with other Amazon Web Services
567
+ accounts or users.
568
+
569
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_shared_report_groups.html)
570
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_shared_report_groups)
571
+ """
572
+
573
+ def list_source_credentials(self) -> ListSourceCredentialsOutputTypeDef:
574
+ """
575
+ Returns a list of <code>SourceCredentialsInfo</code> objects.
576
+
577
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/list_source_credentials.html)
578
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#list_source_credentials)
579
+ """
580
+
581
+ def put_resource_policy(
582
+ self, **kwargs: Unpack[PutResourcePolicyInputRequestTypeDef]
583
+ ) -> PutResourcePolicyOutputTypeDef:
584
+ """
585
+ Stores a resource policy for the ARN of a <code>Project</code> or
586
+ <code>ReportGroup</code> object.
587
+
588
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/put_resource_policy.html)
589
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#put_resource_policy)
590
+ """
591
+
592
+ def retry_build(
593
+ self, **kwargs: Unpack[RetryBuildInputRequestTypeDef]
594
+ ) -> RetryBuildOutputTypeDef:
595
+ """
596
+ Restarts a build.
597
+
598
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/retry_build.html)
599
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#retry_build)
600
+ """
601
+
602
+ def retry_build_batch(
603
+ self, **kwargs: Unpack[RetryBuildBatchInputRequestTypeDef]
604
+ ) -> RetryBuildBatchOutputTypeDef:
605
+ """
606
+ Restarts a failed batch build.
607
+
608
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/retry_build_batch.html)
609
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#retry_build_batch)
610
+ """
611
+
612
+ def start_build(
613
+ self, **kwargs: Unpack[StartBuildInputRequestTypeDef]
614
+ ) -> StartBuildOutputTypeDef:
615
+ """
616
+ Starts running a build with the settings defined in the project.
617
+
618
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/start_build.html)
619
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#start_build)
620
+ """
621
+
622
+ def start_build_batch(
623
+ self, **kwargs: Unpack[StartBuildBatchInputRequestTypeDef]
624
+ ) -> StartBuildBatchOutputTypeDef:
625
+ """
626
+ Starts a batch build for a project.
627
+
628
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/start_build_batch.html)
629
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#start_build_batch)
630
+ """
631
+
632
+ def stop_build(self, **kwargs: Unpack[StopBuildInputRequestTypeDef]) -> StopBuildOutputTypeDef:
633
+ """
634
+ Attempts to stop running a build.
635
+
636
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/stop_build.html)
637
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#stop_build)
638
+ """
639
+
640
+ def stop_build_batch(
641
+ self, **kwargs: Unpack[StopBuildBatchInputRequestTypeDef]
642
+ ) -> StopBuildBatchOutputTypeDef:
643
+ """
644
+ Stops a running batch build.
645
+
646
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/stop_build_batch.html)
647
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#stop_build_batch)
648
+ """
649
+
650
+ def update_fleet(
651
+ self, **kwargs: Unpack[UpdateFleetInputRequestTypeDef]
652
+ ) -> UpdateFleetOutputTypeDef:
653
+ """
654
+ Updates a compute fleet.
655
+
656
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/update_fleet.html)
657
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#update_fleet)
658
+ """
659
+
660
+ def update_project(
661
+ self, **kwargs: Unpack[UpdateProjectInputRequestTypeDef]
662
+ ) -> UpdateProjectOutputTypeDef:
663
+ """
664
+ Changes the settings of a build project.
665
+
666
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/update_project.html)
667
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#update_project)
668
+ """
669
+
670
+ def update_project_visibility(
671
+ self, **kwargs: Unpack[UpdateProjectVisibilityInputRequestTypeDef]
672
+ ) -> UpdateProjectVisibilityOutputTypeDef:
673
+ """
674
+ Changes the public visibility for a project.
675
+
676
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/update_project_visibility.html)
677
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#update_project_visibility)
678
+ """
679
+
680
+ def update_report_group(
681
+ self, **kwargs: Unpack[UpdateReportGroupInputRequestTypeDef]
682
+ ) -> UpdateReportGroupOutputTypeDef:
683
+ """
684
+ Updates a report group.
685
+
686
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/update_report_group.html)
687
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#update_report_group)
688
+ """
689
+
690
+ def update_webhook(
691
+ self, **kwargs: Unpack[UpdateWebhookInputRequestTypeDef]
692
+ ) -> UpdateWebhookOutputTypeDef:
693
+ """
694
+ Updates the webhook associated with an CodeBuild build project.
695
+
696
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/update_webhook.html)
697
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#update_webhook)
698
+ """
699
+
700
+ @overload
701
+ def get_paginator(
702
+ self, operation_name: Literal["describe_code_coverages"]
703
+ ) -> DescribeCodeCoveragesPaginator:
704
+ """
705
+ Create a paginator for an operation.
706
+
707
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
708
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
709
+ """
710
+
711
+ @overload
712
+ def get_paginator(
713
+ self, operation_name: Literal["describe_test_cases"]
714
+ ) -> DescribeTestCasesPaginator:
715
+ """
716
+ Create a paginator for an operation.
717
+
718
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
719
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
720
+ """
721
+
722
+ @overload
723
+ def get_paginator(
724
+ self, operation_name: Literal["list_build_batches_for_project"]
725
+ ) -> ListBuildBatchesForProjectPaginator:
726
+ """
727
+ Create a paginator for an operation.
728
+
729
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
730
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
731
+ """
732
+
733
+ @overload
734
+ def get_paginator(
735
+ self, operation_name: Literal["list_build_batches"]
736
+ ) -> ListBuildBatchesPaginator:
737
+ """
738
+ Create a paginator for an operation.
739
+
740
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
741
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
742
+ """
743
+
744
+ @overload
745
+ def get_paginator(
746
+ self, operation_name: Literal["list_builds_for_project"]
747
+ ) -> ListBuildsForProjectPaginator:
748
+ """
749
+ Create a paginator for an operation.
750
+
751
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
752
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
753
+ """
754
+
755
+ @overload
756
+ def get_paginator(self, operation_name: Literal["list_builds"]) -> ListBuildsPaginator:
757
+ """
758
+ Create a paginator for an operation.
759
+
760
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
761
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
762
+ """
763
+
764
+ @overload
765
+ def get_paginator(self, operation_name: Literal["list_projects"]) -> ListProjectsPaginator:
766
+ """
767
+ Create a paginator for an operation.
768
+
769
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
770
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
771
+ """
772
+
773
+ @overload
774
+ def get_paginator(
775
+ self, operation_name: Literal["list_report_groups"]
776
+ ) -> ListReportGroupsPaginator:
777
+ """
778
+ Create a paginator for an operation.
779
+
780
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
781
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
782
+ """
783
+
784
+ @overload
785
+ def get_paginator(
786
+ self, operation_name: Literal["list_reports_for_report_group"]
787
+ ) -> ListReportsForReportGroupPaginator:
788
+ """
789
+ Create a paginator for an operation.
790
+
791
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
792
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
793
+ """
794
+
795
+ @overload
796
+ def get_paginator(self, operation_name: Literal["list_reports"]) -> ListReportsPaginator:
797
+ """
798
+ Create a paginator for an operation.
799
+
800
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
801
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
802
+ """
803
+
804
+ @overload
805
+ def get_paginator(
806
+ self, operation_name: Literal["list_shared_projects"]
807
+ ) -> ListSharedProjectsPaginator:
808
+ """
809
+ Create a paginator for an operation.
810
+
811
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
812
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
813
+ """
814
+
815
+ @overload
816
+ def get_paginator(
817
+ self, operation_name: Literal["list_shared_report_groups"]
818
+ ) -> ListSharedReportGroupsPaginator:
819
+ """
820
+ Create a paginator for an operation.
821
+
822
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/get_paginator.html)
823
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
824
+ """