aws-sdk-codebuild 1.172.0 → 1.173.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cba6f9dfb2acb388635a47337e32664b6d77a25cf0e77784151ebfe5b7d7b17e
4
- data.tar.gz: 9c52f64d598ea8b0f99a755e321379785c63eee99c1034f29e9e0f0ede172f07
3
+ metadata.gz: 23433bae8cb62f3200187983d45f14997806d1b4df85e46157b3d598a11d3051
4
+ data.tar.gz: 4b5d42a9896aa90d4c41a69cfcd1d8a9f6818b217791640dcf095f1ae8cd785e
5
5
  SHA512:
6
- metadata.gz: 831a79baf9f1c1084fbdf62c4115309f782587b3fc3fec90678c75afaa840c1411dae2c015b6f4d8cfd58237b39be64a8bc8ffad9c695f31aa7d2b416f682ec2
7
- data.tar.gz: d0e17f111afc8bfa21e8531dad1cafcebbc51754d87fffbab01f303ed7c3fa5330931af290f37040c2eb4f2ab1a389c7bc2ed542b759f31bd4453eaf564bcdbd
6
+ metadata.gz: 48a548cc6abeeed2837db053d90942490b73ea7bfbeb9cf989e81ac0c743f145e01ee5d95ae0b3c7109c036f3f6e7dc4ff90fcc970b33cf3c670631fc9d41375
7
+ data.tar.gz: 4c3a36fe278d3aceb0bfb047a4ba31a4777402bacdf58d06ee1ca60b603c0841cb640c3b3e0f760ca263a03ffae822910b34273cb14a7fefb73dc7fccf405acc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.173.0 (2026-05-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.172.0 (2026-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.172.0
1
+ 1.173.0
@@ -7114,7 +7114,7 @@ module Aws::CodeBuild
7114
7114
  tracer: tracer
7115
7115
  )
7116
7116
  context[:gem_name] = 'aws-sdk-codebuild'
7117
- context[:gem_version] = '1.172.0'
7117
+ context[:gem_version] = '1.173.0'
7118
7118
  Seahorse::Client::Request.new(handlers, context)
7119
7119
  end
7120
7120
 
@@ -54,7 +54,7 @@ module Aws::CodeBuild
54
54
  autoload :EndpointProvider, 'aws-sdk-codebuild/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-codebuild/endpoints'
56
56
 
57
- GEM_VERSION = '1.172.0'
57
+ GEM_VERSION = '1.173.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -196,39 +196,21 @@ module Aws
196
196
  machine_type: ("GENERAL" | "NVME")?,
197
197
  instance_type: ::String?
198
198
  },
199
- ?scaling_configuration: {
200
- scaling_type: ("TARGET_TRACKING_SCALING")?,
201
- target_tracking_scaling_configs: Array[
202
- {
203
- metric_type: ("FLEET_UTILIZATION_RATE")?,
204
- target_value: ::Float?
205
- },
206
- ]?,
207
- max_capacity: ::Integer?
208
- },
199
+ ?scaling_configuration: Params::scaling_configuration_input,
209
200
  ?overflow_behavior: ("QUEUE" | "ON_DEMAND"),
210
201
  ?vpc_config: {
211
202
  vpc_id: ::String?,
212
203
  subnets: Array[::String]?,
213
204
  security_group_ids: Array[::String]?
214
205
  },
215
- ?proxy_configuration: {
216
- default_behavior: ("ALLOW_ALL" | "DENY_ALL")?,
217
- ordered_proxy_rules: Array[
218
- {
219
- type: ("DOMAIN" | "IP"),
220
- effect: ("ALLOW" | "DENY"),
221
- entities: Array[::String]
222
- },
223
- ]?
224
- },
206
+ ?proxy_configuration: Params::proxy_configuration,
225
207
  ?image_id: ::String,
226
208
  ?fleet_service_role: ::String,
227
209
  ?tags: Array[
228
210
  {
229
211
  key: ::String?,
230
212
  value: ::String?
231
- },
213
+ }
232
214
  ]
233
215
  ) -> _CreateFleetResponseSuccess
