@aws-sdk/client-codebuild 3.495.0 → 3.499.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.
Files changed (55) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/commands/BatchGetFleetsCommand.js +1 -0
  3. package/dist-cjs/commands/CreateFleetCommand.js +1 -0
  4. package/dist-cjs/commands/DeleteFleetCommand.js +1 -0
  5. package/dist-cjs/commands/ListFleetsCommand.js +1 -0
  6. package/dist-cjs/commands/UpdateFleetCommand.js +1 -0
  7. package/dist-cjs/index.js +498 -52
  8. package/dist-cjs/pagination/ListFleetsPaginator.js +1 -0
  9. package/dist-es/CodeBuild.js +10 -0
  10. package/dist-es/commands/BatchGetFleetsCommand.js +24 -0
  11. package/dist-es/commands/CreateFleetCommand.js +24 -0
  12. package/dist-es/commands/DeleteFleetCommand.js +24 -0
  13. package/dist-es/commands/ListFleetsCommand.js +25 -0
  14. package/dist-es/commands/UpdateFleetCommand.js +24 -0
  15. package/dist-es/commands/index.js +5 -0
  16. package/dist-es/models/models_0.js +28 -0
  17. package/dist-es/pagination/ListFleetsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_json1_1.js +303 -0
  20. package/dist-types/CodeBuild.d.ts +35 -0
  21. package/dist-types/CodeBuildClient.d.ts +7 -2
  22. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +3 -0
  23. package/dist-types/commands/BatchGetBuildsCommand.d.ts +3 -0
  24. package/dist-types/commands/BatchGetFleetsCommand.d.ts +99 -0
  25. package/dist-types/commands/BatchGetProjectsCommand.d.ts +3 -0
  26. package/dist-types/commands/CreateFleetCommand.d.ts +118 -0
  27. package/dist-types/commands/CreateProjectCommand.d.ts +6 -0
  28. package/dist-types/commands/DeleteFleetCommand.d.ts +59 -0
  29. package/dist-types/commands/ListFleetsCommand.d.ts +67 -0
  30. package/dist-types/commands/RetryBuildBatchCommand.d.ts +3 -0
  31. package/dist-types/commands/RetryBuildCommand.d.ts +3 -0
  32. package/dist-types/commands/StartBuildBatchCommand.d.ts +3 -0
  33. package/dist-types/commands/StartBuildCommand.d.ts +6 -0
  34. package/dist-types/commands/StopBuildBatchCommand.d.ts +3 -0
  35. package/dist-types/commands/StopBuildCommand.d.ts +3 -0
  36. package/dist-types/commands/UpdateFleetCommand.d.ts +117 -0
  37. package/dist-types/commands/UpdateProjectCommand.d.ts +6 -0
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/models/models_0.d.ts +843 -57
  40. package/dist-types/pagination/ListFleetsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  43. package/dist-types/ts3.4/CodeBuild.d.ts +85 -0
  44. package/dist-types/ts3.4/CodeBuildClient.d.ts +30 -0
  45. package/dist-types/ts3.4/commands/BatchGetFleetsCommand.d.ts +26 -0
  46. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +26 -0
  47. package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +26 -0
  48. package/dist-types/ts3.4/commands/ListFleetsCommand.d.ts +26 -0
  49. package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +26 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +129 -11
  52. package/dist-types/ts3.4/pagination/ListFleetsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  55. package/package.json +39 -39
@@ -659,6 +659,19 @@ export interface EnvironmentVariable {
659
659
  */
660
660
  type?: EnvironmentVariableType;
661
661
  }
662
+ /**
663
+ * @public
664
+ * <p>Information about the compute fleet of the build project. For more
665
+ * information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html">Working
666
+ * with reserved capacity in CodeBuild</a>.</p>
667
+ */
668
+ export interface ProjectFleet {
669
+ /**
670
+ * @public
671
+ * <p>Specifies the compute fleet ARN for the build project.</p>
672
+ */
673
+ fleetArn?: string;
674
+ }
662
675
  /**
663
676
  * @public
664
677
  * @enum
@@ -749,8 +762,7 @@ export interface ProjectEnvironment {
749
762
  * EU (Frankfurt).</p>
750
763
  * </li>
751
764
  * <li>
752
- * <p>The environment type <code>LINUX_CONTAINER</code> with compute type
753
- * <code>build.general1.2xlarge</code> is available only in regions
765
+ * <p>The environment type <code>LINUX_CONTAINER</code> is available only in regions
754
766
  * US East (N. Virginia), US East (Ohio), US West (Oregon),
755
767
  * Canada (Central), EU (Ireland), EU (London),
756
768
  * EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),
@@ -782,6 +794,9 @@ export interface ProjectEnvironment {
782
794
  * EU (Ireland).</p>
783
795
  * </li>
784
796
  * </ul>
797
+ * <note>
798
+ * <p>If you're using compute fleets during project creation, <code>type</code> will be ignored.</p>
799
+ * </note>
785
800
  * <p>For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build environment compute types</a> in the <i>CodeBuild
786
801
  * user guide</i>.</p>
787
802
  */
