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.
data/sig/client.rbs CHANGED
@@ -111,6 +111,18 @@ module Aws
111
111
  ) -> _BatchGetBuildsResponseSuccess
112
112
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetBuildsResponseSuccess
113
113
 
114
+ interface _BatchGetCommandExecutionsResponseSuccess
115
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCommandExecutionsOutput]
116
+ def command_executions: () -> ::Array[Types::CommandExecution]
117
+ def command_executions_not_found: () -> ::Array[::String]
118
+ end
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_get_command_executions-instance_method
120
+ def batch_get_command_executions: (
121
+ sandbox_id: ::String,
122
+ command_execution_ids: Array[::String]
123
+ ) -> _BatchGetCommandExecutionsResponseSuccess
124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCommandExecutionsResponseSuccess
125
+
114
126
  interface _BatchGetFleetsResponseSuccess
115
127
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFleetsOutput]
116
128
  def fleets: () -> ::Array[Types::Fleet]
@@ -155,6 +167,17 @@ module Aws
155
167
  ) -> _BatchGetReportsResponseSuccess
156
168
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetReportsResponseSuccess
157
169
 
170
+ interface _BatchGetSandboxesResponseSuccess
171
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetSandboxesOutput]
172
+ def sandboxes: () -> ::Array[Types::Sandbox]
173
+ def sandboxes_not_found: () -> ::Array[::String]
174
+ end
175
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#batch_get_sandboxes-instance_method
176
+ def batch_get_sandboxes: (
177
+ ids: Array[::String]
178
+ ) -> _BatchGetSandboxesResponseSuccess
179
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetSandboxesResponseSuccess
180
+
158
181
  interface _CreateFleetResponseSuccess
159
182
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateFleetOutput]
160
183
  def fleet: () -> Types::Fleet
@@ -649,6 +672,20 @@ module Aws
649
672
  ) -> _ListBuildsForProjectResponseSuccess
650
673
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBuildsForProjectResponseSuccess
651
674
 
675
+ interface _ListCommandExecutionsForSandboxResponseSuccess
676
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCommandExecutionsForSandboxOutput]
677
+ def command_executions: () -> ::Array[Types::CommandExecution]
678
+ def next_token: () -> ::String
679
+ end
680
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_command_executions_for_sandbox-instance_method
681
+ def list_command_executions_for_sandbox: (
682
+ sandbox_id: ::String,
683
+ ?max_results: ::Integer,
684
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
685
+ ?next_token: ::String
686
+ ) -> _ListCommandExecutionsForSandboxResponseSuccess
687
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCommandExecutionsForSandboxResponseSuccess
688
+
652
689
  interface _ListCuratedEnvironmentImagesResponseSuccess
653
690
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCuratedEnvironmentImagesOutput]
654
691
  def platforms: () -> ::Array[Types::EnvironmentPlatform]
@@ -732,6 +769,33 @@ module Aws
732
769
  ) -> _ListReportsForReportGroupResponseSuccess
733
770
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReportsForReportGroupResponseSuccess
734
771
 
772
+ interface _ListSandboxesResponseSuccess
773
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSandboxesOutput]
774
+ def ids: () -> ::Array[::String]
775
+ def next_token: () -> ::String
776
+ end
777
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_sandboxes-instance_method
778
+ def list_sandboxes: (
779
+ ?max_results: ::Integer,
780
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
781
+ ?next_token: ::String
782
+ ) -> _ListSandboxesResponseSuccess
783
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSandboxesResponseSuccess
784
+
785
+ interface _ListSandboxesForProjectResponseSuccess
786
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSandboxesForProjectOutput]
787
+ def ids: () -> ::Array[::String]
788
+ def next_token: () -> ::String
789
+ end
790
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#list_sandboxes_for_project-instance_method
791
+ def list_sandboxes_for_project: (
792
+ project_name: ::String,
793
+ ?max_results: ::Integer,
794
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
795
+ ?next_token: ::String
796
+ ) -> _ListSandboxesForProjectResponseSuccess
797
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSandboxesForProjectResponseSuccess
798
+
735
799
  interface _ListSharedProjectsResponseSuccess
736
800
  include ::Seahorse::Client::_ResponseSuccess[Types::ListSharedProjectsOutput]
737
801
  def next_token: () -> ::String
@@ -1062,6 +1126,39 @@ module Aws
1062
1126
  ) -> _StartBuildBatchResponseSuccess