234
216
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFleetResponseSuccess
@@ -241,80 +223,20 @@ module Aws
241
223
  def create_project: (
242
224
  name: ::String,
243
225
  ?description: ::String,
244
- source: {
245
- type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
246
- location: ::String?,
247
- git_clone_depth: ::Integer?,
248
- git_submodules_config: {
249
- fetch_submodules: bool
250
- }?,
251
- buildspec: ::String?,
252
- auth: {
253
- type: ("OAUTH" | "CODECONNECTIONS" | "SECRETS_MANAGER"),
254
- resource: ::String?
255
- }?,
256
- report_build_status: bool?,
257
- build_status_config: {
258
- context: ::String?,
259
- target_url: ::String?
260
- }?,
261
- insecure_ssl: bool?,
262
- source_identifier: ::String?
263
- },
226
+ source: Params::project_source,
264
227
  ?secondary_sources: Array[
265
- {
266
- type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
267
- location: ::String?,
268
- git_clone_depth: ::Integer?,
269
- git_submodules_config: {
270
- fetch_submodules: bool
271
- }?,
272
- buildspec: ::String?,
273
- auth: {
274
- type: ("OAUTH" | "CODECONNECTIONS" | "SECRETS_MANAGER"),
275
- resource: ::String?
276
- }?,
277
- report_build_status: bool?,
278
- build_status_config: {
279
- context: ::String?,
280
- target_url: ::String?
281
- }?,
282
- insecure_ssl: bool?,
283
- source_identifier: ::String?
284
- },
228
+ Params::project_source
285
229
  ],
286
230
  ?source_version: ::String,
287
231
  ?secondary_source_versions: Array[
288
232
  {
289
233
  source_identifier: ::String,
290
234
  source_version: ::String
291
- },
235
+ }
292
236
  ],
293
- artifacts: {
294
- type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
295
- location: ::String?,
296
- path: ::String?,
297
- namespace_type: ("NONE" | "BUILD_ID")?,
298
- name: ::String?,
299
- packaging: ("NONE" | "ZIP")?,
300
- override_artifact_name: bool?,
301
- encryption_disabled: bool?,
302
- artifact_identifier: ::String?,
303
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
304
- },
237
+ artifacts: Params::project_artifacts,
305
238
  ?secondary_artifacts: Array[
306
- {
307
- type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
308
- location: ::String?,
309
- path: ::String?,
310
- namespace_type: ("NONE" | "BUILD_ID")?,
311
- name: ::String?,
312
- packaging: ("NONE" | "ZIP")?,
313
- override_artifact_name: bool?,
314
- encryption_disabled: bool?,
315
- artifact_identifier: ::String?,
316
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
317
- },
239
+ Params::project_artifacts
318
240
  ],
319
241
  ?cache: {
320
242
  type: ("NO_CACHE" | "S3" | "LOCAL"),
@@ -322,43 +244,7 @@ module Aws
322
244
  modes: Array[("LOCAL_DOCKER_LAYER_CACHE" | "LOCAL_SOURCE_CACHE" | "LOCAL_CUSTOM_CACHE")]?,
323
245
  cache_namespace: ::String?
324
246
  },
325
- environment: {
326
- type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "WINDOWS_SERVER_2022_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER" | "LINUX_EC2" | "ARM_EC2" | "WINDOWS_EC2" | "MAC_ARM"),
327
- image: ::String,
328
- 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" | "ATTRIBUTE_BASED_COMPUTE" | "CUSTOM_INSTANCE_TYPE"),
329
- compute_configuration: {
330
- v_cpu: ::Integer?,
331
- memory: ::Integer?,
332
- disk: ::Integer?,
333
- machine_type: ("GENERAL" | "NVME")?,
334
- instance_type: ::String?
335
- }?,
336
- fleet: {
337
- fleet_arn: ::String?
338
- }?,
339
- environment_variables: Array[
340
- {
341
- name: ::String,
342
- value: ::String,
343
- type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
344
- },
345
- ]?,
346
- privileged_mode: bool?,
347
- certificate: ::String?,
348
- registry_credential: {
349
- credential: ::String,
350
- credential_provider: ("SECRETS_MANAGER")
351
- }?,
352
- image_pull_credentials_type: ("CODEBUILD" | "SERVICE_ROLE")?,
353
- docker_server: {
354
- 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" | "ATTRIBUTE_BASED_COMPUTE" | "CUSTOM_INSTANCE_TYPE"),
355
- security_group_ids: Array[::String]?,
356
- status: {
357
- status: ::String?,
358
- message: ::String?
359
- }?
360
- }?
361
- },
247
+ environment: Params::project_environment,
362
248
  service_role: ::String,
363
249
  ?timeout_in_minutes: ::Integer,
364
250
  ?queued_timeout_in_minutes: ::Integer,
