aws-sdk-codebuild 1.102.0 → 1.104.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,1293 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeBuild
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _BatchDeleteBuildsResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteBuildsOutput]
78
+ def builds_deleted: () -> ::Array[::String]
79
+ def builds_not_deleted: () -> ::Array[Types::BuildNotDeleted]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_delete_builds-instance_method
82
+ def batch_delete_builds: (
83
+ ids: Array[::String]
84
+ ) -> _BatchDeleteBuildsResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteBuildsResponseSuccess
86
+
87
+ interface _BatchGetBuildBatchesResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetBuildBatchesOutput]
89
+ def build_batches: () -> ::Array[Types::BuildBatch]
90
+ def build_batches_not_found: () -> ::Array[::String]
91
+ end
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_get_build_batches-instance_method
93
+ def batch_get_build_batches: (
94
+ ids: Array[::String]
95
+ ) -> _BatchGetBuildBatchesResponseSuccess
96
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetBuildBatchesResponseSuccess
97
+
98
+ interface _BatchGetBuildsResponseSuccess
99
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetBuildsOutput]
100
+ def builds: () -> ::Array[Types::Build]
101
+ def builds_not_found: () -> ::Array[::String]
102
+ end
103
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_get_builds-instance_method
104
+ def batch_get_builds: (
105
+ ids: Array[::String]
106
+ ) -> _BatchGetBuildsResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetBuildsResponseSuccess
108
+
109
+ interface _BatchGetFleetsResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFleetsOutput]
111
+ def fleets: () -> ::Array[Types::Fleet]
112
+ def fleets_not_found: () -> ::Array[::String]
113
+ end
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_get_fleets-instance_method
115
+ def batch_get_fleets: (
116
+ names: Array[::String]
117
+ ) -> _BatchGetFleetsResponseSuccess
118
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetFleetsResponseSuccess
119
+
120
+ interface _BatchGetProjectsResponseSuccess
121
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetProjectsOutput]
122
+ def projects: () -> ::Array[Types::Project]
123
+ def projects_not_found: () -> ::Array[::String]
124
+ end
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_get_projects-instance_method
126
+ def batch_get_projects: (
127
+ names: Array[::String]
128
+ ) -> _BatchGetProjectsResponseSuccess
129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetProjectsResponseSuccess
130
+
131
+ interface _BatchGetReportGroupsResponseSuccess
132
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetReportGroupsOutput]
133
+ def report_groups: () -> ::Array[Types::ReportGroup]
134
+ def report_groups_not_found: () -> ::Array[::String]
135
+ end
136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_get_report_groups-instance_method
137
+ def batch_get_report_groups: (
138
+ report_group_arns: Array[::String]
139
+ ) -> _BatchGetReportGroupsResponseSuccess
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetReportGroupsResponseSuccess
141
+
142
+ interface _BatchGetReportsResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetReportsOutput]
144
+ def reports: () -> ::Array[Types::Report]
145
+ def reports_not_found: () -> ::Array[::String]
146
+ end
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_get_reports-instance_method
148
+ def batch_get_reports: (
149
+ report_arns: Array[::String]
150
+ ) -> _BatchGetReportsResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetReportsResponseSuccess
152
+
153
+ interface _CreateFleetResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFleetOutput]
155
+ def fleet: () -> Types::Fleet
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#create_fleet-instance_method
158
+ def create_fleet: (
159
+ name: ::String,
160
+ base_capacity: ::Integer,
161
+ environment_type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER"),
162
+ compute_type: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB"),
163
+ ?scaling_configuration: {
164
+ scaling_type: ("TARGET_TRACKING_SCALING")?,
165
+ target_tracking_scaling_configs: Array[
166
+ {
167
+ metric_type: ("FLEET_UTILIZATION_RATE")?,
168
+ target_value: ::Float?
169
+ },
170
+ ]?,
171
+ max_capacity: ::Integer?
172
+ },
173
+ ?tags: Array[
174
+ {
175
+ key: ::String?,
176
+ value: ::String?
177
+ },
178
+ ]
179
+ ) -> _CreateFleetResponseSuccess
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFleetResponseSuccess
181
+
182
+ interface _CreateProjectResponseSuccess
183
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateProjectOutput]
184
+ def project: () -> Types::Project
185
+ end
186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#create_project-instance_method
187
+ def create_project: (
188
+ name: ::String,
189
+ ?description: ::String,
190
+ source: {
191
+ type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
192
+ location: ::String?,
193
+ git_clone_depth: ::Integer?,
194
+ git_submodules_config: {
195
+ fetch_submodules: bool
196
+ }?,
197
+ buildspec: ::String?,
198
+ auth: {
199
+ type: ("OAUTH"),
200
+ resource: ::String?
201
+ }?,
202
+ report_build_status: bool?,
203
+ build_status_config: {
204
+ context: ::String?,
205
+ target_url: ::String?
206
+ }?,
207
+ insecure_ssl: bool?,
208
+ source_identifier: ::String?
209
+ },
210
+ ?secondary_sources: Array[
211
+ {
212
+ type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
213
+ location: ::String?,
214
+ git_clone_depth: ::Integer?,
215
+ git_submodules_config: {
216
+ fetch_submodules: bool
217
+ }?,
218
+ buildspec: ::String?,
219
+ auth: {
220
+ type: ("OAUTH"),
221
+ resource: ::String?
222
+ }?,
223
+ report_build_status: bool?,
224
+ build_status_config: {
225
+ context: ::String?,
226
+ target_url: ::String?
227
+ }?,
228
+ insecure_ssl: bool?,
229
+ source_identifier: ::String?
230
+ },
231
+ ],
232
+ ?source_version: ::String,
233
+ ?secondary_source_versions: Array[
234
+ {
235
+ source_identifier: ::String,
236
+ source_version: ::String
237
+ },
238
+ ],
239
+ artifacts: {
240
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
241
+ location: ::String?,
242
+ path: ::String?,
243
+ namespace_type: ("NONE" | "BUILD_ID")?,
244
+ name: ::String?,
245
+ packaging: ("NONE" | "ZIP")?,
246
+ override_artifact_name: bool?,
247
+ encryption_disabled: bool?,
248
+ artifact_identifier: ::String?,
249
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
250
+ },
251
+ ?secondary_artifacts: Array[
252
+ {
253
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
254
+ location: ::String?,
255
+ path: ::String?,
256
+ namespace_type: ("NONE" | "BUILD_ID")?,
257
+ name: ::String?,
258
+ packaging: ("NONE" | "ZIP")?,
259
+ override_artifact_name: bool?,
260
+ encryption_disabled: bool?,
261
+ artifact_identifier: ::String?,
262
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
263
+ },
264
+ ],
265
+ ?cache: {
266
+ type: ("NO_CACHE" | "S3" | "LOCAL"),
267
+ location: ::String?,
268
+ modes: Array[("LOCAL_DOCKER_LAYER_CACHE" | "LOCAL_SOURCE_CACHE" | "LOCAL_CUSTOM_CACHE")]?
269
+ },
270
+ environment: {
271
+ type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER"),
272
+ image: ::String,
273
+ compute_type: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB"),
274
+ fleet: {
275
+ fleet_arn: ::String?
276
+ }?,
277
+ environment_variables: Array[
278
+ {
279
+ name: ::String,
280
+ value: ::String,
281
+ type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
282
+ },
283
+ ]?,
284
+ privileged_mode: bool?,
285
+ certificate: ::String?,
286
+ registry_credential: {
287
+ credential: ::String,
288
+ credential_provider: ("SECRETS_MANAGER")
289
+ }?,
290
+ image_pull_credentials_type: ("CODEBUILD" | "SERVICE_ROLE")?
291
+ },
292
+ service_role: ::String,
293
+ ?timeout_in_minutes: ::Integer,
294
+ ?queued_timeout_in_minutes: ::Integer,
295
+ ?encryption_key: ::String,
296
+ ?tags: Array[
297
+ {
298
+ key: ::String?,
299
+ value: ::String?
300
+ },
301
+ ],
302
+ ?vpc_config: {
303
+ vpc_id: ::String?,
304
+ subnets: Array[::String]?,
305
+ security_group_ids: Array[::String]?
306
+ },
307
+ ?badge_enabled: bool,
308
+ ?logs_config: {
309
+ cloud_watch_logs: {
310
+ status: ("ENABLED" | "DISABLED"),
311
+ group_name: ::String?,
312
+ stream_name: ::String?
313
+ }?,
314
+ s3_logs: {
315
+ status: ("ENABLED" | "DISABLED"),
316
+ location: ::String?,
317
+ encryption_disabled: bool?,
318
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
319
+ }?
320
+ },
321
+ ?file_system_locations: Array[
322
+ {
323
+ type: ("EFS")?,
324
+ location: ::String?,
325
+ mount_point: ::String?,
326
+ identifier: ::String?,
327
+ mount_options: ::String?
328
+ },
329
+ ],
330
+ ?build_batch_config: {
331
+ service_role: ::String?,
332
+ combine_artifacts: bool?,
333
+ restrictions: {
334
+ maximum_builds_allowed: ::Integer?,
335
+ compute_types_allowed: Array[::String]?
336
+ }?,
337
+ timeout_in_mins: ::Integer?,
338
+ batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
339
+ },
340
+ ?concurrent_build_limit: ::Integer
341
+ ) -> _CreateProjectResponseSuccess
342
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectResponseSuccess
343
+
344
+ interface _CreateReportGroupResponseSuccess
345
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateReportGroupOutput]
346
+ def report_group: () -> Types::ReportGroup
347
+ end
348
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#create_report_group-instance_method
349
+ def create_report_group: (
350
+ name: ::String,
351
+ type: ("TEST" | "CODE_COVERAGE"),
352
+ export_config: {
353
+ export_config_type: ("S3" | "NO_EXPORT")?,
354
+ s3_destination: {
355
+ bucket: ::String?,
356
+ bucket_owner: ::String?,
357
+ path: ::String?,
358
+ packaging: ("ZIP" | "NONE")?,
359
+ encryption_key: ::String?,
360
+ encryption_disabled: bool?
361
+ }?
362
+ },
363
+ ?tags: Array[
364
+ {
365
+ key: ::String?,
366
+ value: ::String?
367
+ },
368
+ ]
369
+ ) -> _CreateReportGroupResponseSuccess
370
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateReportGroupResponseSuccess
371
+
372
+ interface _CreateWebhookResponseSuccess
373
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebhookOutput]
374
+ def webhook: () -> Types::Webhook
375
+ end
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#create_webhook-instance_method
377
+ def create_webhook: (
378
+ project_name: ::String,
379
+ ?branch_filter: ::String,
380
+ ?filter_groups: Array[
381
+ Array[
382
+ {
383
+ type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE"),
384
+ pattern: ::String,
385
+ exclude_matched_pattern: bool?
386
+ },
387
+ ],
388
+ ],
389
+ ?build_type: ("BUILD" | "BUILD_BATCH")
390
+ ) -> _CreateWebhookResponseSuccess
391
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebhookResponseSuccess
392
+
393
+ interface _DeleteBuildBatchResponseSuccess
394
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBuildBatchOutput]
395
+ def status_code: () -> ::String
396
+ def builds_deleted: () -> ::Array[::String]
397
+ def builds_not_deleted: () -> ::Array[Types::BuildNotDeleted]
398
+ end
399
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#delete_build_batch-instance_method
400
+ def delete_build_batch: (
401
+ id: ::String
402
+ ) -> _DeleteBuildBatchResponseSuccess
403
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBuildBatchResponseSuccess
404
+
405
+ interface _DeleteFleetResponseSuccess
406
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFleetOutput]
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#delete_fleet-instance_method
409
+ def delete_fleet: (
410
+ arn: ::String
411
+ ) -> _DeleteFleetResponseSuccess
412
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFleetResponseSuccess
413
+
414
+ interface _DeleteProjectResponseSuccess
415
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProjectOutput]
416
+ end
417
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#delete_project-instance_method
418
+ def delete_project: (
419
+ name: ::String
420
+ ) -> _DeleteProjectResponseSuccess
421
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProjectResponseSuccess
422
+
423
+ interface _DeleteReportResponseSuccess
424
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteReportOutput]
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#delete_report-instance_method
427
+ def delete_report: (
428
+ arn: ::String
429
+ ) -> _DeleteReportResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteReportResponseSuccess
431
+
432
+ interface _DeleteReportGroupResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteReportGroupOutput]
434
+ end
435
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#delete_report_group-instance_method
436
+ def delete_report_group: (
437
+ arn: ::String,
438
+ ?delete_reports: bool
439
+ ) -> _DeleteReportGroupResponseSuccess
440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteReportGroupResponseSuccess
441
+
442
+ interface _DeleteResourcePolicyResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyOutput]
444
+ end
445
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#delete_resource_policy-instance_method
446
+ def delete_resource_policy: (
447
+ resource_arn: ::String
448
+ ) -> _DeleteResourcePolicyResponseSuccess
449
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
450
+
451
+ interface _DeleteSourceCredentialsResponseSuccess
452
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSourceCredentialsOutput]
453
+ def arn: () -> ::String
454
+ end
455
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#delete_source_credentials-instance_method
456
+ def delete_source_credentials: (
457
+ arn: ::String
458
+ ) -> _DeleteSourceCredentialsResponseSuccess
459
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSourceCredentialsResponseSuccess
460
+
461
+ interface _DeleteWebhookResponseSuccess
462
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWebhookOutput]
463
+ end
464
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#delete_webhook-instance_method
465
+ def delete_webhook: (
466
+ project_name: ::String
467
+ ) -> _DeleteWebhookResponseSuccess
468
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWebhookResponseSuccess
469
+
470
+ interface _DescribeCodeCoveragesResponseSuccess
471
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCodeCoveragesOutput]
472
+ def next_token: () -> ::String
473
+ def code_coverages: () -> ::Array[Types::CodeCoverage]
474
+ end
475
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#describe_code_coverages-instance_method
476
+ def describe_code_coverages: (
477
+ report_arn: ::String,
478
+ ?next_token: ::String,
479
+ ?max_results: ::Integer,
480
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
481
+ ?sort_by: ("LINE_COVERAGE_PERCENTAGE" | "FILE_PATH"),
482
+ ?min_line_coverage_percentage: ::Float,
483
+ ?max_line_coverage_percentage: ::Float
484
+ ) -> _DescribeCodeCoveragesResponseSuccess
485
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCodeCoveragesResponseSuccess
486
+
487
+ interface _DescribeTestCasesResponseSuccess
488
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTestCasesOutput]
489
+ def next_token: () -> ::String
490
+ def test_cases: () -> ::Array[Types::TestCase]
491
+ end
492
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#describe_test_cases-instance_method
493
+ def describe_test_cases: (
494
+ report_arn: ::String,
495
+ ?next_token: ::String,
496
+ ?max_results: ::Integer,
497
+ ?filter: {
498
+ status: ::String?,
499
+ keyword: ::String?
500
+ }
501
+ ) -> _DescribeTestCasesResponseSuccess
502
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTestCasesResponseSuccess
503
+
504
+ interface _GetReportGroupTrendResponseSuccess
505
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReportGroupTrendOutput]
506
+ def stats: () -> Types::ReportGroupTrendStats
507
+ def raw_data: () -> ::Array[Types::ReportWithRawData]
508
+ end
509
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#get_report_group_trend-instance_method
510
+ def get_report_group_trend: (
511
+ report_group_arn: ::String,
512
+ ?num_of_reports: ::Integer,
513
+ trend_field: ("PASS_RATE" | "DURATION" | "TOTAL" | "LINE_COVERAGE" | "LINES_COVERED" | "LINES_MISSED" | "BRANCH_COVERAGE" | "BRANCHES_COVERED" | "BRANCHES_MISSED")
514
+ ) -> _GetReportGroupTrendResponseSuccess
515
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReportGroupTrendResponseSuccess
516
+
517
+ interface _GetResourcePolicyResponseSuccess
518
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyOutput]
519
+ def policy: () -> ::String
520
+ end
521
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#get_resource_policy-instance_method
522
+ def get_resource_policy: (
523
+ resource_arn: ::String
524
+ ) -> _GetResourcePolicyResponseSuccess
525
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
526
+
527
+ interface _ImportSourceCredentialsResponseSuccess
528
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportSourceCredentialsOutput]
529
+ def arn: () -> ::String
530
+ end
531
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#import_source_credentials-instance_method
532
+ def import_source_credentials: (
533
+ ?username: ::String,
534
+ token: ::String,
535
+ server_type: ("GITHUB" | "BITBUCKET" | "GITHUB_ENTERPRISE"),
536
+ auth_type: ("OAUTH" | "BASIC_AUTH" | "PERSONAL_ACCESS_TOKEN"),
537
+ ?should_overwrite: bool
538
+ ) -> _ImportSourceCredentialsResponseSuccess
539
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportSourceCredentialsResponseSuccess
540
+
541
+ interface _InvalidateProjectCacheResponseSuccess
542
+ include ::Seahorse::Client::_ResponseSuccess[Types::InvalidateProjectCacheOutput]
543
+ end
544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#invalidate_project_cache-instance_method
545
+ def invalidate_project_cache: (
546
+ project_name: ::String
547
+ ) -> _InvalidateProjectCacheResponseSuccess
548
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvalidateProjectCacheResponseSuccess
549
+
550
+ interface _ListBuildBatchesResponseSuccess
551
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBuildBatchesOutput]
552
+ def ids: () -> ::Array[::String]
553
+ def next_token: () -> ::String
554
+ end
555
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_build_batches-instance_method
556
+ def list_build_batches: (
557
+ ?filter: {
558
+ status: ("SUCCEEDED" | "FAILED" | "FAULT" | "TIMED_OUT" | "IN_PROGRESS" | "STOPPED")?
559
+ },
560
+ ?max_results: ::Integer,
561
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
562
+ ?next_token: ::String
563
+ ) -> _ListBuildBatchesResponseSuccess
564
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBuildBatchesResponseSuccess
565
+
566
+ interface _ListBuildBatchesForProjectResponseSuccess
567
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBuildBatchesForProjectOutput]
568
+ def ids: () -> ::Array[::String]
569
+ def next_token: () -> ::String
570
+ end
571
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_build_batches_for_project-instance_method
572
+ def list_build_batches_for_project: (
573
+ ?project_name: ::String,
574
+ ?filter: {
575
+ status: ("SUCCEEDED" | "FAILED" | "FAULT" | "TIMED_OUT" | "IN_PROGRESS" | "STOPPED")?
576
+ },
577
+ ?max_results: ::Integer,
578
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
579
+ ?next_token: ::String
580
+ ) -> _ListBuildBatchesForProjectResponseSuccess
581
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBuildBatchesForProjectResponseSuccess
582
+
583
+ interface _ListBuildsResponseSuccess
584
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBuildsOutput]
585
+ def ids: () -> ::Array[::String]
586
+ def next_token: () -> ::String
587
+ end
588
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_builds-instance_method
589
+ def list_builds: (
590
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
591
+ ?next_token: ::String
592
+ ) -> _ListBuildsResponseSuccess
593
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBuildsResponseSuccess
594
+
595
+ interface _ListBuildsForProjectResponseSuccess
596
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBuildsForProjectOutput]
597
+ def ids: () -> ::Array[::String]
598
+ def next_token: () -> ::String
599
+ end
600
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_builds_for_project-instance_method
601
+ def list_builds_for_project: (
602
+ project_name: ::String,
603
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
604
+ ?next_token: ::String
605
+ ) -> _ListBuildsForProjectResponseSuccess
606
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBuildsForProjectResponseSuccess
607
+
608
+ interface _ListCuratedEnvironmentImagesResponseSuccess
609
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCuratedEnvironmentImagesOutput]
610
+ def platforms: () -> ::Array[Types::EnvironmentPlatform]
611
+ end
612
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_curated_environment_images-instance_method
613
+ def list_curated_environment_images: (
614
+ ) -> _ListCuratedEnvironmentImagesResponseSuccess
615
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCuratedEnvironmentImagesResponseSuccess
616
+
617
+ interface _ListFleetsResponseSuccess
618
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFleetsOutput]
619
+ def next_token: () -> ::String
620
+ def fleets: () -> ::Array[::String]
621
+ end
622
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_fleets-instance_method
623
+ def list_fleets: (
624
+ ?next_token: ::String,
625
+ ?max_results: ::Integer,
626
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
627
+ ?sort_by: ("NAME" | "CREATED_TIME" | "LAST_MODIFIED_TIME")
628
+ ) -> _ListFleetsResponseSuccess
629
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFleetsResponseSuccess
630
+
631
+ interface _ListProjectsResponseSuccess
632
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProjectsOutput]
633
+ def next_token: () -> ::String
634
+ def projects: () -> ::Array[::String]
635
+ end
636
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_projects-instance_method
637
+ def list_projects: (
638
+ ?sort_by: ("NAME" | "CREATED_TIME" | "LAST_MODIFIED_TIME"),
639
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
640
+ ?next_token: ::String
641
+ ) -> _ListProjectsResponseSuccess
642
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProjectsResponseSuccess
643
+
644
+ interface _ListReportGroupsResponseSuccess
645
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReportGroupsOutput]
646
+ def next_token: () -> ::String
647
+ def report_groups: () -> ::Array[::String]
648
+ end
649
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_report_groups-instance_method
650
+ def list_report_groups: (
651
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
652
+ ?sort_by: ("NAME" | "CREATED_TIME" | "LAST_MODIFIED_TIME"),
653
+ ?next_token: ::String,
654
+ ?max_results: ::Integer
655
+ ) -> _ListReportGroupsResponseSuccess
656
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReportGroupsResponseSuccess
657
+
658
+ interface _ListReportsResponseSuccess
659
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReportsOutput]
660
+ def next_token: () -> ::String
661
+ def reports: () -> ::Array[::String]
662
+ end
663
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_reports-instance_method
664
+ def list_reports: (
665
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
666
+ ?next_token: ::String,
667
+ ?max_results: ::Integer,
668
+ ?filter: {
669
+ status: ("GENERATING" | "SUCCEEDED" | "FAILED" | "INCOMPLETE" | "DELETING")?
670
+ }
671
+ ) -> _ListReportsResponseSuccess
672
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReportsResponseSuccess
673
+
674
+ interface _ListReportsForReportGroupResponseSuccess
675
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReportsForReportGroupOutput]
676
+ def next_token: () -> ::String
677
+ def reports: () -> ::Array[::String]
678
+ end
679
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_reports_for_report_group-instance_method
680
+ def list_reports_for_report_group: (
681
+ report_group_arn: ::String,
682
+ ?next_token: ::String,
683
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
684
+ ?max_results: ::Integer,
685
+ ?filter: {
686
+ status: ("GENERATING" | "SUCCEEDED" | "FAILED" | "INCOMPLETE" | "DELETING")?
687
+ }
688
+ ) -> _ListReportsForReportGroupResponseSuccess
689
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReportsForReportGroupResponseSuccess
690
+
691
+ interface _ListSharedProjectsResponseSuccess
692
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSharedProjectsOutput]
693
+ def next_token: () -> ::String
694
+ def projects: () -> ::Array[::String]
695
+ end
696
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_shared_projects-instance_method
697
+ def list_shared_projects: (
698
+ ?sort_by: ("ARN" | "MODIFIED_TIME"),
699
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
700
+ ?max_results: ::Integer,
701
+ ?next_token: ::String
702
+ ) -> _ListSharedProjectsResponseSuccess
703
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSharedProjectsResponseSuccess
704
+
705
+ interface _ListSharedReportGroupsResponseSuccess
706
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSharedReportGroupsOutput]
707
+ def next_token: () -> ::String
708
+ def report_groups: () -> ::Array[::String]
709
+ end
710
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_shared_report_groups-instance_method
711
+ def list_shared_report_groups: (
712
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
713
+ ?sort_by: ("ARN" | "MODIFIED_TIME"),
714
+ ?next_token: ::String,
715
+ ?max_results: ::Integer
716
+ ) -> _ListSharedReportGroupsResponseSuccess
717
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSharedReportGroupsResponseSuccess
718
+
719
+ interface _ListSourceCredentialsResponseSuccess
720
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSourceCredentialsOutput]
721
+ def source_credentials_infos: () -> ::Array[Types::SourceCredentialsInfo]
722
+ end
723
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_source_credentials-instance_method
724
+ def list_source_credentials: (
725
+ ) -> _ListSourceCredentialsResponseSuccess
726
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourceCredentialsResponseSuccess
727
+
728
+ interface _PutResourcePolicyResponseSuccess
729
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyOutput]
730
+ def resource_arn: () -> ::String
731
+ end
732
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#put_resource_policy-instance_method
733
+ def put_resource_policy: (
734
+ policy: ::String,
735
+ resource_arn: ::String
736
+ ) -> _PutResourcePolicyResponseSuccess
737
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
738
+
739
+ interface _RetryBuildResponseSuccess
740
+ include ::Seahorse::Client::_ResponseSuccess[Types::RetryBuildOutput]
741
+ def build: () -> Types::Build
742
+ end
743
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#retry_build-instance_method
744
+ def retry_build: (
745
+ ?id: ::String,
746
+ ?idempotency_token: ::String
747
+ ) -> _RetryBuildResponseSuccess
748
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetryBuildResponseSuccess
749
+
750
+ interface _RetryBuildBatchResponseSuccess
751
+ include ::Seahorse::Client::_ResponseSuccess[Types::RetryBuildBatchOutput]
752
+ def build_batch: () -> Types::BuildBatch
753
+ end
754
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#retry_build_batch-instance_method
755
+ def retry_build_batch: (
756
+ ?id: ::String,
757
+ ?idempotency_token: ::String,
758
+ ?retry_type: ("RETRY_ALL_BUILDS" | "RETRY_FAILED_BUILDS")
759
+ ) -> _RetryBuildBatchResponseSuccess
760
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetryBuildBatchResponseSuccess
761
+
762
+ interface _StartBuildResponseSuccess
763
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartBuildOutput]
764
+ def build: () -> Types::Build
765
+ end
766
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#start_build-instance_method
767
+ def start_build: (
768
+ project_name: ::String,
769
+ ?secondary_sources_override: Array[
770
+ {
771
+ type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
772
+ location: ::String?,
773
+ git_clone_depth: ::Integer?,
774
+ git_submodules_config: {
775
+ fetch_submodules: bool
776
+ }?,
777
+ buildspec: ::String?,
778
+ auth: {
779
+ type: ("OAUTH"),
780
+ resource: ::String?
781
+ }?,
782
+ report_build_status: bool?,
783
+ build_status_config: {
784
+ context: ::String?,
785
+ target_url: ::String?
786
+ }?,
787
+ insecure_ssl: bool?,
788
+ source_identifier: ::String?
789
+ },
790
+ ],
791
+ ?secondary_sources_version_override: Array[
792
+ {
793
+ source_identifier: ::String,
794
+ source_version: ::String
795
+ },
796
+ ],
797
+ ?source_version: ::String,
798
+ ?artifacts_override: {
799
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
800
+ location: ::String?,
801
+ path: ::String?,
802
+ namespace_type: ("NONE" | "BUILD_ID")?,
803
+ name: ::String?,
804
+ packaging: ("NONE" | "ZIP")?,
805
+ override_artifact_name: bool?,
806
+ encryption_disabled: bool?,
807
+ artifact_identifier: ::String?,
808
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
809
+ },
810
+ ?secondary_artifacts_override: Array[
811
+ {
812
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
813
+ location: ::String?,
814
+ path: ::String?,
815
+ namespace_type: ("NONE" | "BUILD_ID")?,
816
+ name: ::String?,
817
+ packaging: ("NONE" | "ZIP")?,
818
+ override_artifact_name: bool?,
819
+ encryption_disabled: bool?,
820
+ artifact_identifier: ::String?,
821
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
822
+ },
823
+ ],
824
+ ?environment_variables_override: Array[
825
+ {
826
+ name: ::String,
827
+ value: ::String,
828
+ type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
829
+ },
830
+ ],
831
+ ?source_type_override: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
832
+ ?source_location_override: ::String,
833
+ ?source_auth_override: {
834
+ type: ("OAUTH"),
835
+ resource: ::String?
836
+ },
837
+ ?git_clone_depth_override: ::Integer,
838
+ ?git_submodules_config_override: {
839
+ fetch_submodules: bool
840
+ },
841
+ ?buildspec_override: ::String,
842
+ ?insecure_ssl_override: bool,
843
+ ?report_build_status_override: bool,
844
+ ?build_status_config_override: {
845
+ context: ::String?,
846
+ target_url: ::String?
847
+ },
848
+ ?environment_type_override: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER"),
849
+ ?image_override: ::String,
850
+ ?compute_type_override: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB"),
851
+ ?certificate_override: ::String,
852
+ ?cache_override: {
853
+ type: ("NO_CACHE" | "S3" | "LOCAL"),
854
+ location: ::String?,
855
+ modes: Array[("LOCAL_DOCKER_LAYER_CACHE" | "LOCAL_SOURCE_CACHE" | "LOCAL_CUSTOM_CACHE")]?
856
+ },
857
+ ?service_role_override: ::String,
858
+ ?privileged_mode_override: bool,
859
+ ?timeout_in_minutes_override: ::Integer,
860
+ ?queued_timeout_in_minutes_override: ::Integer,
861
+ ?encryption_key_override: ::String,
862
+ ?idempotency_token: ::String,
863
+ ?logs_config_override: {
864
+ cloud_watch_logs: {
865
+ status: ("ENABLED" | "DISABLED"),
866
+ group_name: ::String?,
867
+ stream_name: ::String?
868
+ }?,
869
+ s3_logs: {
870
+ status: ("ENABLED" | "DISABLED"),
871
+ location: ::String?,
872
+ encryption_disabled: bool?,
873
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
874
+ }?
875
+ },
876
+ ?registry_credential_override: {
877
+ credential: ::String,
878
+ credential_provider: ("SECRETS_MANAGER")
879
+ },
880
+ ?image_pull_credentials_type_override: ("CODEBUILD" | "SERVICE_ROLE"),
881
+ ?debug_session_enabled: bool,
882
+ ?fleet_override: {
883
+ fleet_arn: ::String?
884
+ }
885
+ ) -> _StartBuildResponseSuccess
886
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBuildResponseSuccess
887
+
888
+ interface _StartBuildBatchResponseSuccess
889
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartBuildBatchOutput]
890
+ def build_batch: () -> Types::BuildBatch
891
+ end
892
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#start_build_batch-instance_method
893
+ def start_build_batch: (
894
+ project_name: ::String,
895
+ ?secondary_sources_override: Array[
896
+ {
897
+ type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
898
+ location: ::String?,
899
+ git_clone_depth: ::Integer?,
900
+ git_submodules_config: {
901
+ fetch_submodules: bool
902
+ }?,
903
+ buildspec: ::String?,
904
+ auth: {
905
+ type: ("OAUTH"),
906
+ resource: ::String?
907
+ }?,
908
+ report_build_status: bool?,
909
+ build_status_config: {
910
+ context: ::String?,
911
+ target_url: ::String?
912
+ }?,
913
+ insecure_ssl: bool?,
914
+ source_identifier: ::String?
915
+ },
916
+ ],
917
+ ?secondary_sources_version_override: Array[
918
+ {
919
+ source_identifier: ::String,
920
+ source_version: ::String
921
+ },
922
+ ],
923
+ ?source_version: ::String,
924
+ ?artifacts_override: {
925
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
926
+ location: ::String?,
927
+ path: ::String?,
928
+ namespace_type: ("NONE" | "BUILD_ID")?,
929
+ name: ::String?,
930
+ packaging: ("NONE" | "ZIP")?,
931
+ override_artifact_name: bool?,
932
+ encryption_disabled: bool?,
933
+ artifact_identifier: ::String?,
934
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
935
+ },
936
+ ?secondary_artifacts_override: Array[
937
+ {
938
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
939
+ location: ::String?,
940
+ path: ::String?,
941
+ namespace_type: ("NONE" | "BUILD_ID")?,
942
+ name: ::String?,
943
+ packaging: ("NONE" | "ZIP")?,
944
+ override_artifact_name: bool?,
945
+ encryption_disabled: bool?,
946
+ artifact_identifier: ::String?,
947
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
948
+ },
949
+ ],
950
+ ?environment_variables_override: Array[
951
+ {
952
+ name: ::String,
953
+ value: ::String,
954
+ type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
955
+ },
956
+ ],
957
+ ?source_type_override: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
958
+ ?source_location_override: ::String,
959
+ ?source_auth_override: {
960
+ type: ("OAUTH"),
961
+ resource: ::String?
962
+ },
963
+ ?git_clone_depth_override: ::Integer,
964
+ ?git_submodules_config_override: {
965
+ fetch_submodules: bool
966
+ },
967
+ ?buildspec_override: ::String,
968
+ ?insecure_ssl_override: bool,
969
+ ?report_build_batch_status_override: bool,
970
+ ?environment_type_override: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER"),
971
+ ?image_override: ::String,
972
+ ?compute_type_override: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB"),
973
+ ?certificate_override: ::String,
974
+ ?cache_override: {
975
+ type: ("NO_CACHE" | "S3" | "LOCAL"),
976
+ location: ::String?,
977
+ modes: Array[("LOCAL_DOCKER_LAYER_CACHE" | "LOCAL_SOURCE_CACHE" | "LOCAL_CUSTOM_CACHE")]?
978
+ },
979
+ ?service_role_override: ::String,
980
+ ?privileged_mode_override: bool,
981
+ ?build_timeout_in_minutes_override: ::Integer,
982
+ ?queued_timeout_in_minutes_override: ::Integer,
983
+ ?encryption_key_override: ::String,
984
+ ?idempotency_token: ::String,
985
+ ?logs_config_override: {
986
+ cloud_watch_logs: {
987
+ status: ("ENABLED" | "DISABLED"),
988
+ group_name: ::String?,
989
+ stream_name: ::String?
990
+ }?,
991
+ s3_logs: {
992
+ status: ("ENABLED" | "DISABLED"),
993
+ location: ::String?,
994
+ encryption_disabled: bool?,
995
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
996
+ }?
997
+ },
998
+ ?registry_credential_override: {
999
+ credential: ::String,
1000
+ credential_provider: ("SECRETS_MANAGER")
1001
+ },
1002
+ ?image_pull_credentials_type_override: ("CODEBUILD" | "SERVICE_ROLE"),
1003
+ ?build_batch_config_override: {
1004
+ service_role: ::String?,
1005
+ combine_artifacts: bool?,
1006
+ restrictions: {
1007
+ maximum_builds_allowed: ::Integer?,
1008
+ compute_types_allowed: Array[::String]?
1009
+ }?,
1010
+ timeout_in_mins: ::Integer?,
1011
+ batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
1012
+ },
1013
+ ?debug_session_enabled: bool
1014
+ ) -> _StartBuildBatchResponseSuccess
1015
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBuildBatchResponseSuccess
1016
+
1017
+ interface _StopBuildResponseSuccess
1018
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopBuildOutput]
1019
+ def build: () -> Types::Build
1020
+ end
1021
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#stop_build-instance_method
1022
+ def stop_build: (
1023
+ id: ::String
1024
+ ) -> _StopBuildResponseSuccess
1025
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopBuildResponseSuccess
1026
+
1027
+ interface _StopBuildBatchResponseSuccess
1028
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopBuildBatchOutput]
1029
+ def build_batch: () -> Types::BuildBatch
1030
+ end
1031
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#stop_build_batch-instance_method
1032
+ def stop_build_batch: (
1033
+ id: ::String
1034
+ ) -> _StopBuildBatchResponseSuccess
1035
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopBuildBatchResponseSuccess
1036
+
1037
+ interface _UpdateFleetResponseSuccess
1038
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFleetOutput]
1039
+ def fleet: () -> Types::Fleet
1040
+ end
1041
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#update_fleet-instance_method
1042
+ def update_fleet: (
1043
+ arn: ::String,
1044
+ ?base_capacity: ::Integer,
1045
+ ?environment_type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER"),
1046
+ ?compute_type: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB"),
1047
+ ?scaling_configuration: {
1048
+ scaling_type: ("TARGET_TRACKING_SCALING")?,
1049
+ target_tracking_scaling_configs: Array[
1050
+ {
1051
+ metric_type: ("FLEET_UTILIZATION_RATE")?,
1052
+ target_value: ::Float?
1053
+ },
1054
+ ]?,
1055
+ max_capacity: ::Integer?
1056
+ },
1057
+ ?tags: Array[
1058
+ {
1059
+ key: ::String?,
1060
+ value: ::String?
1061
+ },
1062
+ ]
1063
+ ) -> _UpdateFleetResponseSuccess
1064
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFleetResponseSuccess
1065
+
1066
+ interface _UpdateProjectResponseSuccess
1067
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProjectOutput]
1068
+ def project: () -> Types::Project
1069
+ end
1070
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#update_project-instance_method
1071
+ def update_project: (
1072
+ name: ::String,
1073
+ ?description: ::String,
1074
+ ?source: {
1075
+ type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
1076
+ location: ::String?,
1077
+ git_clone_depth: ::Integer?,
1078
+ git_submodules_config: {
1079
+ fetch_submodules: bool
1080
+ }?,
1081
+ buildspec: ::String?,
1082
+ auth: {
1083
+ type: ("OAUTH"),
1084
+ resource: ::String?
1085
+ }?,
1086
+ report_build_status: bool?,
1087
+ build_status_config: {
1088
+ context: ::String?,
1089
+ target_url: ::String?
1090
+ }?,
1091
+ insecure_ssl: bool?,
1092
+ source_identifier: ::String?
1093
+ },
1094
+ ?secondary_sources: Array[
1095
+ {
1096
+ type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
1097
+ location: ::String?,
1098
+ git_clone_depth: ::Integer?,
1099
+ git_submodules_config: {
1100
+ fetch_submodules: bool
1101
+ }?,
1102
+ buildspec: ::String?,
1103
+ auth: {
1104
+ type: ("OAUTH"),
1105
+ resource: ::String?
1106
+ }?,
1107
+ report_build_status: bool?,
1108
+ build_status_config: {
1109
+ context: ::String?,
1110
+ target_url: ::String?
1111
+ }?,
1112
+ insecure_ssl: bool?,
1113
+ source_identifier: ::String?
1114
+ },
1115
+ ],
1116
+ ?source_version: ::String,
1117
+ ?secondary_source_versions: Array[
1118
+ {
1119
+ source_identifier: ::String,
1120
+ source_version: ::String
1121
+ },
1122
+ ],
1123
+ ?artifacts: {
1124
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
1125
+ location: ::String?,
1126
+ path: ::String?,
1127
+ namespace_type: ("NONE" | "BUILD_ID")?,
1128
+ name: ::String?,
1129
+ packaging: ("NONE" | "ZIP")?,
1130
+ override_artifact_name: bool?,
1131
+ encryption_disabled: bool?,
1132
+ artifact_identifier: ::String?,
1133
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1134
+ },
1135
+ ?secondary_artifacts: Array[
1136
+ {
1137
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
1138
+ location: ::String?,
1139
+ path: ::String?,
1140
+ namespace_type: ("NONE" | "BUILD_ID")?,
1141
+ name: ::String?,
1142
+ packaging: ("NONE" | "ZIP")?,
1143
+ override_artifact_name: bool?,
1144
+ encryption_disabled: bool?,
1145
+ artifact_identifier: ::String?,
1146
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1147
+ },
1148
+ ],
1149
+ ?cache: {
1150
+ type: ("NO_CACHE" | "S3" | "LOCAL"),
1151
+ location: ::String?,
1152
+ modes: Array[("LOCAL_DOCKER_LAYER_CACHE" | "LOCAL_SOURCE_CACHE" | "LOCAL_CUSTOM_CACHE")]?
1153
+ },
1154
+ ?environment: {
1155
+ type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER"),
1156
+ image: ::String,
1157
+ compute_type: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB"),
1158
+ fleet: {
1159
+ fleet_arn: ::String?
1160
+ }?,
1161
+ environment_variables: Array[
1162
+ {
1163
+ name: ::String,
1164
+ value: ::String,
1165
+ type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
1166
+ },
1167
+ ]?,
1168
+ privileged_mode: bool?,
1169
+ certificate: ::String?,
1170
+ registry_credential: {
1171
+ credential: ::String,
1172
+ credential_provider: ("SECRETS_MANAGER")
1173
+ }?,
1174
+ image_pull_credentials_type: ("CODEBUILD" | "SERVICE_ROLE")?
1175
+ },
1176
+ ?service_role: ::String,
1177
+ ?timeout_in_minutes: ::Integer,
1178
+ ?queued_timeout_in_minutes: ::Integer,
1179
+ ?encryption_key: ::String,
1180
+ ?tags: Array[
1181
+ {
1182
+ key: ::String?,
1183
+ value: ::String?
1184
+ },
1185
+ ],
1186
+ ?vpc_config: {
1187
+ vpc_id: ::String?,
1188
+ subnets: Array[::String]?,
1189
+ security_group_ids: Array[::String]?
1190
+ },
1191
+ ?badge_enabled: bool,
1192
+ ?logs_config: {
1193
+ cloud_watch_logs: {
1194
+ status: ("ENABLED" | "DISABLED"),
1195
+ group_name: ::String?,
1196
+ stream_name: ::String?
1197
+ }?,
1198
+ s3_logs: {
1199
+ status: ("ENABLED" | "DISABLED"),
1200
+ location: ::String?,
1201
+ encryption_disabled: bool?,
1202
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1203
+ }?
1204
+ },
1205
+ ?file_system_locations: Array[
1206
+ {
1207
+ type: ("EFS")?,
1208
+ location: ::String?,
1209
+ mount_point: ::String?,
1210
+ identifier: ::String?,
1211
+ mount_options: ::String?
1212
+ },
1213
+ ],
1214
+ ?build_batch_config: {
1215
+ service_role: ::String?,
1216
+ combine_artifacts: bool?,
1217
+ restrictions: {
1218
+ maximum_builds_allowed: ::Integer?,
1219
+ compute_types_allowed: Array[::String]?
1220
+ }?,
1221
+ timeout_in_mins: ::Integer?,
1222
+ batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
1223
+ },
1224
+ ?concurrent_build_limit: ::Integer
1225
+ ) -> _UpdateProjectResponseSuccess
1226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectResponseSuccess
1227
+
1228
+ interface _UpdateProjectVisibilityResponseSuccess
1229
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProjectVisibilityOutput]
1230
+ def project_arn: () -> ::String
1231
+ def public_project_alias: () -> ::String
1232
+ def project_visibility: () -> ("PUBLIC_READ" | "PRIVATE")
1233
+ end
1234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#update_project_visibility-instance_method
1235
+ def update_project_visibility: (
1236
+ project_arn: ::String,
1237
+ project_visibility: ("PUBLIC_READ" | "PRIVATE"),
1238
+ ?resource_access_role: ::String
1239
+ ) -> _UpdateProjectVisibilityResponseSuccess
1240
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectVisibilityResponseSuccess
1241
+
1242
+ interface _UpdateReportGroupResponseSuccess
1243
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateReportGroupOutput]
1244
+ def report_group: () -> Types::ReportGroup
1245
+ end
1246
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#update_report_group-instance_method
1247
+ def update_report_group: (
1248
+ arn: ::String,
1249
+ ?export_config: {
1250
+ export_config_type: ("S3" | "NO_EXPORT")?,
1251
+ s3_destination: {
1252
+ bucket: ::String?,
1253
+ bucket_owner: ::String?,
1254
+ path: ::String?,
1255
+ packaging: ("ZIP" | "NONE")?,
1256
+ encryption_key: ::String?,
1257
+ encryption_disabled: bool?
1258
+ }?
1259
+ },
1260
+ ?tags: Array[
1261
+ {
1262
+ key: ::String?,
1263
+ value: ::String?
1264
+ },
1265
+ ]
1266
+ ) -> _UpdateReportGroupResponseSuccess
1267
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateReportGroupResponseSuccess
1268
+
1269
+ interface _UpdateWebhookResponseSuccess
1270
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWebhookOutput]
1271
+ def webhook: () -> Types::Webhook
1272
+ end
1273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#update_webhook-instance_method
1274
+ def update_webhook: (
1275
+ project_name: ::String,
1276
+ ?branch_filter: ::String,
1277
+ ?rotate_secret: bool,
1278
+ ?filter_groups: Array[
1279
+ Array[
1280
+ {
1281
+ type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE"),
1282
+ pattern: ::String,
1283
+ exclude_matched_pattern: bool?
1284
+ },
1285
+ ],
1286
+ ],
1287
+ ?build_type: ("BUILD" | "BUILD_BATCH")
1288
+ ) -> _UpdateWebhookResponseSuccess
1289
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebhookResponseSuccess
1290
+ end
1291
+ end
1292
+ end
1293
+