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
@@ -17,6 +17,13 @@ module Aws::CodeBuild
|
|
17
17
|
#
|
18
18
|
class AccountLimitExceededException < Aws::EmptyStructure; end
|
19
19
|
|
20
|
+
# The CodeBuild access has been suspended for the calling Amazon Web
|
21
|
+
# Services account.
|
22
|
+
#
|
23
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/AccountSuspendedException AWS API Documentation
|
24
|
+
#
|
25
|
+
class AccountSuspendedException < Aws::EmptyStructure; end
|
26
|
+
|
20
27
|
# Information about the auto-retry configuration for the build.
|
21
28
|
#
|
22
29
|
# @!attribute [rw] auto_retry_limit
|
@@ -142,6 +149,41 @@ module Aws::CodeBuild
|
|
142
149
|
include Aws::Structure
|
143
150
|
end
|
144
151
|
|
152
|
+
# @!attribute [rw] sandbox_id
|
153
|
+
# A `sandboxId` or `sandboxArn`.
|
154
|
+
# @return [String]
|
155
|
+
#
|
156
|
+
# @!attribute [rw] command_execution_ids
|
157
|
+
# A comma separated list of `commandExecutionIds`.
|
158
|
+
# @return [Array<String>]
|
159
|
+
#
|
160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetCommandExecutionsInput AWS API Documentation
|
161
|
+
#
|
162
|
+
class BatchGetCommandExecutionsInput < Struct.new(
|
163
|
+
:sandbox_id,
|
164
|
+
:command_execution_ids)
|
165
|
+
SENSITIVE = []
|
166
|
+
include Aws::Structure
|
167
|
+
end
|
168
|
+
|
169
|
+
# @!attribute [rw] command_executions
|
170
|
+
# Information about the requested command executions.
|
171
|
+
# @return [Array<Types::CommandExecution>]
|
172
|
+
#
|
173
|
+
# @!attribute [rw] command_executions_not_found
|
174
|
+
# The IDs of command executions for which information could not be
|
175
|
+
# found.
|
176
|
+
# @return [Array<String>]
|
177
|
+
#
|
178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetCommandExecutionsOutput AWS API Documentation
|
179
|
+
#
|
180
|
+
class BatchGetCommandExecutionsOutput < Struct.new(
|
181
|
+
:command_executions,
|
182
|
+
:command_executions_not_found)
|
183
|
+
SENSITIVE = []
|
184
|
+
include Aws::Structure
|
185
|
+
end
|
186
|
+
|
145
187
|
# @!attribute [rw] names
|
146
188
|
# The names or ARNs of the compute fleets.
|
147
189
|
# @return [Array<String>]
|
@@ -265,6 +307,35 @@ module Aws::CodeBuild
|
|
265
307
|
include Aws::Structure
|
266
308
|
end
|
267
309
|
|
310
|
+
# @!attribute [rw] ids
|
311
|
+
# A comma separated list of `sandboxIds` or `sandboxArns`.
|
312
|
+
# @return [Array<String>]
|
313
|
+
#
|
314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetSandboxesInput AWS API Documentation
|
315
|
+
#
|
316
|
+
class BatchGetSandboxesInput < Struct.new(
|
317
|
+
:ids)
|
318
|
+
SENSITIVE = []
|
319
|
+
include Aws::Structure
|
320
|
+
end
|
321
|
+
|
322
|
+
# @!attribute [rw] sandboxes
|
323
|
+
# Information about the requested sandboxes.
|
324
|
+
# @return [Array<Types::Sandbox>]
|
325
|
+
#
|
326
|
+
# @!attribute [rw] sandboxes_not_found
|
327
|
+
# The IDs of sandboxes for which information could not be found.
|
328
|
+
# @return [Array<String>]
|
329
|
+
#
|
330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetSandboxesOutput AWS API Documentation
|
331
|
+
#
|
332
|
+
class BatchGetSandboxesOutput < Struct.new(
|
333
|
+
:sandboxes,
|
334
|
+
:sandboxes_not_found)
|
335
|
+
SENSITIVE = []
|
336
|
+
include Aws::Structure
|
337
|
+
end
|
338
|
+
|
268
339
|
# Specifies restrictions for the batch build.
|
269
340
|
#
|
270
341
|
# @!attribute [rw] maximum_builds_allowed
|
@@ -1455,6 +1526,83 @@ module Aws::CodeBuild
|
|
1455
1526
|
include Aws::Structure
|
1456
1527
|
end
|
1457
1528
|
|
1529
|
+
# Contains command execution information.
|
1530
|
+
#
|
1531
|
+
# @!attribute [rw] id
|
1532
|
+
# The ID of the command execution.
|
1533
|
+
# @return [String]
|
1534
|
+
#
|
1535
|
+
# @!attribute [rw] sandbox_id
|
1536
|
+
# A `sandboxId`.
|
1537
|
+
# @return [String]
|
1538
|
+
#
|
1539
|
+
# @!attribute [rw] submit_time
|
1540
|
+
# When the command execution process was initially submitted,
|
1541
|
+
# expressed in Unix time format.
|
1542
|
+
# @return [Time]
|
1543
|
+
#
|
1544
|
+
# @!attribute [rw] start_time
|
1545
|
+
# When the command execution process started, expressed in Unix time
|
1546
|
+
# format.
|
1547
|
+
# @return [Time]
|
1548
|
+
#
|
1549
|
+
# @!attribute [rw] end_time
|
1550
|
+
# When the command execution process ended, expressed in Unix time
|
1551
|
+
# format.
|
1552
|
+
# @return [Time]
|
1553
|
+
#
|
1554
|
+
# @!attribute [rw] status
|
1555
|
+
# The status of the command execution.
|
1556
|
+
# @return [String]
|
1557
|
+
#
|
1558
|
+
# @!attribute [rw] command
|
1559
|
+
# The command that needs to be executed.
|
1560
|
+
# @return [String]
|
1561
|
+
#
|
1562
|
+
# @!attribute [rw] type
|
1563
|
+
# The command type.
|
1564
|
+
# @return [String]
|
1565
|
+
#
|
1566
|
+
# @!attribute [rw] exit_code
|
1567
|
+
# The exit code to return upon completion.
|
1568
|
+
# @return [String]
|
1569
|
+
#
|
1570
|
+
# @!attribute [rw] standard_output_content
|
1571
|
+
# The text written by the command to stdout.
|
1572
|
+
# @return [String]
|
1573
|
+
#
|
1574
|
+
# @!attribute [rw] standard_err_content
|
1575
|
+
# The text written by the command to stderr.
|
1576
|
+
# @return [String]
|
1577
|
+
#
|
1578
|
+
# @!attribute [rw] logs
|
1579
|
+
# Information about build logs in CloudWatch Logs.
|
1580
|
+
# @return [Types::LogsLocation]
|
1581
|
+
#
|
1582
|
+
# @!attribute [rw] sandbox_arn
|
1583
|
+
# A `sandboxArn`.
|
1584
|
+
# @return [String]
|
1585
|
+
#
|
1586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CommandExecution AWS API Documentation
|
1587
|
+
#
|
1588
|
+
class CommandExecution < Struct.new(
|
1589
|
+
:id,
|
1590
|
+
:sandbox_id,
|
1591
|
+
:submit_time,
|
1592
|
+
:start_time,
|
1593
|
+
:end_time,
|
1594
|
+
:status,
|
1595
|
+
:command,
|
1596
|
+
:type,
|
1597
|
+
:exit_code,
|
1598
|
+
:standard_output_content,
|
1599
|
+
:standard_err_content,
|
1600
|
+
:logs,
|
1601
|
+
:sandbox_arn)
|
1602
|
+
SENSITIVE = [:command, :standard_output_content, :standard_err_content]
|
1603
|
+
include Aws::Structure
|
1604
|
+
end
|
1605
|
+
|
1458
1606
|
# Contains compute attributes. These attributes only need be specified
|
1459
1607
|
# when your project's or fleet's `computeType` is set to
|
1460
1608
|
# `ATTRIBUTE_BASED_COMPUTE`.
|
@@ -3325,6 +3473,51 @@ module Aws::CodeBuild
|
|
3325
3473
|
include Aws::Structure
|
3326
3474
|
end
|
3327
3475
|
|
3476
|
+
# @!attribute [rw] sandbox_id
|
3477
|
+
# A `sandboxId` or `sandboxArn`.
|
3478
|
+
# @return [String]
|
3479
|
+
#
|
3480
|
+
# @!attribute [rw] max_results
|
3481
|
+
# The maximum number of sandbox records to be retrieved.
|
3482
|
+
# @return [Integer]
|
3483
|
+
#
|
3484
|
+
# @!attribute [rw] sort_order
|
3485
|
+
# The order in which sandbox records should be retrieved.
|
3486
|
+
# @return [String]
|
3487
|
+
#
|
3488
|
+
# @!attribute [rw] next_token
|
3489
|
+
# The next token, if any, to get paginated results. You will get this
|
3490
|
+
# value from previous execution of list sandboxes.
|
3491
|
+
# @return [String]
|
3492
|
+
#
|
3493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCommandExecutionsForSandboxInput AWS API Documentation
|
3494
|
+
#
|
3495
|
+
class ListCommandExecutionsForSandboxInput < Struct.new(
|
3496
|
+
:sandbox_id,
|
3497
|
+
:max_results,
|
3498
|
+
:sort_order,
|
3499
|
+
:next_token)
|
3500
|
+
SENSITIVE = [:next_token]
|
3501
|
+
include Aws::Structure
|
3502
|
+
end
|
3503
|
+
|
3504
|
+
# @!attribute [rw] command_executions
|
3505
|
+
# Information about the requested command executions.
|
3506
|
+
# @return [Array<Types::CommandExecution>]
|
3507
|
+
#
|
3508
|
+
# @!attribute [rw] next_token
|
3509
|
+
# Information about the next token to get paginated results.
|
3510
|
+
# @return [String]
|
3511
|
+
#
|
3512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCommandExecutionsForSandboxOutput AWS API Documentation
|
3513
|
+
#
|
3514
|
+
class ListCommandExecutionsForSandboxOutput < Struct.new(
|
3515
|
+
:command_executions,
|
3516
|
+
:next_token)
|
3517
|
+
SENSITIVE = []
|
3518
|
+
include Aws::Structure
|
3519
|
+
end
|
3520
|
+
|
3328
3521
|
# @api private
|
3329
3522
|
#
|
3330
3523
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesInput AWS API Documentation
|
@@ -3683,6 +3876,91 @@ module Aws::CodeBuild
|
|
3683
3876
|
include Aws::Structure
|
3684
3877
|
end
|
3685
3878
|
|
3879
|
+
# @!attribute [rw] project_name
|
3880
|
+
# The CodeBuild project name.
|
3881
|
+
# @return [String]
|
3882
|
+
#
|
3883
|
+
# @!attribute [rw] max_results
|
3884
|
+
# The maximum number of sandbox records to be retrieved.
|
3885
|
+
# @return [Integer]
|
3886
|
+
#
|
3887
|
+
# @!attribute [rw] sort_order
|
3888
|
+
# The order in which sandbox records should be retrieved.
|
3889
|
+
# @return [String]
|
3890
|
+
#
|
3891
|
+
# @!attribute [rw] next_token
|
3892
|
+
# The next token, if any, to get paginated results. You will get this
|
3893
|
+
# value from previous execution of list sandboxes.
|
3894
|
+
# @return [String]
|
3895
|
+
#
|
3896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesForProjectInput AWS API Documentation
|
3897
|
+
#
|
3898
|
+
class ListSandboxesForProjectInput < Struct.new(
|
3899
|
+
:project_name,
|
3900
|
+
:max_results,
|
3901
|
+
:sort_order,
|
3902
|
+
:next_token)
|
3903
|
+
SENSITIVE = [:next_token]
|
3904
|
+
include Aws::Structure
|
3905
|
+
end
|
3906
|
+
|
3907
|
+
# @!attribute [rw] ids
|
3908
|
+
# Information about the requested sandbox IDs.
|
3909
|
+
# @return [Array<String>]
|
3910
|
+
#
|
3911
|
+
# @!attribute [rw] next_token
|
3912
|
+
# Information about the next token to get paginated results.
|
3913
|
+
# @return [String]
|
3914
|
+
#
|
3915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesForProjectOutput AWS API Documentation
|
3916
|
+
#
|
3917
|
+
class ListSandboxesForProjectOutput < Struct.new(
|
3918
|
+
:ids,
|
3919
|
+
:next_token)
|
3920
|
+
SENSITIVE = []
|
3921
|
+
include Aws::Structure
|
3922
|
+
end
|
3923
|
+
|
3924
|
+
# @!attribute [rw] max_results
|
3925
|
+
# The maximum number of sandbox records to be retrieved.
|
3926
|
+
# @return [Integer]
|
3927
|
+
#
|
3928
|
+
# @!attribute [rw] sort_order
|
3929
|
+
# The order in which sandbox records should be retrieved.
|
3930
|
+
# @return [String]
|
3931
|
+
#
|
3932
|
+
# @!attribute [rw] next_token
|
3933
|
+
# The next token, if any, to get paginated results. You will get this
|
3934
|
+
# value from previous execution of list sandboxes.
|
3935
|
+
# @return [String]
|
3936
|
+
#
|
3937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesInput AWS API Documentation
|
3938
|
+
#
|
3939
|
+
class ListSandboxesInput < Struct.new(
|
3940
|
+
:max_results,
|
3941
|
+
:sort_order,
|
3942
|
+
:next_token)
|
3943
|
+
SENSITIVE = []
|
3944
|
+
include Aws::Structure
|
3945
|
+
end
|
3946
|
+
|
3947
|
+
# @!attribute [rw] ids
|
3948
|
+
# Information about the requested sandbox IDs.
|
3949
|
+
# @return [Array<String>]
|
3950
|
+
#
|
3951
|
+
# @!attribute [rw] next_token
|
3952
|
+
# Information about the next token to get paginated results.
|
3953
|
+
# @return [String]
|
3954
|
+
#
|
3955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesOutput AWS API Documentation
|
3956
|
+
#
|
3957
|
+
class ListSandboxesOutput < Struct.new(
|
3958
|
+
:ids,
|
3959
|
+
:next_token)
|
3960
|
+
SENSITIVE = []
|
3961
|
+
include Aws::Structure
|
3962
|
+
end
|
3963
|
+
|
3686
3964
|
# @!attribute [rw] sort_by
|
3687
3965
|
# The criterion to be used to list build projects shared with the
|
3688
3966
|
# current Amazon Web Services account or user. Valid values include:
|
@@ -5705,6 +5983,267 @@ module Aws::CodeBuild
|
|
5705
5983
|
include Aws::Structure
|
5706
5984
|
end
|
5707
5985
|
|
5986
|
+
# Contains information about the Session Manager session.
|
5987
|
+
#
|
5988
|
+
# @!attribute [rw] session_id
|
5989
|
+
# The ID of the session.
|
5990
|
+
# @return [String]
|
5991
|
+
#
|
5992
|
+
# @!attribute [rw] token_value
|
5993
|
+
# An encrypted token value containing session and caller information.
|
5994
|
+
# @return [String]
|
5995
|
+
#
|
5996
|
+
# @!attribute [rw] stream_url
|
5997
|
+
# A URL back to SSM Agent on the managed node that the Session Manager
|
5998
|
+
# client uses to send commands and receive output from the node.
|
5999
|
+
# @return [String]
|
6000
|
+
#
|
6001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SSMSession AWS API Documentation
|
6002
|
+
#
|
6003
|
+
class SSMSession < Struct.new(
|
6004
|
+
:session_id,
|
6005
|
+
:token_value,
|
6006
|
+
:stream_url)
|
6007
|
+
SENSITIVE = []
|
6008
|
+
include Aws::Structure
|
6009
|
+
end
|
6010
|
+
|
6011
|
+
# Contains sandbox information.
|
6012
|
+
#
|
6013
|
+
# @!attribute [rw] id
|
6014
|
+
# The ID of the sandbox.
|
6015
|
+
# @return [String]
|
6016
|
+
#
|
6017
|
+
# @!attribute [rw] arn
|
6018
|
+
# The ARN of the sandbox.
|
6019
|
+
# @return [String]
|
6020
|
+
#
|
6021
|
+
# @!attribute [rw] project_name
|
6022
|
+
# The CodeBuild project name.
|
6023
|
+
# @return [String]
|
6024
|
+
#
|
6025
|
+
# @!attribute [rw] request_time
|
6026
|
+
# When the sandbox process was initially requested, expressed in Unix
|
6027
|
+
# time format.
|
6028
|
+
# @return [Time]
|
6029
|
+
#
|
6030
|
+
# @!attribute [rw] start_time
|
6031
|
+
# When the sandbox process started, expressed in Unix time format.
|
6032
|
+
# @return [Time]
|
6033
|
+
#
|
6034
|
+
# @!attribute [rw] end_time
|
6035
|
+
# When the sandbox process ended, expressed in Unix time format.
|
6036
|
+
# @return [Time]
|
6037
|
+
#
|
6038
|
+
# @!attribute [rw] status
|
6039
|
+
# The status of the sandbox.
|
6040
|
+
# @return [String]
|
6041
|
+
#
|
6042
|
+
# @!attribute [rw] source
|
6043
|
+
# Information about the build input source code for the build project.
|
6044
|
+
# @return [Types::ProjectSource]
|
6045
|
+
#
|
6046
|
+
# @!attribute [rw] source_version
|
6047
|
+
# Any version identifier for the version of the sandbox to be built.
|
6048
|
+
# @return [String]
|
6049
|
+
#
|
6050
|
+
# @!attribute [rw] secondary_sources
|
6051
|
+
# An array of `ProjectSource` objects.
|
6052
|
+
# @return [Array<Types::ProjectSource>]
|
6053
|
+
#
|
6054
|
+
# @!attribute [rw] secondary_source_versions
|
6055
|
+
# An array of `ProjectSourceVersion` objects.
|
6056
|
+
# @return [Array<Types::ProjectSourceVersion>]
|
6057
|
+
#
|
6058
|
+
# @!attribute [rw] environment
|
6059
|
+
# Information about the build environment of the build project.
|
6060
|
+
# @return [Types::ProjectEnvironment]
|
6061
|
+
#
|
6062
|
+
# @!attribute [rw] file_system_locations
|
6063
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild
|
6064
|
+
# build project. A `ProjectFileSystemLocation` object specifies the
|
6065
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
|
6066
|
+
# of a file system created using Amazon Elastic File System.
|
6067
|
+
# @return [Array<Types::ProjectFileSystemLocation>]
|
6068
|
+
#
|
6069
|
+
# @!attribute [rw] timeout_in_minutes
|
6070
|
+
# How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to
|
6071
|
+
# wait before timing out this sandbox if it does not get marked as
|
6072
|
+
# completed.
|
6073
|
+
# @return [Integer]
|
6074
|
+
#
|
6075
|
+
# @!attribute [rw] queued_timeout_in_minutes
|
6076
|
+
# The number of minutes a sandbox is allowed to be queued before it
|
6077
|
+
# times out.
|
6078
|
+
# @return [Integer]
|
6079
|
+
#
|
6080
|
+
# @!attribute [rw] vpc_config
|
6081
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
6082
|
+
# @return [Types::VpcConfig]
|
6083
|
+
#
|
6084
|
+
# @!attribute [rw] log_config
|
6085
|
+
# Information about logs for a build project. These can be logs in
|
6086
|
+
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
6087
|
+
# @return [Types::LogsConfig]
|
6088
|
+
#
|
6089
|
+
# @!attribute [rw] encryption_key
|
6090
|
+
# The Key Management Service customer master key (CMK) to be used for
|
6091
|
+
# encrypting the sandbox output artifacts.
|
6092
|
+
# @return [String]
|
6093
|
+
#
|
6094
|
+
# @!attribute [rw] service_role
|
6095
|
+
# The name of a service role used for this sandbox.
|
6096
|
+
# @return [String]
|
6097
|
+
#
|
6098
|
+
# @!attribute [rw] current_session
|
6099
|
+
# The current session for the sandbox.
|
6100
|
+
# @return [Types::SandboxSession]
|
6101
|
+
#
|
6102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Sandbox AWS API Documentation
|
6103
|
+
#
|
6104
|
+
class Sandbox < Struct.new(
|
6105
|
+
:id,
|
6106
|
+
:arn,
|
6107
|
+
:project_name,
|
6108
|
+
:request_time,
|
6109
|
+
:start_time,
|
6110
|
+
:end_time,
|
6111
|
+
:status,
|
6112
|
+
:source,
|
6113
|
+
:source_version,
|
6114
|
+
:secondary_sources,
|
6115
|
+
:secondary_source_versions,
|
6116
|
+
:environment,
|
6117
|
+
:file_system_locations,
|
6118
|
+
:timeout_in_minutes,
|
6119
|
+
:queued_timeout_in_minutes,
|
6120
|
+
:vpc_config,
|
6121
|
+
:log_config,
|
6122
|
+
:encryption_key,
|
6123
|
+
:service_role,
|
6124
|
+
:current_session)
|
6125
|
+
SENSITIVE = []
|
6126
|
+
include Aws::Structure
|
6127
|
+
end
|
6128
|
+
|
6129
|
+
# Contains information about the sandbox session.
|
6130
|
+
#
|
6131
|
+
# @!attribute [rw] id
|
6132
|
+
# The ID of the sandbox session.
|
6133
|
+
# @return [String]
|
6134
|
+
#
|
6135
|
+
# @!attribute [rw] status
|
6136
|
+
# The status of the sandbox session.
|
6137
|
+
# @return [String]
|
6138
|
+
#
|
6139
|
+
# @!attribute [rw] start_time
|
6140
|
+
# When the sandbox session started, expressed in Unix time format.
|
6141
|
+
# @return [Time]
|
6142
|
+
#
|
6143
|
+
# @!attribute [rw] end_time
|
6144
|
+
# When the sandbox session ended, expressed in Unix time format.
|
6145
|
+
# @return [Time]
|
6146
|
+
#
|
6147
|
+
# @!attribute [rw] current_phase
|
6148
|
+
# The current phase for the sandbox.
|
6149
|
+
# @return [String]
|
6150
|
+
#
|
6151
|
+
# @!attribute [rw] phases
|
6152
|
+
# An array of `SandboxSessionPhase` objects.
|
6153
|
+
# @return [Array<Types::SandboxSessionPhase>]
|
6154
|
+
#
|
6155
|
+
# @!attribute [rw] resolved_source_version
|
6156
|
+
# An identifier for the version of this sandbox's source code.
|
6157
|
+
# @return [String]
|
6158
|
+
#
|
6159
|
+
# @!attribute [rw] logs
|
6160
|
+
# Information about build logs in CloudWatch Logs.
|
6161
|
+
# @return [Types::LogsLocation]
|
6162
|
+
#
|
6163
|
+
# @!attribute [rw] network_interface
|
6164
|
+
# Describes a network interface.
|
6165
|
+
# @return [Types::NetworkInterface]
|
6166
|
+
#
|
6167
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SandboxSession AWS API Documentation
|
6168
|
+
#
|
6169
|
+
class SandboxSession < Struct.new(
|
6170
|
+
:id,
|
6171
|
+
:status,
|
6172
|
+
:start_time,
|
6173
|
+
:end_time,
|
6174
|
+
:current_phase,
|
6175
|
+
:phases,
|
6176
|
+
:resolved_source_version,
|
6177
|
+
:logs,
|
6178
|
+
:network_interface)
|
6179
|
+
SENSITIVE = []
|
6180
|
+
include Aws::Structure
|
6181
|
+
end
|
6182
|
+
|
6183
|
+
# Contains information about the sandbox phase.
|
6184
|
+
#
|
6185
|
+
# @!attribute [rw] phase_type
|
6186
|
+
# The name of the sandbox phase.
|
6187
|
+
# @return [String]
|
6188
|
+
#
|
6189
|
+
# @!attribute [rw] phase_status
|
6190
|
+
# The current status of the sandbox phase. Valid values include:
|
6191
|
+
#
|
6192
|
+
# FAILED
|
6193
|
+
#
|
6194
|
+
# : The sandbox phase failed.
|
6195
|
+
#
|
6196
|
+
# FAULT
|
6197
|
+
#
|
6198
|
+
# : The sandbox phase faulted.
|
6199
|
+
#
|
6200
|
+
# IN\_PROGRESS
|
6201
|
+
#
|
6202
|
+
# : The sandbox phase is still in progress.
|
6203
|
+
#
|
6204
|
+
# STOPPED
|
6205
|
+
#
|
6206
|
+
# : The sandbox phase stopped.
|
6207
|
+
#
|
6208
|
+
# SUCCEEDED
|
6209
|
+
#
|
6210
|
+
# : The sandbox phase succeeded.
|
6211
|
+
#
|
6212
|
+
# TIMED\_OUT
|
6213
|
+
#
|
6214
|
+
# : The sandbox phase timed out.
|
6215
|
+
# @return [String]
|
6216
|
+
#
|
6217
|
+
# @!attribute [rw] start_time
|
6218
|
+
# When the sandbox phase started, expressed in Unix time format.
|
6219
|
+
# @return [Time]
|
6220
|
+
#
|
6221
|
+
# @!attribute [rw] end_time
|
6222
|
+
# When the sandbox phase ended, expressed in Unix time format.
|
6223
|
+
# @return [Time]
|
6224
|
+
#
|
6225
|
+
# @!attribute [rw] duration_in_seconds
|
6226
|
+
# How long, in seconds, between the starting and ending times of the
|
6227
|
+
# sandbox's phase.
|
6228
|
+
# @return [Integer]
|
6229
|
+
#
|
6230
|
+
# @!attribute [rw] contexts
|
6231
|
+
# An array of `PhaseContext` objects.
|
6232
|
+
# @return [Array<Types::PhaseContext>]
|
6233
|
+
#
|
6234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SandboxSessionPhase AWS API Documentation
|
6235
|
+
#
|
6236
|
+
class SandboxSessionPhase < Struct.new(
|
6237
|
+
:phase_type,
|
6238
|
+
:phase_status,
|
6239
|
+
:start_time,
|
6240
|
+
:end_time,
|
6241
|
+
:duration_in_seconds,
|
6242
|
+
:contexts)
|
6243
|
+
SENSITIVE = []
|
6244
|
+
include Aws::Structure
|
6245
|
+
end
|
6246
|
+
|
5708
6247
|
# The scaling configuration input of a compute fleet.
|
5709
6248
|
#
|
5710
6249
|
# @!attribute [rw] scaling_type
|
@@ -6477,6 +7016,93 @@ module Aws::CodeBuild
|
|
6477
7016
|
include Aws::Structure
|
6478
7017
|
end
|
6479
7018
|
|
7019
|
+
# @!attribute [rw] sandbox_id
|
7020
|
+
# A `sandboxId` or `sandboxArn`.
|
7021
|
+
# @return [String]
|
7022
|
+
#
|
7023
|
+
# @!attribute [rw] command
|
7024
|
+
# The command that needs to be executed.
|
7025
|
+
# @return [String]
|
7026
|
+
#
|
7027
|
+
# @!attribute [rw] type
|
7028
|
+
# The command type.
|
7029
|
+
# @return [String]
|
7030
|
+
#
|
7031
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartCommandExecutionInput AWS API Documentation
|
7032
|
+
#
|
7033
|
+
class StartCommandExecutionInput < Struct.new(
|
7034
|
+
:sandbox_id,
|
7035
|
+
:command,
|
7036
|
+
:type)
|
7037
|
+
SENSITIVE = [:command]
|
7038
|
+
include Aws::Structure
|
7039
|
+
end
|
7040
|
+
|
7041
|
+
# @!attribute [rw] command_execution
|
7042
|
+
# Information about the requested command executions.
|
7043
|
+
# @return [Types::CommandExecution]
|
7044
|
+
#
|
7045
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartCommandExecutionOutput AWS API Documentation
|
7046
|
+
#
|
7047
|
+
class StartCommandExecutionOutput < Struct.new(
|
7048
|
+
:command_execution)
|
7049
|
+
SENSITIVE = []
|
7050
|
+
include Aws::Structure
|
7051
|
+
end
|
7052
|
+
|
7053
|
+
# @!attribute [rw] sandbox_id
|
7054
|
+
# A `sandboxId` or `sandboxArn`.
|
7055
|
+
# @return [String]
|
7056
|
+
#
|
7057
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxConnectionInput AWS API Documentation
|
7058
|
+
#
|
7059
|
+
class StartSandboxConnectionInput < Struct.new(
|
7060
|
+
:sandbox_id)
|
7061
|
+
SENSITIVE = []
|
7062
|
+
include Aws::Structure
|
7063
|
+
end
|
7064
|
+
|
7065
|
+
# @!attribute [rw] ssm_session
|
7066
|
+
# Information about the Session Manager session.
|
7067
|
+
# @return [Types::SSMSession]
|
7068
|
+
#
|
7069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxConnectionOutput AWS API Documentation
|
7070
|
+
#
|
7071
|
+
class StartSandboxConnectionOutput < Struct.new(
|
7072
|
+
:ssm_session)
|
7073
|
+
SENSITIVE = []
|
7074
|
+
include Aws::Structure
|
7075
|
+
end
|
7076
|
+
|
7077
|
+
# @!attribute [rw] project_name
|
7078
|
+
# The CodeBuild project name.
|
7079
|
+
# @return [String]
|
7080
|
+
#
|
7081
|
+
# @!attribute [rw] idempotency_token
|
7082
|
+
# A unique client token.
|
7083
|
+
# @return [String]
|
7084
|
+
#
|
7085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxInput AWS API Documentation
|
7086
|
+
#
|
7087
|
+
class StartSandboxInput < Struct.new(
|
7088
|
+
:project_name,
|
7089
|
+
:idempotency_token)
|
7090
|
+
SENSITIVE = [:idempotency_token]
|
7091
|
+
include Aws::Structure
|
7092
|
+
end
|
7093
|
+
|
7094
|
+
# @!attribute [rw] sandbox
|
7095
|
+
# Information about the requested sandbox.
|
7096
|
+
# @return [Types::Sandbox]
|
7097
|
+
#
|
7098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxOutput AWS API Documentation
|
7099
|
+
#
|
7100
|
+
class StartSandboxOutput < Struct.new(
|
7101
|
+
:sandbox)
|
7102
|
+
SENSITIVE = []
|
7103
|
+
include Aws::Structure
|
7104
|
+
end
|
7105
|
+
|
6480
7106
|
# @!attribute [rw] id
|
6481
7107
|
# The identifier of the batch build to stop.
|
6482
7108
|
# @return [String]
|
@@ -6525,6 +7151,30 @@ module Aws::CodeBuild
|
|
6525
7151
|
include Aws::Structure
|
6526
7152
|
end
|
6527
7153
|
|
7154
|
+
# @!attribute [rw] id
|
7155
|
+
# Information about the requested sandbox ID.
|
7156
|
+
# @return [String]
|
7157
|
+
#
|
7158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopSandboxInput AWS API Documentation
|
7159
|
+
#
|
7160
|
+
class StopSandboxInput < Struct.new(
|
7161
|
+
:id)
|
7162
|
+
SENSITIVE = []
|
7163
|
+
include Aws::Structure
|
7164
|
+
end
|
7165
|
+
|
7166
|
+
# @!attribute [rw] sandbox
|
7167
|
+
# Information about the requested sandbox.
|
7168
|
+
# @return [Types::Sandbox]
|
7169
|
+
#
|
7170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopSandboxOutput AWS API Documentation
|
7171
|
+
#
|
7172
|
+
class StopSandboxOutput < Struct.new(
|
7173
|
+
:sandbox)
|
7174
|
+
SENSITIVE = []
|
7175
|
+
include Aws::Structure
|
7176
|
+
end
|
7177
|
+
|
6528
7178
|
# A tag, consisting of a key and a value.
|
6529
7179
|
#
|
6530
7180
|
# This tag is available for use by Amazon Web Services services that
|