1063
1127
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBuildBatchResponseSuccess
1064
1128
 
1129
+ interface _StartCommandExecutionResponseSuccess
1130
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartCommandExecutionOutput]
1131
+ def command_execution: () -> Types::CommandExecution
1132
+ end
1133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#start_command_execution-instance_method
1134
+ def start_command_execution: (
1135
+ sandbox_id: ::String,
1136
+ command: ::String,
1137
+ ?type: ("SHELL")
1138
+ ) -> _StartCommandExecutionResponseSuccess
1139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCommandExecutionResponseSuccess
1140
+
1141
+ interface _StartSandboxResponseSuccess
1142
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartSandboxOutput]
1143
+ def sandbox: () -> Types::Sandbox
1144
+ end
1145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#start_sandbox-instance_method
1146
+ def start_sandbox: (
1147
+ ?project_name: ::String,
1148
+ ?idempotency_token: ::String
1149
+ ) -> _StartSandboxResponseSuccess
1150
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSandboxResponseSuccess
1151
+
1152
+ interface _StartSandboxConnectionResponseSuccess
1153
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartSandboxConnectionOutput]
1154
+ def ssm_session: () -> Types::SSMSession
1155
+ end
1156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#start_sandbox_connection-instance_method
1157
+ def start_sandbox_connection: (
1158
+ sandbox_id: ::String
1159
+ ) -> _StartSandboxConnectionResponseSuccess
1160
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSandboxConnectionResponseSuccess
1161
+
1065
1162
  interface _StopBuildResponseSuccess
1066
1163
  include ::Seahorse::Client::_ResponseSuccess[Types::StopBuildOutput]
1067
1164
  def build: () -> Types::Build
@@ -1082,6 +1179,16 @@ module Aws
1082
1179
  ) -> _StopBuildBatchResponseSuccess
1083
1180
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopBuildBatchResponseSuccess
1084
1181
 
1182
+ interface _StopSandboxResponseSuccess
1183
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopSandboxOutput]
1184
+ def sandbox: () -> Types::Sandbox
1185
+ end
1186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeBuild/Client.html#stop_sandbox-instance_method
1187
+ def stop_sandbox: (
1188
+ id: ::String
1189
+ ) -> _StopSandboxResponseSuccess
1190
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopSandboxResponseSuccess
1191
+
1085
1192
  interface _UpdateFleetResponseSuccess
1086
1193
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFleetOutput]
1087
1194
  def fleet: () -> Types::Fleet
data/sig/errors.rbs CHANGED
@@ -13,6 +13,8 @@ module Aws
13
13
 
14
14
  class AccountLimitExceededException < ::Aws::Errors::ServiceError
15
15
  end
16
+ class AccountSuspendedException < ::Aws::Errors::ServiceError
17
+ end
16
18
  class InvalidInputException < ::Aws::Errors::ServiceError
17
19
  end
18
20
  class OAuthProviderException < ::Aws::Errors::ServiceError
data/sig/types.rbs CHANGED
@@ -11,6 +11,9 @@ module Aws::CodeBuild
11
11
  class AccountLimitExceededException < Aws::EmptyStructure
12
12
  end
13
13
 
14
+ class AccountSuspendedException < Aws::EmptyStructure
15
+ end
16
+
14
17
  class AutoRetryConfig
15
18
  attr_accessor auto_retry_limit: ::Integer
16
19
  attr_accessor auto_retry_number: ::Integer
@@ -52,6 +55,18 @@ module Aws::CodeBuild
52
55
  SENSITIVE: []
53
56
  end
54
57
 
58
+ class BatchGetCommandExecutionsInput
59
+ attr_accessor sandbox_id: ::String
60
+ attr_accessor command_execution_ids: ::Array[::String]
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class BatchGetCommandExecutionsOutput
65
+ attr_accessor command_executions: ::Array[Types::CommandExecution]
66
+ attr_accessor command_executions_not_found: ::Array[::String]
67
+ SENSITIVE: []
68
+ end
69
+
55
70
  class BatchGetFleetsInput
56
71
  attr_accessor names: ::Array[::String]
57
72
  SENSITIVE: []
@@ -96,6 +111,17 @@ module Aws::CodeBuild
96
111
  SENSITIVE: []
97
112
  end
98
113
 