@@ -894,11 +909,19 @@ export interface ProjectEnvironment {
894
909
  * memory and 8 vCPUs on ARM-based processors for builds.</p>
895
910
  * </li>
896
911
  * </ul>
912
+ * <note>
913
+ * <p>If you're using compute fleets during project creation, <code>computeType</code> will be ignored.</p>
914
+ * </note>
897
915
  * <p>For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build Environment
898
916
  * Compute Types</a> in the <i>CodeBuild User Guide.</i>
899
917
  * </p>
900
918
  */
901
919
  computeType: ComputeType | undefined;
920
+ /**
921
+ * @public
922
+ * <p>A ProjectFleet object to use for this build project.</p>
923
+ */
924
+ fleet?: ProjectFleet;
902
925
  /**
903
926
  * @public
904
927
  * <p>A set of environment variables to make available to builds for this build
@@ -2422,6 +2445,361 @@ export interface BatchGetBuildsOutput {
2422
2445
  */
2423
2446
  buildsNotFound?: string[];
2424
2447
  }
2448
+ /**
2449
+ * @public
2450
+ */
2451
+ export interface BatchGetFleetsInput {
2452
+ /**
2453
+ * @public
2454
+ * <p>The names or ARNs of the compute fleets.</p>
2455
+ */
2456
+ names: string[] | undefined;
2457
+ }
2458
+ /**
2459
+ * @public
2460
+ * @enum
2461
+ */
2462
+ export declare const FleetScalingType: {
2463
+ readonly TARGET_TRACKING_SCALING: "TARGET_TRACKING_SCALING";
2464
+ };
2465
+ /**
2466
+ * @public
2467
+ */
2468
+ export type FleetScalingType = (typeof FleetScalingType)[keyof typeof FleetScalingType];
2469
+ /**
2470
+ * @public
2471
+ * @enum
2472
+ */
2473
+ export declare const FleetScalingMetricType: {
2474
+ readonly FLEET_UTILIZATION_RATE: "FLEET_UTILIZATION_RATE";
2475
+ };
2476
+ /**
2477
+ * @public
2478
+ */
2479
+ export type FleetScalingMetricType = (typeof FleetScalingMetricType)[keyof typeof FleetScalingMetricType];
2480
+ /**
2481
+ * @public
2482
+ * <p>Defines when a new instance is auto-scaled into the compute fleet.</p>
2483
+ */
2484
+ export interface TargetTrackingScalingConfiguration {
2485
+ /**
2486
+ * @public
2487
+ * <p>The metric type to determine auto-scaling.</p>
2488
+ */
2489
+ metricType?: FleetScalingMetricType;
2490
+ /**
2491
+ * @public
2492
+ * <p>The value of <code>metricType</code> when to start scaling.</p>
2493
+ */
2494
+ targetValue?: number;
2495
+ }
2496
+ /**
2497
+ * @public
2498
+ * <p>The scaling configuration output of a compute fleet.</p>
2499
+ */
2500
+ export interface ScalingConfigurationOutput {
2501
+ /**
2502
+ * @public
2503
+ * <p>The scaling type for a compute fleet.</p>
2504
+ */
2505
+ scalingType?: FleetScalingType;
2506
+ /**
2507
+ * @public
2508
+ * <p>A list of <code>TargetTrackingScalingConfiguration</code> objects.</p>
2509
+ */
2510
+ targetTrackingScalingConfigs?: TargetTrackingScalingConfiguration[];
2511
+ /**
2512
+ * @public
2513
+ * <p>The maximum number of instances in the fleet when auto-scaling.</p>
2514
+ */
2515
+ maxCapacity?: number;
2516
+ /**
2517
+ * @public
2518
+ * <p>The desired number of instances in the fleet when auto-scaling.</p>
2519
+ */
2520
+ desiredCapacity?: number;
2521
+ }
2522
+ /**
2523
+ * @public
2524
+ * @enum
2525
+ */
2526
+ export declare const FleetContextCode: {
2527
+ readonly CREATE_FAILED: "CREATE_FAILED";
2528
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
2529
+ };
2530
+ /**
2531
+ * @public
2532
+ */
2533
+ export type FleetContextCode = (typeof FleetContextCode)[keyof typeof FleetContextCode];
2534
+ /**
2535
+ * @public
2536
+ * @enum
2537
+ */
2538
+ export declare const FleetStatusCode: {
2539
+ readonly ACTIVE: "ACTIVE";
2540
+ readonly CREATE_FAILED: "CREATE_FAILED";
2541
+ readonly CREATING: "CREATING";
2542
+ readonly DELETING: "DELETING";
2543
+ readonly ROTATING: "ROTATING";
2544
+ readonly UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED";
2545
+ readonly UPDATING: "UPDATING";
2546
+ };
2547
+ /**
2548
+ * @public
2549
+ */
2550
+ export type FleetStatusCode = (typeof FleetStatusCode)[keyof typeof FleetStatusCode];
2551
+ /**
2552
+ * @public
2553
+ * <p>The status of the compute fleet.</p>
2554
+ */
2555
+ export interface FleetStatus {
2556
+ /**
2557
+ * @public
2558
+ * <p>The status code of the compute fleet. Valid values include:</p>
2559
+ * <ul>
2560
+ * <li>
2561
+ * <p>
2562
+ * <code>CREATING</code>: The compute fleet is being created.</p>
2563
+ * </li>
2564
+ * <li>
2565
+ * <p>
2566
+ * <code>UPDATING</code>: The compute fleet is being updated.</p>
2567
+ * </li>
2568
+ * <li>
2569
+ * <p>
2570
+ * <code>ROTATING</code>: The compute fleet is being rotated.</p>
2571
+ * </li>
2572
+ * <li>
2573
+ * <p>
2574
+ * <code>DELETING</code>: The compute fleet is being deleted.</p>
2575
+ * </li>
2576
+ * <li>
2577
+ * <p>
2578
+ * <code>CREATE_FAILED</code>: The compute fleet has failed to create.</p>
2579
+ * </li>
2580
+ * <li>
2581
+ * <p>
2582
+ * <code>UPDATE_ROLLBACK_FAILED</code>: The compute fleet has failed to update and could not rollback to previous state.</p>
2583
+ * </li>
2584
+ * <li>
2585
+ * <p>
2586
+ * <code>ACTIVE</code>: The compute fleet has succeeded and is active.</p>
2587
+ * </li>
2588
+ * </ul>
2589
+ */
2590
+ statusCode?: FleetStatusCode;
2591
+ /**
2592
+ * @public
2593
+ * <p>Additional information about a compute fleet. Valid values include:</p>
2594
+ * <ul>
2595
+ * <li>
2596
+ * <p>
2597
+ * <code>CREATE_FAILED</code>: The compute fleet has failed to create.</p>
2598
+ * </li>
2599
+ * <li>
2600
+ * <p>
2601
+ * <code>UPDATE_FAILED</code>: The compute fleet has failed to update.</p>
2602
+ * </li>
2603
+ * </ul>
2604
+ */
2605
+ context?: FleetContextCode;
2606
+ /**
2607
+ * @public
2608
+ * <p>A message associated with the status of a compute fleet.</p>
2609
+ */
2610
+ message?: string;
2611
+ }
2612
+ /**
2613
+ * @public
2614
+ * <p>A tag, consisting of a key and a value.</p>
2615
+ * <p>This tag is available for use by Amazon Web Services services that support tags in CodeBuild.</p>
2616
+ */
2617
+ export interface Tag {
2618
+ /**
2619
+ * @public
2620
+ * <p>The tag's key.</p>
2621
+ */
2622
+ key?: string;
2623
+ /**
2624
+ * @public
2625
+ * <p>The tag's value.</p>
2626
+ */
2627
+ value?: string;
2628
+ }
2629
+ /**
2630
+ * @public
2631
+ * <p>A set of dedicated instances for your build environment.</p>
2632
+ */
2633
+ export interface Fleet {
2634
+ /**
2635
+ * @public
2636
+ * <p>The ARN of the compute fleet.</p>
2637
+ */
2638
+ arn?: string;
2639
+ /**
2640
+ * @public
2641
+ * <p>The name of the compute fleet.</p>
2642
+ */
2643
+ name?: string;
2644
+ /**
2645
+ * @public
2646
+ * <p>The ID of the compute fleet.</p>
2647
+ */
2648
+ id?: string;
2649
+ /**
2650
+ * @public
2651
+ * <p>The time at which the compute fleet was created.</p>
2652
+ */
2653
+ created?: Date;
2654
+ /**
2655
+ * @public
2656
+ * <p>The time at which the compute fleet was last modified.</p>
2657
+ */
2658
+ lastModified?: Date;
2659
+ /**
2660
+ * @public
2661
+ * <p>The status of the compute fleet.</p>
2662
+ */
2663
+ status?: FleetStatus;
2664
+ /**
2665
+ * @public
2666
+ * <p>The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.</p>
2667
+ */
2668
+ baseCapacity?: number;
2669
+ /**
2670
+ * @public
2671
+ * <p>The environment type of the compute fleet.</p>
2672
+ * <ul>
2673
+ * <li>
2674
+ * <p>The environment type <code>ARM_CONTAINER</code> is available only in regions
2675
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
2676
+ * Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney),
2677
+ * EU (Frankfurt), and South America (São Paulo).</p>
2678
+ * </li>
2679
+ * <li>
2680
+ * <p>The environment type <code>LINUX_CONTAINER</code> is available only in regions
2681
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
2682
+ * EU (Frankfurt), Asia Pacific (Tokyo),
2683
+ * Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
2684
+ * Asia Pacific (Mumbai).</p>
2685
+ * </li>
2686
+ * <li>
2687
+ * <p>The environment type <code>LINUX_GPU_CONTAINER</code> is available only in
2688
+ * regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
2689
+ * EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).</p>
2690
+ * </li>
2691
+ * <li>
2692
+ * <p>The environment type <code>WINDOWS_SERVER_2019_CONTAINER</code> is available only in regions
2693
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney),
2694
+ * Asia Pacific (Tokyo), Asia Pacific (Mumbai) and
2695
+ * EU (Ireland).</p>
2696
+ * </li>
2697
+ * <li>
2698
+ * <p>The environment type <code>WINDOWS_SERVER_2022_CONTAINER</code> is available only in regions
2699
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt),
2700
+ * Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and
2701
+ * Asia Pacific (Mumbai).</p>
2702
+ * </li>
2703
+ * </ul>
2704
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build environment compute types</a> in the <i>CodeBuild
2705
+ * user guide</i>.</p>
2706
+ */
2707
+ environmentType?: EnvironmentType;
2708
+ /**
2709
+ * @public
2710
+ * <p>Information about the compute resources the compute fleet uses. Available values
2711
+ * include:</p>
2712
+ * <ul>
2713
+ * <li>
2714
+ * <p>
2715
+ * <code>BUILD_GENERAL1_SMALL</code>: Use up to 3 GB memory and 2 vCPUs for
2716
+ * builds.</p>
2717
+ * </li>
2718
+ * <li>
2719
+ * <p>
2720
+ * <code>BUILD_GENERAL1_MEDIUM</code>: Use up to 7 GB memory and 4 vCPUs for
2721
+ * builds.</p>
2722
+ * </li>
2723
+ * <li>
2724
+ * <p>
2725
+ * <code>BUILD_GENERAL1_LARGE</code>: Use up to 16 GB memory and 8 vCPUs for
2726
+ * builds, depending on your environment type.</p>
2727
+ * </li>
2728
+ * <li>
2729
+ * <p>
2730
+ * <code>BUILD_GENERAL1_XLARGE</code>: Use up to 70 GB memory and 36 vCPUs for
2731
+ * builds, depending on your environment type.</p>
2732
+ * </li>
2733
+ * <li>
2734
+ * <p>
2735
+ * <code>BUILD_GENERAL1_2XLARGE</code>: Use up to 145 GB memory, 72 vCPUs, and
2736
+ * 824 GB of SSD storage for builds. This compute type supports Docker images up to
2737
+ * 100 GB uncompressed.</p>
2738
+ * </li>
2739
+ * </ul>
2740
+ * <p> If you use <code>BUILD_GENERAL1_SMALL</code>: </p>
2741
+ * <ul>
2742
+ * <li>
2743
+ * <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 3 GB
2744
+ * memory and 2 vCPUs for builds. </p>
2745
+ * </li>
2746
+ * <li>
2747
+ * <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 16
2748
+ * GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.</p>
2749
+ * </li>
2750
+ * <li>
2751
+ * <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 4 GB
2752
+ * memory and 2 vCPUs on ARM-based processors for builds.</p>
2753
+ * </li>
2754
+ * </ul>
2755
+ * <p> If you use <code>BUILD_GENERAL1_LARGE</code>: </p>
2756
+ * <ul>
2757
+ * <li>
2758
+ * <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 15 GB
2759
+ * memory and 8 vCPUs for builds. </p>
2760
+ * </li>
2761
+ * <li>
2762
+ * <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 255
2763
+ * GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.</p>
2764
+ * </li>
2765
+ * <li>
2766
+ * <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 16 GB
2767
+ * memory and 8 vCPUs on ARM-based processors for builds.</p>
2768
+ * </li>
2769
+ * </ul>
2770
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build environment
2771
+ * compute types</a> in the <i>CodeBuild User Guide.</i>
2772
+ * </p>
2773
+ */
2774
+ computeType?: ComputeType;
2775
+ /**
2776
+ * @public
2777
+ * <p>The scaling configuration of the compute fleet.</p>
2778
+ */
2779
+ scalingConfiguration?: ScalingConfigurationOutput;
2780
+ /**
2781
+ * @public
2782
+ * <p>A list of tag key and value pairs associated with this compute fleet.</p>
2783
+ * <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project
2784
+ * tags.</p>
2785
+ */
2786
+ tags?: Tag[];
2787
+ }
2788
+ /**
2789
+ * @public
2790
+ */
2791
+ export interface BatchGetFleetsOutput {
2792
+ /**
2793
+ * @public
2794
+ * <p>Information about the requested compute fleets.</p>
2795
+ */
2796
+ fleets?: Fleet[];
2797
+ /**
2798
+ * @public
2799
+ * <p>The names of compute fleets for which information could not be found.</p>
2800
+ */
2801
+ fleetsNotFound?: string[];
2802
+ }
2425
2803
  /**
2426
2804
  * @public
2427
2805
  */