@@ -367,7 +253,7 @@ module Aws
367
253
  {
368
254
  key: ::String?,
369
255
  value: ::String?
370
- },
256
+ }
371
257
  ],
372
258
  ?vpc_config: {
373
259
  vpc_id: ::String?,
@@ -375,19 +261,7 @@ module Aws
375
261
  security_group_ids: Array[::String]?
376
262
  },
377
263
  ?badge_enabled: bool,
378
- ?logs_config: {
379
- cloud_watch_logs: {
380
- status: ("ENABLED" | "DISABLED"),
381
- group_name: ::String?,
382
- stream_name: ::String?
383
- }?,
384
- s3_logs: {
385
- status: ("ENABLED" | "DISABLED"),
386
- location: ::String?,
387
- encryption_disabled: bool?,
388
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
389
- }?
390
- },
264
+ ?logs_config: Params::logs_config,
391
265
  ?file_system_locations: Array[
392
266
  {
393
267
  type: ("EFS")?,
@@ -395,19 +269,9 @@ module Aws
395
269
  mount_point: ::String?,
396
270
  identifier: ::String?,
397
271
  mount_options: ::String?
398
- },
272
+ }
399
273
  ],
400
- ?build_batch_config: {
401
- service_role: ::String?,
402
- combine_artifacts: bool?,
403
- restrictions: {
404
- maximum_builds_allowed: ::Integer?,
405
- compute_types_allowed: Array[::String]?,
406
- fleets_allowed: Array[::String]?
407
- }?,
408
- timeout_in_mins: ::Integer?,
409
- batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
410
- },
274
+ ?build_batch_config: Params::project_build_batch_config,
411
275
  ?concurrent_build_limit: ::Integer,
412
276
  ?auto_retry_limit: ::Integer
413
277
  ) -> _CreateProjectResponseSuccess
@@ -421,22 +285,12 @@ module Aws
421
285
  def create_report_group: (
422
286
  name: ::String,
423
287
  type: ("TEST" | "CODE_COVERAGE"),
424
- export_config: {
425
- export_config_type: ("S3" | "NO_EXPORT")?,
426
- s3_destination: {
427
- bucket: ::String?,
428
- bucket_owner: ::String?,
429
- path: ::String?,
430
- packaging: ("ZIP" | "NONE")?,
431
- encryption_key: ::String?,
432
- encryption_disabled: bool?
433
- }?
434
- },
288
+ export_config: Params::report_export_config,
435
289
  ?tags: Array[
436
290
  {
437
291
  key: ::String?,
438
292
  value: ::String?
439
- },
293
+ }
440
294
  ]
441
295
  ) -> _CreateReportGroupResponseSuccess
442
296
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateReportGroupResponseSuccess
@@ -455,8 +309,8 @@ module Aws
455
309
  type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME" | "REPOSITORY_NAME" | "ORGANIZATION_NAME"),
456
310
  pattern: ::String,
457
311
  exclude_matched_pattern: bool?
458
- },
459
- ],
312
+ }
313
+ ]
460
314
  ],
461
315
  ?build_type: ("BUILD" | "BUILD_BATCH" | "RUNNER_BUILDKITE_BUILD"),
462
316
  ?manual_creation: bool,
@@ -890,66 +744,25 @@ module Aws
890
744
  def start_build: (
891
745
  project_name: ::String,
892
746
  ?secondary_sources_override: Array[
893
- {
894
- type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
895
- location: ::String?,
896
- git_clone_depth: ::Integer?,
897
- git_submodules_config: {
898
- fetch_submodules: bool
899
- }?,
900
- buildspec: ::String?,
901
- auth: {
902
- type: ("OAUTH" | "CODECONNECTIONS" | "SECRETS_MANAGER"),
903
- resource: ::String?
904
- }?,
905
- report_build_status: bool?,
906
- build_status_config: {
907
- context: ::String?,
908
- target_url: ::String?
909
- }?,
910
- insecure_ssl: bool?,
911
- source_identifier: ::String?
912
- },
747
+ Params::project_source
913
748
  ],
914
749
  ?secondary_sources_version_override: Array[
915
750
  {
916
751
  source_identifier: ::String,
917
752
  source_version: ::String
918
- },
753
+ }
919
754
  ],
920
755
  ?source_version: ::String,
