aws-sdk-codebuild 1.149.0 → 1.153.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.
@@ -15,6 +15,7 @@ module Aws::CodeBuild
15
15
  include Seahorse::Model
16
16
 
17
17
  AccountLimitExceededException = Shapes::StructureShape.new(name: 'AccountLimitExceededException')
18
+ AccountSuspendedException = Shapes::StructureShape.new(name: 'AccountSuspendedException')
18
19
  ArtifactNamespace = Shapes::StringShape.new(name: 'ArtifactNamespace')
19
20
  ArtifactPackaging = Shapes::StringShape.new(name: 'ArtifactPackaging')
20
21
  ArtifactsType = Shapes::StringShape.new(name: 'ArtifactsType')
@@ -26,6 +27,8 @@ module Aws::CodeBuild
26
27
  BatchGetBuildBatchesOutput = Shapes::StructureShape.new(name: 'BatchGetBuildBatchesOutput')
27
28
  BatchGetBuildsInput = Shapes::StructureShape.new(name: 'BatchGetBuildsInput')
28
29
  BatchGetBuildsOutput = Shapes::StructureShape.new(name: 'BatchGetBuildsOutput')
30
+ BatchGetCommandExecutionsInput = Shapes::StructureShape.new(name: 'BatchGetCommandExecutionsInput')
31
+ BatchGetCommandExecutionsOutput = Shapes::StructureShape.new(name: 'BatchGetCommandExecutionsOutput')
29
32
  BatchGetFleetsInput = Shapes::StructureShape.new(name: 'BatchGetFleetsInput')
30
33
  BatchGetFleetsOutput = Shapes::StructureShape.new(name: 'BatchGetFleetsOutput')
31
34
  BatchGetProjectsInput = Shapes::StructureShape.new(name: 'BatchGetProjectsInput')
@@ -34,6 +37,8 @@ module Aws::CodeBuild
34
37
  BatchGetReportGroupsOutput = Shapes::StructureShape.new(name: 'BatchGetReportGroupsOutput')
35
38
  BatchGetReportsInput = Shapes::StructureShape.new(name: 'BatchGetReportsInput')
36
39
  BatchGetReportsOutput = Shapes::StructureShape.new(name: 'BatchGetReportsOutput')
40
+ BatchGetSandboxesInput = Shapes::StructureShape.new(name: 'BatchGetSandboxesInput')
41
+ BatchGetSandboxesOutput = Shapes::StructureShape.new(name: 'BatchGetSandboxesOutput')
37
42
  BatchReportModeType = Shapes::StringShape.new(name: 'BatchReportModeType')
38
43
  BatchRestrictions = Shapes::StructureShape.new(name: 'BatchRestrictions')
39
44
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -68,6 +73,10 @@ module Aws::CodeBuild
68
73
  CodeCoverage = Shapes::StructureShape.new(name: 'CodeCoverage')
69
74
  CodeCoverageReportSummary = Shapes::StructureShape.new(name: 'CodeCoverageReportSummary')
70
75
  CodeCoverages = Shapes::ListShape.new(name: 'CodeCoverages')
76
+ CommandExecution = Shapes::StructureShape.new(name: 'CommandExecution')
77
+ CommandExecutionIds = Shapes::ListShape.new(name: 'CommandExecutionIds')
78
+ CommandExecutions = Shapes::ListShape.new(name: 'CommandExecutions')
79
+ CommandType = Shapes::StringShape.new(name: 'CommandType')
71
80
  ComputeConfiguration = Shapes::StructureShape.new(name: 'ComputeConfiguration')
72
81
  ComputeType = Shapes::StringShape.new(name: 'ComputeType')
73
82
  ComputeTypesAllowed = Shapes::ListShape.new(name: 'ComputeTypesAllowed')
@@ -160,6 +169,8 @@ module Aws::CodeBuild
160
169
  ListBuildsForProjectOutput = Shapes::StructureShape.new(name: 'ListBuildsForProjectOutput')
161
170
  ListBuildsInput = Shapes::StructureShape.new(name: 'ListBuildsInput')
162
171
  ListBuildsOutput = Shapes::StructureShape.new(name: 'ListBuildsOutput')