@@ -2717,23 +3095,6 @@ export declare const ProjectVisibilityType: {
2717
3095
  * @public
2718
3096
  */
2719
3097
  export type ProjectVisibilityType = (typeof ProjectVisibilityType)[keyof typeof ProjectVisibilityType];
2720
- /**
2721
- * @public
2722
- * <p>A tag, consisting of a key and a value.</p>
2723
- * <p>This tag is available for use by Amazon Web Services services that support tags in CodeBuild.</p>
2724
- */
2725
- export interface Tag {
2726
- /**
2727
- * @public
2728
- * <p>The tag's key.</p>
2729
- */
2730
- key?: string;
2731
- /**
2732
- * @public
2733
- * <p>The tag's value.</p>
2734
- */
2735
- value?: string;
2736
- }
2737
3098
  /**
2738
3099
  * @public
2739
3100
  * @enum
@@ -3542,50 +3903,227 @@ export interface Report {
3542
3903
  * <p> A boolean that specifies if this report run is truncated. The list of test cases is
3543
3904
  * truncated after the maximum number of test cases is reached. </p>
3544
3905
  */
3545
- truncated?: boolean;
3906
+ truncated?: boolean;
3907
+ /**
3908
+ * @public
3909
+ * <p> A <code>TestReportSummary</code> object that contains information about this test
3910
+ * report. </p>
3911
+ */
3912
+ testSummary?: TestReportSummary;
3913
+ /**
3914
+ * @public
3915
+ * <p>A <code>CodeCoverageReportSummary</code> object that contains a code coverage summary for
3916
+ * this report.</p>
3917
+ */
3918
+ codeCoverageSummary?: CodeCoverageReportSummary;
3919
+ }
3920
+ /**
3921
+ * @public
3922
+ */
3923
+ export interface BatchGetReportsOutput {
3924
+ /**
3925
+ * @public
3926
+ * <p>
3927
+ * The array of <code>Report</code> objects returned by <code>BatchGetReports</code>.
3928
+ * </p>
3929
+ */
3930
+ reports?: Report[];
3931
+ /**
3932
+ * @public
3933
+ * <p>
3934
+ * An array of ARNs passed to <code>BatchGetReportGroups</code> that are not associated with a <code>Report</code>.
3935
+ * </p>
3936
+ */
3937
+ reportsNotFound?: string[];
3938
+ }
3939
+ /**
3940
+ * @public
3941
+ * <p>Specifies filters when retrieving batch builds.</p>
3942
+ */
3943
+ export interface BuildBatchFilter {
3944
+ /**
3945
+ * @public
3946
+ * <p>The status of the batch builds to retrieve. Only batch builds that have this status will
3947
+ * be retrieved.</p>
3948
+ */
3949
+ status?: StatusType;
3950
+ }
3951
+ /**
3952
+ * @public
3953
+ * <p>The scaling configuration input of a compute fleet.</p>
3954
+ */
3955
+ export interface ScalingConfigurationInput {
3956
+ /**
3957
+ * @public
3958
+ * <p>The scaling type for a compute fleet.</p>
3959
+ */
3960
+ scalingType?: FleetScalingType;
3961
+ /**
3962
+ * @public
3963
+ * <p>A list of <code>TargetTrackingScalingConfiguration</code> objects.</p>
3964
+ */
3965
+ targetTrackingScalingConfigs?: TargetTrackingScalingConfiguration[];
3966
+ /**
3967
+ * @public
3968
+ * <p>The maximum number of instances in the fleet when auto-scaling.</p>
3969
+ */
3970
+ maxCapacity?: number;
3971
+ }
3972
+ /**
3973
+ * @public
3974
+ */
3975
+ export interface CreateFleetInput {
3976
+ /**
3977
+ * @public
3978
+ * <p>The name of the compute fleet.</p>
3979
+ */
3980
+ name: string | undefined;
3981
+ /**
3982
+ * @public
3983
+ * <p>The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel.</p>
3984
+ */
3985
+ baseCapacity: number | undefined;
3986
+ /**
3987
+ * @public
3988
+ * <p>The environment type of the compute fleet.</p>
3989
+ * <ul>
3990
+ * <li>
3991
+ * <p>The environment type <code>ARM_CONTAINER</code> is available only in regions
3992
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
3993
+ * Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney),
3994
+ * EU (Frankfurt), and South America (São Paulo).</p>
3995
+ * </li>
3996
+ * <li>
3997
+ * <p>The environment type <code>LINUX_CONTAINER</code> is available only in regions
3998
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
3999
+ * EU (Frankfurt), Asia Pacific (Tokyo),
4000
+ * Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
4001
+ * Asia Pacific (Mumbai).</p>
4002
+ * </li>
4003
+ * <li>
4004
+ * <p>The environment type <code>LINUX_GPU_CONTAINER</code> is available only in
4005
+ * regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
4006
+ * EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).</p>
4007
+ * </li>
4008
+ * <li>
4009
+ * <p>The environment type <code>WINDOWS_SERVER_2019_CONTAINER</code> is available only in regions
4010
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney),
4011
+ * Asia Pacific (Tokyo), Asia Pacific (Mumbai) and
4012
+ * EU (Ireland).</p>
4013
+ * </li>
4014
+ * <li>
4015
+ * <p>The environment type <code>WINDOWS_SERVER_2022_CONTAINER</code> is available only in regions
4016
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt),
4017
+ * Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and
4018
+ * Asia Pacific (Mumbai).</p>
4019
+ * </li>
4020
+ * </ul>
4021
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build environment compute types</a> in the <i>CodeBuild
4022
+ * user guide</i>.</p>
4023
+ */
4024
+ environmentType: EnvironmentType | undefined;
4025
+ /**
4026
+ * @public
4027
+ * <p>Information about the compute resources the compute fleet uses. Available values
4028
+ * include:</p>
4029
+ * <ul>
4030
+ * <li>
4031
+ * <p>
4032
+ * <code>BUILD_GENERAL1_SMALL</code>: Use up to 3 GB memory and 2 vCPUs for
4033
+ * builds.</p>
4034
+ * </li>
4035
+ * <li>
4036
+ * <p>
4037
+ * <code>BUILD_GENERAL1_MEDIUM</code>: Use up to 7 GB memory and 4 vCPUs for
4038
+ * builds.</p>
4039
+ * </li>
4040
+ * <li>
4041
+ * <p>
4042
+ * <code>BUILD_GENERAL1_LARGE</code>: Use up to 16 GB memory and 8 vCPUs for
4043
+ * builds, depending on your environment type.</p>
4044
+ * </li>
4045
+ * <li>
4046
+ * <p>
4047
+ * <code>BUILD_GENERAL1_XLARGE</code>: Use up to 70 GB memory and 36 vCPUs for
4048
+ * builds, depending on your environment type.</p>
4049
+ * </li>
4050
+ * <li>
4051
+ * <p>
4052
+ * <code>BUILD_GENERAL1_2XLARGE</code>: Use up to 145 GB memory, 72 vCPUs, and
4053
+ * 824 GB of SSD storage for builds. This compute type supports Docker images up to
4054
+ * 100 GB uncompressed.</p>
4055
+ * </li>
4056
+ * </ul>
4057
+ * <p> If you use <code>BUILD_GENERAL1_SMALL</code>: </p>
4058
+ * <ul>
4059
+ * <li>
4060
+ * <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 3 GB
4061
+ * memory and 2 vCPUs for builds. </p>
4062
+ * </li>
4063
+ * <li>
4064
+ * <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 16
4065
+ * GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.</p>
4066
+ * </li>
4067
+ * <li>
4068
+ * <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 4 GB
4069
+ * memory and 2 vCPUs on ARM-based processors for builds.</p>
4070
+ * </li>
4071
+ * </ul>
4072
+ * <p> If you use <code>BUILD_GENERAL1_LARGE</code>: </p>
4073
+ * <ul>
4074
+ * <li>
4075
+ * <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 15 GB
4076
+ * memory and 8 vCPUs for builds. </p>
4077
+ * </li>
4078
+ * <li>
4079
+ * <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 255
4080
+ * GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.</p>
4081
+ * </li>
4082
+ * <li>
4083
+ * <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 16 GB
4084
+ * memory and 8 vCPUs on ARM-based processors for builds.</p>
4085
+ * </li>
4086
+ * </ul>
4087
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build environment
4088
+ * compute types</a> in the <i>CodeBuild User Guide.</i>
4089
+ * </p>
4090
+ */
4091
+ computeType: ComputeType | undefined;
3546
4092
  /**
3547
4093
  * @public
3548
- * <p> A <code>TestReportSummary</code> object that contains information about this test
3549
- * report. </p>
4094
+ * <p>The scaling configuration of the compute fleet.</p>
3550
4095
  */
3551
- testSummary?: TestReportSummary;
4096
+ scalingConfiguration?: ScalingConfigurationInput;
3552
4097
  /**
3553
4098
  * @public
3554
- * <p>A <code>CodeCoverageReportSummary</code> object that contains a code coverage summary for
3555
- * this report.</p>
4099
+ * <p>A list of tag key and value pairs associated with this compute fleet.</p>
4100
+ * <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project
4101
+ * tags.</p>
3556
4102
  */
3557
- codeCoverageSummary?: CodeCoverageReportSummary;
4103
+ tags?: Tag[];
3558
4104
  }