921
- ?artifacts_override: {
922
- type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
923
- location: ::String?,
924
- path: ::String?,
925
- namespace_type: ("NONE" | "BUILD_ID")?,
926
- name: ::String?,
927
- packaging: ("NONE" | "ZIP")?,
928
- override_artifact_name: bool?,
929
- encryption_disabled: bool?,
930
- artifact_identifier: ::String?,
931
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
932
- },
756
+ ?artifacts_override: Params::project_artifacts,
933
757
  ?secondary_artifacts_override: Array[
934
- {
935
- type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
936
- location: ::String?,
937
- path: ::String?,
938
- namespace_type: ("NONE" | "BUILD_ID")?,
939
- name: ::String?,
940
- packaging: ("NONE" | "ZIP")?,
941
- override_artifact_name: bool?,
942
- encryption_disabled: bool?,
943
- artifact_identifier: ::String?,
944
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
945
- },
758
+ Params::project_artifacts
946
759
  ],
947
760
  ?environment_variables_override: Array[
948
761
  {
949
762
  name: ::String,
950
763
  value: ::String,
951
764
  type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
952
- },
765
+ }
953
766
  ],
954
767
  ?source_type_override: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
955
768
  ?source_location_override: ::String,
@@ -984,19 +797,7 @@ module Aws
984
797
  ?queued_timeout_in_minutes_override: ::Integer,
985
798
  ?encryption_key_override: ::String,
986
799
  ?idempotency_token: ::String,
987
- ?logs_config_override: {
988
- cloud_watch_logs: {
989
- status: ("ENABLED" | "DISABLED"),
990
- group_name: ::String?,
991
- stream_name: ::String?
992
- }?,
993
- s3_logs: {
994
- status: ("ENABLED" | "DISABLED"),
995
- location: ::String?,
996
- encryption_disabled: bool?,
997
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
998
- }?
999
- },
800
+ ?logs_config_override: Params::logs_config,
1000
801
  ?registry_credential_override: {
1001
802
  credential: ::String,
1002
803
  credential_provider: ("SECRETS_MANAGER")
@@ -1018,66 +819,25 @@ module Aws
1018
819
  def start_build_batch: (
1019
820
  project_name: ::String,
1020
821
  ?secondary_sources_override: Array[
1021
- {
1022
- type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
1023
- location: ::String?,
1024
- git_clone_depth: ::Integer?,
1025
- git_submodules_config: {
1026
- fetch_submodules: bool
1027
- }?,
1028
- buildspec: ::String?,
1029
- auth: {
1030
- type: ("OAUTH" | "CODECONNECTIONS" | "SECRETS_MANAGER"),
1031
- resource: ::String?
1032
- }?,
1033
- report_build_status: bool?,
1034
- build_status_config: {
1035
- context: ::String?,
1036
- target_url: ::String?
1037
- }?,
1038
- insecure_ssl: bool?,
1039
- source_identifier: ::String?
1040
- },
822
+ Params::project_source
1041
823
  ],
1042
824
  ?secondary_sources_version_override: Array[
1043
825
  {
1044
826
  source_identifier: ::String,
1045
827
  source_version: ::String
1046
- },
828
+ }
1047
829
  ],
1048
830
  ?source_version: ::String,
1049
- ?artifacts_override: {
1050
- type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
1051
- location: ::String?,
1052
- path: ::String?,
1053
- namespace_type: ("NONE" | "BUILD_ID")?,
1054
- name: ::String?,
1055
- packaging: ("NONE" | "ZIP")?,
1056
- override_artifact_name: bool?,
1057
- encryption_disabled: bool?,
1058
- artifact_identifier: ::String?,
1059
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1060
- },
831
+ ?artifacts_override: Params::project_artifacts,
1061
832
  ?secondary_artifacts_override: Array[
1062
- {
1063
- type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
1064
- location: ::String?,
1065
- path: ::String?,
1066
- namespace_type: ("NONE" | "BUILD_ID")?,
1067
- name: ::String?,
1068
- packaging: ("NONE" | "ZIP")?,
1069
- override_artifact_name: bool?,
1070
- encryption_disabled: bool?,
1071
- artifact_identifier: ::String?,
1072
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1073
- },
833
+ Params::project_artifacts
1074
834
  ],
1075
835
  ?environment_variables_override: Array[
1076
836
  {
1077
837
  name: ::String,
1078
838
  value: ::String,
1079
839
  type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
1080
- },
840
+ }
1081
841
  ],
1082
842
  ?source_type_override: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
1083
843
  ?source_location_override: ::String,