172
+ ListCommandExecutionsForSandboxInput = Shapes::StructureShape.new(name: 'ListCommandExecutionsForSandboxInput')
173
+ ListCommandExecutionsForSandboxOutput = Shapes::StructureShape.new(name: 'ListCommandExecutionsForSandboxOutput')
163
174
  ListCuratedEnvironmentImagesInput = Shapes::StructureShape.new(name: 'ListCuratedEnvironmentImagesInput')
164
175
  ListCuratedEnvironmentImagesOutput = Shapes::StructureShape.new(name: 'ListCuratedEnvironmentImagesOutput')
165
176
  ListFleetsInput = Shapes::StructureShape.new(name: 'ListFleetsInput')
@@ -172,6 +183,10 @@ module Aws::CodeBuild
172
183
  ListReportsForReportGroupOutput = Shapes::StructureShape.new(name: 'ListReportsForReportGroupOutput')
173
184
  ListReportsInput = Shapes::StructureShape.new(name: 'ListReportsInput')
174
185
  ListReportsOutput = Shapes::StructureShape.new(name: 'ListReportsOutput')
186
+ ListSandboxesForProjectInput = Shapes::StructureShape.new(name: 'ListSandboxesForProjectInput')
187
+ ListSandboxesForProjectOutput = Shapes::StructureShape.new(name: 'ListSandboxesForProjectOutput')
188
+ ListSandboxesInput = Shapes::StructureShape.new(name: 'ListSandboxesInput')
189
+ ListSandboxesOutput = Shapes::StructureShape.new(name: 'ListSandboxesOutput')
175
190
  ListSharedProjectsInput = Shapes::StructureShape.new(name: 'ListSharedProjectsInput')
176
191
  ListSharedProjectsOutput = Shapes::StructureShape.new(name: 'ListSharedProjectsOutput')
177
192
  ListSharedReportGroupsInput = Shapes::StructureShape.new(name: 'ListSharedReportGroupsInput')
@@ -249,6 +264,13 @@ module Aws::CodeBuild
249
264
  RetryBuildOutput = Shapes::StructureShape.new(name: 'RetryBuildOutput')
250
265
  S3LogsConfig = Shapes::StructureShape.new(name: 'S3LogsConfig')
251
266
  S3ReportExportConfig = Shapes::StructureShape.new(name: 'S3ReportExportConfig')
267
+ SSMSession = Shapes::StructureShape.new(name: 'SSMSession')
268
+ Sandbox = Shapes::StructureShape.new(name: 'Sandbox')
269
+ SandboxIds = Shapes::ListShape.new(name: 'SandboxIds')
270
+ SandboxSession = Shapes::StructureShape.new(name: 'SandboxSession')
271
+ SandboxSessionPhase = Shapes::StructureShape.new(name: 'SandboxSessionPhase')
272
+ SandboxSessionPhases = Shapes::ListShape.new(name: 'SandboxSessionPhases')
273
+ Sandboxes = Shapes::ListShape.new(name: 'Sandboxes')
252
274
  ScalingConfigurationInput = Shapes::StructureShape.new(name: 'ScalingConfigurationInput')
253
275
  ScalingConfigurationOutput = Shapes::StructureShape.new(name: 'ScalingConfigurationOutput')
254
276
  ScopeConfiguration = Shapes::StructureShape.new(name: 'ScopeConfiguration')
@@ -267,11 +289,19 @@ module Aws::CodeBuild
267
289
  StartBuildBatchOutput = Shapes::StructureShape.new(name: 'StartBuildBatchOutput')
268
290
  StartBuildInput = Shapes::StructureShape.new(name: 'StartBuildInput')
269
291
  StartBuildOutput = Shapes::StructureShape.new(name: 'StartBuildOutput')
292
+ StartCommandExecutionInput = Shapes::StructureShape.new(name: 'StartCommandExecutionInput')
293
+ StartCommandExecutionOutput = Shapes::StructureShape.new(name: 'StartCommandExecutionOutput')
294
+ StartSandboxConnectionInput = Shapes::StructureShape.new(name: 'StartSandboxConnectionInput')
295
+ StartSandboxConnectionOutput = Shapes::StructureShape.new(name: 'StartSandboxConnectionOutput')
296
+ StartSandboxInput = Shapes::StructureShape.new(name: 'StartSandboxInput')
297
+ StartSandboxOutput = Shapes::StructureShape.new(name: 'StartSandboxOutput')
270
298
  StatusType = Shapes::StringShape.new(name: 'StatusType')