3559
4105
  /**
3560
4106
  * @public
3561
4107
  */
3562
- export interface BatchGetReportsOutput {
3563
- /**
3564
- * @public
3565
- * <p>
3566
- * The array of <code>Report</code> objects returned by <code>BatchGetReports</code>.
3567
- * </p>
3568
- */
3569
- reports?: Report[];
4108
+ export interface CreateFleetOutput {
3570
4109
  /**
3571
4110
  * @public
3572
- * <p>
3573
- * An array of ARNs passed to <code>BatchGetReportGroups</code> that are not associated with a <code>Report</code>.
3574
- * </p>
4111
+ * <p>Information about the compute fleet</p>
3575
4112
  */
3576
- reportsNotFound?: string[];
4113
+ fleet?: Fleet;
3577
4114
  }
3578
4115
  /**
3579
4116
  * @public
3580
- * <p>Specifies filters when retrieving batch builds.</p>
4117
+ * <p>The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same
4118
+ * settings already exists.</p>
3581
4119
  */
3582
- export interface BuildBatchFilter {
4120
+ export declare class ResourceAlreadyExistsException extends __BaseException {
4121
+ readonly name: "ResourceAlreadyExistsException";
4122
+ readonly $fault: "client";
3583
4123
  /**
3584
- * @public
3585
- * <p>The status of the batch builds to retrieve. Only batch builds that have this status will
3586
- * be retrieved.</p>
4124
+ * @internal
3587
4125
  */
3588
- status?: StatusType;
4126
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
3589
4127
  }
3590
4128
  /**
3591
4129
  * @public
@@ -3762,19 +4300,6 @@ export interface CreateProjectOutput {
3762
4300
  */
3763
4301
  project?: Project;
3764
4302
  }
3765
- /**
3766
- * @public
3767
- * <p>The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same
3768
- * settings already exists.</p>
3769
- */
3770
- export declare class ResourceAlreadyExistsException extends __BaseException {
3771
- readonly name: "ResourceAlreadyExistsException";
3772
- readonly $fault: "client";
3773
- /**
3774
- * @internal
3775
- */
3776
- constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
3777
- }
3778
4303
  /**
3779
4304
  * @public
3780
4305
  */
@@ -3924,6 +4449,21 @@ export interface DeleteBuildBatchOutput {
3924
4449
  */
3925
4450
  buildsNotDeleted?: BuildNotDeleted[];
3926
4451
  }
4452
+ /**
4453
+ * @public
4454
+ */
4455
+ export interface DeleteFleetInput {
4456
+ /**
4457
+ * @public
4458
+ * <p>The ARN of the compute fleet.</p>
4459
+ */
4460
+ arn: string | undefined;
4461
+ }
4462
+ /**
4463
+ * @public
4464
+ */
4465
+ export interface DeleteFleetOutput {
4466
+ }
3927
4467
  /**
3928
4468
  * @public
3929
4469
  */
@@ -4919,6 +5459,98 @@ export interface ListCuratedEnvironmentImagesOutput {
4919
5459
  */
4920
5460
  platforms?: EnvironmentPlatform[];
4921
5461
  }
5462
+ /**
5463
+ * @public
5464
+ * @enum
5465
+ */
5466
+ export declare const FleetSortByType: {
5467
+ readonly CREATED_TIME: "CREATED_TIME";
5468
+ readonly LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME";
5469
+ readonly NAME: "NAME";
5470
+ };
5471
+ /**
5472
+ * @public
5473
+ */
5474
+ export type FleetSortByType = (typeof FleetSortByType)[keyof typeof FleetSortByType];
5475
+ /**
5476
+ * @public
5477
+ */
5478
+ export interface ListFleetsInput {
5479
+ /**
5480
+ * @public
5481
+ * <p>During a previous call, if there are more than 100 items in the list, only the first
5482
+ * 100 items are returned, along with a unique string called a
5483
+ * <i>nextToken</i>. To get the next batch of items in the list, call
5484
+ * this operation again, adding the next token to the call. To get all of the items in the
5485
+ * list, keep calling this operation with each subsequent next token that is returned,
5486
+ * until no more next tokens are returned.</p>
5487
+ */
5488
+ nextToken?: string;
5489
+ /**
5490
+ * @public
5491
+ * <p>The maximum number of paginated compute fleets returned per response. Use
5492
+ * <code>nextToken</code> to iterate pages in the list of returned compute fleets.</p>
5493
+ */
5494
+ maxResults?: number;
5495
+ /**
5496
+ * @public
5497
+ * <p>The order in which to list compute fleets. Valid values include:</p>
5498
+ * <ul>
5499
+ * <li>
5500
+ * <p>
5501
+ * <code>ASCENDING</code>: List in ascending order.</p>
5502
+ * </li>
5503
+ * <li>
5504
+ * <p>
5505
+ * <code>DESCENDING</code>: List in descending order.</p>
5506
+ * </li>
5507
+ * </ul>
5508
+ * <p>Use <code>sortBy</code> to specify the criterion to be used to list compute fleet
5509
+ * names.</p>
5510
+ */
5511
+ sortOrder?: SortOrderType;
5512
+ /**
5513
+ * @public
5514
+ * <p>The criterion to be used to list compute fleet names. Valid values include:</p>
5515
+ * <ul>
5516
+ * <li>
5517
+ * <p>
5518
+ * <code>CREATED_TIME</code>: List based on when each compute fleet was
5519
+ * created.</p>
5520
+ * </li>
5521
+ * <li>
5522
+ * <p>
5523
+ * <code>LAST_MODIFIED_TIME</code>: List based on when information about each
5524
+ * compute fleet was last changed.</p>
5525
+ * </li>
5526
+ * <li>
5527
+ * <p>
5528
+ * <code>NAME</code>: List based on each compute fleet's name.</p>
5529
+ * </li>
5530
+ * </ul>
5531
+ * <p>Use <code>sortOrder</code> to specify in what order to list the compute fleet names
5532
+ * based on the preceding criteria.</p>
5533
+ */
5534
+ sortBy?: FleetSortByType;
5535
+ }
5536
+ /**
5537
+ * @public
5538
+ */
5539
+ export interface ListFleetsOutput {
5540
+ /**
5541
+ * @public
5542
+ * <p>If there are more than 100 items in the list, only the first 100 items are returned,
5543
+ * along with a unique string called a <i>nextToken</i>. To get the next
5544
+ * batch of items in the list, call this operation again, adding the next token to the
5545
+ * call.</p>
5546
+ */
5547
+ nextToken?: string;
5548
+ /**
5549
+ * @public
5550
+ * <p>The list of compute fleet names.</p>
5551
+ */
5552
+ fleets?: string[];
5553
+ }
4922
5554
  /**
4923
5555
  * @public
4924
5556
  * @enum
@@ -5814,6 +6446,12 @@ export interface StartBuildInput {
5814
6446
  * <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html">Viewing a running build in Session Manager</a>.</p>
5815
6447
  */
5816
6448
  debugSessionEnabled?: boolean;
6449
+ /**
6450
+ * @public
6451
+ * <p>A ProjectFleet object specified for this build that overrides the one defined in the
6452
+ * build project.</p>
6453
+ */
6454
+ fleetOverride?: ProjectFleet;
5817
6455
  }