114
+ class BatchGetSandboxesInput
115
+ attr_accessor ids: ::Array[::String]
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class BatchGetSandboxesOutput
120
+ attr_accessor sandboxes: ::Array[Types::Sandbox]
121
+ attr_accessor sandboxes_not_found: ::Array[::String]
122
+ SENSITIVE: []
123
+ end
124
+
99
125
  class BatchRestrictions
100
126
  attr_accessor maximum_builds_allowed: ::Integer
101
127
  attr_accessor compute_types_allowed: ::Array[::String]
@@ -272,6 +298,23 @@ module Aws::CodeBuild
272
298
  SENSITIVE: []
273
299
  end
274
300
 
301
+ class CommandExecution
302
+ attr_accessor id: ::String
303
+ attr_accessor sandbox_id: ::String
304
+ attr_accessor submit_time: ::Time
305
+ attr_accessor start_time: ::Time
306
+ attr_accessor end_time: ::Time
307
+ attr_accessor status: ::String
308
+ attr_accessor command: ::String
309
+ attr_accessor type: ("SHELL")
310
+ attr_accessor exit_code: ::String
311
+ attr_accessor standard_output_content: ::String
312
+ attr_accessor standard_err_content: ::String
313
+ attr_accessor logs: Types::LogsLocation
314
+ attr_accessor sandbox_arn: ::String
315
+ SENSITIVE: [:command, :standard_output_content, :standard_err_content]
316
+ end
317
+
275
318
  class ComputeConfiguration
276
319
  attr_accessor v_cpu: ::Integer
277
320
  attr_accessor memory: ::Integer
@@ -642,6 +685,20 @@ module Aws::CodeBuild
642
685
  SENSITIVE: []
643
686
  end
644
687
 
688
+ class ListCommandExecutionsForSandboxInput
689
+ attr_accessor sandbox_id: ::String
690
+ attr_accessor max_results: ::Integer
691
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
692
+ attr_accessor next_token: ::String
693
+ SENSITIVE: [:next_token]
694
+ end
695
+
696
+ class ListCommandExecutionsForSandboxOutput
697
+ attr_accessor command_executions: ::Array[Types::CommandExecution]
698
+ attr_accessor next_token: ::String
699
+ SENSITIVE: []
700
+ end
701
+
645
702
  class ListCuratedEnvironmentImagesInput < Aws::EmptyStructure
646
703
  end
647
704
 
@@ -720,6 +777,33 @@ module Aws::CodeBuild
720
777
  SENSITIVE: []
721
778
  end
722
779
 
780
+ class ListSandboxesForProjectInput
781
+ attr_accessor project_name: ::String
782
+ attr_accessor max_results: ::Integer
783
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
784
+ attr_accessor next_token: ::String
785
+ SENSITIVE: [:next_token]
786
+ end
787
+
788
+ class ListSandboxesForProjectOutput
789
+ attr_accessor ids: ::Array[::String]
790
+ attr_accessor next_token: ::String
791
+ SENSITIVE: []
792
+ end
793
+
794
+ class ListSandboxesInput
795
+ attr_accessor max_results: ::Integer
796
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
797
+ attr_accessor next_token: ::String
798
+ SENSITIVE: []
799
+ end
800
+
801
+ class ListSandboxesOutput
802
+ attr_accessor ids: ::Array[::String]
803
+ attr_accessor next_token: ::String
804
+ SENSITIVE: []
805
+ end
806
+
723
807
  class ListSharedProjectsInput
724
808
  attr_accessor sort_by: ("ARN" | "MODIFIED_TIME")
725
809
  attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
@@ -1036,6 +1120,60 @@ module Aws::CodeBuild
1036
1120
  SENSITIVE: []
1037
1121
  end
1038
1122
 