271
299
  StopBuildBatchInput = Shapes::StructureShape.new(name: 'StopBuildBatchInput')
272
300
  StopBuildBatchOutput = Shapes::StructureShape.new(name: 'StopBuildBatchOutput')
273
301
  StopBuildInput = Shapes::StructureShape.new(name: 'StopBuildInput')
274
302
  StopBuildOutput = Shapes::StructureShape.new(name: 'StopBuildOutput')
303
+ StopSandboxInput = Shapes::StructureShape.new(name: 'StopSandboxInput')
304
+ StopSandboxOutput = Shapes::StructureShape.new(name: 'StopSandboxOutput')
275
305
  String = Shapes::StringShape.new(name: 'String')
276
306
  Subnets = Shapes::ListShape.new(name: 'Subnets')
277
307
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -309,6 +339,8 @@ module Aws::CodeBuild
309
339
 
310
340
  AccountLimitExceededException.struct_class = Types::AccountLimitExceededException
311
341
 
342
+ AccountSuspendedException.struct_class = Types::AccountSuspendedException
343
+
312
344
  AutoRetryConfig.add_member(:auto_retry_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryLimit"))
313
345
  AutoRetryConfig.add_member(:auto_retry_number, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryNumber"))
314
346
  AutoRetryConfig.add_member(:next_auto_retry, Shapes::ShapeRef.new(shape: String, location_name: "nextAutoRetry"))
@@ -336,6 +368,14 @@ module Aws::CodeBuild
336
368
  BatchGetBuildsOutput.add_member(:builds_not_found, Shapes::ShapeRef.new(shape: BuildIds, location_name: "buildsNotFound"))
337
369
  BatchGetBuildsOutput.struct_class = Types::BatchGetBuildsOutput
338
370
 
371
+ BatchGetCommandExecutionsInput.add_member(:sandbox_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "sandboxId"))
372
+ BatchGetCommandExecutionsInput.add_member(:command_execution_ids, Shapes::ShapeRef.new(shape: CommandExecutionIds, required: true, location_name: "commandExecutionIds"))
373
+ BatchGetCommandExecutionsInput.struct_class = Types::BatchGetCommandExecutionsInput
374
+
375
+ BatchGetCommandExecutionsOutput.add_member(:command_executions, Shapes::ShapeRef.new(shape: CommandExecutions, location_name: "commandExecutions"))
376
+ BatchGetCommandExecutionsOutput.add_member(:command_executions_not_found, Shapes::ShapeRef.new(shape: CommandExecutionIds, location_name: "commandExecutionsNotFound"))
377
+ BatchGetCommandExecutionsOutput.struct_class = Types::BatchGetCommandExecutionsOutput
378
+
339
379
  BatchGetFleetsInput.add_member(:names, Shapes::ShapeRef.new(shape: FleetNames, required: true, location_name: "names"))
340
380
  BatchGetFleetsInput.struct_class = Types::BatchGetFleetsInput
341
381
 
@@ -364,6 +404,13 @@ module Aws::CodeBuild
364
404
  BatchGetReportsOutput.add_member(:reports_not_found, Shapes::ShapeRef.new(shape: ReportArns, location_name: "reportsNotFound"))
365
405
  BatchGetReportsOutput.struct_class = Types::BatchGetReportsOutput
366
406
 
407
+ BatchGetSandboxesInput.add_member(:ids, Shapes::ShapeRef.new(shape: SandboxIds, required: true, location_name: "ids"))
408
+ BatchGetSandboxesInput.struct_class = Types::BatchGetSandboxesInput
409
+
410
+ BatchGetSandboxesOutput.add_member(:sandboxes, Shapes::ShapeRef.new(shape: Sandboxes, location_name: "sandboxes"))
411
+ BatchGetSandboxesOutput.add_member(:sandboxes_not_found, Shapes::ShapeRef.new(shape: SandboxIds, location_name: "sandboxesNotFound"))
412
+ BatchGetSandboxesOutput.struct_class = Types::BatchGetSandboxesOutput
413
+
367
414
  BatchRestrictions.add_member(:maximum_builds_allowed, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "maximumBuildsAllowed"))