5818
6456
  /**
5819
6457
  * @public
@@ -6132,6 +6770,150 @@ export interface StopBuildBatchOutput {
6132
6770
  */
6133
6771
  buildBatch?: BuildBatch;
6134
6772
  }
6773
+ /**
6774
+ * @public
6775
+ */
6776
+ export interface UpdateFleetInput {
6777
+ /**
6778
+ * @public
6779
+ * <p>The ARN of the compute fleet.</p>
6780
+ */
6781
+ arn: string | undefined;
6782
+ /**
6783
+ * @public
6784
+ * <p>The initial number of machines allocated to the compute fleet, which defines the number of builds that can
6785
+ * run in parallel.</p>
6786
+ */
6787
+ baseCapacity?: number;
6788
+ /**
6789
+ * @public
6790
+ * <p>The environment type of the compute fleet.</p>
6791
+ * <ul>
6792
+ * <li>
6793
+ * <p>The environment type <code>ARM_CONTAINER</code> is available only in regions
6794
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
6795
+ * Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney),
6796
+ * EU (Frankfurt), and South America (São Paulo).</p>
6797
+ * </li>
6798
+ * <li>
6799
+ * <p>The environment type <code>LINUX_CONTAINER</code> is available only in regions
6800
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
6801
+ * EU (Frankfurt), Asia Pacific (Tokyo),
6802
+ * Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
6803
+ * Asia Pacific (Mumbai).</p>
6804
+ * </li>
6805
+ * <li>
6806
+ * <p>The environment type <code>LINUX_GPU_CONTAINER</code> is available only in
6807
+ * regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
6808
+ * EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).</p>
6809
+ * </li>
6810
+ * <li>
6811
+ * <p>The environment type <code>WINDOWS_SERVER_2019_CONTAINER</code> is available only in regions
6812
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney),
6813
+ * Asia Pacific (Tokyo), Asia Pacific (Mumbai) and
6814
+ * EU (Ireland).</p>
6815
+ * </li>
6816
+ * <li>
6817
+ * <p>The environment type <code>WINDOWS_SERVER_2022_CONTAINER</code> is available only in regions
6818
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt),
6819
+ * Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and
6820
+ * Asia Pacific (Mumbai).</p>
6821
+ * </li>
6822
+ * </ul>
6823
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build environment compute types</a> in the <i>CodeBuild
6824
+ * user guide</i>.</p>
6825
+ */
6826
+ environmentType?: EnvironmentType;
6827
+ /**
6828
+ * @public
6829
+ * <p>Information about the compute resources the compute fleet uses. Available values
6830
+ * include:</p>
6831
+ * <ul>
6832
+ * <li>
6833
+ * <p>
6834
+ * <code>BUILD_GENERAL1_SMALL</code>: Use up to 3 GB memory and 2 vCPUs for
6835
+ * builds.</p>
6836
+ * </li>
6837
+ * <li>
6838
+ * <p>
6839
+ * <code>BUILD_GENERAL1_MEDIUM</code>: Use up to 7 GB memory and 4 vCPUs for
6840
+ * builds.</p>
6841
+ * </li>
6842
+ * <li>
6843
+ * <p>
6844
+ * <code>BUILD_GENERAL1_LARGE</code>: Use up to 16 GB memory and 8 vCPUs for
6845
+ * builds, depending on your environment type.</p>
6846
+ * </li>
6847
+ * <li>
6848
+ * <p>
6849
+ * <code>BUILD_GENERAL1_XLARGE</code>: Use up to 70 GB memory and 36 vCPUs for
6850
+ * builds, depending on your environment type.</p>
6851
+ * </li>
6852
+ * <li>
6853
+ * <p>
6854
+ * <code>BUILD_GENERAL1_2XLARGE</code>: Use up to 145 GB memory, 72 vCPUs, and
6855
+ * 824 GB of SSD storage for builds. This compute type supports Docker images up to
6856
+ * 100 GB uncompressed.</p>
6857
+ * </li>
6858
+ * </ul>
6859
+ * <p> If you use <code>BUILD_GENERAL1_SMALL</code>: </p>
6860
+ * <ul>
6861
+ * <li>
6862
+ * <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 3 GB
6863
+ * memory and 2 vCPUs for builds. </p>
6864
+ * </li>
6865
+ * <li>
6866
+ * <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 16
6867
+ * GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.</p>
6868
+ * </li>
6869
+ * <li>
6870
+ * <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 4 GB
6871
+ * memory and 2 vCPUs on ARM-based processors for builds.</p>
6872
+ * </li>
6873
+ * </ul>
6874
+ * <p> If you use <code>BUILD_GENERAL1_LARGE</code>: </p>
6875
+ * <ul>
6876
+ * <li>
6877
+ * <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 15 GB
6878
+ * memory and 8 vCPUs for builds. </p>
6879
+ * </li>
6880
+ * <li>
6881
+ * <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 255
6882
+ * GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.</p>
6883
+ * </li>
6884
+ * <li>
6885
+ * <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 16 GB
6886
+ * memory and 8 vCPUs on ARM-based processors for builds.</p>
6887
+ * </li>
6888
+ * </ul>
6889
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html">Build environment
6890
+ * compute types</a> in the <i>CodeBuild User Guide.</i>
6891
+ * </p>
6892
+ */
6893
+ computeType?: ComputeType;
6894
+ /**
6895
+ * @public
6896
+ * <p>The scaling configuration of the compute fleet.</p>
6897
+ */
6898
+ scalingConfiguration?: ScalingConfigurationInput;
6899
+ /**
6900
+ * @public
6901
+ * <p>A list of tag key and value pairs associated with this compute fleet.</p>
6902
+ * <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project
6903
+ * tags.</p>
6904
+ */
6905
+ tags?: Tag[];
6906
+ }
6907
+ /**
6908
+ * @public
6909
+ */
6910
+ export interface UpdateFleetOutput {
6911
+ /**
6912
+ * @public
6913
+ * <p>A <code>Fleet</code> object.</p>
6914
+ */
6915
+ fleet?: Fleet;
6916
+ }
6135
6917
  /**
6136
6918
  * @public
6137
6919
  */
@@ -6479,3 +7261,7 @@ export interface UpdateWebhookOutput {
6479
7261
  * @internal
6480
7262
  */
6481
7263
  export declare const ImportSourceCredentialsInputFilterSensitiveLog: (obj: ImportSourceCredentialsInput) => any;
7264
+ /**
7265
+ * @internal
7266
+ */
7267
+ export declare const ListFleetsInputFilterSensitiveLog: (obj: ListFleetsInput) => any;