aws-sdk-codebuild 1.150.0 → 1.151.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +713 -1
- data/lib/aws-sdk-codebuild/client_api.rb +280 -0
- data/lib/aws-sdk-codebuild/errors.rb +11 -0
- data/lib/aws-sdk-codebuild/types.rb +650 -0
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +107 -0
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +181 -0
- metadata +2 -2
@@ -846,6 +846,66 @@ module Aws::CodeBuild
|
|
846
846
|
req.send_request(options)
|
847
847
|
end
|
848
848
|
|
849
|
+
# Gets information about the command executions.
|
850
|
+
#
|
851
|
+
# @option params [required, String] :sandbox_id
|
852
|
+
# A `sandboxId` or `sandboxArn`.
|
853
|
+
#
|
854
|
+
# @option params [required, Array<String>] :command_execution_ids
|
855
|
+
# A comma separated list of `commandExecutionIds`.
|
856
|
+
#
|
857
|
+
# @return [Types::BatchGetCommandExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
858
|
+
#
|
859
|
+
# * {Types::BatchGetCommandExecutionsOutput#command_executions #command_executions} => Array<Types::CommandExecution>
|
860
|
+
# * {Types::BatchGetCommandExecutionsOutput#command_executions_not_found #command_executions_not_found} => Array<String>
|
861
|
+
#
|
862
|
+
# @example Request syntax with placeholder values
|
863
|
+
#
|
864
|
+
# resp = client.batch_get_command_executions({
|
865
|
+
# sandbox_id: "NonEmptyString", # required
|
866
|
+
# command_execution_ids: ["NonEmptyString"], # required
|
867
|
+
# })
|
868
|
+
#
|
869
|
+
# @example Response structure
|
870
|
+
#
|
871
|
+
# resp.command_executions #=> Array
|
872
|
+
# resp.command_executions[0].id #=> String
|
873
|
+
# resp.command_executions[0].sandbox_id #=> String
|
874
|
+
# resp.command_executions[0].submit_time #=> Time
|
875
|
+
# resp.command_executions[0].start_time #=> Time
|
876
|
+
# resp.command_executions[0].end_time #=> Time
|
877
|
+
# resp.command_executions[0].status #=> String
|
878
|
+
# resp.command_executions[0].command #=> String
|
879
|
+
# resp.command_executions[0].type #=> String, one of "SHELL"
|
880
|
+
# resp.command_executions[0].exit_code #=> String
|
881
|
+
# resp.command_executions[0].standard_output_content #=> String
|
882
|
+
# resp.command_executions[0].standard_err_content #=> String
|
883
|
+
# resp.command_executions[0].logs.group_name #=> String
|
884
|
+
# resp.command_executions[0].logs.stream_name #=> String
|
885
|
+
# resp.command_executions[0].logs.deep_link #=> String
|
886
|
+
# resp.command_executions[0].logs.s3_deep_link #=> String
|
887
|
+
# resp.command_executions[0].logs.cloud_watch_logs_arn #=> String
|
888
|
+
# resp.command_executions[0].logs.s3_logs_arn #=> String
|
889
|
+
# resp.command_executions[0].logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
890
|
+
# resp.command_executions[0].logs.cloud_watch_logs.group_name #=> String
|
891
|
+
# resp.command_executions[0].logs.cloud_watch_logs.stream_name #=> String
|
892
|
+
# resp.command_executions[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
893
|
+
# resp.command_executions[0].logs.s3_logs.location #=> String
|
894
|
+
# resp.command_executions[0].logs.s3_logs.encryption_disabled #=> Boolean
|
895
|
+
# resp.command_executions[0].logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
896
|
+
# resp.command_executions[0].sandbox_arn #=> String
|
897
|
+
# resp.command_executions_not_found #=> Array
|
898
|
+
# resp.command_executions_not_found[0] #=> String
|
899
|
+
#
|
900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetCommandExecutions AWS API Documentation
|
901
|
+
#
|
902
|
+
# @overload batch_get_command_executions(params = {})
|
903
|
+
# @param [Hash] params ({})
|
904
|
+
def batch_get_command_executions(params = {}, options = {})
|
905
|
+
req = build_request(:batch_get_command_executions, params)
|
906
|
+
req.send_request(options)
|
907
|
+
end
|
908
|
+
|
849
909
|
# Gets information about one or more compute fleets.
|
850
910
|
#
|
851
911
|
# @option params [required, Array<String>] :names
|
@@ -1188,6 +1248,142 @@ module Aws::CodeBuild
|
|
1188
1248
|
req.send_request(options)
|
1189
1249
|
end
|
1190
1250
|
|
1251
|
+
# Gets information about the sandbox status.
|
1252
|
+
#
|
1253
|
+
# @option params [required, Array<String>] :ids
|
1254
|
+
# A comma separated list of `sandboxIds` or `sandboxArns`.
|
1255
|
+
#
|
1256
|
+
# @return [Types::BatchGetSandboxesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1257
|
+
#
|
1258
|
+
# * {Types::BatchGetSandboxesOutput#sandboxes #sandboxes} => Array<Types::Sandbox>
|
1259
|
+
# * {Types::BatchGetSandboxesOutput#sandboxes_not_found #sandboxes_not_found} => Array<String>
|
1260
|
+
#
|
1261
|
+
# @example Request syntax with placeholder values
|
1262
|
+
#
|
1263
|
+
# resp = client.batch_get_sandboxes({
|
1264
|
+
# ids: ["NonEmptyString"], # required
|
1265
|
+
# })
|
1266
|
+
#
|
1267
|
+
# @example Response structure
|
1268
|
+
#
|
1269
|
+
# resp.sandboxes #=> Array
|
1270
|
+
# resp.sandboxes[0].id #=> String
|
1271
|
+
# resp.sandboxes[0].arn #=> String
|
1272
|
+
# resp.sandboxes[0].project_name #=> String
|
1273
|
+
# resp.sandboxes[0].request_time #=> Time
|
1274
|
+
# resp.sandboxes[0].start_time #=> Time
|
1275
|
+
# resp.sandboxes[0].end_time #=> Time
|
1276
|
+
# resp.sandboxes[0].status #=> String
|
1277
|
+
# resp.sandboxes[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
1278
|
+
# resp.sandboxes[0].source.location #=> String
|
1279
|
+
# resp.sandboxes[0].source.git_clone_depth #=> Integer
|
1280
|
+
# resp.sandboxes[0].source.git_submodules_config.fetch_submodules #=> Boolean
|
1281
|
+
# resp.sandboxes[0].source.buildspec #=> String
|
1282
|
+
# resp.sandboxes[0].source.auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
1283
|
+
# resp.sandboxes[0].source.auth.resource #=> String
|
1284
|
+
# resp.sandboxes[0].source.report_build_status #=> Boolean
|
1285
|
+
# resp.sandboxes[0].source.build_status_config.context #=> String
|
1286
|
+
# resp.sandboxes[0].source.build_status_config.target_url #=> String
|
1287
|
+
# resp.sandboxes[0].source.insecure_ssl #=> Boolean
|
1288
|
+
# resp.sandboxes[0].source.source_identifier #=> String
|
1289
|
+
# resp.sandboxes[0].source_version #=> String
|
1290
|
+
# resp.sandboxes[0].secondary_sources #=> Array
|
1291
|
+
# resp.sandboxes[0].secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
1292
|
+
# resp.sandboxes[0].secondary_sources[0].location #=> String
|
1293
|
+
# resp.sandboxes[0].secondary_sources[0].git_clone_depth #=> Integer
|
1294
|
+
# resp.sandboxes[0].secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
1295
|
+
# resp.sandboxes[0].secondary_sources[0].buildspec #=> String
|
1296
|
+
# resp.sandboxes[0].secondary_sources[0].auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
1297
|
+
# resp.sandboxes[0].secondary_sources[0].auth.resource #=> String
|
1298
|
+
# resp.sandboxes[0].secondary_sources[0].report_build_status #=> Boolean
|
1299
|
+
# resp.sandboxes[0].secondary_sources[0].build_status_config.context #=> String
|
1300
|
+
# resp.sandboxes[0].secondary_sources[0].build_status_config.target_url #=> String
|
1301
|
+
# resp.sandboxes[0].secondary_sources[0].insecure_ssl #=> Boolean
|
1302
|
+
# resp.sandboxes[0].secondary_sources[0].source_identifier #=> String
|
1303
|
+
# resp.sandboxes[0].secondary_source_versions #=> Array
|
1304
|
+
# resp.sandboxes[0].secondary_source_versions[0].source_identifier #=> String
|
1305
|
+
# resp.sandboxes[0].secondary_source_versions[0].source_version #=> String
|
1306
|
+
# 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"
|
1307
|
+
# resp.sandboxes[0].environment.image #=> String
|
1308
|
+
# 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"
|
1309
|
+
# resp.sandboxes[0].environment.compute_configuration.v_cpu #=> Integer
|
1310
|
+
# resp.sandboxes[0].environment.compute_configuration.memory #=> Integer
|
1311
|
+
# resp.sandboxes[0].environment.compute_configuration.disk #=> Integer
|
1312
|
+
# resp.sandboxes[0].environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
1313
|
+
# resp.sandboxes[0].environment.fleet.fleet_arn #=> String
|
1314
|
+
# resp.sandboxes[0].environment.environment_variables #=> Array
|
1315
|
+
# resp.sandboxes[0].environment.environment_variables[0].name #=> String
|
1316
|
+
# resp.sandboxes[0].environment.environment_variables[0].value #=> String
|
1317
|
+
# resp.sandboxes[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
1318
|
+
# resp.sandboxes[0].environment.privileged_mode #=> Boolean
|
1319
|
+
# resp.sandboxes[0].environment.certificate #=> String
|
1320
|
+
# resp.sandboxes[0].environment.registry_credential.credential #=> String
|
1321
|
+
# resp.sandboxes[0].environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
1322
|
+
# resp.sandboxes[0].environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
1323
|
+
# resp.sandboxes[0].file_system_locations #=> Array
|
1324
|
+
# resp.sandboxes[0].file_system_locations[0].type #=> String, one of "EFS"
|
1325
|
+
# resp.sandboxes[0].file_system_locations[0].location #=> String
|
1326
|
+
# resp.sandboxes[0].file_system_locations[0].mount_point #=> String
|
1327
|
+
# resp.sandboxes[0].file_system_locations[0].identifier #=> String
|
1328
|
+
# resp.sandboxes[0].file_system_locations[0].mount_options #=> String
|
1329
|
+
# resp.sandboxes[0].timeout_in_minutes #=> Integer
|
1330
|
+
# resp.sandboxes[0].queued_timeout_in_minutes #=> Integer
|
1331
|
+
# resp.sandboxes[0].vpc_config.vpc_id #=> String
|
1332
|
+
# resp.sandboxes[0].vpc_config.subnets #=> Array
|
1333
|
+
# resp.sandboxes[0].vpc_config.subnets[0] #=> String
|
1334
|
+
# resp.sandboxes[0].vpc_config.security_group_ids #=> Array
|
1335
|
+
# resp.sandboxes[0].vpc_config.security_group_ids[0] #=> String
|
1336
|
+
# resp.sandboxes[0].log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1337
|
+
# resp.sandboxes[0].log_config.cloud_watch_logs.group_name #=> String
|
1338
|
+
# resp.sandboxes[0].log_config.cloud_watch_logs.stream_name #=> String
|
1339
|
+
# resp.sandboxes[0].log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1340
|
+
# resp.sandboxes[0].log_config.s3_logs.location #=> String
|
1341
|
+
# resp.sandboxes[0].log_config.s3_logs.encryption_disabled #=> Boolean
|
1342
|
+
# resp.sandboxes[0].log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1343
|
+
# resp.sandboxes[0].encryption_key #=> String
|
1344
|
+
# resp.sandboxes[0].service_role #=> String
|
1345
|
+
# resp.sandboxes[0].current_session.id #=> String
|
1346
|
+
# resp.sandboxes[0].current_session.status #=> String
|
1347
|
+
# resp.sandboxes[0].current_session.start_time #=> Time
|
1348
|
+
# resp.sandboxes[0].current_session.end_time #=> Time
|
1349
|
+
# resp.sandboxes[0].current_session.current_phase #=> String
|
1350
|
+
# resp.sandboxes[0].current_session.phases #=> Array
|
1351
|
+
# resp.sandboxes[0].current_session.phases[0].phase_type #=> String
|
1352
|
+
# resp.sandboxes[0].current_session.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
1353
|
+
# resp.sandboxes[0].current_session.phases[0].start_time #=> Time
|
1354
|
+
# resp.sandboxes[0].current_session.phases[0].end_time #=> Time
|
1355
|
+
# resp.sandboxes[0].current_session.phases[0].duration_in_seconds #=> Integer
|
1356
|
+
# resp.sandboxes[0].current_session.phases[0].contexts #=> Array
|
1357
|
+
# resp.sandboxes[0].current_session.phases[0].contexts[0].status_code #=> String
|
1358
|
+
# resp.sandboxes[0].current_session.phases[0].contexts[0].message #=> String
|
1359
|
+
# resp.sandboxes[0].current_session.resolved_source_version #=> String
|
1360
|
+
# resp.sandboxes[0].current_session.logs.group_name #=> String
|
1361
|
+
# resp.sandboxes[0].current_session.logs.stream_name #=> String
|
1362
|
+
# resp.sandboxes[0].current_session.logs.deep_link #=> String
|
1363
|
+
# resp.sandboxes[0].current_session.logs.s3_deep_link #=> String
|
1364
|
+
# resp.sandboxes[0].current_session.logs.cloud_watch_logs_arn #=> String
|
1365
|
+
# resp.sandboxes[0].current_session.logs.s3_logs_arn #=> String
|
1366
|
+
# resp.sandboxes[0].current_session.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1367
|
+
# resp.sandboxes[0].current_session.logs.cloud_watch_logs.group_name #=> String
|
1368
|
+
# resp.sandboxes[0].current_session.logs.cloud_watch_logs.stream_name #=> String
|
1369
|
+
# resp.sandboxes[0].current_session.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1370
|
+
# resp.sandboxes[0].current_session.logs.s3_logs.location #=> String
|
1371
|
+
# resp.sandboxes[0].current_session.logs.s3_logs.encryption_disabled #=> Boolean
|
1372
|
+
# resp.sandboxes[0].current_session.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1373
|
+
# resp.sandboxes[0].current_session.network_interface.subnet_id #=> String
|
1374
|
+
# resp.sandboxes[0].current_session.network_interface.network_interface_id #=> String
|
1375
|
+
# resp.sandboxes_not_found #=> Array
|
1376
|
+
# resp.sandboxes_not_found[0] #=> String
|
1377
|
+
#
|
1378
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetSandboxes AWS API Documentation
|
1379
|
+
#
|
1380
|
+
# @overload batch_get_sandboxes(params = {})
|
1381
|
+
# @param [Hash] params ({})
|
1382
|
+
def batch_get_sandboxes(params = {}, options = {})
|
1383
|
+
req = build_request(:batch_get_sandboxes, params)
|
1384
|
+
req.send_request(options)
|
1385
|
+
end
|
1386
|
+
|
1191
1387
|
# Creates a compute fleet.
|
1192
1388
|
#
|
1193
1389
|
# @option params [required, String] :name
|
@@ -2943,6 +3139,76 @@ module Aws::CodeBuild
|
|
2943
3139
|
req.send_request(options)
|
2944
3140
|
end
|
2945
3141
|
|
3142
|
+
# Gets a list of command executions for a sandbox.
|
3143
|
+
#
|
3144
|
+
# @option params [required, String] :sandbox_id
|
3145
|
+
# A `sandboxId` or `sandboxArn`.
|
3146
|
+
#
|
3147
|
+
# @option params [Integer] :max_results
|
3148
|
+
# The maximum number of sandbox records to be retrieved.
|
3149
|
+
#
|
3150
|
+
# @option params [String] :sort_order
|
3151
|
+
# The order in which sandbox records should be retrieved.
|
3152
|
+
#
|
3153
|
+
# @option params [String] :next_token
|
3154
|
+
# The next token, if any, to get paginated results. You will get this
|
3155
|
+
# value from previous execution of list sandboxes.
|
3156
|
+
#
|
3157
|
+
# @return [Types::ListCommandExecutionsForSandboxOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3158
|
+
#
|
3159
|
+
# * {Types::ListCommandExecutionsForSandboxOutput#command_executions #command_executions} => Array<Types::CommandExecution>
|
3160
|
+
# * {Types::ListCommandExecutionsForSandboxOutput#next_token #next_token} => String
|
3161
|
+
#
|
3162
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3163
|
+
#
|
3164
|
+
# @example Request syntax with placeholder values
|
3165
|
+
#
|
3166
|
+
# resp = client.list_command_executions_for_sandbox({
|
3167
|
+
# sandbox_id: "NonEmptyString", # required
|
3168
|
+
# max_results: 1,
|
3169
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3170
|
+
# next_token: "SensitiveString",
|
3171
|
+
# })
|
3172
|
+
#
|
3173
|
+
# @example Response structure
|
3174
|
+
#
|
3175
|
+
# resp.command_executions #=> Array
|
3176
|
+
# resp.command_executions[0].id #=> String
|
3177
|
+
# resp.command_executions[0].sandbox_id #=> String
|
3178
|
+
# resp.command_executions[0].submit_time #=> Time
|
3179
|
+
# resp.command_executions[0].start_time #=> Time
|
3180
|
+
# resp.command_executions[0].end_time #=> Time
|
3181
|
+
# resp.command_executions[0].status #=> String
|
3182
|
+
# resp.command_executions[0].command #=> String
|
3183
|
+
# resp.command_executions[0].type #=> String, one of "SHELL"
|
3184
|
+
# resp.command_executions[0].exit_code #=> String
|
3185
|
+
# resp.command_executions[0].standard_output_content #=> String
|
3186
|
+
# resp.command_executions[0].standard_err_content #=> String
|
3187
|
+
# resp.command_executions[0].logs.group_name #=> String
|
3188
|
+
# resp.command_executions[0].logs.stream_name #=> String
|
3189
|
+
# resp.command_executions[0].logs.deep_link #=> String
|
3190
|
+
# resp.command_executions[0].logs.s3_deep_link #=> String
|
3191
|
+
# resp.command_executions[0].logs.cloud_watch_logs_arn #=> String
|
3192
|
+
# resp.command_executions[0].logs.s3_logs_arn #=> String
|
3193
|
+
# resp.command_executions[0].logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3194
|
+
# resp.command_executions[0].logs.cloud_watch_logs.group_name #=> String
|
3195
|
+
# resp.command_executions[0].logs.cloud_watch_logs.stream_name #=> String
|
3196
|
+
# resp.command_executions[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3197
|
+
# resp.command_executions[0].logs.s3_logs.location #=> String
|
3198
|
+
# resp.command_executions[0].logs.s3_logs.encryption_disabled #=> Boolean
|
3199
|
+
# resp.command_executions[0].logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3200
|
+
# resp.command_executions[0].sandbox_arn #=> String
|
3201
|
+
# resp.next_token #=> String
|
3202
|
+
#
|
3203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCommandExecutionsForSandbox AWS API Documentation
|
3204
|
+
#
|
3205
|
+
# @overload list_command_executions_for_sandbox(params = {})
|
3206
|
+
# @param [Hash] params ({})
|
3207
|
+
def list_command_executions_for_sandbox(params = {}, options = {})
|
3208
|
+
req = build_request(:list_command_executions_for_sandbox, params)
|
3209
|
+
req.send_request(options)
|
3210
|
+
end
|
3211
|
+
|
2946
3212
|
# Gets information about Docker images that are managed by CodeBuild.
|
2947
3213
|
#
|
2948
3214
|
# @return [Types::ListCuratedEnvironmentImagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3294,6 +3560,94 @@ module Aws::CodeBuild
|
|
3294
3560
|
req.send_request(options)
|
3295
3561
|
end
|
3296
3562
|
|
3563
|
+
# Gets a list of sandboxes.
|
3564
|
+
#
|
3565
|
+
# @option params [Integer] :max_results
|
3566
|
+
# The maximum number of sandbox records to be retrieved.
|
3567
|
+
#
|
3568
|
+
# @option params [String] :sort_order
|
3569
|
+
# The order in which sandbox records should be retrieved.
|
3570
|
+
#
|
3571
|
+
# @option params [String] :next_token
|
3572
|
+
# The next token, if any, to get paginated results. You will get this
|
3573
|
+
# value from previous execution of list sandboxes.
|
3574
|
+
#
|
3575
|
+
# @return [Types::ListSandboxesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3576
|
+
#
|
3577
|
+
# * {Types::ListSandboxesOutput#ids #ids} => Array<String>
|
3578
|
+
# * {Types::ListSandboxesOutput#next_token #next_token} => String
|
3579
|
+
#
|
3580
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3581
|
+
#
|
3582
|
+
# @example Request syntax with placeholder values
|
3583
|
+
#
|
3584
|
+
# resp = client.list_sandboxes({
|
3585
|
+
# max_results: 1,
|
3586
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3587
|
+
# next_token: "String",
|
3588
|
+
# })
|
3589
|
+
#
|
3590
|
+
# @example Response structure
|
3591
|
+
#
|
3592
|
+
# resp.ids #=> Array
|
3593
|
+
# resp.ids[0] #=> String
|
3594
|
+
# resp.next_token #=> String
|
3595
|
+
#
|
3596
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxes AWS API Documentation
|
3597
|
+
#
|
3598
|
+
# @overload list_sandboxes(params = {})
|
3599
|
+
# @param [Hash] params ({})
|
3600
|
+
def list_sandboxes(params = {}, options = {})
|
3601
|
+
req = build_request(:list_sandboxes, params)
|
3602
|
+
req.send_request(options)
|
3603
|
+
end
|
3604
|
+
|
3605
|
+
# Gets a list of sandboxes for a given project.
|
3606
|
+
#
|
3607
|
+
# @option params [required, String] :project_name
|
3608
|
+
# The CodeBuild project name.
|
3609
|
+
#
|
3610
|
+
# @option params [Integer] :max_results
|
3611
|
+
# The maximum number of sandbox records to be retrieved.
|
3612
|
+
#
|
3613
|
+
# @option params [String] :sort_order
|
3614
|
+
# The order in which sandbox records should be retrieved.
|
3615
|
+
#
|
3616
|
+
# @option params [String] :next_token
|
3617
|
+
# The next token, if any, to get paginated results. You will get this
|
3618
|
+
# value from previous execution of list sandboxes.
|
3619
|
+
#
|
3620
|
+
# @return [Types::ListSandboxesForProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3621
|
+
#
|
3622
|
+
# * {Types::ListSandboxesForProjectOutput#ids #ids} => Array<String>
|
3623
|
+
# * {Types::ListSandboxesForProjectOutput#next_token #next_token} => String
|
3624
|
+
#
|
3625
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3626
|
+
#
|
3627
|
+
# @example Request syntax with placeholder values
|
3628
|
+
#
|
3629
|
+
# resp = client.list_sandboxes_for_project({
|
3630
|
+
# project_name: "NonEmptyString", # required
|
3631
|
+
# max_results: 1,
|
3632
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3633
|
+
# next_token: "SensitiveString",
|
3634
|
+
# })
|
3635
|
+
#
|
3636
|
+
# @example Response structure
|
3637
|
+
#
|
3638
|
+
# resp.ids #=> Array
|
3639
|
+
# resp.ids[0] #=> String
|
3640
|
+
# resp.next_token #=> String
|
3641
|
+
#
|
3642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesForProject AWS API Documentation
|
3643
|
+
#
|
3644
|
+
# @overload list_sandboxes_for_project(params = {})
|
3645
|
+
# @param [Hash] params ({})
|
3646
|
+
def list_sandboxes_for_project(params = {}, options = {})
|
3647
|
+
req = build_request(:list_sandboxes_for_project, params)
|
3648
|
+
req.send_request(options)
|
3649
|
+
end
|
3650
|
+
|
3297
3651
|
# Gets a list of projects that are shared with other Amazon Web Services
|
3298
3652
|
# accounts or users.
|
3299
3653
|
#
|
@@ -4868,6 +5222,232 @@ module Aws::CodeBuild
|
|
4868
5222
|
req.send_request(options)
|
4869
5223
|
end
|
4870
5224
|
|
5225
|
+
# Starts a command execution.
|
5226
|
+
#
|
5227
|
+
# @option params [required, String] :sandbox_id
|
5228
|
+
# A `sandboxId` or `sandboxArn`.
|
5229
|
+
#
|
5230
|
+
# @option params [required, String] :command
|
5231
|
+
# The command that needs to be executed.
|
5232
|
+
#
|
5233
|
+
# @option params [String] :type
|
5234
|
+
# The command type.
|
5235
|
+
#
|
5236
|
+
# @return [Types::StartCommandExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5237
|
+
#
|
5238
|
+
# * {Types::StartCommandExecutionOutput#command_execution #command_execution} => Types::CommandExecution
|
5239
|
+
#
|
5240
|
+
# @example Request syntax with placeholder values
|
5241
|
+
#
|
5242
|
+
# resp = client.start_command_execution({
|
5243
|
+
# sandbox_id: "NonEmptyString", # required
|
5244
|
+
# command: "SensitiveNonEmptyString", # required
|
5245
|
+
# type: "SHELL", # accepts SHELL
|
5246
|
+
# })
|
5247
|
+
#
|
5248
|
+
# @example Response structure
|
5249
|
+
#
|
5250
|
+
# resp.command_execution.id #=> String
|
5251
|
+
# resp.command_execution.sandbox_id #=> String
|
5252
|
+
# resp.command_execution.submit_time #=> Time
|
5253
|
+
# resp.command_execution.start_time #=> Time
|
5254
|
+
# resp.command_execution.end_time #=> Time
|
5255
|
+
# resp.command_execution.status #=> String
|
5256
|
+
# resp.command_execution.command #=> String
|
5257
|
+
# resp.command_execution.type #=> String, one of "SHELL"
|
5258
|
+
# resp.command_execution.exit_code #=> String
|
5259
|
+
# resp.command_execution.standard_output_content #=> String
|
5260
|
+
# resp.command_execution.standard_err_content #=> String
|
5261
|
+
# resp.command_execution.logs.group_name #=> String
|
5262
|
+
# resp.command_execution.logs.stream_name #=> String
|
5263
|
+
# resp.command_execution.logs.deep_link #=> String
|
5264
|
+
# resp.command_execution.logs.s3_deep_link #=> String
|
5265
|
+
# resp.command_execution.logs.cloud_watch_logs_arn #=> String
|
5266
|
+
# resp.command_execution.logs.s3_logs_arn #=> String
|
5267
|
+
# resp.command_execution.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5268
|
+
# resp.command_execution.logs.cloud_watch_logs.group_name #=> String
|
5269
|
+
# resp.command_execution.logs.cloud_watch_logs.stream_name #=> String
|
5270
|
+
# resp.command_execution.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5271
|
+
# resp.command_execution.logs.s3_logs.location #=> String
|
5272
|
+
# resp.command_execution.logs.s3_logs.encryption_disabled #=> Boolean
|
5273
|
+
# resp.command_execution.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5274
|
+
# resp.command_execution.sandbox_arn #=> String
|
5275
|
+
#
|
5276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartCommandExecution AWS API Documentation
|
5277
|
+
#
|
5278
|
+
# @overload start_command_execution(params = {})
|
5279
|
+
# @param [Hash] params ({})
|
5280
|
+
def start_command_execution(params = {}, options = {})
|
5281
|
+
req = build_request(:start_command_execution, params)
|
5282
|
+
req.send_request(options)
|
5283
|
+
end
|
5284
|
+
|
5285
|
+
# Starts a sandbox.
|
5286
|
+
#
|
5287
|
+
# @option params [String] :project_name
|
5288
|
+
# The CodeBuild project name.
|
5289
|
+
#
|
5290
|
+
# @option params [String] :idempotency_token
|
5291
|
+
# A unique client token.
|
5292
|
+
#
|
5293
|
+
# @return [Types::StartSandboxOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5294
|
+
#
|
5295
|
+
# * {Types::StartSandboxOutput#sandbox #sandbox} => Types::Sandbox
|
5296
|
+
#
|
5297
|
+
# @example Request syntax with placeholder values
|
5298
|
+
#
|
5299
|
+
# resp = client.start_sandbox({
|
5300
|
+
# project_name: "NonEmptyString",
|
5301
|
+
# idempotency_token: "SensitiveString",
|
5302
|
+
# })
|
5303
|
+
#
|
5304
|
+
# @example Response structure
|
5305
|
+
#
|
5306
|
+
# resp.sandbox.id #=> String
|
5307
|
+
# resp.sandbox.arn #=> String
|
5308
|
+
# resp.sandbox.project_name #=> String
|
5309
|
+
# resp.sandbox.request_time #=> Time
|
5310
|
+
# resp.sandbox.start_time #=> Time
|
5311
|
+
# resp.sandbox.end_time #=> Time
|
5312
|
+
# resp.sandbox.status #=> String
|
5313
|
+
# resp.sandbox.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
5314
|
+
# resp.sandbox.source.location #=> String
|
5315
|
+
# resp.sandbox.source.git_clone_depth #=> Integer
|
5316
|
+
# resp.sandbox.source.git_submodules_config.fetch_submodules #=> Boolean
|
5317
|
+
# resp.sandbox.source.buildspec #=> String
|
5318
|
+
# resp.sandbox.source.auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
5319
|
+
# resp.sandbox.source.auth.resource #=> String
|
5320
|
+
# resp.sandbox.source.report_build_status #=> Boolean
|
5321
|
+
# resp.sandbox.source.build_status_config.context #=> String
|
5322
|
+
# resp.sandbox.source.build_status_config.target_url #=> String
|
5323
|
+
# resp.sandbox.source.insecure_ssl #=> Boolean
|
5324
|
+
# resp.sandbox.source.source_identifier #=> String
|
5325
|
+
# resp.sandbox.source_version #=> String
|
5326
|
+
# resp.sandbox.secondary_sources #=> Array
|
5327
|
+
# resp.sandbox.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
5328
|
+
# resp.sandbox.secondary_sources[0].location #=> String
|
5329
|
+
# resp.sandbox.secondary_sources[0].git_clone_depth #=> Integer
|
5330
|
+
# resp.sandbox.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
5331
|
+
# resp.sandbox.secondary_sources[0].buildspec #=> String
|
5332
|
+
# resp.sandbox.secondary_sources[0].auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
5333
|
+
# resp.sandbox.secondary_sources[0].auth.resource #=> String
|
5334
|
+
# resp.sandbox.secondary_sources[0].report_build_status #=> Boolean
|
5335
|
+
# resp.sandbox.secondary_sources[0].build_status_config.context #=> String
|
5336
|
+
# resp.sandbox.secondary_sources[0].build_status_config.target_url #=> String
|
5337
|
+
# resp.sandbox.secondary_sources[0].insecure_ssl #=> Boolean
|
5338
|
+
# resp.sandbox.secondary_sources[0].source_identifier #=> String
|
5339
|
+
# resp.sandbox.secondary_source_versions #=> Array
|
5340
|
+
# resp.sandbox.secondary_source_versions[0].source_identifier #=> String
|
5341
|
+
# resp.sandbox.secondary_source_versions[0].source_version #=> String
|
5342
|
+
# 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"
|
5343
|
+
# resp.sandbox.environment.image #=> String
|
5344
|
+
# 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"
|
5345
|
+
# resp.sandbox.environment.compute_configuration.v_cpu #=> Integer
|
5346
|
+
# resp.sandbox.environment.compute_configuration.memory #=> Integer
|
5347
|
+
# resp.sandbox.environment.compute_configuration.disk #=> Integer
|
5348
|
+
# resp.sandbox.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5349
|
+
# resp.sandbox.environment.fleet.fleet_arn #=> String
|
5350
|
+
# resp.sandbox.environment.environment_variables #=> Array
|
5351
|
+
# resp.sandbox.environment.environment_variables[0].name #=> String
|
5352
|
+
# resp.sandbox.environment.environment_variables[0].value #=> String
|
5353
|
+
# resp.sandbox.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
5354
|
+
# resp.sandbox.environment.privileged_mode #=> Boolean
|
5355
|
+
# resp.sandbox.environment.certificate #=> String
|
5356
|
+
# resp.sandbox.environment.registry_credential.credential #=> String
|
5357
|
+
# resp.sandbox.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
5358
|
+
# resp.sandbox.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
5359
|
+
# resp.sandbox.file_system_locations #=> Array
|
5360
|
+
# resp.sandbox.file_system_locations[0].type #=> String, one of "EFS"
|
5361
|
+
# resp.sandbox.file_system_locations[0].location #=> String
|
5362
|
+
# resp.sandbox.file_system_locations[0].mount_point #=> String
|
5363
|
+
# resp.sandbox.file_system_locations[0].identifier #=> String
|
5364
|
+
# resp.sandbox.file_system_locations[0].mount_options #=> String
|
5365
|
+
# resp.sandbox.timeout_in_minutes #=> Integer
|
5366
|
+
# resp.sandbox.queued_timeout_in_minutes #=> Integer
|
5367
|
+
# resp.sandbox.vpc_config.vpc_id #=> String
|
5368
|
+
# resp.sandbox.vpc_config.subnets #=> Array
|
5369
|
+
# resp.sandbox.vpc_config.subnets[0] #=> String
|
5370
|
+
# resp.sandbox.vpc_config.security_group_ids #=> Array
|
5371
|
+
# resp.sandbox.vpc_config.security_group_ids[0] #=> String
|
5372
|
+
# resp.sandbox.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5373
|
+
# resp.sandbox.log_config.cloud_watch_logs.group_name #=> String
|
5374
|
+
# resp.sandbox.log_config.cloud_watch_logs.stream_name #=> String
|
5375
|
+
# resp.sandbox.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5376
|
+
# resp.sandbox.log_config.s3_logs.location #=> String
|
5377
|
+
# resp.sandbox.log_config.s3_logs.encryption_disabled #=> Boolean
|
5378
|
+
# resp.sandbox.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5379
|
+
# resp.sandbox.encryption_key #=> String
|
5380
|
+
# resp.sandbox.service_role #=> String
|
5381
|
+
# resp.sandbox.current_session.id #=> String
|
5382
|
+
# resp.sandbox.current_session.status #=> String
|
5383
|
+
# resp.sandbox.current_session.start_time #=> Time
|
5384
|
+
# resp.sandbox.current_session.end_time #=> Time
|
5385
|
+
# resp.sandbox.current_session.current_phase #=> String
|
5386
|
+
# resp.sandbox.current_session.phases #=> Array
|
5387
|
+
# resp.sandbox.current_session.phases[0].phase_type #=> String
|
5388
|
+
# resp.sandbox.current_session.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
5389
|
+
# resp.sandbox.current_session.phases[0].start_time #=> Time
|
5390
|
+
# resp.sandbox.current_session.phases[0].end_time #=> Time
|
5391
|
+
# resp.sandbox.current_session.phases[0].duration_in_seconds #=> Integer
|
5392
|
+
# resp.sandbox.current_session.phases[0].contexts #=> Array
|
5393
|
+
# resp.sandbox.current_session.phases[0].contexts[0].status_code #=> String
|
5394
|
+
# resp.sandbox.current_session.phases[0].contexts[0].message #=> String
|
5395
|
+
# resp.sandbox.current_session.resolved_source_version #=> String
|
5396
|
+
# resp.sandbox.current_session.logs.group_name #=> String
|
5397
|
+
# resp.sandbox.current_session.logs.stream_name #=> String
|
5398
|
+
# resp.sandbox.current_session.logs.deep_link #=> String
|
5399
|
+
# resp.sandbox.current_session.logs.s3_deep_link #=> String
|
5400
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs_arn #=> String
|
5401
|
+
# resp.sandbox.current_session.logs.s3_logs_arn #=> String
|
5402
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5403
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.group_name #=> String
|
5404
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.stream_name #=> String
|
5405
|
+
# resp.sandbox.current_session.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5406
|
+
# resp.sandbox.current_session.logs.s3_logs.location #=> String
|
5407
|
+
# resp.sandbox.current_session.logs.s3_logs.encryption_disabled #=> Boolean
|
5408
|
+
# resp.sandbox.current_session.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5409
|
+
# resp.sandbox.current_session.network_interface.subnet_id #=> String
|
5410
|
+
# resp.sandbox.current_session.network_interface.network_interface_id #=> String
|
5411
|
+
#
|
5412
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandbox AWS API Documentation
|
5413
|
+
#
|
5414
|
+
# @overload start_sandbox(params = {})
|
5415
|
+
# @param [Hash] params ({})
|
5416
|
+
def start_sandbox(params = {}, options = {})
|
5417
|
+
req = build_request(:start_sandbox, params)
|
5418
|
+
req.send_request(options)
|
5419
|
+
end
|
5420
|
+
|
5421
|
+
# Starts a sandbox connection.
|
5422
|
+
#
|
5423
|
+
# @option params [required, String] :sandbox_id
|
5424
|
+
# A `sandboxId` or `sandboxArn`.
|
5425
|
+
#
|
5426
|
+
# @return [Types::StartSandboxConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5427
|
+
#
|
5428
|
+
# * {Types::StartSandboxConnectionOutput#ssm_session #ssm_session} => Types::SSMSession
|
5429
|
+
#
|
5430
|
+
# @example Request syntax with placeholder values
|
5431
|
+
#
|
5432
|
+
# resp = client.start_sandbox_connection({
|
5433
|
+
# sandbox_id: "NonEmptyString", # required
|
5434
|
+
# })
|
5435
|
+
#
|
5436
|
+
# @example Response structure
|
5437
|
+
#
|
5438
|
+
# resp.ssm_session.session_id #=> String
|
5439
|
+
# resp.ssm_session.token_value #=> String
|
5440
|
+
# resp.ssm_session.stream_url #=> String
|
5441
|
+
#
|
5442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxConnection AWS API Documentation
|
5443
|
+
#
|
5444
|
+
# @overload start_sandbox_connection(params = {})
|
5445
|
+
# @param [Hash] params ({})
|
5446
|
+
def start_sandbox_connection(params = {}, options = {})
|
5447
|
+
req = build_request(:start_sandbox_connection, params)
|
5448
|
+
req.send_request(options)
|
5449
|
+
end
|
5450
|
+
|
4871
5451
|
# Attempts to stop running a build.
|
4872
5452
|
#
|
4873
5453
|
# @option params [required, String] :id
|
@@ -5196,6 +5776,138 @@ module Aws::CodeBuild
|
|
5196
5776
|
req.send_request(options)
|
5197
5777
|
end
|
5198
5778
|
|
5779
|
+
# Stops a sandbox.
|
5780
|
+
#
|
5781
|
+
# @option params [required, String] :id
|
5782
|
+
# Information about the requested sandbox ID.
|
5783
|
+
#
|
5784
|
+
# @return [Types::StopSandboxOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5785
|
+
#
|
5786
|
+
# * {Types::StopSandboxOutput#sandbox #sandbox} => Types::Sandbox
|
5787
|
+
#
|
5788
|
+
# @example Request syntax with placeholder values
|
5789
|
+
#
|
5790
|
+
# resp = client.stop_sandbox({
|
5791
|
+
# id: "NonEmptyString", # required
|
5792
|
+
# })
|
5793
|
+
#
|
5794
|
+
# @example Response structure
|
5795
|
+
#
|
5796
|
+
# resp.sandbox.id #=> String
|
5797
|
+
# resp.sandbox.arn #=> String
|
5798
|
+
# resp.sandbox.project_name #=> String
|
5799
|
+
# resp.sandbox.request_time #=> Time
|
5800
|
+
# resp.sandbox.start_time #=> Time
|
5801
|
+
# resp.sandbox.end_time #=> Time
|
5802
|
+
# resp.sandbox.status #=> String
|
5803
|
+
# resp.sandbox.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
5804
|
+
# resp.sandbox.source.location #=> String
|
5805
|
+
# resp.sandbox.source.git_clone_depth #=> Integer
|
5806
|
+
# resp.sandbox.source.git_submodules_config.fetch_submodules #=> Boolean
|
5807
|
+
# resp.sandbox.source.buildspec #=> String
|
5808
|
+
# resp.sandbox.source.auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
5809
|
+
# resp.sandbox.source.auth.resource #=> String
|
5810
|
+
# resp.sandbox.source.report_build_status #=> Boolean
|
5811
|
+
# resp.sandbox.source.build_status_config.context #=> String
|
5812
|
+
# resp.sandbox.source.build_status_config.target_url #=> String
|
5813
|
+
# resp.sandbox.source.insecure_ssl #=> Boolean
|
5814
|
+
# resp.sandbox.source.source_identifier #=> String
|
5815
|
+
# resp.sandbox.source_version #=> String
|
5816
|
+
# resp.sandbox.secondary_sources #=> Array
|
5817
|
+
# resp.sandbox.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "GITLAB", "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
5818
|
+
# resp.sandbox.secondary_sources[0].location #=> String
|
5819
|
+
# resp.sandbox.secondary_sources[0].git_clone_depth #=> Integer
|
5820
|
+
# resp.sandbox.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
5821
|
+
# resp.sandbox.secondary_sources[0].buildspec #=> String
|
5822
|
+
# resp.sandbox.secondary_sources[0].auth.type #=> String, one of "OAUTH", "CODECONNECTIONS", "SECRETS_MANAGER"
|
5823
|
+
# resp.sandbox.secondary_sources[0].auth.resource #=> String
|
5824
|
+
# resp.sandbox.secondary_sources[0].report_build_status #=> Boolean
|
5825
|
+
# resp.sandbox.secondary_sources[0].build_status_config.context #=> String
|
5826
|
+
# resp.sandbox.secondary_sources[0].build_status_config.target_url #=> String
|
5827
|
+
# resp.sandbox.secondary_sources[0].insecure_ssl #=> Boolean
|
5828
|
+
# resp.sandbox.secondary_sources[0].source_identifier #=> String
|
5829
|
+
# resp.sandbox.secondary_source_versions #=> Array
|
5830
|
+
# resp.sandbox.secondary_source_versions[0].source_identifier #=> String
|
5831
|
+
# resp.sandbox.secondary_source_versions[0].source_version #=> String
|
5832
|
+
# 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"
|
5833
|
+
# resp.sandbox.environment.image #=> String
|
5834
|
+
# 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"
|
5835
|
+
# resp.sandbox.environment.compute_configuration.v_cpu #=> Integer
|
5836
|
+
# resp.sandbox.environment.compute_configuration.memory #=> Integer
|
5837
|
+
# resp.sandbox.environment.compute_configuration.disk #=> Integer
|
5838
|
+
# resp.sandbox.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5839
|
+
# resp.sandbox.environment.fleet.fleet_arn #=> String
|
5840
|
+
# resp.sandbox.environment.environment_variables #=> Array
|
5841
|
+
# resp.sandbox.environment.environment_variables[0].name #=> String
|
5842
|
+
# resp.sandbox.environment.environment_variables[0].value #=> String
|
5843
|
+
# resp.sandbox.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
5844
|
+
# resp.sandbox.environment.privileged_mode #=> Boolean
|
5845
|
+
# resp.sandbox.environment.certificate #=> String
|
5846
|
+
# resp.sandbox.environment.registry_credential.credential #=> String
|
5847
|
+
# resp.sandbox.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
5848
|
+
# resp.sandbox.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
5849
|
+
# resp.sandbox.file_system_locations #=> Array
|
5850
|
+
# resp.sandbox.file_system_locations[0].type #=> String, one of "EFS"
|
5851
|
+
# resp.sandbox.file_system_locations[0].location #=> String
|
5852
|
+
# resp.sandbox.file_system_locations[0].mount_point #=> String
|
5853
|
+
# resp.sandbox.file_system_locations[0].identifier #=> String
|
5854
|
+
# resp.sandbox.file_system_locations[0].mount_options #=> String
|
5855
|
+
# resp.sandbox.timeout_in_minutes #=> Integer
|
5856
|
+
# resp.sandbox.queued_timeout_in_minutes #=> Integer
|
5857
|
+
# resp.sandbox.vpc_config.vpc_id #=> String
|
5858
|
+
# resp.sandbox.vpc_config.subnets #=> Array
|
5859
|
+
# resp.sandbox.vpc_config.subnets[0] #=> String
|
5860
|
+
# resp.sandbox.vpc_config.security_group_ids #=> Array
|
5861
|
+
# resp.sandbox.vpc_config.security_group_ids[0] #=> String
|
5862
|
+
# resp.sandbox.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5863
|
+
# resp.sandbox.log_config.cloud_watch_logs.group_name #=> String
|
5864
|
+
# resp.sandbox.log_config.cloud_watch_logs.stream_name #=> String
|
5865
|
+
# resp.sandbox.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5866
|
+
# resp.sandbox.log_config.s3_logs.location #=> String
|
5867
|
+
# resp.sandbox.log_config.s3_logs.encryption_disabled #=> Boolean
|
5868
|
+
# resp.sandbox.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5869
|
+
# resp.sandbox.encryption_key #=> String
|
5870
|
+
# resp.sandbox.service_role #=> String
|
5871
|
+
# resp.sandbox.current_session.id #=> String
|
5872
|
+
# resp.sandbox.current_session.status #=> String
|
5873
|
+
# resp.sandbox.current_session.start_time #=> Time
|
5874
|
+
# resp.sandbox.current_session.end_time #=> Time
|
5875
|
+
# resp.sandbox.current_session.current_phase #=> String
|
5876
|
+
# resp.sandbox.current_session.phases #=> Array
|
5877
|
+
# resp.sandbox.current_session.phases[0].phase_type #=> String
|
5878
|
+
# resp.sandbox.current_session.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
5879
|
+
# resp.sandbox.current_session.phases[0].start_time #=> Time
|
5880
|
+
# resp.sandbox.current_session.phases[0].end_time #=> Time
|
5881
|
+
# resp.sandbox.current_session.phases[0].duration_in_seconds #=> Integer
|
5882
|
+
# resp.sandbox.current_session.phases[0].contexts #=> Array
|
5883
|
+
# resp.sandbox.current_session.phases[0].contexts[0].status_code #=> String
|
5884
|
+
# resp.sandbox.current_session.phases[0].contexts[0].message #=> String
|
5885
|
+
# resp.sandbox.current_session.resolved_source_version #=> String
|
5886
|
+
# resp.sandbox.current_session.logs.group_name #=> String
|
5887
|
+
# resp.sandbox.current_session.logs.stream_name #=> String
|
5888
|
+
# resp.sandbox.current_session.logs.deep_link #=> String
|
5889
|
+
# resp.sandbox.current_session.logs.s3_deep_link #=> String
|
5890
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs_arn #=> String
|
5891
|
+
# resp.sandbox.current_session.logs.s3_logs_arn #=> String
|
5892
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5893
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.group_name #=> String
|
5894
|
+
# resp.sandbox.current_session.logs.cloud_watch_logs.stream_name #=> String
|
5895
|
+
# resp.sandbox.current_session.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
5896
|
+
# resp.sandbox.current_session.logs.s3_logs.location #=> String
|
5897
|
+
# resp.sandbox.current_session.logs.s3_logs.encryption_disabled #=> Boolean
|
5898
|
+
# resp.sandbox.current_session.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
5899
|
+
# resp.sandbox.current_session.network_interface.subnet_id #=> String
|
5900
|
+
# resp.sandbox.current_session.network_interface.network_interface_id #=> String
|
5901
|
+
#
|
5902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopSandbox AWS API Documentation
|
5903
|
+
#
|
5904
|
+
# @overload stop_sandbox(params = {})
|
5905
|
+
# @param [Hash] params ({})
|
5906
|
+
def stop_sandbox(params = {}, options = {})
|
5907
|
+
req = build_request(:stop_sandbox, params)
|
5908
|
+
req.send_request(options)
|
5909
|
+
end
|
5910
|
+
|
5199
5911
|
# Updates a compute fleet.
|
5200
5912
|
#
|
5201
5913
|
# @option params [required, String] :arn
|
@@ -6239,7 +6951,7 @@ module Aws::CodeBuild
|
|
6239
6951
|
tracer: tracer
|
6240
6952
|
)
|
6241
6953
|
context[:gem_name] = 'aws-sdk-codebuild'
|
6242
|
-
context[:gem_version] = '1.
|
6954
|
+
context[:gem_version] = '1.151.0'
|
6243
6955
|
Seahorse::Client::Request.new(handlers, context)
|
6244
6956
|
end
|
6245
6957
|
|