368
415
  BatchRestrictions.add_member(:compute_types_allowed, Shapes::ShapeRef.new(shape: ComputeTypesAllowed, location_name: "computeTypesAllowed"))
369
416
  BatchRestrictions.add_member(:fleets_allowed, Shapes::ShapeRef.new(shape: FleetsAllowed, location_name: "fleetsAllowed"))
@@ -536,10 +583,30 @@ module Aws::CodeBuild
536
583
 
537
584
  CodeCoverages.member = Shapes::ShapeRef.new(shape: CodeCoverage)
538
585
 
586
+ CommandExecution.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
587
+ CommandExecution.add_member(:sandbox_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "sandboxId"))
588
+ CommandExecution.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "submitTime"))
589
+ CommandExecution.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
590
+ CommandExecution.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
591
+ CommandExecution.add_member(:status, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "status"))
592
+ CommandExecution.add_member(:command, Shapes::ShapeRef.new(shape: SensitiveNonEmptyString, location_name: "command"))
593
+ CommandExecution.add_member(:type, Shapes::ShapeRef.new(shape: CommandType, location_name: "type"))
594
+ CommandExecution.add_member(:exit_code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "exitCode"))
595
+ CommandExecution.add_member(:standard_output_content, Shapes::ShapeRef.new(shape: SensitiveNonEmptyString, location_name: "standardOutputContent"))
596
+ CommandExecution.add_member(:standard_err_content, Shapes::ShapeRef.new(shape: SensitiveNonEmptyString, location_name: "standardErrContent"))
597
+ CommandExecution.add_member(:logs, Shapes::ShapeRef.new(shape: LogsLocation, location_name: "logs"))
598
+ CommandExecution.add_member(:sandbox_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "sandboxArn"))
599
+ CommandExecution.struct_class = Types::CommandExecution
600
+
601
+ CommandExecutionIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
602
+
603
+ CommandExecutions.member = Shapes::ShapeRef.new(shape: CommandExecution)
604
+
539
605
  ComputeConfiguration.add_member(:v_cpu, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "vCpu"))
540
606
  ComputeConfiguration.add_member(:memory, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "memory"))
541
607
  ComputeConfiguration.add_member(:disk, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "disk"))
542
608
  ComputeConfiguration.add_member(:machine_type, Shapes::ShapeRef.new(shape: MachineType, location_name: "machineType"))
609
+ ComputeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "instanceType"))
543
610
  ComputeConfiguration.struct_class = Types::ComputeConfiguration
544
611
 
545
612
  ComputeTypesAllowed.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -834,6 +901,16 @@ module Aws::CodeBuild
834
901
  ListBuildsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
835
902
  ListBuildsOutput.struct_class = Types::ListBuildsOutput
836
903
 
904
+ ListCommandExecutionsForSandboxInput.add_member(:sandbox_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "sandboxId"))
905
+ ListCommandExecutionsForSandboxInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
906
+ ListCommandExecutionsForSandboxInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
907
+ ListCommandExecutionsForSandboxInput.add_member(:next_token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "nextToken"))
908
+ ListCommandExecutionsForSandboxInput.struct_class = Types::ListCommandExecutionsForSandboxInput
909
+
910
+ ListCommandExecutionsForSandboxOutput.add_member(:command_executions, Shapes::ShapeRef.new(shape: CommandExecutions, location_name: "commandExecutions"))
911
+ ListCommandExecutionsForSandboxOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
912
+ ListCommandExecutionsForSandboxOutput.struct_class = Types::ListCommandExecutionsForSandboxOutput
913
+
837
914
  ListCuratedEnvironmentImagesInput.struct_class = Types::ListCuratedEnvironmentImagesInput
838
915
 
839
916
  ListCuratedEnvironmentImagesOutput.add_member(:platforms, Shapes::ShapeRef.new(shape: EnvironmentPlatforms, location_name: "platforms"))
