aws-sdk-codebuild 1.101.0 → 1.102.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +503 -1
- data/lib/aws-sdk-codebuild/client_api.rb +174 -0
- data/lib/aws-sdk-codebuild/endpoints.rb +70 -0
- data/lib/aws-sdk-codebuild/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-codebuild/types.rb +700 -7
- data/lib/aws-sdk-codebuild.rb +1 -1
- metadata +6 -6
@@ -518,6 +518,7 @@ module Aws::CodeBuild
|
|
518
518
|
# resp.build_batches[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
519
519
|
# resp.build_batches[0].environment.image #=> String
|
520
520
|
# resp.build_batches[0].environment.compute_type #=> String, one of "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"
|
521
|
+
# resp.build_batches[0].environment.fleet.fleet_arn #=> String
|
521
522
|
# resp.build_batches[0].environment.environment_variables #=> Array
|
522
523
|
# resp.build_batches[0].environment.environment_variables[0].name #=> String
|
523
524
|
# resp.build_batches[0].environment.environment_variables[0].value #=> String
|
@@ -686,6 +687,7 @@ module Aws::CodeBuild
|
|
686
687
|
# resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
687
688
|
# resp.builds[0].environment.image #=> String
|
688
689
|
# resp.builds[0].environment.compute_type #=> String, one of "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"
|
690
|
+
# resp.builds[0].environment.fleet.fleet_arn #=> String
|
689
691
|
# resp.builds[0].environment.environment_variables #=> Array
|
690
692
|
# resp.builds[0].environment.environment_variables[0].name #=> String
|
691
693
|
# resp.builds[0].environment.environment_variables[0].value #=> String
|
@@ -747,6 +749,57 @@ module Aws::CodeBuild
|
|
747
749
|
req.send_request(options)
|
748
750
|
end
|
749
751
|
|
752
|
+
# Gets information about one or more compute fleets.
|
753
|
+
#
|
754
|
+
# @option params [required, Array<String>] :names
|
755
|
+
# The names or ARNs of the compute fleets.
|
756
|
+
#
|
757
|
+
# @return [Types::BatchGetFleetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
758
|
+
#
|
759
|
+
# * {Types::BatchGetFleetsOutput#fleets #fleets} => Array<Types::Fleet>
|
760
|
+
# * {Types::BatchGetFleetsOutput#fleets_not_found #fleets_not_found} => Array<String>
|
761
|
+
#
|
762
|
+
# @example Request syntax with placeholder values
|
763
|
+
#
|
764
|
+
# resp = client.batch_get_fleets({
|
765
|
+
# names: ["NonEmptyString"], # required
|
766
|
+
# })
|
767
|
+
#
|
768
|
+
# @example Response structure
|
769
|
+
#
|
770
|
+
# resp.fleets #=> Array
|
771
|
+
# resp.fleets[0].arn #=> String
|
772
|
+
# resp.fleets[0].name #=> String
|
773
|
+
# resp.fleets[0].id #=> String
|
774
|
+
# resp.fleets[0].created #=> Time
|
775
|
+
# resp.fleets[0].last_modified #=> Time
|
776
|
+
# resp.fleets[0].status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
|
777
|
+
# resp.fleets[0].status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
|
778
|
+
# resp.fleets[0].status.message #=> String
|
779
|
+
# resp.fleets[0].base_capacity #=> Integer
|
780
|
+
# resp.fleets[0].environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
781
|
+
# resp.fleets[0].compute_type #=> String, one of "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"
|
782
|
+
# resp.fleets[0].scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
783
|
+
# resp.fleets[0].scaling_configuration.target_tracking_scaling_configs #=> Array
|
784
|
+
# resp.fleets[0].scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
785
|
+
# resp.fleets[0].scaling_configuration.target_tracking_scaling_configs[0].target_value #=> Float
|
786
|
+
# resp.fleets[0].scaling_configuration.max_capacity #=> Integer
|
787
|
+
# resp.fleets[0].scaling_configuration.desired_capacity #=> Integer
|
788
|
+
# resp.fleets[0].tags #=> Array
|
789
|
+
# resp.fleets[0].tags[0].key #=> String
|
790
|
+
# resp.fleets[0].tags[0].value #=> String
|
791
|
+
# resp.fleets_not_found #=> Array
|
792
|
+
# resp.fleets_not_found[0] #=> String
|
793
|
+
#
|
794
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetFleets AWS API Documentation
|
795
|
+
#
|
796
|
+
# @overload batch_get_fleets(params = {})
|
797
|
+
# @param [Hash] params ({})
|
798
|
+
def batch_get_fleets(params = {}, options = {})
|
799
|
+
req = build_request(:batch_get_fleets, params)
|
800
|
+
req.send_request(options)
|
801
|
+
end
|
802
|
+
|
750
803
|
# Gets information about one or more build projects.
|
751
804
|
#
|
752
805
|
# @option params [required, Array<String>] :names
|
@@ -828,6 +881,7 @@ module Aws::CodeBuild
|
|
828
881
|
# resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
829
882
|
# resp.projects[0].environment.image #=> String
|
830
883
|
# resp.projects[0].environment.compute_type #=> String, one of "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"
|
884
|
+
# resp.projects[0].environment.fleet.fleet_arn #=> String
|
831
885
|
# resp.projects[0].environment.environment_variables #=> Array
|
832
886
|
# resp.projects[0].environment.environment_variables[0].name #=> String
|
833
887
|
# resp.projects[0].environment.environment_variables[0].value #=> String
|
@@ -1005,6 +1059,172 @@ module Aws::CodeBuild
|
|
1005
1059
|
req.send_request(options)
|
1006
1060
|
end
|
1007
1061
|
|
1062
|
+
# Creates a compute fleet.
|
1063
|
+
#
|
1064
|
+
# @option params [required, String] :name
|
1065
|
+
# The name of the compute fleet.
|
1066
|
+
#
|
1067
|
+
# @option params [required, Integer] :base_capacity
|
1068
|
+
# The initial number of machines allocated to the fleet, which defines the
|
1069
|
+
# number of builds that can run in parallel.
|
1070
|
+
#
|
1071
|
+
# @option params [required, String] :environment_type
|
1072
|
+
# The environment type of the compute fleet.
|
1073
|
+
#
|
1074
|
+
# * The environment type `ARM_CONTAINER` is available only in regions US
|
1075
|
+
# East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
|
1076
|
+
# Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
|
1077
|
+
# (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South
|
1078
|
+
# America (São Paulo).
|
1079
|
+
#
|
1080
|
+
# * The environment type `LINUX_CONTAINER` is available only in regions
|
1081
|
+
# US East (N. Virginia), US East (Ohio), US West (Oregon), EU
|
1082
|
+
# (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific
|
1083
|
+
# (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
|
1084
|
+
# Asia Pacific (Mumbai).
|
1085
|
+
#
|
1086
|
+
# * The environment type `LINUX_GPU_CONTAINER` is available only in
|
1087
|
+
# regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
|
1088
|
+
# (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific
|
1089
|
+
# (Sydney).
|
1090
|
+
#
|
1091
|
+
# * The environment type `WINDOWS_SERVER_2019_CONTAINER` is available
|
1092
|
+
# only in regions US East (N. Virginia), US East (Ohio), US West
|
1093
|
+
# (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific
|
1094
|
+
# (Mumbai) and EU (Ireland).
|
1095
|
+
#
|
1096
|
+
# * The environment type `WINDOWS_SERVER_2022_CONTAINER` is available
|
1097
|
+
# only in regions US East (N. Virginia), US East (Ohio), US West
|
1098
|
+
# (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia
|
1099
|
+
# Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo)
|
1100
|
+
# and Asia Pacific (Mumbai).
|
1101
|
+
#
|
1102
|
+
# For more information, see [Build environment compute types][1] in the
|
1103
|
+
# *CodeBuild user guide*.
|
1104
|
+
#
|
1105
|
+
#
|
1106
|
+
#
|
1107
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
1108
|
+
#
|
1109
|
+
# @option params [required, String] :compute_type
|
1110
|
+
# Information about the compute resources the compute fleet uses.
|
1111
|
+
# Available values include:
|
1112
|
+
#
|
1113
|
+
# * `BUILD_GENERAL1_SMALL`: Use up to 3 GB memory and 2 vCPUs for
|
1114
|
+
# builds.
|
1115
|
+
#
|
1116
|
+
# * `BUILD_GENERAL1_MEDIUM`: Use up to 7 GB memory and 4 vCPUs for
|
1117
|
+
# builds.
|
1118
|
+
#
|
1119
|
+
# * `BUILD_GENERAL1_LARGE`: Use up to 16 GB memory and 8 vCPUs for
|
1120
|
+
# builds, depending on your environment type.
|
1121
|
+
#
|
1122
|
+
# * `BUILD_GENERAL1_XLARGE`: Use up to 70 GB memory and 36 vCPUs for
|
1123
|
+
# builds, depending on your environment type.
|
1124
|
+
#
|
1125
|
+
# * `BUILD_GENERAL1_2XLARGE`: Use up to 145 GB memory, 72 vCPUs, and 824
|
1126
|
+
# GB of SSD storage for builds. This compute type supports Docker
|
1127
|
+
# images up to 100 GB uncompressed.
|
1128
|
+
#
|
1129
|
+
# If you use `BUILD_GENERAL1_SMALL`:
|
1130
|
+
#
|
1131
|
+
# * For environment type `LINUX_CONTAINER`, you can use up to 3 GB
|
1132
|
+
# memory and 2 vCPUs for builds.
|
1133
|
+
#
|
1134
|
+
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16 GB
|
1135
|
+
# memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
|
1136
|
+
#
|
1137
|
+
# * For environment type `ARM_CONTAINER`, you can use up to 4 GB memory
|
1138
|
+
# and 2 vCPUs on ARM-based processors for builds.
|
1139
|
+
#
|
1140
|
+
# If you use `BUILD_GENERAL1_LARGE`:
|
1141
|
+
#
|
1142
|
+
# * For environment type `LINUX_CONTAINER`, you can use up to 15 GB
|
1143
|
+
# memory and 8 vCPUs for builds.
|
1144
|
+
#
|
1145
|
+
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255 GB
|
1146
|
+
# memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
|
1147
|
+
#
|
1148
|
+
# * For environment type `ARM_CONTAINER`, you can use up to 16 GB memory
|
1149
|
+
# and 8 vCPUs on ARM-based processors for builds.
|
1150
|
+
#
|
1151
|
+
# For more information, see [Build environment compute types][1] in the
|
1152
|
+
# *CodeBuild User Guide.*
|
1153
|
+
#
|
1154
|
+
#
|
1155
|
+
#
|
1156
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
1157
|
+
#
|
1158
|
+
# @option params [Types::ScalingConfigurationInput] :scaling_configuration
|
1159
|
+
# The scaling configuration of the compute fleet.
|
1160
|
+
#
|
1161
|
+
# @option params [Array<Types::Tag>] :tags
|
1162
|
+
# A list of tag key and value pairs associated with this compute fleet.
|
1163
|
+
#
|
1164
|
+
# These tags are available for use by Amazon Web Services services that
|
1165
|
+
# support CodeBuild build project tags.
|
1166
|
+
#
|
1167
|
+
# @return [Types::CreateFleetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1168
|
+
#
|
1169
|
+
# * {Types::CreateFleetOutput#fleet #fleet} => Types::Fleet
|
1170
|
+
#
|
1171
|
+
# @example Request syntax with placeholder values
|
1172
|
+
#
|
1173
|
+
# resp = client.create_fleet({
|
1174
|
+
# name: "FleetName", # required
|
1175
|
+
# base_capacity: 1, # required
|
1176
|
+
# environment_type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER
|
1177
|
+
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts 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
|
1178
|
+
# scaling_configuration: {
|
1179
|
+
# scaling_type: "TARGET_TRACKING_SCALING", # accepts TARGET_TRACKING_SCALING
|
1180
|
+
# target_tracking_scaling_configs: [
|
1181
|
+
# {
|
1182
|
+
# metric_type: "FLEET_UTILIZATION_RATE", # accepts FLEET_UTILIZATION_RATE
|
1183
|
+
# target_value: 1.0,
|
1184
|
+
# },
|
1185
|
+
# ],
|
1186
|
+
# max_capacity: 1,
|
1187
|
+
# },
|
1188
|
+
# tags: [
|
1189
|
+
# {
|
1190
|
+
# key: "KeyInput",
|
1191
|
+
# value: "ValueInput",
|
1192
|
+
# },
|
1193
|
+
# ],
|
1194
|
+
# })
|
1195
|
+
#
|
1196
|
+
# @example Response structure
|
1197
|
+
#
|
1198
|
+
# resp.fleet.arn #=> String
|
1199
|
+
# resp.fleet.name #=> String
|
1200
|
+
# resp.fleet.id #=> String
|
1201
|
+
# resp.fleet.created #=> Time
|
1202
|
+
# resp.fleet.last_modified #=> Time
|
1203
|
+
# resp.fleet.status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
|
1204
|
+
# resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
|
1205
|
+
# resp.fleet.status.message #=> String
|
1206
|
+
# resp.fleet.base_capacity #=> Integer
|
1207
|
+
# resp.fleet.environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
1208
|
+
# resp.fleet.compute_type #=> String, one of "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"
|
1209
|
+
# resp.fleet.scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
1210
|
+
# resp.fleet.scaling_configuration.target_tracking_scaling_configs #=> Array
|
1211
|
+
# resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
1212
|
+
# resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].target_value #=> Float
|
1213
|
+
# resp.fleet.scaling_configuration.max_capacity #=> Integer
|
1214
|
+
# resp.fleet.scaling_configuration.desired_capacity #=> Integer
|
1215
|
+
# resp.fleet.tags #=> Array
|
1216
|
+
# resp.fleet.tags[0].key #=> String
|
1217
|
+
# resp.fleet.tags[0].value #=> String
|
1218
|
+
#
|
1219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateFleet AWS API Documentation
|
1220
|
+
#
|
1221
|
+
# @overload create_fleet(params = {})
|
1222
|
+
# @param [Hash] params ({})
|
1223
|
+
def create_fleet(params = {}, options = {})
|
1224
|
+
req = build_request(:create_fleet, params)
|
1225
|
+
req.send_request(options)
|
1226
|
+
end
|
1227
|
+
|
1008
1228
|
# Creates a build project.
|
1009
1229
|
#
|
1010
1230
|
# @option params [required, String] :name
|
@@ -1225,6 +1445,9 @@ module Aws::CodeBuild
|
|
1225
1445
|
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER
|
1226
1446
|
# image: "NonEmptyString", # required
|
1227
1447
|
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts 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
|
1448
|
+
# fleet: {
|
1449
|
+
# fleet_arn: "String",
|
1450
|
+
# },
|
1228
1451
|
# environment_variables: [
|
1229
1452
|
# {
|
1230
1453
|
# name: "NonEmptyString", # required
|
@@ -1353,6 +1576,7 @@ module Aws::CodeBuild
|
|
1353
1576
|
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
1354
1577
|
# resp.project.environment.image #=> String
|
1355
1578
|
# resp.project.environment.compute_type #=> String, one of "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"
|
1579
|
+
# resp.project.environment.fleet.fleet_arn #=> String
|
1356
1580
|
# resp.project.environment.environment_variables #=> Array
|
1357
1581
|
# resp.project.environment.environment_variables[0].name #=> String
|
1358
1582
|
# resp.project.environment.environment_variables[0].value #=> String
|
@@ -1621,6 +1845,29 @@ module Aws::CodeBuild
|
|
1621
1845
|
req.send_request(options)
|
1622
1846
|
end
|
1623
1847
|
|
1848
|
+
# Deletes a compute fleet. When you delete a compute fleet, its builds
|
1849
|
+
# are not deleted.
|
1850
|
+
#
|
1851
|
+
# @option params [required, String] :arn
|
1852
|
+
# The ARN of the compute fleet.
|
1853
|
+
#
|
1854
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1855
|
+
#
|
1856
|
+
# @example Request syntax with placeholder values
|
1857
|
+
#
|
1858
|
+
# resp = client.delete_fleet({
|
1859
|
+
# arn: "NonEmptyString", # required
|
1860
|
+
# })
|
1861
|
+
#
|
1862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteFleet AWS API Documentation
|
1863
|
+
#
|
1864
|
+
# @overload delete_fleet(params = {})
|
1865
|
+
# @param [Hash] params ({})
|
1866
|
+
def delete_fleet(params = {}, options = {})
|
1867
|
+
req = build_request(:delete_fleet, params)
|
1868
|
+
req.send_request(options)
|
1869
|
+
end
|
1870
|
+
|
1624
1871
|
# Deletes a build project. When you delete a project, its builds are not
|
1625
1872
|
# deleted.
|
1626
1873
|
#
|
@@ -2368,6 +2615,78 @@ module Aws::CodeBuild
|
|
2368
2615
|
req.send_request(options)
|
2369
2616
|
end
|
2370
2617
|
|
2618
|
+
# Gets a list of compute fleet names with each compute fleet name
|
2619
|
+
# representing a single compute fleet.
|
2620
|
+
#
|
2621
|
+
# @option params [String] :next_token
|
2622
|
+
# During a previous call, if there are more than 100 items in the list,
|
2623
|
+
# only the first 100 items are returned, along with a unique string
|
2624
|
+
# called a *nextToken*. To get the next batch of items in the list, call
|
2625
|
+
# this operation again, adding the next token to the call. To get all of
|
2626
|
+
# the items in the list, keep calling this operation with each
|
2627
|
+
# subsequent next token that is returned, until no more next tokens are
|
2628
|
+
# returned.
|
2629
|
+
#
|
2630
|
+
# @option params [Integer] :max_results
|
2631
|
+
# The maximum number of paginated compute fleets returned per response.
|
2632
|
+
# Use `nextToken` to iterate pages in the list of returned compute
|
2633
|
+
# fleets.
|
2634
|
+
#
|
2635
|
+
# @option params [String] :sort_order
|
2636
|
+
# The order in which to list compute fleets. Valid values include:
|
2637
|
+
#
|
2638
|
+
# * `ASCENDING`: List in ascending order.
|
2639
|
+
#
|
2640
|
+
# * `DESCENDING`: List in descending order.
|
2641
|
+
#
|
2642
|
+
# Use `sortBy` to specify the criterion to be used to list compute fleet
|
2643
|
+
# names.
|
2644
|
+
#
|
2645
|
+
# @option params [String] :sort_by
|
2646
|
+
# The criterion to be used to list compute fleet names. Valid values
|
2647
|
+
# include:
|
2648
|
+
#
|
2649
|
+
# * `CREATED_TIME`: List based on when each compute fleet was created.
|
2650
|
+
#
|
2651
|
+
# * `LAST_MODIFIED_TIME`: List based on when information about each
|
2652
|
+
# compute fleet was last changed.
|
2653
|
+
#
|
2654
|
+
# * `NAME`: List based on each compute fleet's name.
|
2655
|
+
#
|
2656
|
+
# Use `sortOrder` to specify in what order to list the compute fleet
|
2657
|
+
# names based on the preceding criteria.
|
2658
|
+
#
|
2659
|
+
# @return [Types::ListFleetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2660
|
+
#
|
2661
|
+
# * {Types::ListFleetsOutput#next_token #next_token} => String
|
2662
|
+
# * {Types::ListFleetsOutput#fleets #fleets} => Array<String>
|
2663
|
+
#
|
2664
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2665
|
+
#
|
2666
|
+
# @example Request syntax with placeholder values
|
2667
|
+
#
|
2668
|
+
# resp = client.list_fleets({
|
2669
|
+
# next_token: "SensitiveString",
|
2670
|
+
# max_results: 1,
|
2671
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2672
|
+
# sort_by: "NAME", # accepts NAME, CREATED_TIME, LAST_MODIFIED_TIME
|
2673
|
+
# })
|
2674
|
+
#
|
2675
|
+
# @example Response structure
|
2676
|
+
#
|
2677
|
+
# resp.next_token #=> String
|
2678
|
+
# resp.fleets #=> Array
|
2679
|
+
# resp.fleets[0] #=> String
|
2680
|
+
#
|
2681
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListFleets AWS API Documentation
|
2682
|
+
#
|
2683
|
+
# @overload list_fleets(params = {})
|
2684
|
+
# @param [Hash] params ({})
|
2685
|
+
def list_fleets(params = {}, options = {})
|
2686
|
+
req = build_request(:list_fleets, params)
|
2687
|
+
req.send_request(options)
|
2688
|
+
end
|
2689
|
+
|
2371
2690
|
# Gets a list of build project names, with each build project name
|
2372
2691
|
# representing a single build project.
|
2373
2692
|
#
|
@@ -2906,6 +3225,7 @@ module Aws::CodeBuild
|
|
2906
3225
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
2907
3226
|
# resp.build.environment.image #=> String
|
2908
3227
|
# resp.build.environment.compute_type #=> String, one of "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"
|
3228
|
+
# resp.build.environment.fleet.fleet_arn #=> String
|
2909
3229
|
# resp.build.environment.environment_variables #=> Array
|
2910
3230
|
# resp.build.environment.environment_variables[0].name #=> String
|
2911
3231
|
# resp.build.environment.environment_variables[0].value #=> String
|
@@ -3063,6 +3383,7 @@ module Aws::CodeBuild
|
|
3063
3383
|
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
3064
3384
|
# resp.build_batch.environment.image #=> String
|
3065
3385
|
# resp.build_batch.environment.compute_type #=> String, one of "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"
|
3386
|
+
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
3066
3387
|
# resp.build_batch.environment.environment_variables #=> Array
|
3067
3388
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
3068
3389
|
# resp.build_batch.environment.environment_variables[0].value #=> String
|
@@ -3368,6 +3689,10 @@ module Aws::CodeBuild
|
|
3368
3689
|
#
|
3369
3690
|
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
|
3370
3691
|
#
|
3692
|
+
# @option params [Types::ProjectFleet] :fleet_override
|
3693
|
+
# A ProjectFleet object specified for this build that overrides the one
|
3694
|
+
# defined in the build project.
|
3695
|
+
#
|
3371
3696
|
# @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3372
3697
|
#
|
3373
3698
|
# * {Types::StartBuildOutput#build #build} => Types::Build
|
@@ -3489,6 +3814,9 @@ module Aws::CodeBuild
|
|
3489
3814
|
# },
|
3490
3815
|
# image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
3491
3816
|
# debug_session_enabled: false,
|
3817
|
+
# fleet_override: {
|
3818
|
+
# fleet_arn: "String",
|
3819
|
+
# },
|
3492
3820
|
# })
|
3493
3821
|
#
|
3494
3822
|
# @example Response structure
|
@@ -3562,6 +3890,7 @@ module Aws::CodeBuild
|
|
3562
3890
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
3563
3891
|
# resp.build.environment.image #=> String
|
3564
3892
|
# resp.build.environment.compute_type #=> String, one of "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"
|
3893
|
+
# resp.build.environment.fleet.fleet_arn #=> String
|
3565
3894
|
# resp.build.environment.environment_variables #=> Array
|
3566
3895
|
# resp.build.environment.environment_variables[0].name #=> String
|
3567
3896
|
# resp.build.environment.environment_variables[0].value #=> String
|
@@ -4037,6 +4366,7 @@ module Aws::CodeBuild
|
|
4037
4366
|
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
4038
4367
|
# resp.build_batch.environment.image #=> String
|
4039
4368
|
# resp.build_batch.environment.compute_type #=> String, one of "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"
|
4369
|
+
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
4040
4370
|
# resp.build_batch.environment.environment_variables #=> Array
|
4041
4371
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
4042
4372
|
# resp.build_batch.environment.environment_variables[0].value #=> String
|
@@ -4201,6 +4531,7 @@ module Aws::CodeBuild
|
|
4201
4531
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
4202
4532
|
# resp.build.environment.image #=> String
|
4203
4533
|
# resp.build.environment.compute_type #=> String, one of "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"
|
4534
|
+
# resp.build.environment.fleet.fleet_arn #=> String
|
4204
4535
|
# resp.build.environment.environment_variables #=> Array
|
4205
4536
|
# resp.build.environment.environment_variables[0].name #=> String
|
4206
4537
|
# resp.build.environment.environment_variables[0].value #=> String
|
@@ -4345,6 +4676,7 @@ module Aws::CodeBuild
|
|
4345
4676
|
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
4346
4677
|
# resp.build_batch.environment.image #=> String
|
4347
4678
|
# resp.build_batch.environment.compute_type #=> String, one of "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"
|
4679
|
+
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
4348
4680
|
# resp.build_batch.environment.environment_variables #=> Array
|
4349
4681
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
4350
4682
|
# resp.build_batch.environment.environment_variables[0].value #=> String
|
@@ -4423,6 +4755,172 @@ module Aws::CodeBuild
|
|
4423
4755
|
req.send_request(options)
|
4424
4756
|
end
|
4425
4757
|
|
4758
|
+
# Updates a compute fleet.
|
4759
|
+
#
|
4760
|
+
# @option params [required, String] :arn
|
4761
|
+
# The ARN of the compute fleet.
|
4762
|
+
#
|
4763
|
+
# @option params [Integer] :base_capacity
|
4764
|
+
# The initial number of machines allocated to the compute fleet, which
|
4765
|
+
# defines the number of builds that can run in parallel.
|
4766
|
+
#
|
4767
|
+
# @option params [String] :environment_type
|
4768
|
+
# The environment type of the compute fleet.
|
4769
|
+
#
|
4770
|
+
# * The environment type `ARM_CONTAINER` is available only in regions US
|
4771
|
+
# East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
|
4772
|
+
# Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
|
4773
|
+
# (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South
|
4774
|
+
# America (São Paulo).
|
4775
|
+
#
|
4776
|
+
# * The environment type `LINUX_CONTAINER` is available only in regions
|
4777
|
+
# US East (N. Virginia), US East (Ohio), US West (Oregon), EU
|
4778
|
+
# (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific
|
4779
|
+
# (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
|
4780
|
+
# Asia Pacific (Mumbai).
|
4781
|
+
#
|
4782
|
+
# * The environment type `LINUX_GPU_CONTAINER` is available only in
|
4783
|
+
# regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
|
4784
|
+
# (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific
|
4785
|
+
# (Sydney).
|
4786
|
+
#
|
4787
|
+
# * The environment type `WINDOWS_SERVER_2019_CONTAINER` is available
|
4788
|
+
# only in regions US East (N. Virginia), US East (Ohio), US West
|
4789
|
+
# (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific
|
4790
|
+
# (Mumbai) and EU (Ireland).
|
4791
|
+
#
|
4792
|
+
# * The environment type `WINDOWS_SERVER_2022_CONTAINER` is available
|
4793
|
+
# only in regions US East (N. Virginia), US East (Ohio), US West
|
4794
|
+
# (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia
|
4795
|
+
# Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo)
|
4796
|
+
# and Asia Pacific (Mumbai).
|
4797
|
+
#
|
4798
|
+
# For more information, see [Build environment compute types][1] in the
|
4799
|
+
# *CodeBuild user guide*.
|
4800
|
+
#
|
4801
|
+
#
|
4802
|
+
#
|
4803
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
4804
|
+
#
|
4805
|
+
# @option params [String] :compute_type
|
4806
|
+
# Information about the compute resources the compute fleet uses.
|
4807
|
+
# Available values include:
|
4808
|
+
#
|
4809
|
+
# * `BUILD_GENERAL1_SMALL`: Use up to 3 GB memory and 2 vCPUs for
|
4810
|
+
# builds.
|
4811
|
+
#
|
4812
|
+
# * `BUILD_GENERAL1_MEDIUM`: Use up to 7 GB memory and 4 vCPUs for
|
4813
|
+
# builds.
|
4814
|
+
#
|
4815
|
+
# * `BUILD_GENERAL1_LARGE`: Use up to 16 GB memory and 8 vCPUs for
|
4816
|
+
# builds, depending on your environment type.
|
4817
|
+
#
|
4818
|
+
# * `BUILD_GENERAL1_XLARGE`: Use up to 70 GB memory and 36 vCPUs for
|
4819
|
+
# builds, depending on your environment type.
|
4820
|
+
#
|
4821
|
+
# * `BUILD_GENERAL1_2XLARGE`: Use up to 145 GB memory, 72 vCPUs, and 824
|
4822
|
+
# GB of SSD storage for builds. This compute type supports Docker
|
4823
|
+
# images up to 100 GB uncompressed.
|
4824
|
+
#
|
4825
|
+
# If you use `BUILD_GENERAL1_SMALL`:
|
4826
|
+
#
|
4827
|
+
# * For environment type `LINUX_CONTAINER`, you can use up to 3 GB
|
4828
|
+
# memory and 2 vCPUs for builds.
|
4829
|
+
#
|
4830
|
+
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16 GB
|
4831
|
+
# memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
|
4832
|
+
#
|
4833
|
+
# * For environment type `ARM_CONTAINER`, you can use up to 4 GB memory
|
4834
|
+
# and 2 vCPUs on ARM-based processors for builds.
|
4835
|
+
#
|
4836
|
+
# If you use `BUILD_GENERAL1_LARGE`:
|
4837
|
+
#
|
4838
|
+
# * For environment type `LINUX_CONTAINER`, you can use up to 15 GB
|
4839
|
+
# memory and 8 vCPUs for builds.
|
4840
|
+
#
|
4841
|
+
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255 GB
|
4842
|
+
# memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
|
4843
|
+
#
|
4844
|
+
# * For environment type `ARM_CONTAINER`, you can use up to 16 GB memory
|
4845
|
+
# and 8 vCPUs on ARM-based processors for builds.
|
4846
|
+
#
|
4847
|
+
# For more information, see [Build environment compute types][1] in the
|
4848
|
+
# *CodeBuild User Guide.*
|
4849
|
+
#
|
4850
|
+
#
|
4851
|
+
#
|
4852
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
4853
|
+
#
|
4854
|
+
# @option params [Types::ScalingConfigurationInput] :scaling_configuration
|
4855
|
+
# The scaling configuration of the compute fleet.
|
4856
|
+
#
|
4857
|
+
# @option params [Array<Types::Tag>] :tags
|
4858
|
+
# A list of tag key and value pairs associated with this compute fleet.
|
4859
|
+
#
|
4860
|
+
# These tags are available for use by Amazon Web Services services that
|
4861
|
+
# support CodeBuild build project tags.
|
4862
|
+
#
|
4863
|
+
# @return [Types::UpdateFleetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4864
|
+
#
|
4865
|
+
# * {Types::UpdateFleetOutput#fleet #fleet} => Types::Fleet
|
4866
|
+
#
|
4867
|
+
# @example Request syntax with placeholder values
|
4868
|
+
#
|
4869
|
+
# resp = client.update_fleet({
|
4870
|
+
# arn: "NonEmptyString", # required
|
4871
|
+
# base_capacity: 1,
|
4872
|
+
# environment_type: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER
|
4873
|
+
# compute_type: "BUILD_GENERAL1_SMALL", # accepts 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
|
4874
|
+
# scaling_configuration: {
|
4875
|
+
# scaling_type: "TARGET_TRACKING_SCALING", # accepts TARGET_TRACKING_SCALING
|
4876
|
+
# target_tracking_scaling_configs: [
|
4877
|
+
# {
|
4878
|
+
# metric_type: "FLEET_UTILIZATION_RATE", # accepts FLEET_UTILIZATION_RATE
|
4879
|
+
# target_value: 1.0,
|
4880
|
+
# },
|
4881
|
+
# ],
|
4882
|
+
# max_capacity: 1,
|
4883
|
+
# },
|
4884
|
+
# tags: [
|
4885
|
+
# {
|
4886
|
+
# key: "KeyInput",
|
4887
|
+
# value: "ValueInput",
|
4888
|
+
# },
|
4889
|
+
# ],
|
4890
|
+
# })
|
4891
|
+
#
|
4892
|
+
# @example Response structure
|
4893
|
+
#
|
4894
|
+
# resp.fleet.arn #=> String
|
4895
|
+
# resp.fleet.name #=> String
|
4896
|
+
# resp.fleet.id #=> String
|
4897
|
+
# resp.fleet.created #=> Time
|
4898
|
+
# resp.fleet.last_modified #=> Time
|
4899
|
+
# resp.fleet.status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
|
4900
|
+
# resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
|
4901
|
+
# resp.fleet.status.message #=> String
|
4902
|
+
# resp.fleet.base_capacity #=> Integer
|
4903
|
+
# resp.fleet.environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
4904
|
+
# resp.fleet.compute_type #=> String, one of "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"
|
4905
|
+
# resp.fleet.scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
4906
|
+
# resp.fleet.scaling_configuration.target_tracking_scaling_configs #=> Array
|
4907
|
+
# resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
4908
|
+
# resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].target_value #=> Float
|
4909
|
+
# resp.fleet.scaling_configuration.max_capacity #=> Integer
|
4910
|
+
# resp.fleet.scaling_configuration.desired_capacity #=> Integer
|
4911
|
+
# resp.fleet.tags #=> Array
|
4912
|
+
# resp.fleet.tags[0].key #=> String
|
4913
|
+
# resp.fleet.tags[0].value #=> String
|
4914
|
+
#
|
4915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateFleet AWS API Documentation
|
4916
|
+
#
|
4917
|
+
# @overload update_fleet(params = {})
|
4918
|
+
# @param [Hash] params ({})
|
4919
|
+
def update_fleet(params = {}, options = {})
|
4920
|
+
req = build_request(:update_fleet, params)
|
4921
|
+
req.send_request(options)
|
4922
|
+
end
|
4923
|
+
|
4426
4924
|
# Changes the settings of a build project.
|
4427
4925
|
#
|
4428
4926
|
# @option params [required, String] :name
|
@@ -4651,6 +5149,9 @@ module Aws::CodeBuild
|
|
4651
5149
|
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER
|
4652
5150
|
# image: "NonEmptyString", # required
|
4653
5151
|
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts 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
|
5152
|
+
# fleet: {
|
5153
|
+
# fleet_arn: "String",
|
5154
|
+
# },
|
4654
5155
|
# environment_variables: [
|
4655
5156
|
# {
|
4656
5157
|
# name: "NonEmptyString", # required
|
@@ -4779,6 +5280,7 @@ module Aws::CodeBuild
|
|
4779
5280
|
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
4780
5281
|
# resp.project.environment.image #=> String
|
4781
5282
|
# resp.project.environment.compute_type #=> String, one of "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"
|
5283
|
+
# resp.project.environment.fleet.fleet_arn #=> String
|
4782
5284
|
# resp.project.environment.environment_variables #=> Array
|
4783
5285
|
# resp.project.environment.environment_variables[0].name #=> String
|
4784
5286
|
# resp.project.environment.environment_variables[0].value #=> String
|
@@ -5099,7 +5601,7 @@ module Aws::CodeBuild
|
|
5099
5601
|
params: params,
|
5100
5602
|
config: config)
|
5101
5603
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5102
|
-
context[:gem_version] = '1.
|
5604
|
+
context[:gem_version] = '1.102.0'
|
5103
5605
|
Seahorse::Client::Request.new(handlers, context)
|
5104
5606
|
end
|
5105
5607
|
|