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.
@@ -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,6 +583,25 @@ 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"))
@@ -834,6 +900,16 @@ module Aws::CodeBuild
834
900
  ListBuildsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
835
901
  ListBuildsOutput.struct_class = Types::ListBuildsOutput
836
902
 
903
+ ListCommandExecutionsForSandboxInput.add_member(:sandbox_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "sandboxId"))
904
+ ListCommandExecutionsForSandboxInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
905
+ ListCommandExecutionsForSandboxInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
906
+ ListCommandExecutionsForSandboxInput.add_member(:next_token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "nextToken"))
907
+ ListCommandExecutionsForSandboxInput.struct_class = Types::ListCommandExecutionsForSandboxInput
908
+
909
+ ListCommandExecutionsForSandboxOutput.add_member(:command_executions, Shapes::ShapeRef.new(shape: CommandExecutions, location_name: "commandExecutions"))
910
+ ListCommandExecutionsForSandboxOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
911
+ ListCommandExecutionsForSandboxOutput.struct_class = Types::ListCommandExecutionsForSandboxOutput
912
+
837
913
  ListCuratedEnvironmentImagesInput.struct_class = Types::ListCuratedEnvironmentImagesInput
838
914
 
839
915
  ListCuratedEnvironmentImagesOutput.add_member(:platforms, Shapes::ShapeRef.new(shape: EnvironmentPlatforms, location_name: "platforms"))
@@ -889,6 +965,25 @@ module Aws::CodeBuild
889
965
  ListReportsOutput.add_member(:reports, Shapes::ShapeRef.new(shape: ReportArns, location_name: "reports"))
890
966
  ListReportsOutput.struct_class = Types::ListReportsOutput
891
967
 
968
+ ListSandboxesForProjectInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
969
+ ListSandboxesForProjectInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
970
+ ListSandboxesForProjectInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
971
+ ListSandboxesForProjectInput.add_member(:next_token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "nextToken"))
972
+ ListSandboxesForProjectInput.struct_class = Types::ListSandboxesForProjectInput
973
+
974
+ ListSandboxesForProjectOutput.add_member(:ids, Shapes::ShapeRef.new(shape: SandboxIds, location_name: "ids"))
975
+ ListSandboxesForProjectOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
976
+ ListSandboxesForProjectOutput.struct_class = Types::ListSandboxesForProjectOutput
977
+
978
+ ListSandboxesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
979
+ ListSandboxesInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
980
+ ListSandboxesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
981
+ ListSandboxesInput.struct_class = Types::ListSandboxesInput
982
+
983
+ ListSandboxesOutput.add_member(:ids, Shapes::ShapeRef.new(shape: SandboxIds, location_name: "ids"))
984
+ ListSandboxesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
985
+ ListSandboxesOutput.struct_class = Types::ListSandboxesOutput
986
+
892
987
  ListSharedProjectsInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: SharedResourceSortByType, location_name: "sortBy"))
893
988
  ListSharedProjectsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
894
989
  ListSharedProjectsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
@@ -1162,6 +1257,58 @@ module Aws::CodeBuild
1162
1257
  S3ReportExportConfig.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
1163
1258
  S3ReportExportConfig.struct_class = Types::S3ReportExportConfig
1164
1259
 