@@ -889,6 +966,25 @@ module Aws::CodeBuild
889
966
  ListReportsOutput.add_member(:reports, Shapes::ShapeRef.new(shape: ReportArns, location_name: "reports"))
890
967
  ListReportsOutput.struct_class = Types::ListReportsOutput
891
968
 
969
+ ListSandboxesForProjectInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
970
+ ListSandboxesForProjectInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
971
+ ListSandboxesForProjectInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
972
+ ListSandboxesForProjectInput.add_member(:next_token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "nextToken"))
973
+ ListSandboxesForProjectInput.struct_class = Types::ListSandboxesForProjectInput
974
+
975
+ ListSandboxesForProjectOutput.add_member(:ids, Shapes::ShapeRef.new(shape: SandboxIds, location_name: "ids"))
976
+ ListSandboxesForProjectOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
977
+ ListSandboxesForProjectOutput.struct_class = Types::ListSandboxesForProjectOutput
978
+
979
+ ListSandboxesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
980
+ ListSandboxesInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
981
+ ListSandboxesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
982
+ ListSandboxesInput.struct_class = Types::ListSandboxesInput
983
+
984
+ ListSandboxesOutput.add_member(:ids, Shapes::ShapeRef.new(shape: SandboxIds, location_name: "ids"))
985
+ ListSandboxesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
986
+ ListSandboxesOutput.struct_class = Types::ListSandboxesOutput
987
+
892
988
  ListSharedProjectsInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: SharedResourceSortByType, location_name: "sortBy"))
893
989
  ListSharedProjectsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
894
990
  ListSharedProjectsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
@@ -1162,6 +1258,58 @@ module Aws::CodeBuild
1162
1258
  S3ReportExportConfig.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
1163
1259
  S3ReportExportConfig.struct_class = Types::S3ReportExportConfig
1164
1260
 
1261
+ SSMSession.add_member(:session_id, Shapes::ShapeRef.new(shape: String, location_name: "sessionId"))
1262
+ SSMSession.add_member(:token_value, Shapes::ShapeRef.new(shape: String, location_name: "tokenValue"))
1263
+ SSMSession.add_member(:stream_url, Shapes::ShapeRef.new(shape: String, location_name: "streamUrl"))
1264
+ SSMSession.struct_class = Types::SSMSession
1265
+
1266
+ Sandbox.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
1267
+ Sandbox.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
1268
+ Sandbox.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "projectName"))
1269
+ Sandbox.add_member(:request_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "requestTime"))
1270
+ Sandbox.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
1271
+ Sandbox.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1272
+ Sandbox.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
1273
+ Sandbox.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
1274
+ Sandbox.add_member(:source_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "sourceVersion"))
1275
+ Sandbox.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
1276
+ Sandbox.add_member(:secondary_source_versions, Shapes::ShapeRef.new(shape: ProjectSecondarySourceVersions, location_name: "secondarySourceVersions"))
1277
+ Sandbox.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
1278
+ Sandbox.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
1279
+ Sandbox.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "timeoutInMinutes"))
1280
+ Sandbox.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "queuedTimeoutInMinutes"))
1281
+ Sandbox.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1282
+ Sandbox.add_member(:log_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logConfig"))
1283
+ Sandbox.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
1284
+ Sandbox.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
1285
+ Sandbox.add_member(:current_session, Shapes::ShapeRef.new(shape: SandboxSession, location_name: "currentSession"))
1286
+ Sandbox.struct_class = Types::Sandbox
1287
+
1288
+ SandboxIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
1289
+
1290
+ SandboxSession.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
1291
+ SandboxSession.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
1292
+ SandboxSession.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
1293
+ SandboxSession.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1294
+ SandboxSession.add_member(:current_phase, Shapes::ShapeRef.new(shape: String, location_name: "currentPhase"))
1295
+ SandboxSession.add_member(:phases, Shapes::ShapeRef.new(shape: SandboxSessionPhases, location_name: "phases"))
1296
+ SandboxSession.add_member(:resolved_source_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resolvedSourceVersion"))
1297
+ SandboxSession.add_member(:logs, Shapes::ShapeRef.new(shape: LogsLocation, location_name: "logs"))
1298
+ SandboxSession.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
1299
+ SandboxSession.struct_class = Types::SandboxSession
1300
+
1301
+ SandboxSessionPhase.add_member(:phase_type, Shapes::ShapeRef.new(shape: String, location_name: "phaseType"))
1302
+ SandboxSessionPhase.add_member(:phase_status, Shapes::ShapeRef.new(shape: StatusType, location_name: "phaseStatus"))
1303
+ SandboxSessionPhase.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
1304
+ SandboxSessionPhase.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1305
+ SandboxSessionPhase.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "durationInSeconds"))
1306
+ SandboxSessionPhase.add_member(:contexts, Shapes::ShapeRef.new(shape: PhaseContexts, location_name: "contexts"))
1307
+ SandboxSessionPhase.struct_class = Types::SandboxSessionPhase
1308
+
1309
+ SandboxSessionPhases.member = Shapes::ShapeRef.new(shape: SandboxSessionPhase)
1310
+
1311
+ Sandboxes.member = Shapes::ShapeRef.new(shape: Sandbox)
1312
+
1165
1313
  ScalingConfigurationInput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: FleetScalingType, location_name: "scalingType"))