1123
+ class SSMSession
1124
+ attr_accessor session_id: ::String
1125
+ attr_accessor token_value: ::String
1126
+ attr_accessor stream_url: ::String
1127
+ SENSITIVE: []
1128
+ end
1129
+
1130
+ class Sandbox
1131
+ attr_accessor id: ::String
1132
+ attr_accessor arn: ::String
1133
+ attr_accessor project_name: ::String
1134
+ attr_accessor request_time: ::Time
1135
+ attr_accessor start_time: ::Time
1136
+ attr_accessor end_time: ::Time
1137
+ attr_accessor status: ::String
1138
+ attr_accessor source: Types::ProjectSource
1139
+ attr_accessor source_version: ::String
1140
+ attr_accessor secondary_sources: ::Array[Types::ProjectSource]
1141
+ attr_accessor secondary_source_versions: ::Array[Types::ProjectSourceVersion]
1142
+ attr_accessor environment: Types::ProjectEnvironment
1143
+ attr_accessor file_system_locations: ::Array[Types::ProjectFileSystemLocation]
1144
+ attr_accessor timeout_in_minutes: ::Integer
1145
+ attr_accessor queued_timeout_in_minutes: ::Integer
1146
+ attr_accessor vpc_config: Types::VpcConfig
1147
+ attr_accessor log_config: Types::LogsConfig
1148
+ attr_accessor encryption_key: ::String
1149
+ attr_accessor service_role: ::String
1150
+ attr_accessor current_session: Types::SandboxSession
1151
+ SENSITIVE: []
1152
+ end
1153
+
1154
+ class SandboxSession
1155
+ attr_accessor id: ::String
1156
+ attr_accessor status: ::String
1157
+ attr_accessor start_time: ::Time
1158
+ attr_accessor end_time: ::Time
1159
+ attr_accessor current_phase: ::String
1160
+ attr_accessor phases: ::Array[Types::SandboxSessionPhase]
1161
+ attr_accessor resolved_source_version: ::String
1162
+ attr_accessor logs: Types::LogsLocation
1163
+ attr_accessor network_interface: Types::NetworkInterface
1164
+ SENSITIVE: []
1165
+ end
1166
+
1167
+ class SandboxSessionPhase
1168
+ attr_accessor phase_type: ::String
1169
+ attr_accessor phase_status: ("SUCCEEDED" | "FAILED" | "FAULT" | "TIMED_OUT" | "IN_PROGRESS" | "STOPPED")
1170
+ attr_accessor start_time: ::Time
1171
+ attr_accessor end_time: ::Time
1172
+ attr_accessor duration_in_seconds: ::Integer
1173
+ attr_accessor contexts: ::Array[Types::PhaseContext]
1174
+ SENSITIVE: []
1175
+ end
1176
+
1039
1177
  class ScalingConfigurationInput
1040
1178
  attr_accessor scaling_type: ("TARGET_TRACKING_SCALING")
1041
1179
  attr_accessor target_tracking_scaling_configs: ::Array[Types::TargetTrackingScalingConfiguration]
@@ -1154,6 +1292,39 @@ module Aws::CodeBuild
1154
1292
  SENSITIVE: []
1155
1293
  end
1156
1294
 
1295
+ class StartCommandExecutionInput
1296
+ attr_accessor sandbox_id: ::String
1297
+ attr_accessor command: ::String
1298
+ attr_accessor type: ("SHELL")
1299
+ SENSITIVE: [:command]
1300
+ end
1301
+
1302
+ class StartCommandExecutionOutput
1303
+ attr_accessor command_execution: Types::CommandExecution
1304
+ SENSITIVE: []
1305
+ end
1306
+
1307
+ class StartSandboxConnectionInput
1308
+ attr_accessor sandbox_id: ::String
1309
+ SENSITIVE: []
1310
+ end
1311
+
1312
+ class StartSandboxConnectionOutput
1313
+ attr_accessor ssm_session: Types::SSMSession
1314
+ SENSITIVE: []
1315
+ end
1316
+
1317
+ class StartSandboxInput
1318
+ attr_accessor project_name: ::String
1319
+ attr_accessor idempotency_token: ::String
1320
+ SENSITIVE: [:idempotency_token]
1321
+ end
1322
+
1323
+ class StartSandboxOutput
1324
+ attr_accessor sandbox: Types::Sandbox
1325
+ SENSITIVE: []
1326
+ end
1327
+
1157
1328
  class StopBuildBatchInput
1158
1329
  attr_accessor id: ::String
1159
1330
  SENSITIVE: []
@@ -1174,6 +1345,16 @@ module Aws::CodeBuild
1174
1345
  SENSITIVE: []
1175
1346
  end
1176
1347
 
1348
+ class StopSandboxInput
1349
+ attr_accessor id: ::String
1350
+ SENSITIVE: []
1351
+ end
1352
+
1353
+ class StopSandboxOutput
1354
+ attr_accessor sandbox: Types::Sandbox
1355
+ SENSITIVE: []
1356
+ end
1357
+
1177
1358
  class Tag
1178
1359
  attr_accessor key: ::String
1179
1360
  attr_accessor value: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.150.0
4
+ version: 1.151.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-02 00:00:00.000000000 Z
11
+ date: 2025-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core