aws-sdk-codebuild 1.150.0 → 1.152.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +754 -21
- data/lib/aws-sdk-codebuild/client_api.rb +281 -0
- data/lib/aws-sdk-codebuild/errors.rb +11 -0
- data/lib/aws-sdk-codebuild/types.rb +659 -3
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +121 -10
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +188 -6
- metadata +2 -2
@@ -597,11 +597,12 @@ module Aws::CodeBuild
|
|
597
597
|
# resp.build_batches[0].cache.cache_namespace #=> String
|
598
598
|
# resp.build_batches[0].environment.type #=> String, one of "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"
|
599
599
|
# resp.build_batches[0].environment.image #=> String
|
600
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
600
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
601
601
|
# resp.build_batches[0].environment.compute_configuration.v_cpu #=> Integer
|
602
602
|
# resp.build_batches[0].environment.compute_configuration.memory #=> Integer
|
603
603
|
# resp.build_batches[0].environment.compute_configuration.disk #=> Integer
|
604
604
|
# resp.build_batches[0].environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
605
|
+
# resp.build_batches[0].environment.compute_configuration.instance_type #=> String
|
605
606
|
# resp.build_batches[0].environment.fleet.fleet_arn #=> String
|
606
607
|
# resp.build_batches[0].environment.environment_variables #=> Array
|
607
608
|
# resp.build_batches[0].environment.environment_variables[0].name #=> String
|
@@ -775,11 +776,12 @@ module Aws::CodeBuild
|
|
775
776
|
# resp.builds[0].cache.cache_namespace #=> String
|
776
777
|
# resp.builds[0].environment.type #=> String, one of "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"
|
777
778
|
# resp.builds[0].environment.image #=> String
|
778
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
779
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
779
780
|
# resp.builds[0].environment.compute_configuration.v_cpu #=> Integer
|
780
781
|
# resp.builds[0].environment.compute_configuration.memory #=> Integer
|
781
782
|
# resp.builds[0].environment.compute_configuration.disk #=> Integer
|
782
783
|
# resp.builds[0].environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
784
|
+
# resp.builds[0].environment.compute_configuration.instance_type #=> String
|
783
785
|
# resp.builds[0].environment.fleet.fleet_arn #=> String
|
784
786
|
# resp.builds[0].environment.environment_variables #=> Array
|
785
787
|
# resp.builds[0].environment.environment_variables[0].name #=> String
|
@@ -846,6 +848,66 @@ module Aws::CodeBuild
|
|
846
848
|
req.send_request(options)
|
847
849
|
end
|
848
850
|
|
851
|
+
# Gets information about the command executions.
|
852
|
+
#
|
853
|
+
# @option params [required, String] :sandbox_id
|
854
|
+
# A `sandboxId` or `sandboxArn`.
|
855
|
+
#
|
856
|
+
# @option params [required, Array<String>] :command_execution_ids
|
857
|
+
# A comma separated list of `commandExecutionIds`.
|
858
|
+
#
|
859
|
+
# @return [Types::BatchGetCommandExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
860
|
+
#
|
861
|
+
# * {Types::BatchGetCommandExecutionsOutput#command_executions #command_executions} => Array<Types::CommandExecution>
|
862
|
+
# * {Types::BatchGetCommandExecutionsOutput#command_executions_not_found #command_executions_not_found} => Array<String>
|
863
|
+
#
|
864
|
+
# @example Request syntax with placeholder values
|
865
|
+
#
|
866
|
+
# resp = client.batch_get_command_executions({
|
867
|
+
# sandbox_id: "NonEmptyString", # required
|
868
|
+
# command_execution_ids: ["NonEmptyString"], # required
|
869
|
+
# })
|
870
|
+
#
|
871
|
+
# @example Response structure
|
872
|
+
#
|
873
|
+
# resp.command_executions #=> Array
|
874
|
+
# resp.command_executions[0].id #=> String
|
875
|
+
# resp.command_executions[0].sandbox_id #=> String
|
876
|
+
# resp.command_executions[0].submit_time #=> Time
|
877
|
+
# resp.command_executions[0].start_time #=> Time
|
878
|
+
# resp.command_executions[0].end_time #=> Time
|
879
|
+
# resp.command_executions[0].status #=> String
|
880
|
+
# resp.command_executions[0].command #=> String
|
881
|
+
# resp.command_executions[0].type #=> String, one of "SHELL"
|
882
|
+
# resp.command_executions[0].exit_code #=> String
|
883
|
+
# resp.command_executions[0].standard_output_content #=> String
|
884
|
+
# resp.command_executions[0].standard_err_content #=> String
|
885
|
+
# resp.command_executions[0].logs.group_name #=> String
|
886
|
+
# resp.command_executions[0].logs.stream_name #=> String
|
887
|
+
# resp.command_executions[0].logs.deep_link #=> String
|
888
|
+
# resp.command_executions[0].logs.s3_deep_link #=> String
|
889
|
+
# resp.command_executions[0].logs.cloud_watch_logs_arn #=> String
|
890
|
+
# resp.command_executions[0].logs.s3_logs_arn #=> String
|
891
|
+
# resp.command_executions[0].logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
892
|
+
# resp.command_executions[0].logs.cloud_watch_logs.group_name #=> String
|
893
|
+
# resp.command_executions[0].logs.cloud_watch_logs.stream_name #=> String
|
894
|
+
# resp.command_executions[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
895
|
+
# resp.command_executions[0].logs.s3_logs.location #=> String
|
896
|
+
# resp.command_executions[0].logs.s3_logs.encryption_disabled #=> Boolean
|
897
|
+
# resp.command_executions[0].logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
898
|
+
# resp.command_executions[0].sandbox_arn #=> String
|
899
|
+
# resp.command_executions_not_found #=> Array
|
900
|
+
# resp.command_executions_not_found[0] #=> String
|
901
|
+
#
|
902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetCommandExecutions AWS API Documentation
|
903
|
+
#
|
904
|
+
# @overload batch_get_command_executions(params = {})
|
905
|
+
# @param [Hash] params ({})
|
906
|
+
def batch_get_command_executions(params = {}, options = {})
|
907
|
+
req = build_request(:batch_get_command_executions, params)
|
908
|
+
req.send_request(options)
|
909
|
+
end
|
910
|
+
|
849
911
|
# Gets information about one or more compute fleets.
|
850
912
|
#
|
851
913
|
# @option params [required, Array<String>] :names
|
@@ -875,11 +937,12 @@ module Aws::CodeBuild
|
|
875
937
|
# resp.fleets[0].status.message #=> String
|
876
938
|
# resp.fleets[0].base_capacity #=> Integer
|
877
939
|
# resp.fleets[0].environment_type #=> String, one of "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"
|
878
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
940
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
879
941
|
# resp.fleets[0].compute_configuration.v_cpu #=> Integer
|
880
942
|
# resp.fleets[0].compute_configuration.memory #=> Integer
|
881
943
|
# resp.fleets[0].compute_configuration.disk #=> Integer
|
882
944
|
# resp.fleets[0].compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
945
|
+
# resp.fleets[0].compute_configuration.instance_type #=> String
|
883
946
|
# resp.fleets[0].scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
884
947
|
# resp.fleets[0].scaling_configuration.target_tracking_scaling_configs #=> Array
|
885
948
|
# resp.fleets[0].scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
@@ -996,11 +1059,12 @@ module Aws::CodeBuild
|
|
996
1059
|
# resp.projects[0].cache.cache_namespace #=> String
|
997
1060
|
# resp.projects[0].environment.type #=> String, one of "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"
|
998
1061
|
# resp.projects[0].environment.image #=> String
|
999
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
1062
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
1000
1063
|
# resp.projects[0].environment.compute_configuration.v_cpu #=> Integer
|
1001
1064
|
# resp.projects[0].environment.compute_configuration.memory #=> Integer
|
1002
1065
|
# resp.projects[0].environment.compute_configuration.disk #=> Integer
|
1003
1066
|
# resp.projects[0].environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
1067
|
+
# resp.projects[0].environment.compute_configuration.instance_type #=> String
|
1004
1068
|
# resp.projects[0].environment.fleet.fleet_arn #=> String
|
1005
1069
|
# resp.projects[0].environment.environment_variables #=> Array
|
1006
1070
|
# resp.projects[0].environment.environment_variables[0].name #=> String
|
@@ -1188,6 +1252,143 @@ module Aws::CodeBuild
|
|
1188
1252
|
req.send_request(options)
|
1189
1253
|
end
|
1190
1254
|
|
1255
|
+
# Gets information about the sandbox status.
|
1256
|
+
#
|
1257
|
+
# @option params [required, Array<String>] :ids
|
1258
|
+
# A comma separated list of `sandboxIds` or `sandboxArns`.
|
1259
|
+
#
|
1260
|
+
# @return [Types::BatchGetSandboxesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1261
|
+
#
|
1262
|
+
# * {Types::BatchGetSandboxesOutput#sandboxes #sandboxes} => Array<Types::Sandbox>
|
1263
|
+
# * {Types::BatchGetSandboxesOutput#sandboxes_not_found #sandboxes_not_found} => Array<String>
|
1264
|
+
#
|
1265
|
+
# @example Request syntax with placeholder values
|
1266
|
+
#
|
1267
|
+
# resp = client.batch_get_sandboxes({
|
1268
|
+
# ids: ["NonEmptyString"], # required
|
1269
|
+
# })
|
1270
|
+
#
|
1271
|
+
# @example Response structure
|
1272
|
+
#
|
1273
|
+
# resp.sandboxes #=> Array
|
1274
|
+
# resp.sandboxes[0].id #=> String
|
1275
|
+
# resp.sandboxes[0].arn #=> String
|
1276
|
+
# resp.sandboxes[0].project_name #=> String
|
1277
|
+
# resp.sandboxes[0].request_time #=> Time
|
1278
|
+
# resp.sandboxes[0].start_time #=> Time
|
1279
|
+
# resp.sandboxes[0].end_time #=> Time
|
1280
|
+
# resp.sandboxes[0].status #=> String
|
1281
|
+
# resp.sandboxes[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
1282
|
+
# resp.sandboxes[0].source.location #=> String
|
1283
|
+
# resp.sandboxes[0].source.git_clone_depth #=> Integer
|
1284
|
+
# resp.sandboxes[0].source.git_submodules_config.fetch_submodules #=> Boolean
|
1285
|
+
# resp.sandboxes[0].source.buildspec #=> String
|
1286
|
+
# resp.sandboxes[0].source.auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
1287
|
+
# resp.sandboxes[0].source.auth.resource #=> String
|
1288
|
+
# resp.sandboxes[0].source.report_build_status #=> Boolean
|
1289
|
+
# resp.sandboxes[0].source.build_status_config.context #=> String
|
1290
|
+
# resp.sandboxes[0].source.build_status_config.target_url #=> String
|
1291
|
+
# resp.sandboxes[0].source.insecure_ssl #=> Boolean
|
1292
|
+
# resp.sandboxes[0].source.source_identifier #=> String
|
1293
|
+
# resp.sandboxes[0].source_version #=> String
|
1294
|
+
# resp.sandboxes[0].secondary_sources #=> Array
|
1295
|
+
# resp.sandboxes[0].secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
1296
|
+
# resp.sandboxes[0].secondary_sources[0].location #=> String
|
1297
|
+
# resp.sandboxes[0].secondary_sources[0].git_clone_depth #=> Integer
|
1298
|
+
# resp.sandboxes[0].secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
1299
|
+
# resp.sandboxes[0].secondary_sources[0].buildspec #=> String
|
1300
|
+
# resp.sandboxes[0].secondary_sources[0].auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
1301
|
+
# resp.sandboxes[0].secondary_sources[0].auth.resource #=> String
|
1302
|
+
# resp.sandboxes[0].secondary_sources[0].report_build_status #=> Boolean
|
1303
|
+
# resp.sandboxes[0].secondary_sources[0].build_status_config.context #=> String
|
1304
|
+
# resp.sandboxes[0].secondary_sources[0].build_status_config.target_url #=> String
|
1305
|
+
# resp.sandboxes[0].secondary_sources[0].insecure_ssl #=> Boolean
|
1306
|
+
# resp.sandboxes[0].secondary_sources[0].source_identifier #=> String
|
1307
|
+
# resp.sandboxes[0].secondary_source_versions #=> Array
|
1308
|
+
# resp.sandboxes[0].secondary_source_versions[0].source_identifier #=> String
|
1309
|
+
# resp.sandboxes[0].secondary_source_versions[0].source_version #=> String
|
1310
|
+
# resp.sandboxes[0].environment.type #=> String, one of "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"
|
1311
|
+
# resp.sandboxes[0].environment.image #=> String
|
1312
|
+
# resp.sandboxes[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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
1313
|
+
# resp.sandboxes[0].environment.compute_configuration.v_cpu #=> Integer
|
1314
|
+
# resp.sandboxes[0].environment.compute_configuration.memory #=> Integer
|
1315
|
+
# resp.sandboxes[0].environment.compute_configuration.disk #=> Integer
|
1316
|
+
# resp.sandboxes[0].environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
1317
|
+
# resp.sandboxes[0].environment.compute_configuration.instance_type #=> String
|
1318
|
+
# resp.sandboxes[0].environment.fleet.fleet_arn #=> String
|
1319
|
+
# resp.sandboxes[0].environment.environment_variables #=> Array
|
1320
|
+
# resp.sandboxes[0].environment.environment_variables[0].name #=> String
|
1321
|
+
# resp.sandboxes[0].environment.environment_variables[0].value #=> String
|
1322
|
+
# resp.sandboxes[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
1323
|
+
# resp.sandboxes[0].environment.privileged_mode #=> Boolean
|
1324
|
+
# resp.sandboxes[0].environment.certificate #=> String
|
1325
|
+
# resp.sandboxes[0].environment.registry_credential.credential #=> String
|
1326
|
+
# resp.sandboxes[0].environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
1327
|
+
# resp.sandboxes[0].environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
1328
|
+
# resp.sandboxes[0].file_system_locations #=> Array
|
1329
|
+
# resp.sandboxes[0].file_system_locations[0].type #=> String, one of "EFS"
|
1330
|
+
# resp.sandboxes[0].file_system_locations[0].location #=> String
|
1331
|
+
# resp.sandboxes[0].file_system_locations[0].mount_point #=> String
|
1332
|
+
# resp.sandboxes[0].file_system_locations[0].identifier #=> String
|
1333
|
+
# resp.sandboxes[0].file_system_locations[0].mount_options #=> String
|
1334
|
+
# resp.sandboxes[0].timeout_in_minutes #=> Integer
|
1335
|
+
# resp.sandboxes[0].queued_timeout_in_minutes #=> Integer
|
1336
|
+
# resp.sandboxes[0].vpc_config.vpc_id #=> String
|
1337
|
+
# resp.sandboxes[0].vpc_config.subnets #=> Array
|
1338
|
+
# resp.sandboxes[0].vpc_config.subnets[0] #=> String
|
1339
|
+
# resp.sandboxes[0].vpc_config.security_group_ids #=> Array
|
1340
|
+
# resp.sandboxes[0].vpc_config.security_group_ids[0] #=> String
|
1341
|
+
# resp.sandboxes[0].log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1342
|
+
# resp.sandboxes[0].log_config.cloud_watch_logs.group_name #=> String
|
1343
|
+
# resp.sandboxes[0].log_config.cloud_watch_logs.stream_name #=> String
|
1344
|
+
# resp.sandboxes[0].log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1345
|
+
# resp.sandboxes[0].log_config.s3_logs.location #=> String
|
1346
|
+
# resp.sandboxes[0].log_config.s3_logs.encryption_disabled #=> Boolean
|
1347
|
+
# resp.sandboxes[0].log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1348
|
+
# resp.sandboxes[0].encryption_key #=> String
|
1349
|
+
# resp.sandboxes[0].service_role #=> String
|
1350
|
+
# resp.sandboxes[0].current_session.id #=> String
|
1351
|
+
# resp.sandboxes[0].current_session.status #=> String
|
1352
|
+
# resp.sandboxes[0].current_session.start_time #=> Time
|
1353
|
+
# resp.sandboxes[0].current_session.end_time #=> Time
|
1354
|
+
# resp.sandboxes[0].current_session.current_phase #=> String
|
1355
|
+
# resp.sandboxes[0].current_session.phases #=> Array
|
1356
|
+
# resp.sandboxes[0].current_session.phases[0].phase_type #=> String
|
1357
|
+
# resp.sandboxes[0].current_session.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
1358
|
+
# resp.sandboxes[0].current_session.phases[0].start_time #=> Time
|
1359
|
+
# resp.sandboxes[0].current_session.phases[0].end_time #=> Time
|
1360
|
+
# resp.sandboxes[0].current_session.phases[0].duration_in_seconds #=> Integer
|
1361
|
+
# resp.sandboxes[0].current_session.phases[0].contexts #=> Array
|
1362
|
+
# resp.sandboxes[0].current_session.phases[0].contexts[0].status_code #=> String
|
1363
|
+
# resp.sandboxes[0].current_session.phases[0].contexts[0].message #=> String
|
1364
|
+
# resp.sandboxes[0].current_session.resolved_source_version #=> String
|
1365
|
+
# resp.sandboxes[0].current_session.logs.group_name #=> String
|
1366
|
+
# resp.sandboxes[0].current_session.logs.stream_name #=> String
|
1367
|
+
# resp.sandboxes[0].current_session.logs.deep_link #=> String
|
1368
|
+
# resp.sandboxes[0].current_session.logs.s3_deep_link #=> String
|
1369
|
+
# resp.sandboxes[0].current_session.logs.cloud_watch_logs_arn #=> String
|
1370
|
+
# resp.sandboxes[0].current_session.logs.s3_logs_arn #=> String
|
1371
|
+
# resp.sandboxes[0].current_session.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1372
|
+
# resp.sandboxes[0].current_session.logs.cloud_watch_logs.group_name #=> String
|
1373
|
+
# resp.sandboxes[0].current_session.logs.cloud_watch_logs.stream_name #=> String
|
1374
|
+
# resp.sandboxes[0].current_session.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1375
|
+
# resp.sandboxes[0].current_session.logs.s3_logs.location #=> String
|
1376
|
+
# resp.sandboxes[0].current_session.logs.s3_logs.encryption_disabled #=> Boolean
|
1377
|
+
# resp.sandboxes[0].current_session.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1378
|
+
# resp.sandboxes[0].current_session.network_interface.subnet_id #=> String
|
1379
|
+
# resp.sandboxes[0].current_session.network_interface.network_interface_id #=> String
|
1380
|
+
# resp.sandboxes_not_found #=> Array
|
1381
|
+
# resp.sandboxes_not_found[0] #=> String
|
1382
|
+
#
|
1383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetSandboxes AWS API Documentation
|
1384
|
+
#
|
1385
|
+
# @overload batch_get_sandboxes(params = {})
|
1386
|
+
# @param [Hash] params ({})
|
1387
|
+
def batch_get_sandboxes(params = {}, options = {})
|
1388
|
+
req = build_request(:batch_get_sandboxes, params)
|
1389
|
+
req.send_request(options)
|
1390
|
+
end
|
1391
|
+
|
1191
1392
|
# Creates a compute fleet.
|
1192
1393
|
#
|
1193
1394
|
# @option params [required, String] :name
|
@@ -1405,12 +1606,13 @@ module Aws::CodeBuild
|
|
1405
1606
|
# name: "FleetName", # required
|
1406
1607
|
# base_capacity: 1, # required
|
1407
1608
|
# environment_type: "WINDOWS_CONTAINER", # required, accepts 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
|
1408
|
-
# 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, ATTRIBUTE_BASED_COMPUTE
|
1609
|
+
# 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, ATTRIBUTE_BASED_COMPUTE, CUSTOM_INSTANCE_TYPE
|
1409
1610
|
# compute_configuration: {
|
1410
1611
|
# v_cpu: 1,
|
1411
1612
|
# memory: 1,
|
1412
1613
|
# disk: 1,
|
1413
1614
|
# machine_type: "GENERAL", # accepts GENERAL, NVME
|
1615
|
+
# instance_type: "NonEmptyString",
|
1414
1616
|
# },
|
1415
1617
|
# scaling_configuration: {
|
1416
1618
|
# scaling_type: "TARGET_TRACKING_SCALING", # accepts TARGET_TRACKING_SCALING
|
@@ -1460,11 +1662,12 @@ module Aws::CodeBuild
|
|
1460
1662
|
# resp.fleet.status.message #=> String
|
1461
1663
|
# resp.fleet.base_capacity #=> Integer
|
1462
1664
|
# resp.fleet.environment_type #=> String, one of "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"
|
1463
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
1665
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
1464
1666
|
# resp.fleet.compute_configuration.v_cpu #=> Integer
|
1465
1667
|
# resp.fleet.compute_configuration.memory #=> Integer
|
1466
1668
|
# resp.fleet.compute_configuration.disk #=> Integer
|
1467
1669
|
# resp.fleet.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
1670
|
+
# resp.fleet.compute_configuration.instance_type #=> String
|
1468
1671
|
# resp.fleet.scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
1469
1672
|
# resp.fleet.scaling_configuration.target_tracking_scaling_configs #=> Array
|
1470
1673
|
# resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
@@ -1731,12 +1934,13 @@ module Aws::CodeBuild
|
|
1731
1934
|
# environment: { # required
|
1732
1935
|
# type: "WINDOWS_CONTAINER", # required, accepts 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
|
1733
1936
|
# image: "NonEmptyString", # required
|
1734
|
-
# 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, ATTRIBUTE_BASED_COMPUTE
|
1937
|
+
# 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, ATTRIBUTE_BASED_COMPUTE, CUSTOM_INSTANCE_TYPE
|
1735
1938
|
# compute_configuration: {
|
1736
1939
|
# v_cpu: 1,
|
1737
1940
|
# memory: 1,
|
1738
1941
|
# disk: 1,
|
1739
1942
|
# machine_type: "GENERAL", # accepts GENERAL, NVME
|
1943
|
+
# instance_type: "NonEmptyString",
|
1740
1944
|
# },
|
1741
1945
|
# fleet: {
|
1742
1946
|
# fleet_arn: "String",
|
@@ -1871,11 +2075,12 @@ module Aws::CodeBuild
|
|
1871
2075
|
# resp.project.cache.cache_namespace #=> String
|
1872
2076
|
# resp.project.environment.type #=> String, one of "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"
|
1873
2077
|
# resp.project.environment.image #=> String
|
1874
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
2078
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
1875
2079
|
# resp.project.environment.compute_configuration.v_cpu #=> Integer
|
1876
2080
|
# resp.project.environment.compute_configuration.memory #=> Integer
|
1877
2081
|
# resp.project.environment.compute_configuration.disk #=> Integer
|
1878
2082
|
# resp.project.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
2083
|
+
# resp.project.environment.compute_configuration.instance_type #=> String
|
1879
2084
|
# resp.project.environment.fleet.fleet_arn #=> String
|
1880
2085
|
# resp.project.environment.environment_variables #=> Array
|
1881
2086
|
# resp.project.environment.environment_variables[0].name #=> String
|
@@ -2943,6 +3148,76 @@ module Aws::CodeBuild
|
|
2943
3148
|
req.send_request(options)
|
2944
3149
|
end
|
2945
3150
|
|
3151
|
+
# Gets a list of command executions for a sandbox.
|
3152
|
+
#
|
3153
|
+
# @option params [required, String] :sandbox_id
|
3154
|
+
# A `sandboxId` or `sandboxArn`.
|
3155
|
+
#
|
3156
|
+
# @option params [Integer] :max_results
|
3157
|
+
# The maximum number of sandbox records to be retrieved.
|
3158
|
+
#
|
3159
|
+
# @option params [String] :sort_order
|
3160
|
+
# The order in which sandbox records should be retrieved.
|
3161
|
+
#
|
3162
|
+
# @option params [String] :next_token
|
3163
|
+
# The next token, if any, to get paginated results. You will get this
|
3164
|
+
# value from previous execution of list sandboxes.
|
3165
|
+
#
|
3166
|
+
# @return [Types::ListCommandExecutionsForSandboxOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3167
|
+
#
|
3168
|
+
# * {Types::ListCommandExecutionsForSandboxOutput#command_executions #command_executions} => Array<Types::CommandExecution>
|
3169
|
+
# * {Types::ListCommandExecutionsForSandboxOutput#next_token #next_token} => String
|
3170
|
+
#
|
3171
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3172
|
+
#
|
3173
|
+
# @example Request syntax with placeholder values
|
3174
|
+
#
|
3175
|
+
# resp = client.list_command_executions_for_sandbox({
|
3176
|
+
# sandbox_id: "NonEmptyString", # required
|
3177
|
+
# max_results: 1,
|
3178
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3179
|
+
# next_token: "SensitiveString",
|
3180
|
+
# })
|
3181
|
+
#
|
3182
|
+
# @example Response structure
|
3183
|
+
#
|
3184
|
+
# resp.command_executions #=> Array
|
3185
|
+
# resp.command_executions[0].id #=> String
|
3186
|
+
# resp.command_executions[0].sandbox_id #=> String
|
3187
|
+
# resp.command_executions[0].submit_time #=> Time
|
3188
|
+
# resp.command_executions[0].start_time #=> Time
|
3189
|
+
# resp.command_executions[0].end_time #=> Time
|
3190
|
+
# resp.command_executions[0].status #=> String
|
3191
|
+
# resp.command_executions[0].command #=> String
|
3192
|
+
# resp.command_executions[0].type #=> String, one of "SHELL"
|
3193
|
+
# resp.command_executions[0].exit_code #=> String
|
3194
|
+
# resp.command_executions[0].standard_output_content #=> String
|
3195
|
+
# resp.command_executions[0].standard_err_content #=> String
|
3196
|
+
# resp.command_executions[0].logs.group_name #=> String
|
3197
|
+
# resp.command_executions[0].logs.stream_name #=> String
|
3198
|
+
# resp.command_executions[0].logs.deep_link #=> String
|
3199
|
+
# resp.command_executions[0].logs.s3_deep_link #=> String
|
3200
|
+
# resp.command_executions[0].logs.cloud_watch_logs_arn #=> String
|
3201
|
+
# resp.command_executions[0].logs.s3_logs_arn #=> String
|
3202
|
+
# resp.command_executions[0].logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3203
|
+
# resp.command_executions[0].logs.cloud_watch_logs.group_name #=> String
|
3204
|
+
# resp.command_executions[0].logs.cloud_watch_logs.stream_name #=> String
|
3205
|
+
# resp.command_executions[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3206
|
+
# resp.command_executions[0].logs.s3_logs.location #=> String
|
3207
|
+
# resp.command_executions[0].logs.s3_logs.encryption_disabled #=> Boolean
|
3208
|
+
# resp.command_executions[0].logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3209
|
+
# resp.command_executions[0].sandbox_arn #=> String
|
3210
|
+
# resp.next_token #=> String
|
3211
|
+
#
|
3212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCommandExecutionsForSandbox AWS API Documentation
|
3213
|
+
#
|
3214
|
+
# @overload list_command_executions_for_sandbox(params = {})
|
3215
|
+
# @param [Hash] params ({})
|
3216
|
+
def list_command_executions_for_sandbox(params = {}, options = {})
|
3217
|
+
req = build_request(:list_command_executions_for_sandbox, params)
|
3218
|
+
req.send_request(options)
|
3219
|
+
end
|
3220
|
+
|
2946
3221
|
# Gets information about Docker images that are managed by CodeBuild.
|
2947
3222
|
#
|
2948
3223
|
# @return [Types::ListCuratedEnvironmentImagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3294,6 +3569,94 @@ module Aws::CodeBuild
|
|
3294
3569
|
req.send_request(options)
|
3295
3570
|
end
|
3296
3571
|
|
3572
|
+
# Gets a list of sandboxes.
|
3573
|
+
#
|
3574
|
+
# @option params [Integer] :max_results
|
3575
|
+
# The maximum number of sandbox records to be retrieved.
|
3576
|
+
#
|
3577
|
+
# @option params [String] :sort_order
|
3578
|
+
# The order in which sandbox records should be retrieved.
|
3579
|
+
#
|
3580
|
+
# @option params [String] :next_token
|
3581
|
+
# The next token, if any, to get paginated results. You will get this
|
3582
|
+
# value from previous execution of list sandboxes.
|
3583
|
+
#
|
3584
|
+
# @return [Types::ListSandboxesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3585
|
+
#
|
3586
|
+
# * {Types::ListSandboxesOutput#ids #ids} => Array<String>
|
3587
|
+
# * {Types::ListSandboxesOutput#next_token #next_token} => String
|
3588
|
+
#
|
3589
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3590
|
+
#
|
3591
|
+
# @example Request syntax with placeholder values
|
3592
|
+
#
|
3593
|
+
# resp = client.list_sandboxes({
|
3594
|
+
# max_results: 1,
|
3595
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3596
|
+
# next_token: "String",
|
3597
|
+
# })
|
3598
|
+
#
|
3599
|
+
# @example Response structure
|
3600
|
+
#
|
3601
|
+
# resp.ids #=> Array
|
3602
|
+
# resp.ids[0] #=> String
|
3603
|
+
# resp.next_token #=> String
|
3604
|
+
#
|
3605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxes AWS API Documentation
|
3606
|
+
#
|
3607
|
+
# @overload list_sandboxes(params = {})
|
3608
|
+
# @param [Hash] params ({})
|
3609
|
+
def list_sandboxes(params = {}, options = {})
|
3610
|
+
req = build_request(:list_sandboxes, params)
|
3611
|
+
req.send_request(options)
|
3612
|
+
end
|
3613
|
+
|
3614
|
+
# Gets a list of sandboxes for a given project.
|
3615
|
+
#
|
3616
|
+
# @option params [required, String] :project_name
|
3617
|
+
# The CodeBuild project name.
|
3618
|
+
#
|
3619
|
+
# @option params [Integer] :max_results
|
3620
|
+
# The maximum number of sandbox records to be retrieved.
|
3621
|
+
#
|
3622
|
+
# @option params [String] :sort_order
|
3623
|
+
# The order in which sandbox records should be retrieved.
|
3624
|
+
#
|
3625
|
+
# @option params [String] :next_token
|
3626
|
+
# The next token, if any, to get paginated results. You will get this
|
3627
|
+
# value from previous execution of list sandboxes.
|
3628
|
+
#
|
3629
|
+
# @return [Types::ListSandboxesForProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3630
|
+
#
|
3631
|
+
# * {Types::ListSandboxesForProjectOutput#ids #ids} => Array<String>
|
3632
|
+
# * {Types::ListSandboxesForProjectOutput#next_token #next_token} => String
|
3633
|
+
#
|
3634
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3635
|
+
#
|
3636
|
+
# @example Request syntax with placeholder values
|
3637
|
+
#
|
3638
|
+
# resp = client.list_sandboxes_for_project({
|
3639
|
+
# project_name: "NonEmptyString", # required
|
3640
|
+
# max_results: 1,
|
3641
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3642
|
+
# next_token: "SensitiveString",
|
3643
|
+
# })
|
3644
|
+
#
|
3645
|
+
# @example Response structure
|
3646
|
+
#
|
3647
|
+
# resp.ids #=> Array
|
3648
|
+
# resp.ids[0] #=> String
|
3649
|
+
# resp.next_token #=> String
|
3650
|
+
#
|
3651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesForProject AWS API Documentation
|
3652
|
+
#
|
3653
|
+
# @overload list_sandboxes_for_project(params = {})
|
3654
|
+
# @param [Hash] params ({})
|
3655
|
+
def list_sandboxes_for_project(params = {}, options = {})
|
3656
|
+
req = build_request(:list_sandboxes_for_project, params)
|
3657
|
+
req.send_request(options)
|
3658
|
+
end
|
3659
|
+
|
3297
3660
|
# Gets a list of projects that are shared with other Amazon Web Services
|
3298
3661
|
# accounts or users.
|
3299
3662
|
#
|
@@ -3581,11 +3944,12 @@ module Aws::CodeBuild
|
|
3581
3944
|
# resp.build.cache.cache_namespace #=> String
|
3582
3945
|
# resp.build.environment.type #=> String, one of "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"
|
3583
3946
|
# resp.build.environment.image #=> String
|
3584
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
3947
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
3585
3948
|
# resp.build.environment.compute_configuration.v_cpu #=> Integer
|
3586
3949
|
# resp.build.environment.compute_configuration.memory #=> Integer
|
3587
3950
|
# resp.build.environment.compute_configuration.disk #=> Integer
|
3588
3951
|
# resp.build.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
3952
|
+
# resp.build.environment.compute_configuration.instance_type #=> String
|
3589
3953
|
# resp.build.environment.fleet.fleet_arn #=> String
|
3590
3954
|
# resp.build.environment.environment_variables #=> Array
|
3591
3955
|
# resp.build.environment.environment_variables[0].name #=> String
|
@@ -3748,11 +4112,12 @@ module Aws::CodeBuild
|
|
3748
4112
|
# resp.build_batch.cache.cache_namespace #=> String
|
3749
4113
|
# resp.build_batch.environment.type #=> String, one of "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"
|
3750
4114
|
# resp.build_batch.environment.image #=> String
|
3751
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
4115
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
3752
4116
|
# resp.build_batch.environment.compute_configuration.v_cpu #=> Integer
|
3753
4117
|
# resp.build_batch.environment.compute_configuration.memory #=> Integer
|
3754
4118
|
# resp.build_batch.environment.compute_configuration.disk #=> Integer
|
3755
4119
|
# resp.build_batch.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
4120
|
+
# resp.build_batch.environment.compute_configuration.instance_type #=> String
|
3756
4121
|
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
3757
4122
|
# resp.build_batch.environment.environment_variables #=> Array
|
3758
4123
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
@@ -4183,7 +4548,7 @@ module Aws::CodeBuild
|
|
4183
4548
|
# },
|
4184
4549
|
# environment_type_override: "WINDOWS_CONTAINER", # accepts 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
|
4185
4550
|
# image_override: "NonEmptyString",
|
4186
|
-
# compute_type_override: "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, ATTRIBUTE_BASED_COMPUTE
|
4551
|
+
# compute_type_override: "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, ATTRIBUTE_BASED_COMPUTE, CUSTOM_INSTANCE_TYPE
|
4187
4552
|
# certificate_override: "String",
|
4188
4553
|
# cache_override: {
|
4189
4554
|
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
@@ -4293,11 +4658,12 @@ module Aws::CodeBuild
|
|
4293
4658
|
# resp.build.cache.cache_namespace #=> String
|
4294
4659
|
# resp.build.environment.type #=> String, one of "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"
|
4295
4660
|
# resp.build.environment.image #=> String
|
4296
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
4661
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
4297
4662
|
# resp.build.environment.compute_configuration.v_cpu #=> Integer
|
4298
4663
|
# resp.build.environment.compute_configuration.memory #=> Integer
|
4299
4664
|
# resp.build.environment.compute_configuration.disk #=> Integer
|
4300
4665
|
# resp.build.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
4666
|
+
# resp.build.environment.compute_configuration.instance_type #=> String
|
4301
4667
|
# resp.build.environment.fleet.fleet_arn #=> String
|
4302
4668
|
# resp.build.environment.environment_variables #=> Array
|
4303
4669
|
# resp.build.environment.environment_variables[0].name #=> String
|
@@ -4664,7 +5030,7 @@ module Aws::CodeBuild
|
|
4664
5030
|
# report_build_batch_status_override: false,
|
4665
5031
|
# environment_type_override: "WINDOWS_CONTAINER", # accepts 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
|
4666
5032
|
# image_override: "NonEmptyString",
|
4667
|
-
# compute_type_override: "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, ATTRIBUTE_BASED_COMPUTE
|
5033
|
+
# compute_type_override: "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, ATTRIBUTE_BASED_COMPUTE, CUSTOM_INSTANCE_TYPE
|
4668
5034
|
# certificate_override: "String",
|
4669
5035
|
# cache_override: {
|
4670
5036
|
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
@@ -4780,11 +5146,12 @@ module Aws::CodeBuild
|
|
4780
5146
|
# resp.build_batch.cache.cache_namespace #=> String
|
4781
5147
|
# resp.build_batch.environment.type #=> String, one of "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"
|
4782
5148
|
# resp.build_batch.environment.image #=> String
|
4783
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
5149
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
4784
5150
|
# resp.build_batch.environment.compute_configuration.v_cpu #=> Integer
|
4785
5151
|
# resp.build_batch.environment.compute_configuration.memory #=> Integer
|
4786
5152
|
# resp.build_batch.environment.compute_configuration.disk #=> Integer
|
4787
5153
|
# resp.build_batch.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5154
|
+
# resp.build_batch.environment.compute_configuration.instance_type #=> String
|
4788
5155
|
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
4789
5156
|
# resp.build_batch.environment.environment_variables #=> Array
|
4790
5157
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
@@ -4868,6 +5235,233 @@ module Aws::CodeBuild
|
|
4868
5235
|
req.send_request(options)
|
4869
5236
|
end
|
4870
5237
|
|
5238
|
+
# Starts a command execution.
|
5239
|
+
#
|
5240
|
+
# @option params [required, String] :sandbox_id
|
5241
|
+
# A `sandboxId` or `sandboxArn`.
|
5242
|
+
#
|
5243
|
+
# @option params [required, String] :command
|
5244
|
+
# The command that needs to be executed.
|
5245
|
+
#
|
5246
|
+
# @option params [String] :type
|
5247
|
+
# The command type.
|
5248
|
+
#
|
5249
|
+
# @return [Types::StartCommandExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5250
|
+
#
|
5251
|
+
# * {Types::StartCommandExecutionOutput#command_execution #command_execution} => Types::CommandExecution
|
5252
|
+
#
|
5253
|
+
# @example Request syntax with placeholder values
|
5254
|
+
#
|
5255
|
+
# resp = client.start_command_execution({
|
5256
|
+
# sandbox_id: "NonEmptyString", # required
|
5257
|
+
# command: "SensitiveNonEmptyString", # required
|
5258
|
+
# type: "SHELL", # accepts SHELL
|
5259
|
+
# })
|
5260
|
+
#
|
5261
|
+
# @example Response structure
|
5262
|
+
#
|
5263
|
+
# resp.command_execution.id #=> String
|
5264
|
+
# resp.command_execution.sandbox_id #=> String
|
5265
|
+
# resp.command_execution.submit_time #=> Time
|
5266
|
+
# resp.command_execution.start_time #=> Time
|
5267
|
+
# resp.command_execution.end_time #=> Time
|
5268
|
+
# resp.command_execution.status #=> String
|
5269
|
+
# resp.command_execution.command #=> String
|
5270
|
+
# resp.command_execution.type #=> String, one of "SHELL"
|
5271
|
+
# resp.command_execution.exit_code #=> String
|
5272
|
+
# resp.command_execution.standard_output_content #=> String
|
5273
|
+
# resp.command_execution.standard_err_content #=> String
|
5274
|
+
# resp.command_execution.logs.group_name #=> String
|
5275
|
+
# resp.command_execution.logs.stream_name #=> String
|
5276
|
+
# resp.command_execution.logs.deep_link #=> String
|
5277
|
+
# resp.command_execution.logs.s3_deep_link #=> String
|
5278
|
+
# resp.command_execution.logs.cloud_watch_logs_arn #=> String
|
5279
|
+
# resp.command_execution.logs.s3_logs_arn #=> String
|
5280
|
+
# resp.command_execution.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5281
|
+
# resp.command_execution.logs.cloud_watch_logs.group_name #=> String
|
5282
|
+
# resp.command_execution.logs.cloud_watch_logs.stream_name #=> String
|
5283
|
+
# resp.command_execution.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5284
|
+
# resp.command_execution.logs.s3_logs.location #=> String
|
5285
|
+
# resp.command_execution.logs.s3_logs.encryption_disabled #=> Boolean
|
5286
|
+
# resp.command_execution.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5287
|
+
# resp.command_execution.sandbox_arn #=> String
|
5288
|
+
#
|
5289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartCommandExecution AWS API Documentation
|
5290
|
+
#
|
5291
|
+
# @overload start_command_execution(params = {})
|
5292
|
+
# @param [Hash] params ({})
|
5293
|
+
def start_command_execution(params = {}, options = {})
|
5294
|
+
req = build_request(:start_command_execution, params)
|
5295
|
+
req.send_request(options)
|
5296
|
+
end
|
5297
|
+
|
5298
|
+
# Starts a sandbox.
|
5299
|
+
#
|
5300
|
+
# @option params [String] :project_name
|
5301
|
+
# The CodeBuild project name.
|
5302
|
+
#
|
5303
|
+
# @option params [String] :idempotency_token
|
5304
|
+
# A unique client token.
|
5305
|
+
#
|
5306
|
+
# @return [Types::StartSandboxOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5307
|
+
#
|
5308
|
+
# * {Types::StartSandboxOutput#sandbox #sandbox} => Types::Sandbox
|
5309
|
+
#
|
5310
|
+
# @example Request syntax with placeholder values
|
5311
|
+
#
|
5312
|
+
# resp = client.start_sandbox({
|
5313
|
+
# project_name: "NonEmptyString",
|
5314
|
+
# idempotency_token: "SensitiveString",
|
5315
|
+
# })
|
5316
|
+
#
|
5317
|
+
# @example Response structure
|
5318
|
+
#
|
5319
|
+
# resp.sandbox.id #=> String
|
5320
|
+
# resp.sandbox.arn #=> String
|
5321
|
+
# resp.sandbox.project_name #=> String
|
5322
|
+
# resp.sandbox.request_time #=> Time
|
5323
|
+
# resp.sandbox.start_time #=> Time
|
5324
|
+
# resp.sandbox.end_time #=> Time
|
5325
|
+
# resp.sandbox.status #=> String
|
5326
|
+
# resp.sandbox.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
5327
|
+
# resp.sandbox.source.location #=> String
|
5328
|
+
# resp.sandbox.source.git_clone_depth #=> Integer
|
5329
|
+
# resp.sandbox.source.git_submodules_config.fetch_submodules #=> Boolean
|
5330
|
+
# resp.sandbox.source.buildspec #=> String
|
5331
|
+
# resp.sandbox.source.auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
5332
|
+
# resp.sandbox.source.auth.resource #=> String
|
5333
|
+
# resp.sandbox.source.report_build_status #=> Boolean
|
5334
|
+
# resp.sandbox.source.build_status_config.context #=> String
|
5335
|
+
# resp.sandbox.source.build_status_config.target_url #=> String
|
5336
|
+
# resp.sandbox.source.insecure_ssl #=> Boolean
|
5337
|
+
# resp.sandbox.source.source_identifier #=> String
|
5338
|
+
# resp.sandbox.source_version #=> String
|
5339
|
+
# resp.sandbox.secondary_sources #=> Array
|
5340
|
+
# resp.sandbox.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
5341
|
+
# resp.sandbox.secondary_sources[0].location #=> String
|
5342
|
+
# resp.sandbox.secondary_sources[0].git_clone_depth #=> Integer
|
5343
|
+
# resp.sandbox.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
5344
|
+
# resp.sandbox.secondary_sources[0].buildspec #=> String
|
5345
|
+
# resp.sandbox.secondary_sources[0].auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
5346
|
+
# resp.sandbox.secondary_sources[0].auth.resource #=> String
|
5347
|
+
# resp.sandbox.secondary_sources[0].report_build_status #=> Boolean
|
5348
|
+
# resp.sandbox.secondary_sources[0].build_status_config.context #=> String
|
5349
|
+
# resp.sandbox.secondary_sources[0].build_status_config.target_url #=> String
|
5350
|
+
# resp.sandbox.secondary_sources[0].insecure_ssl #=> Boolean
|
5351
|
+
# resp.sandbox.secondary_sources[0].source_identifier #=> String
|
5352
|
+
# resp.sandbox.secondary_source_versions #=> Array
|
5353
|
+
# resp.sandbox.secondary_source_versions[0].source_identifier #=> String
|
5354
|
+
# resp.sandbox.secondary_source_versions[0].source_version #=> String
|
5355
|
+
# resp.sandbox.environment.type #=> String, one of "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"
|
5356
|
+
# resp.sandbox.environment.image #=> String
|
5357
|
+
# resp.sandbox.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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
5358
|
+
# resp.sandbox.environment.compute_configuration.v_cpu #=> Integer
|
5359
|
+
# resp.sandbox.environment.compute_configuration.memory #=> Integer
|
5360
|
+
# resp.sandbox.environment.compute_configuration.disk #=> Integer
|
5361
|
+
# resp.sandbox.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5362
|
+
# resp.sandbox.environment.compute_configuration.instance_type #=> String
|
5363
|
+
# resp.sandbox.environment.fleet.fleet_arn #=> String
|
5364
|
+
# resp.sandbox.environment.environment_variables #=> Array
|
5365
|
+
# resp.sandbox.environment.environment_variables[0].name #=> String
|
5366
|
+
# resp.sandbox.environment.environment_variables[0].value #=> String
|
5367
|
+
# resp.sandbox.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
5368
|
+
# resp.sandbox.environment.privileged_mode #=> Boolean
|
5369
|
+
# resp.sandbox.environment.certificate #=> String
|
5370
|
+
# resp.sandbox.environment.registry_credential.credential #=> String
|
5371
|
+
# resp.sandbox.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
5372
|
+
# resp.sandbox.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
5373
|
+
# resp.sandbox.file_system_locations #=> Array
|
5374
|
+
# resp.sandbox.file_system_locations[0].type #=> String, one of "EFS"
|
5375
|
+
# resp.sandbox.file_system_locations[0].location #=> String
|
5376
|
+
# resp.sandbox.file_system_locations[0].mount_point #=> String
|
5377
|
+
# resp.sandbox.file_system_locations[0].identifier #=> String
|
5378
|
+
# resp.sandbox.file_system_locations[0].mount_options #=> String
|
5379
|
+
# resp.sandbox.timeout_in_minutes #=> Integer
|
5380
|
+
# resp.sandbox.queued_timeout_in_minutes #=> Integer
|
5381
|
+
# resp.sandbox.vpc_config.vpc_id #=> String
|
5382
|
+
# resp.sandbox.vpc_config.subnets #=> Array
|
5383
|
+
# resp.sandbox.vpc_config.subnets[0] #=> String
|
5384
|
+
# resp.sandbox.vpc_config.security_group_ids #=> Array
|
5385
|
+
# resp.sandbox.vpc_config.security_group_ids[0] #=> String
|
5386
|
+
# resp.sandbox.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5387
|
+
# resp.sandbox.log_config.cloud_watch_logs.group_name #=> String
|
5388
|
+
# resp.sandbox.log_config.cloud_watch_logs.stream_name #=> String
|
5389
|
+
# resp.sandbox.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5390
|
+
# resp.sandbox.log_config.s3_logs.location #=> String
|
5391
|
+
# resp.sandbox.log_config.s3_logs.encryption_disabled #=> Boolean
|
5392
|
+
# resp.sandbox.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5393
|
+
# resp.sandbox.encryption_key #=> String
|
5394
|
+
# resp.sandbox.service_role #=> String
|
5395
|
+
# resp.sandbox.current_session.id #=> String
|
5396
|
+
# resp.sandbox.current_session.status #=> String
|
5397
|
+
# resp.sandbox.current_session.start_time #=> Time
|
5398
|
+
# resp.sandbox.current_session.end_time #=> Time
|
5399
|
+
# resp.sandbox.current_session.current_phase #=> String
|
5400
|
+
# resp.sandbox.current_session.phases #=> Array
|
5401
|
+
# resp.sandbox.current_session.phases[0].phase_type #=> String
|
5402
|
+
# resp.sandbox.current_session.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
5403
|
+
# resp.sandbox.current_session.phases[0].start_time #=> Time
|
5404
|
+
# resp.sandbox.current_session.phases[0].end_time #=> Time
|
5405
|
+
# resp.sandbox.current_session.phases[0].duration_in_seconds #=> Integer
|
5406
|
+
# resp.sandbox.current_session.phases[0].contexts #=> Array
|
5407
|
+
# resp.sandbox.current_session.phases[0].contexts[0].status_code #=> String
|
5408
|
+
# resp.sandbox.current_session.phases[0].contexts[0].message #=> String
|
5409
|
+
# resp.sandbox.current_session.resolved_source_version #=> String
|
5410
|
+
# resp.sandbox.current_session.logs.group_name #=> String
|
5411
|
+
# resp.sandbox.current_session.logs.stream_name #=> String
|
5412
|
+
# resp.sandbox.current_session.logs.deep_link #=> String
|
5413
|
+
# resp.sandbox.current_session.logs.s3_deep_link #=> String
|
5414
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs_arn #=> String
|
5415
|
+
# resp.sandbox.current_session.logs.s3_logs_arn #=> String
|
5416
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5417
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.group_name #=> String
|
5418
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.stream_name #=> String
|
5419
|
+
# resp.sandbox.current_session.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5420
|
+
# resp.sandbox.current_session.logs.s3_logs.location #=> String
|
5421
|
+
# resp.sandbox.current_session.logs.s3_logs.encryption_disabled #=> Boolean
|
5422
|
+
# resp.sandbox.current_session.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5423
|
+
# resp.sandbox.current_session.network_interface.subnet_id #=> String
|
5424
|
+
# resp.sandbox.current_session.network_interface.network_interface_id #=> String
|
5425
|
+
#
|
5426
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandbox AWS API Documentation
|
5427
|
+
#
|
5428
|
+
# @overload start_sandbox(params = {})
|
5429
|
+
# @param [Hash] params ({})
|
5430
|
+
def start_sandbox(params = {}, options = {})
|
5431
|
+
req = build_request(:start_sandbox, params)
|
5432
|
+
req.send_request(options)
|
5433
|
+
end
|
5434
|
+
|
5435
|
+
# Starts a sandbox connection.
|
5436
|
+
#
|
5437
|
+
# @option params [required, String] :sandbox_id
|
5438
|
+
# A `sandboxId` or `sandboxArn`.
|
5439
|
+
#
|
5440
|
+
# @return [Types::StartSandboxConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5441
|
+
#
|
5442
|
+
# * {Types::StartSandboxConnectionOutput#ssm_session #ssm_session} => Types::SSMSession
|
5443
|
+
#
|
5444
|
+
# @example Request syntax with placeholder values
|
5445
|
+
#
|
5446
|
+
# resp = client.start_sandbox_connection({
|
5447
|
+
# sandbox_id: "NonEmptyString", # required
|
5448
|
+
# })
|
5449
|
+
#
|
5450
|
+
# @example Response structure
|
5451
|
+
#
|
5452
|
+
# resp.ssm_session.session_id #=> String
|
5453
|
+
# resp.ssm_session.token_value #=> String
|
5454
|
+
# resp.ssm_session.stream_url #=> String
|
5455
|
+
#
|
5456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxConnection AWS API Documentation
|
5457
|
+
#
|
5458
|
+
# @overload start_sandbox_connection(params = {})
|
5459
|
+
# @param [Hash] params ({})
|
5460
|
+
def start_sandbox_connection(params = {}, options = {})
|
5461
|
+
req = build_request(:start_sandbox_connection, params)
|
5462
|
+
req.send_request(options)
|
5463
|
+
end
|
5464
|
+
|
4871
5465
|
# Attempts to stop running a build.
|
4872
5466
|
#
|
4873
5467
|
# @option params [required, String] :id
|
@@ -4954,11 +5548,12 @@ module Aws::CodeBuild
|
|
4954
5548
|
# resp.build.cache.cache_namespace #=> String
|
4955
5549
|
# resp.build.environment.type #=> String, one of "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"
|
4956
5550
|
# resp.build.environment.image #=> String
|
4957
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
5551
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
4958
5552
|
# resp.build.environment.compute_configuration.v_cpu #=> Integer
|
4959
5553
|
# resp.build.environment.compute_configuration.memory #=> Integer
|
4960
5554
|
# resp.build.environment.compute_configuration.disk #=> Integer
|
4961
5555
|
# resp.build.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5556
|
+
# resp.build.environment.compute_configuration.instance_type #=> String
|
4962
5557
|
# resp.build.environment.fleet.fleet_arn #=> String
|
4963
5558
|
# resp.build.environment.environment_variables #=> Array
|
4964
5559
|
# resp.build.environment.environment_variables[0].name #=> String
|
@@ -5108,11 +5703,12 @@ module Aws::CodeBuild
|
|
5108
5703
|
# resp.build_batch.cache.cache_namespace #=> String
|
5109
5704
|
# resp.build_batch.environment.type #=> String, one of "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"
|
5110
5705
|
# resp.build_batch.environment.image #=> String
|
5111
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
5706
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
5112
5707
|
# resp.build_batch.environment.compute_configuration.v_cpu #=> Integer
|
5113
5708
|
# resp.build_batch.environment.compute_configuration.memory #=> Integer
|
5114
5709
|
# resp.build_batch.environment.compute_configuration.disk #=> Integer
|
5115
5710
|
# resp.build_batch.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5711
|
+
# resp.build_batch.environment.compute_configuration.instance_type #=> String
|
5116
5712
|
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
5117
5713
|
# resp.build_batch.environment.environment_variables #=> Array
|
5118
5714
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
@@ -5196,6 +5792,139 @@ module Aws::CodeBuild
|
|
5196
5792
|
req.send_request(options)
|
5197
5793
|
end
|
5198
5794
|
|
5795
|
+
# Stops a sandbox.
|
5796
|
+
#
|
5797
|
+
# @option params [required, String] :id
|
5798
|
+
# Information about the requested sandbox ID.
|
5799
|
+
#
|
5800
|
+
# @return [Types::StopSandboxOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5801
|
+
#
|
5802
|
+
# * {Types::StopSandboxOutput#sandbox #sandbox} => Types::Sandbox
|
5803
|
+
#
|
5804
|
+
# @example Request syntax with placeholder values
|
5805
|
+
#
|
5806
|
+
# resp = client.stop_sandbox({
|
5807
|
+
# id: "NonEmptyString", # required
|
5808
|
+
# })
|
5809
|
+
#
|
5810
|
+
# @example Response structure
|
5811
|
+
#
|
5812
|
+
# resp.sandbox.id #=> String
|
5813
|
+
# resp.sandbox.arn #=> String
|
5814
|
+
# resp.sandbox.project_name #=> String
|
5815
|
+
# resp.sandbox.request_time #=> Time
|
5816
|
+
# resp.sandbox.start_time #=> Time
|
5817
|
+
# resp.sandbox.end_time #=> Time
|
5818
|
+
# resp.sandbox.status #=> String
|
5819
|
+
# resp.sandbox.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
5820
|
+
# resp.sandbox.source.location #=> String
|
5821
|
+
# resp.sandbox.source.git_clone_depth #=> Integer
|
5822
|
+
# resp.sandbox.source.git_submodules_config.fetch_submodules #=> Boolean
|
5823
|
+
# resp.sandbox.source.buildspec #=> String
|
5824
|
+
# resp.sandbox.source.auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
5825
|
+
# resp.sandbox.source.auth.resource #=> String
|
5826
|
+
# resp.sandbox.source.report_build_status #=> Boolean
|
5827
|
+
# resp.sandbox.source.build_status_config.context #=> String
|
5828
|
+
# resp.sandbox.source.build_status_config.target_url #=> String
|
5829
|
+
# resp.sandbox.source.insecure_ssl #=> Boolean
|
5830
|
+
# resp.sandbox.source.source_identifier #=> String
|
5831
|
+
# resp.sandbox.source_version #=> String
|
5832
|
+
# resp.sandbox.secondary_sources #=> Array
|
5833
|
+
# resp.sandbox.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
5834
|
+
# resp.sandbox.secondary_sources[0].location #=> String
|
5835
|
+
# resp.sandbox.secondary_sources[0].git_clone_depth #=> Integer
|
5836
|
+
# resp.sandbox.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
5837
|
+
# resp.sandbox.secondary_sources[0].buildspec #=> String
|
5838
|
+
# resp.sandbox.secondary_sources[0].auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
5839
|
+
# resp.sandbox.secondary_sources[0].auth.resource #=> String
|
5840
|
+
# resp.sandbox.secondary_sources[0].report_build_status #=> Boolean
|
5841
|
+
# resp.sandbox.secondary_sources[0].build_status_config.context #=> String
|
5842
|
+
# resp.sandbox.secondary_sources[0].build_status_config.target_url #=> String
|
5843
|
+
# resp.sandbox.secondary_sources[0].insecure_ssl #=> Boolean
|
5844
|
+
# resp.sandbox.secondary_sources[0].source_identifier #=> String
|
5845
|
+
# resp.sandbox.secondary_source_versions #=> Array
|
5846
|
+
# resp.sandbox.secondary_source_versions[0].source_identifier #=> String
|
5847
|
+
# resp.sandbox.secondary_source_versions[0].source_version #=> String
|
5848
|
+
# resp.sandbox.environment.type #=> String, one of "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"
|
5849
|
+
# resp.sandbox.environment.image #=> String
|
5850
|
+
# resp.sandbox.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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
5851
|
+
# resp.sandbox.environment.compute_configuration.v_cpu #=> Integer
|
5852
|
+
# resp.sandbox.environment.compute_configuration.memory #=> Integer
|
5853
|
+
# resp.sandbox.environment.compute_configuration.disk #=> Integer
|
5854
|
+
# resp.sandbox.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5855
|
+
# resp.sandbox.environment.compute_configuration.instance_type #=> String
|
5856
|
+
# resp.sandbox.environment.fleet.fleet_arn #=> String
|
5857
|
+
# resp.sandbox.environment.environment_variables #=> Array
|
5858
|
+
# resp.sandbox.environment.environment_variables[0].name #=> String
|
5859
|
+
# resp.sandbox.environment.environment_variables[0].value #=> String
|
5860
|
+
# resp.sandbox.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
5861
|
+
# resp.sandbox.environment.privileged_mode #=> Boolean
|
5862
|
+
# resp.sandbox.environment.certificate #=> String
|
5863
|
+
# resp.sandbox.environment.registry_credential.credential #=> String
|
5864
|
+
# resp.sandbox.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
5865
|
+
# resp.sandbox.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
5866
|
+
# resp.sandbox.file_system_locations #=> Array
|
5867
|
+
# resp.sandbox.file_system_locations[0].type #=> String, one of "EFS"
|
5868
|
+
# resp.sandbox.file_system_locations[0].location #=> String
|
5869
|
+
# resp.sandbox.file_system_locations[0].mount_point #=> String
|
5870
|
+
# resp.sandbox.file_system_locations[0].identifier #=> String
|
5871
|
+
# resp.sandbox.file_system_locations[0].mount_options #=> String
|
5872
|
+
# resp.sandbox.timeout_in_minutes #=> Integer
|
5873
|
+
# resp.sandbox.queued_timeout_in_minutes #=> Integer
|
5874
|
+
# resp.sandbox.vpc_config.vpc_id #=> String
|
5875
|
+
# resp.sandbox.vpc_config.subnets #=> Array
|
5876
|
+
# resp.sandbox.vpc_config.subnets[0] #=> String
|
5877
|
+
# resp.sandbox.vpc_config.security_group_ids #=> Array
|
5878
|
+
# resp.sandbox.vpc_config.security_group_ids[0] #=> String
|
5879
|
+
# resp.sandbox.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5880
|
+
# resp.sandbox.log_config.cloud_watch_logs.group_name #=> String
|
5881
|
+
# resp.sandbox.log_config.cloud_watch_logs.stream_name #=> String
|
5882
|
+
# resp.sandbox.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5883
|
+
# resp.sandbox.log_config.s3_logs.location #=> String
|
5884
|
+
# resp.sandbox.log_config.s3_logs.encryption_disabled #=> Boolean
|
5885
|
+
# resp.sandbox.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5886
|
+
# resp.sandbox.encryption_key #=> String
|
5887
|
+
# resp.sandbox.service_role #=> String
|
5888
|
+
# resp.sandbox.current_session.id #=> String
|
5889
|
+
# resp.sandbox.current_session.status #=> String
|
5890
|
+
# resp.sandbox.current_session.start_time #=> Time
|
5891
|
+
# resp.sandbox.current_session.end_time #=> Time
|
5892
|
+
# resp.sandbox.current_session.current_phase #=> String
|
5893
|
+
# resp.sandbox.current_session.phases #=> Array
|
5894
|
+
# resp.sandbox.current_session.phases[0].phase_type #=> String
|
5895
|
+
# resp.sandbox.current_session.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
5896
|
+
# resp.sandbox.current_session.phases[0].start_time #=> Time
|
5897
|
+
# resp.sandbox.current_session.phases[0].end_time #=> Time
|
5898
|
+
# resp.sandbox.current_session.phases[0].duration_in_seconds #=> Integer
|
5899
|
+
# resp.sandbox.current_session.phases[0].contexts #=> Array
|
5900
|
+
# resp.sandbox.current_session.phases[0].contexts[0].status_code #=> String
|
5901
|
+
# resp.sandbox.current_session.phases[0].contexts[0].message #=> String
|
5902
|
+
# resp.sandbox.current_session.resolved_source_version #=> String
|
5903
|
+
# resp.sandbox.current_session.logs.group_name #=> String
|
5904
|
+
# resp.sandbox.current_session.logs.stream_name #=> String
|
5905
|
+
# resp.sandbox.current_session.logs.deep_link #=> String
|
5906
|
+
# resp.sandbox.current_session.logs.s3_deep_link #=> String
|
5907
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs_arn #=> String
|
5908
|
+
# resp.sandbox.current_session.logs.s3_logs_arn #=> String
|
5909
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5910
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.group_name #=> String
|
5911
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.stream_name #=> String
|
5912
|
+
# resp.sandbox.current_session.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5913
|
+
# resp.sandbox.current_session.logs.s3_logs.location #=> String
|
5914
|
+
# resp.sandbox.current_session.logs.s3_logs.encryption_disabled #=> Boolean
|
5915
|
+
# resp.sandbox.current_session.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5916
|
+
# resp.sandbox.current_session.network_interface.subnet_id #=> String
|
5917
|
+
# resp.sandbox.current_session.network_interface.network_interface_id #=> String
|
5918
|
+
#
|
5919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopSandbox AWS API Documentation
|
5920
|
+
#
|
5921
|
+
# @overload stop_sandbox(params = {})
|
5922
|
+
# @param [Hash] params ({})
|
5923
|
+
def stop_sandbox(params = {}, options = {})
|
5924
|
+
req = build_request(:stop_sandbox, params)
|
5925
|
+
req.send_request(options)
|
5926
|
+
end
|
5927
|
+
|
5199
5928
|
# Updates a compute fleet.
|
5200
5929
|
#
|
5201
5930
|
# @option params [required, String] :arn
|
@@ -5413,12 +6142,13 @@ module Aws::CodeBuild
|
|
5413
6142
|
# arn: "NonEmptyString", # required
|
5414
6143
|
# base_capacity: 1,
|
5415
6144
|
# environment_type: "WINDOWS_CONTAINER", # accepts 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
|
5416
|
-
# 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, ATTRIBUTE_BASED_COMPUTE
|
6145
|
+
# 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, ATTRIBUTE_BASED_COMPUTE, CUSTOM_INSTANCE_TYPE
|
5417
6146
|
# compute_configuration: {
|
5418
6147
|
# v_cpu: 1,
|
5419
6148
|
# memory: 1,
|
5420
6149
|
# disk: 1,
|
5421
6150
|
# machine_type: "GENERAL", # accepts GENERAL, NVME
|
6151
|
+
# instance_type: "NonEmptyString",
|
5422
6152
|
# },
|
5423
6153
|
# scaling_configuration: {
|
5424
6154
|
# scaling_type: "TARGET_TRACKING_SCALING", # accepts TARGET_TRACKING_SCALING
|
@@ -5468,11 +6198,12 @@ module Aws::CodeBuild
|
|
5468
6198
|
# resp.fleet.status.message #=> String
|
5469
6199
|
# resp.fleet.base_capacity #=> Integer
|
5470
6200
|
# resp.fleet.environment_type #=> String, one of "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"
|
5471
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
6201
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
5472
6202
|
# resp.fleet.compute_configuration.v_cpu #=> Integer
|
5473
6203
|
# resp.fleet.compute_configuration.memory #=> Integer
|
5474
6204
|
# resp.fleet.compute_configuration.disk #=> Integer
|
5475
6205
|
# resp.fleet.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
6206
|
+
# resp.fleet.compute_configuration.instance_type #=> String
|
5476
6207
|
# resp.fleet.scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
5477
6208
|
# resp.fleet.scaling_configuration.target_tracking_scaling_configs #=> Array
|
5478
6209
|
# resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
@@ -5742,12 +6473,13 @@ module Aws::CodeBuild
|
|
5742
6473
|
# environment: {
|
5743
6474
|
# type: "WINDOWS_CONTAINER", # required, accepts 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
|
5744
6475
|
# image: "NonEmptyString", # required
|
5745
|
-
# 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, ATTRIBUTE_BASED_COMPUTE
|
6476
|
+
# 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, ATTRIBUTE_BASED_COMPUTE, CUSTOM_INSTANCE_TYPE
|
5746
6477
|
# compute_configuration: {
|
5747
6478
|
# v_cpu: 1,
|
5748
6479
|
# memory: 1,
|
5749
6480
|
# disk: 1,
|
5750
6481
|
# machine_type: "GENERAL", # accepts GENERAL, NVME
|
6482
|
+
# instance_type: "NonEmptyString",
|
5751
6483
|
# },
|
5752
6484
|
# fleet: {
|
5753
6485
|
# fleet_arn: "String",
|
@@ -5882,11 +6614,12 @@ module Aws::CodeBuild
|
|
5882
6614
|
# resp.project.cache.cache_namespace #=> String
|
5883
6615
|
# resp.project.environment.type #=> String, one of "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"
|
5884
6616
|
# resp.project.environment.image #=> String
|
5885
|
-
# 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", "ATTRIBUTE_BASED_COMPUTE"
|
6617
|
+
# 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", "ATTRIBUTE_BASED_COMPUTE", "CUSTOM_INSTANCE_TYPE"
|
5886
6618
|
# resp.project.environment.compute_configuration.v_cpu #=> Integer
|
5887
6619
|
# resp.project.environment.compute_configuration.memory #=> Integer
|
5888
6620
|
# resp.project.environment.compute_configuration.disk #=> Integer
|
5889
6621
|
# resp.project.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
6622
|
+
# resp.project.environment.compute_configuration.instance_type #=> String
|
5890
6623
|
# resp.project.environment.fleet.fleet_arn #=> String
|
5891
6624
|
# resp.project.environment.environment_variables #=> Array
|
5892
6625
|
# resp.project.environment.environment_variables[0].name #=> String
|
@@ -6239,7 +6972,7 @@ module Aws::CodeBuild
|
|
6239
6972
|
tracer: tracer
|
6240
6973
|
)
|
6241
6974
|
context[:gem_name] = 'aws-sdk-codebuild'
|
6242
|
-
context[:gem_version] = '1.
|
6975
|
+
context[:gem_version] = '1.152.0'
|
6243
6976
|
Seahorse::Client::Request.new(handlers, context)
|
6244
6977
|
end
|
6245
6978
|
|