1166
1314
  ScalingConfigurationInput.add_member(:target_tracking_scaling_configs, Shapes::ShapeRef.new(shape: TargetTrackingScalingConfigurations, location_name: "targetTrackingScalingConfigs"))
1167
1315
  ScalingConfigurationInput.add_member(:max_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "maxCapacity"))
@@ -1266,6 +1414,27 @@ module Aws::CodeBuild
1266
1414
  StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
1267
1415
  StartBuildOutput.struct_class = Types::StartBuildOutput
1268
1416
 
1417
+ StartCommandExecutionInput.add_member(:sandbox_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "sandboxId"))
1418
+ StartCommandExecutionInput.add_member(:command, Shapes::ShapeRef.new(shape: SensitiveNonEmptyString, required: true, location_name: "command"))
1419
+ StartCommandExecutionInput.add_member(:type, Shapes::ShapeRef.new(shape: CommandType, location_name: "type"))
1420
+ StartCommandExecutionInput.struct_class = Types::StartCommandExecutionInput
1421
+
1422
+ StartCommandExecutionOutput.add_member(:command_execution, Shapes::ShapeRef.new(shape: CommandExecution, location_name: "commandExecution"))
1423
+ StartCommandExecutionOutput.struct_class = Types::StartCommandExecutionOutput
1424
+
1425
+ StartSandboxConnectionInput.add_member(:sandbox_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "sandboxId"))
1426
+ StartSandboxConnectionInput.struct_class = Types::StartSandboxConnectionInput
1427
+
1428
+ StartSandboxConnectionOutput.add_member(:ssm_session, Shapes::ShapeRef.new(shape: SSMSession, location_name: "ssmSession"))
1429
+ StartSandboxConnectionOutput.struct_class = Types::StartSandboxConnectionOutput
1430
+
1431
+ StartSandboxInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "projectName"))
1432
+ StartSandboxInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "idempotencyToken"))
1433
+ StartSandboxInput.struct_class = Types::StartSandboxInput
1434
+
1435
+ StartSandboxOutput.add_member(:sandbox, Shapes::ShapeRef.new(shape: Sandbox, location_name: "sandbox"))
1436
+ StartSandboxOutput.struct_class = Types::StartSandboxOutput
1437
+
1269
1438
  StopBuildBatchInput.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "id"))
1270
1439
  StopBuildBatchInput.struct_class = Types::StopBuildBatchInput
1271
1440
 
@@ -1278,6 +1447,12 @@ module Aws::CodeBuild
1278
1447
  StopBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
1279
1448
  StopBuildOutput.struct_class = Types::StopBuildOutput
1280
1449
 
1450
+ StopSandboxInput.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "id"))
1451
+ StopSandboxInput.struct_class = Types::StopSandboxInput
1452
+
1453
+ StopSandboxOutput.add_member(:sandbox, Shapes::ShapeRef.new(shape: Sandbox, location_name: "sandbox"))
1454
+ StopSandboxOutput.struct_class = Types::StopSandboxOutput
1455
+
1281
1456
  Subnets.member = Shapes::ShapeRef.new(shape: NonEmptyString)