1260
+ SSMSession.add_member(:session_id, Shapes::ShapeRef.new(shape: String, location_name: "sessionId"))
1261
+ SSMSession.add_member(:token_value, Shapes::ShapeRef.new(shape: String, location_name: "tokenValue"))
1262
+ SSMSession.add_member(:stream_url, Shapes::ShapeRef.new(shape: String, location_name: "streamUrl"))
1263
+ SSMSession.struct_class = Types::SSMSession
1264
+
1265
+ Sandbox.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
1266
+ Sandbox.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
1267
+ Sandbox.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "projectName"))
1268
+ Sandbox.add_member(:request_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "requestTime"))
1269
+ Sandbox.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
1270
+ Sandbox.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1271
+ Sandbox.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
1272
+ Sandbox.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
1273
+ Sandbox.add_member(:source_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "sourceVersion"))
1274
+ Sandbox.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
1275
+ Sandbox.add_member(:secondary_source_versions, Shapes::ShapeRef.new(shape: ProjectSecondarySourceVersions, location_name: "secondarySourceVersions"))
1276
+ Sandbox.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
1277
+ Sandbox.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
1278
+ Sandbox.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "timeoutInMinutes"))
1279
+ Sandbox.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "queuedTimeoutInMinutes"))
1280
+ Sandbox.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1281
+ Sandbox.add_member(:log_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logConfig"))
1282
+ Sandbox.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
1283
+ Sandbox.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
1284
+ Sandbox.add_member(:current_session, Shapes::ShapeRef.new(shape: SandboxSession, location_name: "currentSession"))
1285
+ Sandbox.struct_class = Types::Sandbox
1286
+
1287
+ SandboxIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
1288
+
1289
+ SandboxSession.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
1290
+ SandboxSession.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
1291
+ SandboxSession.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
1292
+ SandboxSession.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1293
+ SandboxSession.add_member(:current_phase, Shapes::ShapeRef.new(shape: String, location_name: "currentPhase"))
1294
+ SandboxSession.add_member(:phases, Shapes::ShapeRef.new(shape: SandboxSessionPhases, location_name: "phases"))
1295
+ SandboxSession.add_member(:resolved_source_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resolvedSourceVersion"))
1296
+ SandboxSession.add_member(:logs, Shapes::ShapeRef.new(shape: LogsLocation, location_name: "logs"))
1297
+ SandboxSession.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
1298
+ SandboxSession.struct_class = Types::SandboxSession
1299
+
1300
+ SandboxSessionPhase.add_member(:phase_type, Shapes::ShapeRef.new(shape: String, location_name: "phaseType"))
1301
+ SandboxSessionPhase.add_member(:phase_status, Shapes::ShapeRef.new(shape: StatusType, location_name: "phaseStatus"))
1302
+ SandboxSessionPhase.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
1303
+ SandboxSessionPhase.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1304
+ SandboxSessionPhase.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "durationInSeconds"))
1305
+ SandboxSessionPhase.add_member(:contexts, Shapes::ShapeRef.new(shape: PhaseContexts, location_name: "contexts"))
1306
+ SandboxSessionPhase.struct_class = Types::SandboxSessionPhase
1307
+
1308
+ SandboxSessionPhases.member = Shapes::ShapeRef.new(shape: SandboxSessionPhase)
1309
+
1310
+ Sandboxes.member = Shapes::ShapeRef.new(shape: Sandbox)
1311
+
1165
1312
  ScalingConfigurationInput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: FleetScalingType, location_name: "scalingType"))
1166
1313
  ScalingConfigurationInput.add_member(:target_tracking_scaling_configs, Shapes::ShapeRef.new(shape: TargetTrackingScalingConfigurations, location_name: "targetTrackingScalingConfigs"))
1167
1314
  ScalingConfigurationInput.add_member(:max_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "maxCapacity"))
@@ -1266,6 +1413,27 @@ module Aws::CodeBuild
1266
1413
  StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
1267
1414
  StartBuildOutput.struct_class = Types::StartBuildOutput
1268
1415
 
1416
+ StartCommandExecutionInput.add_member(:sandbox_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "sandboxId"))
1417
+ StartCommandExecutionInput.add_member(:command, Shapes::ShapeRef.new(shape: SensitiveNonEmptyString, required: true, location_name: "command"))
1418
+ StartCommandExecutionInput.add_member(:type, Shapes::ShapeRef.new(shape: CommandType, location_name: "type"))
1419
+ StartCommandExecutionInput.struct_class = Types::StartCommandExecutionInput
1420
+
1421
+ StartCommandExecutionOutput.add_member(:command_execution, Shapes::ShapeRef.new(shape: CommandExecution, location_name: "commandExecution"))
1422
+ StartCommandExecutionOutput.struct_class = Types::StartCommandExecutionOutput
1423
+
1424
+ StartSandboxConnectionInput.add_member(:sandbox_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "sandboxId"))
1425
+ StartSandboxConnectionInput.struct_class = Types::StartSandboxConnectionInput
1426
+
1427
+ StartSandboxConnectionOutput.add_member(:ssm_session, Shapes::ShapeRef.new(shape: SSMSession, location_name: "ssmSession"))
1428
+ StartSandboxConnectionOutput.struct_class = Types::StartSandboxConnectionOutput
1429
+
1430
+ StartSandboxInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "projectName"))
1431
+ StartSandboxInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "idempotencyToken"))
1432
+ StartSandboxInput.struct_class = Types::StartSandboxInput
1433
+
1434
+ StartSandboxOutput.add_member(:sandbox, Shapes::ShapeRef.new(shape: Sandbox, location_name: "sandbox"))
1435
+ StartSandboxOutput.struct_class = Types::StartSandboxOutput
1436
+
1269
1437
  StopBuildBatchInput.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "id"))