@@ -1108,35 +868,13 @@ module Aws
1108
868
  ?queued_timeout_in_minutes_override: ::Integer,
1109
869
  ?encryption_key_override: ::String,
1110
870
  ?idempotency_token: ::String,
1111
- ?logs_config_override: {
1112
- cloud_watch_logs: {
1113
- status: ("ENABLED" | "DISABLED"),
1114
- group_name: ::String?,
1115
- stream_name: ::String?
1116
- }?,
1117
- s3_logs: {
1118
- status: ("ENABLED" | "DISABLED"),
1119
- location: ::String?,
1120
- encryption_disabled: bool?,
1121
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1122
- }?
1123
- },
871
+ ?logs_config_override: Params::logs_config,
1124
872
  ?registry_credential_override: {
1125
873
  credential: ::String,
1126
874
  credential_provider: ("SECRETS_MANAGER")
1127
875
  },
1128
876
  ?image_pull_credentials_type_override: ("CODEBUILD" | "SERVICE_ROLE"),
1129
- ?build_batch_config_override: {
1130
- service_role: ::String?,
1131
- combine_artifacts: bool?,
1132
- restrictions: {
1133
- maximum_builds_allowed: ::Integer?,
1134
- compute_types_allowed: Array[::String]?,
1135
- fleets_allowed: Array[::String]?
1136
- }?,
1137
- timeout_in_mins: ::Integer?,
1138
- batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
1139
- },
877
+ ?build_batch_config_override: Params::project_build_batch_config,
1140
878
  ?debug_session_enabled: bool
1141
879
  ) -> _StartBuildBatchResponseSuccess
1142
880
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBuildBatchResponseSuccess
@@ -1221,39 +959,21 @@ module Aws
1221
959
  machine_type: ("GENERAL" | "NVME")?,
1222
960
  instance_type: ::String?
1223
961
  },
1224
- ?scaling_configuration: {
1225
- scaling_type: ("TARGET_TRACKING_SCALING")?,
1226
- target_tracking_scaling_configs: Array[
1227
- {
1228
- metric_type: ("FLEET_UTILIZATION_RATE")?,
1229
- target_value: ::Float?
1230
- },
1231
- ]?,
1232
- max_capacity: ::Integer?
1233
- },
962
+ ?scaling_configuration: Params::scaling_configuration_input,
1234
963
  ?overflow_behavior: ("QUEUE" | "ON_DEMAND"),
1235
964
  ?vpc_config: {
1236
965
  vpc_id: ::String?,
1237
966
  subnets: Array[::String]?,
1238
967
  security_group_ids: Array[::String]?
1239
968
  },
1240
- ?proxy_configuration: {
1241
- default_behavior: ("ALLOW_ALL" | "DENY_ALL")?,
1242
- ordered_proxy_rules: Array[
1243
- {
1244
- type: ("DOMAIN" | "IP"),
1245
- effect: ("ALLOW" | "DENY"),
1246
- entities: Array[::String]
1247
- },
1248
- ]?
1249
- },
969
+ ?proxy_configuration: Params::proxy_configuration,
1250
970
  ?image_id: ::String,
1251
971
  ?fleet_service_role: ::String,
1252
972
  ?tags: Array[
1253
973
  {
1254
974
  key: ::String?,
1255
975
  value: ::String?
1256
- },
976
+ }
1257
977
  ]
1258
978
  ) -> _UpdateFleetResponseSuccess
1259
979
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFleetResponseSuccess
@@ -1266,80 +986,20 @@ module Aws
1266
986
  def update_project: (
1267
987
  name: ::String,
1268
988
  ?description: ::String,
1269
- ?source: {
1270
- type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
1271
- location: ::String?,
1272
- git_clone_depth: ::Integer?,
1273
- git_submodules_config: {
1274
- fetch_submodules: bool
1275
- }?,
1276
- buildspec: ::String?,
1277
- auth: {
1278
- type: ("OAUTH" | "CODECONNECTIONS" | "SECRETS_MANAGER"),
1279
- resource: ::String?
1280
- }?,
1281
- report_build_status: bool?,
1282
- build_status_config: {
1283
- context: ::String?,
1284
- target_url: ::String?
1285
- }?,
1286
- insecure_ssl: bool?,
1287
- source_identifier: ::String?
1288
- },
989
+ ?source: Params::project_source,
1289
990
  ?secondary_sources: Array[
1290
- {
1291
- type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
1292
- location: ::String?,
1293
- git_clone_depth: ::Integer?,
1294
- git_submodules_config: {
1295
- fetch_submodules: bool
1296
- }?,
1297
- buildspec: ::String?,
1298
- auth: {
1299
- type: ("OAUTH" | "CODECONNECTIONS" | "SECRETS_MANAGER"),
1300
- resource: ::String?
1301
- }?,
1302
- report_build_status: bool?,
1303
- build_status_config: {
1304
- context: ::String?,
1305
- target_url: ::String?
1306
- }?,
1307
- insecure_ssl: bool?,
1308
- source_identifier: ::String?
1309
- },
991
+ Params::project_source
1310
992
  ],
1311
993
  ?source_version: ::String,
1312
994
  ?secondary_source_versions: Array[
1313
995
  {
1314
996
  source_identifier: ::String,
1315
997
  source_version: ::String
1316
- },
998
+ }
1317
999
  ],