1282
1457
 
1283
1458
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: KeyInput, location_name: "key"))
@@ -1456,6 +1631,15 @@ module Aws::CodeBuild
1456
1631
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1457
1632
  end)
1458
1633
 
1634
+ api.add_operation(:batch_get_command_executions, Seahorse::Model::Operation.new.tap do |o|
1635
+ o.name = "BatchGetCommandExecutions"
1636
+ o.http_method = "POST"
1637
+ o.http_request_uri = "/"
1638
+ o.input = Shapes::ShapeRef.new(shape: BatchGetCommandExecutionsInput)
1639
+ o.output = Shapes::ShapeRef.new(shape: BatchGetCommandExecutionsOutput)
1640
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1641
+ end)
1642
+
1459
1643
  api.add_operation(:batch_get_fleets, Seahorse::Model::Operation.new.tap do |o|
1460
1644
  o.name = "BatchGetFleets"
1461
1645
  o.http_method = "POST"
@@ -1492,6 +1676,15 @@ module Aws::CodeBuild
1492
1676
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1493
1677
  end)
1494
1678
 
1679
+ api.add_operation(:batch_get_sandboxes, Seahorse::Model::Operation.new.tap do |o|
1680
+ o.name = "BatchGetSandboxes"
1681
+ o.http_method = "POST"
1682
+ o.http_request_uri = "/"
1683
+ o.input = Shapes::ShapeRef.new(shape: BatchGetSandboxesInput)
1684
+ o.output = Shapes::ShapeRef.new(shape: BatchGetSandboxesOutput)
1685
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1686
+ end)
1687
+
1495
1688
  api.add_operation(:create_fleet, Seahorse::Model::Operation.new.tap do |o|
1496
1689
  o.name = "CreateFleet"
1497
1690
  o.http_method = "POST"
@@ -1744,6 +1937,22 @@ module Aws::CodeBuild
1744
1937
  )
1745
1938
  end)
1746
1939
 
1940
+ api.add_operation(:list_command_executions_for_sandbox, Seahorse::Model::Operation.new.tap do |o|
1941
+ o.name = "ListCommandExecutionsForSandbox"
1942
+ o.http_method = "POST"
1943
+ o.http_request_uri = "/"
1944
+ o.input = Shapes::ShapeRef.new(shape: ListCommandExecutionsForSandboxInput)
1945
+ o.output = Shapes::ShapeRef.new(shape: ListCommandExecutionsForSandboxOutput)
1946
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1947
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1948
+ o[:pager] = Aws::Pager.new(
1949
+ limit_key: "max_results",
1950
+ tokens: {
1951
+ "next_token" => "next_token"
1952
+ }
1953
+ )
1954
+ end)
1955
+
1747
1956
  api.add_operation(:list_curated_environment_images, Seahorse::Model::Operation.new.tap do |o|
1748
1957
  o.name = "ListCuratedEnvironmentImages"
1749
1958
  o.http_method = "POST"
@@ -1827,6 +2036,37 @@ module Aws::CodeBuild
1827
2036
  )
1828
2037
  end)
1829
2038
 
2039
+ api.add_operation(:list_sandboxes, Seahorse::Model::Operation.new.tap do |o|
2040
+ o.name = "ListSandboxes"
2041
+ o.http_method = "POST"
2042
+ o.http_request_uri = "/"
2043
+ o.input = Shapes::ShapeRef.new(shape: ListSandboxesInput)
2044
+ o.output = Shapes::ShapeRef.new(shape: ListSandboxesOutput)
2045
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2046
+ o[:pager] = Aws::Pager.new(
2047
+ limit_key: "max_results",
2048
+ tokens: {
2049
+ "next_token" => "next_token"
2050
+ }
2051
+ )
2052
+ end)
2053
+
2054
+ api.add_operation(:list_sandboxes_for_project, Seahorse::Model::Operation.new.tap do |o|
2055
+ o.name = "ListSandboxesForProject"
2056
+ o.http_method = "POST"
2057
+ o.http_request_uri = "/"
2058
+ o.input = Shapes::ShapeRef.new(shape: ListSandboxesForProjectInput)
2059
+ o.output = Shapes::ShapeRef.new(shape: ListSandboxesForProjectOutput)
2060
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2061
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2062
+ o[:pager] = Aws::Pager.new(
2063
+ limit_key: "max_results",
2064
+ tokens: {
2065
+ "next_token" => "next_token"
2066
+ }
2067
+ )
2068
+ end)
2069
+
1830
2070
  api.add_operation(:list_shared_projects, Seahorse::Model::Operation.new.tap do |o|
1831
2071
  o.name = "ListSharedProjects"
1832
2072
  o.http_method = "POST"
@@ -1918,6 +2158,37 @@ module Aws::CodeBuild
1918
2158
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1919
2159
  end)