1270
1438
  StopBuildBatchInput.struct_class = Types::StopBuildBatchInput
1271
1439
 
@@ -1278,6 +1446,12 @@ module Aws::CodeBuild
1278
1446
  StopBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
1279
1447
  StopBuildOutput.struct_class = Types::StopBuildOutput
1280
1448
 
1449
+ StopSandboxInput.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "id"))
1450
+ StopSandboxInput.struct_class = Types::StopSandboxInput
1451
+
1452
+ StopSandboxOutput.add_member(:sandbox, Shapes::ShapeRef.new(shape: Sandbox, location_name: "sandbox"))
1453
+ StopSandboxOutput.struct_class = Types::StopSandboxOutput
1454
+
1281
1455
  Subnets.member = Shapes::ShapeRef.new(shape: NonEmptyString)
1282
1456
 
1283
1457
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: KeyInput, location_name: "key"))
@@ -1456,6 +1630,15 @@ module Aws::CodeBuild
1456
1630
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1457
1631
  end)
1458
1632
 
1633
+ api.add_operation(:batch_get_command_executions, Seahorse::Model::Operation.new.tap do |o|
1634
+ o.name = "BatchGetCommandExecutions"
1635
+ o.http_method = "POST"
1636
+ o.http_request_uri = "/"
1637
+ o.input = Shapes::ShapeRef.new(shape: BatchGetCommandExecutionsInput)
1638
+ o.output = Shapes::ShapeRef.new(shape: BatchGetCommandExecutionsOutput)
1639
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1640
+ end)
1641
+
1459
1642
  api.add_operation(:batch_get_fleets, Seahorse::Model::Operation.new.tap do |o|
1460
1643
  o.name = "BatchGetFleets"
1461
1644
  o.http_method = "POST"
@@ -1492,6 +1675,15 @@ module Aws::CodeBuild
1492
1675
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1493
1676
  end)
1494
1677
 
1678
+ api.add_operation(:batch_get_sandboxes, Seahorse::Model::Operation.new.tap do |o|
1679
+ o.name = "BatchGetSandboxes"
1680
+ o.http_method = "POST"
1681
+ o.http_request_uri = "/"
1682
+ o.input = Shapes::ShapeRef.new(shape: BatchGetSandboxesInput)
1683
+ o.output = Shapes::ShapeRef.new(shape: BatchGetSandboxesOutput)
1684
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1685
+ end)
1686
+
1495
1687
  api.add_operation(:create_fleet, Seahorse::Model::Operation.new.tap do |o|
1496
1688
  o.name = "CreateFleet"
1497
1689
  o.http_method = "POST"
@@ -1744,6 +1936,22 @@ module Aws::CodeBuild
1744
1936
  )
1745
1937
  end)
1746
1938
 
1939
+ api.add_operation(:list_command_executions_for_sandbox, Seahorse::Model::Operation.new.tap do |o|
1940
+ o.name = "ListCommandExecutionsForSandbox"
1941
+ o.http_method = "POST"
1942
+ o.http_request_uri = "/"
1943
+ o.input = Shapes::ShapeRef.new(shape: ListCommandExecutionsForSandboxInput)
1944
+ o.output = Shapes::ShapeRef.new(shape: ListCommandExecutionsForSandboxOutput)
1945
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1946
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1947
+ o[:pager] = Aws::Pager.new(
1948
+ limit_key: "max_results",
1949
+ tokens: {
1950
+ "next_token" => "next_token"
1951
+ }
1952
+ )
1953
+ end)
1954
+
1747
1955
  api.add_operation(:list_curated_environment_images, Seahorse::Model::Operation.new.tap do |o|
1748
1956
  o.name = "ListCuratedEnvironmentImages"
1749
1957
  o.http_method = "POST"
@@ -1827,6 +2035,37 @@ module Aws::CodeBuild
1827
2035
  )
1828
2036
  end)
1829
2037
 