1318
- ?artifacts: {
1319
- type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
1320
- location: ::String?,
1321
- path: ::String?,
1322
- namespace_type: ("NONE" | "BUILD_ID")?,
1323
- name: ::String?,
1324
- packaging: ("NONE" | "ZIP")?,
1325
- override_artifact_name: bool?,
1326
- encryption_disabled: bool?,
1327
- artifact_identifier: ::String?,
1328
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1329
- },
1000
+ ?artifacts: Params::project_artifacts,
1330
1001
  ?secondary_artifacts: Array[
1331
- {
1332
- type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
1333
- location: ::String?,
1334
- path: ::String?,
1335
- namespace_type: ("NONE" | "BUILD_ID")?,
1336
- name: ::String?,
1337
- packaging: ("NONE" | "ZIP")?,
1338
- override_artifact_name: bool?,
1339
- encryption_disabled: bool?,
1340
- artifact_identifier: ::String?,
1341
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1342
- },
1002
+ Params::project_artifacts
1343
1003
  ],
1344
1004
  ?cache: {
1345
1005
  type: ("NO_CACHE" | "S3" | "LOCAL"),
@@ -1347,43 +1007,7 @@ module Aws
1347
1007
  modes: Array[("LOCAL_DOCKER_LAYER_CACHE" | "LOCAL_SOURCE_CACHE" | "LOCAL_CUSTOM_CACHE")]?,
1348
1008
  cache_namespace: ::String?
1349
1009
  },
1350
- ?environment: {
1351
- type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "WINDOWS_SERVER_2022_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER" | "LINUX_EC2" | "ARM_EC2" | "WINDOWS_EC2" | "MAC_ARM"),
1352
- image: ::String,
1353
- 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" | "ATTRIBUTE_BASED_COMPUTE" | "CUSTOM_INSTANCE_TYPE"),
1354
- compute_configuration: {
1355
- v_cpu: ::Integer?,
1356
- memory: ::Integer?,
1357
- disk: ::Integer?,
1358
- machine_type: ("GENERAL" | "NVME")?,
1359
- instance_type: ::String?
1360
- }?,
1361
- fleet: {
1362
- fleet_arn: ::String?
1363
- }?,
1364
- environment_variables: Array[
1365
- {
1366
- name: ::String,
1367
- value: ::String,
1368
- type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
1369
- },
1370
- ]?,
1371
- privileged_mode: bool?,
1372
- certificate: ::String?,
1373
- registry_credential: {
1374
- credential: ::String,
1375
- credential_provider: ("SECRETS_MANAGER")
1376
- }?,
1377
- image_pull_credentials_type: ("CODEBUILD" | "SERVICE_ROLE")?,
1378
- docker_server: {
1379
- 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" | "ATTRIBUTE_BASED_COMPUTE" | "CUSTOM_INSTANCE_TYPE"),
1380
- security_group_ids: Array[::String]?,
1381
- status: {
1382
- status: ::String?,
1383
- message: ::String?
1384
- }?
1385
- }?
1386
- },
1010
+ ?environment: Params::project_environment,
1387
1011
  ?service_role: ::String,
1388
1012
  ?timeout_in_minutes: ::Integer,
1389
1013
  ?queued_timeout_in_minutes: ::Integer,
@@ -1392,7 +1016,7 @@ module Aws
1392
1016
  {
1393
1017
  key: ::String?,
1394
1018
  value: ::String?
1395
- },
1019
+ }
1396
1020
  ],