1920
2160
 
2161
+ api.add_operation(:start_command_execution, Seahorse::Model::Operation.new.tap do |o|
2162
+ o.name = "StartCommandExecution"
2163
+ o.http_method = "POST"
2164
+ o.http_request_uri = "/"
2165
+ o.input = Shapes::ShapeRef.new(shape: StartCommandExecutionInput)
2166
+ o.output = Shapes::ShapeRef.new(shape: StartCommandExecutionOutput)
2167
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2168
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2169
+ end)
2170
+
2171
+ api.add_operation(:start_sandbox, Seahorse::Model::Operation.new.tap do |o|
2172
+ o.name = "StartSandbox"
2173
+ o.http_method = "POST"
2174
+ o.http_request_uri = "/"
2175
+ o.input = Shapes::ShapeRef.new(shape: StartSandboxInput)
2176
+ o.output = Shapes::ShapeRef.new(shape: StartSandboxOutput)
2177
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2178
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2179
+ o.errors << Shapes::ShapeRef.new(shape: AccountSuspendedException)
2180
+ end)
2181
+
2182
+ api.add_operation(:start_sandbox_connection, Seahorse::Model::Operation.new.tap do |o|
2183
+ o.name = "StartSandboxConnection"
2184
+ o.http_method = "POST"
2185
+ o.http_request_uri = "/"
2186
+ o.input = Shapes::ShapeRef.new(shape: StartSandboxConnectionInput)
2187
+ o.output = Shapes::ShapeRef.new(shape: StartSandboxConnectionOutput)
2188
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2189
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2190
+ end)
2191
+
1921
2192
  api.add_operation(:stop_build, Seahorse::Model::Operation.new.tap do |o|
1922
2193
  o.name = "StopBuild"
1923
2194
  o.http_method = "POST"
@@ -1938,6 +2209,16 @@ module Aws::CodeBuild
1938
2209
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1939
2210
  end)
1940
2211
 
2212
+ api.add_operation(:stop_sandbox, Seahorse::Model::Operation.new.tap do |o|
2213
+ o.name = "StopSandbox"
2214
+ o.http_method = "POST"
2215
+ o.http_request_uri = "/"
2216
+ o.input = Shapes::ShapeRef.new(shape: StopSandboxInput)
2217
+ o.output = Shapes::ShapeRef.new(shape: StopSandboxOutput)
2218
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2219
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2220
+ end)
2221
+
1941
2222
  api.add_operation(:update_fleet, Seahorse::Model::Operation.new.tap do |o|
1942
2223
  o.name = "UpdateFleet"
1943
2224
  o.http_method = "POST"
@@ -28,6 +28,7 @@ module Aws::CodeBuild
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccountLimitExceededException}
31
+ # * {AccountSuspendedException}
31
32
  # * {InvalidInputException}
32
33
  # * {OAuthProviderException}
33
34
  # * {ResourceAlreadyExistsException}
@@ -49,6 +50,16 @@ module Aws::CodeBuild
49
50
  end
50
51
  end
51
52
 
53
+ class AccountSuspendedException < ServiceError
54
+
55
+ # @param [Seahorse::Client::RequestContext] context
56
+ # @param [String] message
57
+ # @param [Aws::CodeBuild::Types::AccountSuspendedException] data
58
+ def initialize(context, message, data = Aws::EmptyStructure.new)
59
+ super(context, message, data)
60
+ end
61
+ end
62
+
52
63
  class InvalidInputException < ServiceError
53
64
 
54
65
  # @param [Seahorse::Client::RequestContext] context