2038
+ api.add_operation(:list_sandboxes, Seahorse::Model::Operation.new.tap do |o|
2039
+ o.name = "ListSandboxes"
2040
+ o.http_method = "POST"
2041
+ o.http_request_uri = "/"
2042
+ o.input = Shapes::ShapeRef.new(shape: ListSandboxesInput)
2043
+ o.output = Shapes::ShapeRef.new(shape: ListSandboxesOutput)
2044
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2045
+ o[:pager] = Aws::Pager.new(
2046
+ limit_key: "max_results",
2047
+ tokens: {
2048
+ "next_token" => "next_token"
2049
+ }
2050
+ )
2051
+ end)
2052
+
2053
+ api.add_operation(:list_sandboxes_for_project, Seahorse::Model::Operation.new.tap do |o|
2054
+ o.name = "ListSandboxesForProject"
2055
+ o.http_method = "POST"
2056
+ o.http_request_uri = "/"
2057
+ o.input = Shapes::ShapeRef.new(shape: ListSandboxesForProjectInput)
2058
+ o.output = Shapes::ShapeRef.new(shape: ListSandboxesForProjectOutput)
2059
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2060
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2061
+ o[:pager] = Aws::Pager.new(
2062
+ limit_key: "max_results",
2063
+ tokens: {
2064
+ "next_token" => "next_token"
2065
+ }
2066
+ )
2067
+ end)
2068
+
1830
2069
  api.add_operation(:list_shared_projects, Seahorse::Model::Operation.new.tap do |o|
1831
2070
  o.name = "ListSharedProjects"
1832
2071
  o.http_method = "POST"
@@ -1918,6 +2157,37 @@ module Aws::CodeBuild
1918
2157
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1919
2158
  end)
1920
2159
 
2160
+ api.add_operation(:start_command_execution, Seahorse::Model::Operation.new.tap do |o|
2161
+ o.name = "StartCommandExecution"
2162
+ o.http_method = "POST"
2163
+ o.http_request_uri = "/"
2164
+ o.input = Shapes::ShapeRef.new(shape: StartCommandExecutionInput)
2165
+ o.output = Shapes::ShapeRef.new(shape: StartCommandExecutionOutput)
2166
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2167
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2168
+ end)
2169
+
2170
+ api.add_operation(:start_sandbox, Seahorse::Model::Operation.new.tap do |o|
2171
+ o.name = "StartSandbox"
2172
+ o.http_method = "POST"
2173
+ o.http_request_uri = "/"
2174
+ o.input = Shapes::ShapeRef.new(shape: StartSandboxInput)
2175
+ o.output = Shapes::ShapeRef.new(shape: StartSandboxOutput)
2176
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2177
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2178
+ o.errors << Shapes::ShapeRef.new(shape: AccountSuspendedException)
2179
+ end)
2180
+
2181
+ api.add_operation(:start_sandbox_connection, Seahorse::Model::Operation.new.tap do |o|
2182
+ o.name = "StartSandboxConnection"
2183
+ o.http_method = "POST"
2184
+ o.http_request_uri = "/"
2185
+ o.input = Shapes::ShapeRef.new(shape: StartSandboxConnectionInput)
2186
+ o.output = Shapes::ShapeRef.new(shape: StartSandboxConnectionOutput)
2187
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2188
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2189
+ end)
2190
+
1921
2191
  api.add_operation(:stop_build, Seahorse::Model::Operation.new.tap do |o|
1922
2192
  o.name = "StopBuild"
1923
2193
  o.http_method = "POST"
@@ -1938,6 +2208,16 @@ module Aws::CodeBuild
1938
2208
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1939
2209
  end)
1940
2210
 
2211
+ api.add_operation(:stop_sandbox, Seahorse::Model::Operation.new.tap do |o|
2212
+ o.name = "StopSandbox"
2213
+ o.http_method = "POST"
2214
+ o.http_request_uri = "/"
2215
+ o.input = Shapes::ShapeRef.new(shape: StopSandboxInput)
2216
+ o.output = Shapes::ShapeRef.new(shape: StopSandboxOutput)
2217
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2218
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2219
+ end)
2220
+
1941
2221
  api.add_operation(:update_fleet, Seahorse::Model::Operation.new.tap do |o|
1942
2222
  o.name = "UpdateFleet"
1943
2223
  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