1397
1021
  ?vpc_config: {
1398
1022
  vpc_id: ::String?,
@@ -1400,19 +1024,7 @@ module Aws
1400
1024
  security_group_ids: Array[::String]?
1401
1025
  },
1402
1026
  ?badge_enabled: bool,
1403
- ?logs_config: {
1404
- cloud_watch_logs: {
1405
- status: ("ENABLED" | "DISABLED"),
1406
- group_name: ::String?,
1407
- stream_name: ::String?
1408
- }?,
1409
- s3_logs: {
1410
- status: ("ENABLED" | "DISABLED"),
1411
- location: ::String?,
1412
- encryption_disabled: bool?,
1413
- bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
1414
- }?
1415
- },
1027
+ ?logs_config: Params::logs_config,
1416
1028
  ?file_system_locations: Array[
1417
1029
  {
1418
1030
  type: ("EFS")?,
@@ -1420,19 +1032,9 @@ module Aws
1420
1032
  mount_point: ::String?,
1421
1033
  identifier: ::String?,
1422
1034
  mount_options: ::String?
1423
- },
1035
+ }
1424
1036
  ],
1425
- ?build_batch_config: {
1426
- service_role: ::String?,
1427
- combine_artifacts: bool?,
1428
- restrictions: {
1429
- maximum_builds_allowed: ::Integer?,
1430
- compute_types_allowed: Array[::String]?,
1431
- fleets_allowed: Array[::String]?
1432
- }?,
1433
- timeout_in_mins: ::Integer?,
1434
- batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
1435
- },
1037
+ ?build_batch_config: Params::project_build_batch_config,
1436
1038
  ?concurrent_build_limit: ::Integer,
1437
1039
  ?auto_retry_limit: ::Integer
1438
1040
  ) -> _UpdateProjectResponseSuccess
@@ -1459,22 +1061,12 @@ module Aws
1459
1061
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#update_report_group-instance_method
1460
1062
  def update_report_group: (
1461
1063
  arn: ::String,
1462
- ?export_config: {
1463
- export_config_type: ("S3" | "NO_EXPORT")?,
1464
- s3_destination: {
1465
- bucket: ::String?,
1466
- bucket_owner: ::String?,
1467
- path: ::String?,
1468
- packaging: ("ZIP" | "NONE")?,
1469
- encryption_key: ::String?,
1470
- encryption_disabled: bool?
1471
- }?
1472
- },
1064
+ ?export_config: Params::report_export_config,
1473
1065
  ?tags: Array[
1474
1066
  {
1475
1067
  key: ::String?,
1476
1068
  value: ::String?
1477
- },
1069
+ }
1478
1070
  ]
1479
1071
  ) -> _UpdateReportGroupResponseSuccess
1480
1072
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateReportGroupResponseSuccess
@@ -1494,8 +1086,8 @@ module Aws
1494
1086
  type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME" | "REPOSITORY_NAME" | "ORGANIZATION_NAME"),
1495
1087
  pattern: ::String,
1496
1088
  exclude_matched_pattern: bool?
1497
- },
1498
- ],
1089
+ }
1090
+ ]
1499
1091
  ],
1500
1092
  ?build_type: ("BUILD" | "BUILD_BATCH" | "RUNNER_BUILDKITE_BUILD"),
1501
1093
  ?pull_request_build_policy: {
data/sig/params.rbs ADDED
@@ -0,0 +1,149 @@
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
+ module Params
11
+ type scaling_configuration_input = {
12
+ scaling_type: ("TARGET_TRACKING_SCALING")?,
13
+ target_tracking_scaling_configs: Array[
14
+ {
15
+ metric_type: ("FLEET_UTILIZATION_RATE")?,
16
+ target_value: ::Float?
17
+ }
18
+ ]?,
19
+ max_capacity: ::Integer?
20
+ }
21
+
22
+ type proxy_configuration = {
23
+ default_behavior: ("ALLOW_ALL" | "DENY_ALL")?,
24
+ ordered_proxy_rules: Array[
25
+ {
26
+ type: ("DOMAIN" | "IP"),
27
+ effect: ("ALLOW" | "DENY"),
28
+ entities: Array[::String]
29
+ }
30
+ ]?
31
+ }
32
+
33
+ type project_source = {
34
+ type: ("CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"),
35
+ location: ::String?,
36
+ git_clone_depth: ::Integer?,
37
+ git_submodules_config: {
38
+ fetch_submodules: bool
39
+ }?,
40
+ buildspec: ::String?,
41
+ auth: {
42
+ type: ("OAUTH" | "CODECONNECTIONS" | "SECRETS_MANAGER"),
43
+ resource: ::String?
44
+ }?,
45
+ report_build_status: bool?,
46
+ build_status_config: {
47
+ context: ::String?,
48
+ target_url: ::String?
49
+ }?,
50
+ insecure_ssl: bool?,
51
+ source_identifier: ::String?
52
+ }
53
+
54
+ type project_artifacts = {
55
+ type: ("CODEPIPELINE" | "S3" | "NO_ARTIFACTS"),
56
+ location: ::String?,
57
+ path: ::String?,
58
+ namespace_type: ("NONE" | "BUILD_ID")?,
59
+ name: ::String?,
60
+ packaging: ("NONE" | "ZIP")?,
61
+ override_artifact_name: bool?,
62
+ encryption_disabled: bool?,
63
+ artifact_identifier: ::String?,
64
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
65
+ }
66
+
67
+ type docker_server = {
68
+ 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" | "ATTRIBUTE_BASED_COMPUTE" | "CUSTOM_INSTANCE_TYPE"),
69
+ security_group_ids: Array[::String]?,
70
+ status: {
71
+ status: ::String?,
72
+ message: ::String?
73
+ }?
74
+ }
75
+
76
+ type project_environment = {
77
+ type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "WINDOWS_SERVER_2022_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER" | "LINUX_EC2" | "ARM_EC2" | "WINDOWS_EC2" | "MAC_ARM"),
78
+ image: ::String,
79
+ 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" | "ATTRIBUTE_BASED_COMPUTE" | "CUSTOM_INSTANCE_TYPE"),
80
+ compute_configuration: {
81
+ v_cpu: ::Integer?,
82
+ memory: ::Integer?,
83
+ disk: ::Integer?,
84
+ machine_type: ("GENERAL" | "NVME")?,
85
+ instance_type: ::String?
86
+ }?,
87
+ fleet: {
88
+ fleet_arn: ::String?
89
+ }?,
90
+ environment_variables: Array[
91
+ {
92
+ name: ::String,
93
+ value: ::String,
94
+ type: ("PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER")?
95
+ }
96
+ ]?,
97
+ privileged_mode: bool?,
98
+ certificate: ::String?,
99
+ registry_credential: {
100
+ credential: ::String,
101
+ credential_provider: ("SECRETS_MANAGER")
102
+ }?,
103
+ image_pull_credentials_type: ("CODEBUILD" | "SERVICE_ROLE")?,
104
+ docker_server: Params::docker_server?
105
+ }
106
+
107
+ type logs_config = {
108
+ cloud_watch_logs: {
109
+ status: ("ENABLED" | "DISABLED"),
110
+ group_name: ::String?,
111
+ stream_name: ::String?
112
+ }?,
113
+ s3_logs: {
114
+ status: ("ENABLED" | "DISABLED"),
115
+ location: ::String?,
116
+ encryption_disabled: bool?,
117
+ bucket_owner_access: ("NONE" | "READ_ONLY" | "FULL")?
118
+ }?
119
+ }
120
+
121
+ type project_build_batch_config = {
122
+ service_role: ::String?,
123
+ combine_artifacts: bool?,
124
+ restrictions: {
125
+ maximum_builds_allowed: ::Integer?,
126
+ compute_types_allowed: Array[::String]?,
127
+ fleets_allowed: Array[::String]?
128
+ }?,
129
+ timeout_in_mins: ::Integer?,
130
+ batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
131
+ }
132
+
133
+ type s3_report_export_config = {
134
+ bucket: ::String?,
135
+ bucket_owner: ::String?,
136
+ path: ::String?,
137
+ packaging: ("ZIP" | "NONE")?,
138
+ encryption_key: ::String?,
139
+ encryption_disabled: bool?
140
+ }
141
+
142
+ type report_export_config = {
143
+ export_config_type: ("S3" | "NO_EXPORT")?,
144
+ s3_destination: Params::s3_report_export_config?
145
+ }
146
+
147
+ end
148
+ end
149
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.172.0
4
+ version: 1.173.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -67,6 +67,7 @@ files:
67
67
  - lib/aws-sdk-codebuild/types.rb
68
68
  - sig/client.rbs
69
69
  - sig/errors.rbs
70
+ - sig/params.rbs
70
71
  - sig/resource.rbs
71
72
  - sig/types.rbs
72
73
  - sig/waiters.rbs