aws-sdk-codebuild 1.150.0 → 1.152.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +754 -21
- data/lib/aws-sdk-codebuild/client_api.rb +281 -0
- data/lib/aws-sdk-codebuild/errors.rb +11 -0
- data/lib/aws-sdk-codebuild/types.rb +659 -3
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +121 -10
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +188 -6
- 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,9 +1526,86 @@ 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
|
-
# `ATTRIBUTE_BASED_COMPUTE`.
|
1608
|
+
# `ATTRIBUTE_BASED_COMPUTE` or `CUSTOM_INSTANCE_TYPE`.
|
1461
1609
|
#
|
1462
1610
|
# @!attribute [rw] v_cpu
|
1463
1611
|
# The number of vCPUs of the instance type included in your fleet.
|
@@ -1476,13 +1624,18 @@ module Aws::CodeBuild
|
|
1476
1624
|
# The machine type of the instance type included in your fleet.
|
1477
1625
|
# @return [String]
|
1478
1626
|
#
|
1627
|
+
# @!attribute [rw] instance_type
|
1628
|
+
# The EC2 instance type to be launched in your fleet.
|
1629
|
+
# @return [String]
|
1630
|
+
#
|
1479
1631
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ComputeConfiguration AWS API Documentation
|
1480
1632
|
#
|
1481
1633
|
class ComputeConfiguration < Struct.new(
|
1482
1634
|
:v_cpu,
|
1483
1635
|
:memory,
|
1484
1636
|
:disk,
|
1485
|
-
:machine_type
|
1637
|
+
:machine_type,
|
1638
|
+
:instance_type)
|
1486
1639
|
SENSITIVE = []
|
1487
1640
|
include Aws::Structure
|
1488
1641
|
end
|
@@ -3325,6 +3478,51 @@ module Aws::CodeBuild
|
|
3325
3478
|
include Aws::Structure
|
3326
3479
|
end
|
3327
3480
|
|
3481
|
+
# @!attribute [rw] sandbox_id
|
3482
|
+
# A `sandboxId` or `sandboxArn`.
|
3483
|
+
# @return [String]
|
3484
|
+
#
|
3485
|
+
# @!attribute [rw] max_results
|
3486
|
+
# The maximum number of sandbox records to be retrieved.
|
3487
|
+
# @return [Integer]
|
3488
|
+
#
|
3489
|
+
# @!attribute [rw] sort_order
|
3490
|
+
# The order in which sandbox records should be retrieved.
|
3491
|
+
# @return [String]
|
3492
|
+
#
|
3493
|
+
# @!attribute [rw] next_token
|
3494
|
+
# The next token, if any, to get paginated results. You will get this
|
3495
|
+
# value from previous execution of list sandboxes.
|
3496
|
+
# @return [String]
|
3497
|
+
#
|
3498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCommandExecutionsForSandboxInput AWS API Documentation
|
3499
|
+
#
|
3500
|
+
class ListCommandExecutionsForSandboxInput < Struct.new(
|
3501
|
+
:sandbox_id,
|
3502
|
+
:max_results,
|
3503
|
+
:sort_order,
|
3504
|
+
:next_token)
|
3505
|
+
SENSITIVE = [:next_token]
|
3506
|
+
include Aws::Structure
|
3507
|
+
end
|
3508
|
+
|
3509
|
+
# @!attribute [rw] command_executions
|
3510
|
+
# Information about the requested command executions.
|
3511
|
+
# @return [Array<Types::CommandExecution>]
|
3512
|
+
#
|
3513
|
+
# @!attribute [rw] next_token
|
3514
|
+
# Information about the next token to get paginated results.
|
3515
|
+
# @return [String]
|
3516
|
+
#
|
3517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCommandExecutionsForSandboxOutput AWS API Documentation
|
3518
|
+
#
|
3519
|
+
class ListCommandExecutionsForSandboxOutput < Struct.new(
|
3520
|
+
:command_executions,
|
3521
|
+
:next_token)
|
3522
|
+
SENSITIVE = []
|
3523
|
+
include Aws::Structure
|
3524
|
+
end
|
3525
|
+
|
3328
3526
|
# @api private
|
3329
3527
|
#
|
3330
3528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesInput AWS API Documentation
|
@@ -3683,6 +3881,91 @@ module Aws::CodeBuild
|
|
3683
3881
|
include Aws::Structure
|
3684
3882
|
end
|
3685
3883
|
|
3884
|
+
# @!attribute [rw] project_name
|
3885
|
+
# The CodeBuild project name.
|
3886
|
+
# @return [String]
|
3887
|
+
#
|
3888
|
+
# @!attribute [rw] max_results
|
3889
|
+
# The maximum number of sandbox records to be retrieved.
|
3890
|
+
# @return [Integer]
|
3891
|
+
#
|
3892
|
+
# @!attribute [rw] sort_order
|
3893
|
+
# The order in which sandbox records should be retrieved.
|
3894
|
+
# @return [String]
|
3895
|
+
#
|
3896
|
+
# @!attribute [rw] next_token
|
3897
|
+
# The next token, if any, to get paginated results. You will get this
|
3898
|
+
# value from previous execution of list sandboxes.
|
3899
|
+
# @return [String]
|
3900
|
+
#
|
3901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesForProjectInput AWS API Documentation
|
3902
|
+
#
|
3903
|
+
class ListSandboxesForProjectInput < Struct.new(
|
3904
|
+
:project_name,
|
3905
|
+
:max_results,
|
3906
|
+
:sort_order,
|
3907
|
+
:next_token)
|
3908
|
+
SENSITIVE = [:next_token]
|
3909
|
+
include Aws::Structure
|
3910
|
+
end
|
3911
|
+
|
3912
|
+
# @!attribute [rw] ids
|
3913
|
+
# Information about the requested sandbox IDs.
|
3914
|
+
# @return [Array<String>]
|
3915
|
+
#
|
3916
|
+
# @!attribute [rw] next_token
|
3917
|
+
# Information about the next token to get paginated results.
|
3918
|
+
# @return [String]
|
3919
|
+
#
|
3920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesForProjectOutput AWS API Documentation
|
3921
|
+
#
|
3922
|
+
class ListSandboxesForProjectOutput < Struct.new(
|
3923
|
+
:ids,
|
3924
|
+
:next_token)
|
3925
|
+
SENSITIVE = []
|
3926
|
+
include Aws::Structure
|
3927
|
+
end
|
3928
|
+
|
3929
|
+
# @!attribute [rw] max_results
|
3930
|
+
# The maximum number of sandbox records to be retrieved.
|
3931
|
+
# @return [Integer]
|
3932
|
+
#
|
3933
|
+
# @!attribute [rw] sort_order
|
3934
|
+
# The order in which sandbox records should be retrieved.
|
3935
|
+
# @return [String]
|
3936
|
+
#
|
3937
|
+
# @!attribute [rw] next_token
|
3938
|
+
# The next token, if any, to get paginated results. You will get this
|
3939
|
+
# value from previous execution of list sandboxes.
|
3940
|
+
# @return [String]
|
3941
|
+
#
|
3942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesInput AWS API Documentation
|
3943
|
+
#
|
3944
|
+
class ListSandboxesInput < Struct.new(
|
3945
|
+
:max_results,
|
3946
|
+
:sort_order,
|
3947
|
+
:next_token)
|
3948
|
+
SENSITIVE = []
|
3949
|
+
include Aws::Structure
|
3950
|
+
end
|
3951
|
+
|
3952
|
+
# @!attribute [rw] ids
|
3953
|
+
# Information about the requested sandbox IDs.
|
3954
|
+
# @return [Array<String>]
|
3955
|
+
#
|
3956
|
+
# @!attribute [rw] next_token
|
3957
|
+
# Information about the next token to get paginated results.
|
3958
|
+
# @return [String]
|
3959
|
+
#
|
3960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSandboxesOutput AWS API Documentation
|
3961
|
+
#
|
3962
|
+
class ListSandboxesOutput < Struct.new(
|
3963
|
+
:ids,
|
3964
|
+
:next_token)
|
3965
|
+
SENSITIVE = []
|
3966
|
+
include Aws::Structure
|
3967
|
+
end
|
3968
|
+
|
3686
3969
|
# @!attribute [rw] sort_by
|
3687
3970
|
# The criterion to be used to list build projects shared with the
|
3688
3971
|
# current Amazon Web Services account or user. Valid values include:
|
@@ -5705,6 +5988,267 @@ module Aws::CodeBuild
|
|
5705
5988
|
include Aws::Structure
|
5706
5989
|
end
|
5707
5990
|
|
5991
|
+
# Contains information about the Session Manager session.
|
5992
|
+
#
|
5993
|
+
# @!attribute [rw] session_id
|
5994
|
+
# The ID of the session.
|
5995
|
+
# @return [String]
|
5996
|
+
#
|
5997
|
+
# @!attribute [rw] token_value
|
5998
|
+
# An encrypted token value containing session and caller information.
|
5999
|
+
# @return [String]
|
6000
|
+
#
|
6001
|
+
# @!attribute [rw] stream_url
|
6002
|
+
# A URL back to SSM Agent on the managed node that the Session Manager
|
6003
|
+
# client uses to send commands and receive output from the node.
|
6004
|
+
# @return [String]
|
6005
|
+
#
|
6006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SSMSession AWS API Documentation
|
6007
|
+
#
|
6008
|
+
class SSMSession < Struct.new(
|
6009
|
+
:session_id,
|
6010
|
+
:token_value,
|
6011
|
+
:stream_url)
|
6012
|
+
SENSITIVE = []
|
6013
|
+
include Aws::Structure
|
6014
|
+
end
|
6015
|
+
|
6016
|
+
# Contains sandbox information.
|
6017
|
+
#
|
6018
|
+
# @!attribute [rw] id
|
6019
|
+
# The ID of the sandbox.
|
6020
|
+
# @return [String]
|
6021
|
+
#
|
6022
|
+
# @!attribute [rw] arn
|
6023
|
+
# The ARN of the sandbox.
|
6024
|
+
# @return [String]
|
6025
|
+
#
|
6026
|
+
# @!attribute [rw] project_name
|
6027
|
+
# The CodeBuild project name.
|
6028
|
+
# @return [String]
|
6029
|
+
#
|
6030
|
+
# @!attribute [rw] request_time
|
6031
|
+
# When the sandbox process was initially requested, expressed in Unix
|
6032
|
+
# time format.
|
6033
|
+
# @return [Time]
|
6034
|
+
#
|
6035
|
+
# @!attribute [rw] start_time
|
6036
|
+
# When the sandbox process started, expressed in Unix time format.
|
6037
|
+
# @return [Time]
|
6038
|
+
#
|
6039
|
+
# @!attribute [rw] end_time
|
6040
|
+
# When the sandbox process ended, expressed in Unix time format.
|
6041
|
+
# @return [Time]
|
6042
|
+
#
|
6043
|
+
# @!attribute [rw] status
|
6044
|
+
# The status of the sandbox.
|
6045
|
+
# @return [String]
|
6046
|
+
#
|
6047
|
+
# @!attribute [rw] source
|
6048
|
+
# Information about the build input source code for the build project.
|
6049
|
+
# @return [Types::ProjectSource]
|
6050
|
+
#
|
6051
|
+
# @!attribute [rw] source_version
|
6052
|
+
# Any version identifier for the version of the sandbox to be built.
|
6053
|
+
# @return [String]
|
6054
|
+
#
|
6055
|
+
# @!attribute [rw] secondary_sources
|
6056
|
+
# An array of `ProjectSource` objects.
|
6057
|
+
# @return [Array<Types::ProjectSource>]
|
6058
|
+
#
|
6059
|
+
# @!attribute [rw] secondary_source_versions
|
6060
|
+
# An array of `ProjectSourceVersion` objects.
|
6061
|
+
# @return [Array<Types::ProjectSourceVersion>]
|
6062
|
+
#
|
6063
|
+
# @!attribute [rw] environment
|
6064
|
+
# Information about the build environment of the build project.
|
6065
|
+
# @return [Types::ProjectEnvironment]
|
6066
|
+
#
|
6067
|
+
# @!attribute [rw] file_system_locations
|
6068
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild
|
6069
|
+
# build project. A `ProjectFileSystemLocation` object specifies the
|
6070
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
|
6071
|
+
# of a file system created using Amazon Elastic File System.
|
6072
|
+
# @return [Array<Types::ProjectFileSystemLocation>]
|
6073
|
+
#
|
6074
|
+
# @!attribute [rw] timeout_in_minutes
|
6075
|
+
# How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to
|
6076
|
+
# wait before timing out this sandbox if it does not get marked as
|
6077
|
+
# completed.
|
6078
|
+
# @return [Integer]
|
6079
|
+
#
|
6080
|
+
# @!attribute [rw] queued_timeout_in_minutes
|
6081
|
+
# The number of minutes a sandbox is allowed to be queued before it
|
6082
|
+
# times out.
|
6083
|
+
# @return [Integer]
|
6084
|
+
#
|
6085
|
+
# @!attribute [rw] vpc_config
|
6086
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
6087
|
+
# @return [Types::VpcConfig]
|
6088
|
+
#
|
6089
|
+
# @!attribute [rw] log_config
|
6090
|
+
# Information about logs for a build project. These can be logs in
|
6091
|
+
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
6092
|
+
# @return [Types::LogsConfig]
|
6093
|
+
#
|
6094
|
+
# @!attribute [rw] encryption_key
|
6095
|
+
# The Key Management Service customer master key (CMK) to be used for
|
6096
|
+
# encrypting the sandbox output artifacts.
|
6097
|
+
# @return [String]
|
6098
|
+
#
|
6099
|
+
# @!attribute [rw] service_role
|
6100
|
+
# The name of a service role used for this sandbox.
|
6101
|
+
# @return [String]
|
6102
|
+
#
|
6103
|
+
# @!attribute [rw] current_session
|
6104
|
+
# The current session for the sandbox.
|
6105
|
+
# @return [Types::SandboxSession]
|
6106
|
+
#
|
6107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Sandbox AWS API Documentation
|
6108
|
+
#
|
6109
|
+
class Sandbox < Struct.new(
|
6110
|
+
:id,
|
6111
|
+
:arn,
|
6112
|
+
:project_name,
|
6113
|
+
:request_time,
|
6114
|
+
:start_time,
|
6115
|
+
:end_time,
|
6116
|
+
:status,
|
6117
|
+
:source,
|
6118
|
+
:source_version,
|
6119
|
+
:secondary_sources,
|
6120
|
+
:secondary_source_versions,
|
6121
|
+
:environment,
|
6122
|
+
:file_system_locations,
|
6123
|
+
:timeout_in_minutes,
|
6124
|
+
:queued_timeout_in_minutes,
|
6125
|
+
:vpc_config,
|
6126
|
+
:log_config,
|
6127
|
+
:encryption_key,
|
6128
|
+
:service_role,
|
6129
|
+
:current_session)
|
6130
|
+
SENSITIVE = []
|
6131
|
+
include Aws::Structure
|
6132
|
+
end
|
6133
|
+
|
6134
|
+
# Contains information about the sandbox session.
|
6135
|
+
#
|
6136
|
+
# @!attribute [rw] id
|
6137
|
+
# The ID of the sandbox session.
|
6138
|
+
# @return [String]
|
6139
|
+
#
|
6140
|
+
# @!attribute [rw] status
|
6141
|
+
# The status of the sandbox session.
|
6142
|
+
# @return [String]
|
6143
|
+
#
|
6144
|
+
# @!attribute [rw] start_time
|
6145
|
+
# When the sandbox session started, expressed in Unix time format.
|
6146
|
+
# @return [Time]
|
6147
|
+
#
|
6148
|
+
# @!attribute [rw] end_time
|
6149
|
+
# When the sandbox session ended, expressed in Unix time format.
|
6150
|
+
# @return [Time]
|
6151
|
+
#
|
6152
|
+
# @!attribute [rw] current_phase
|
6153
|
+
# The current phase for the sandbox.
|
6154
|
+
# @return [String]
|
6155
|
+
#
|
6156
|
+
# @!attribute [rw] phases
|
6157
|
+
# An array of `SandboxSessionPhase` objects.
|
6158
|
+
# @return [Array<Types::SandboxSessionPhase>]
|
6159
|
+
#
|
6160
|
+
# @!attribute [rw] resolved_source_version
|
6161
|
+
# An identifier for the version of this sandbox's source code.
|
6162
|
+
# @return [String]
|
6163
|
+
#
|
6164
|
+
# @!attribute [rw] logs
|
6165
|
+
# Information about build logs in CloudWatch Logs.
|
6166
|
+
# @return [Types::LogsLocation]
|
6167
|
+
#
|
6168
|
+
# @!attribute [rw] network_interface
|
6169
|
+
# Describes a network interface.
|
6170
|
+
# @return [Types::NetworkInterface]
|
6171
|
+
#
|
6172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SandboxSession AWS API Documentation
|
6173
|
+
#
|
6174
|
+
class SandboxSession < Struct.new(
|
6175
|
+
:id,
|
6176
|
+
:status,
|
6177
|
+
:start_time,
|
6178
|
+
:end_time,
|
6179
|
+
:current_phase,
|
6180
|
+
:phases,
|
6181
|
+
:resolved_source_version,
|
6182
|
+
:logs,
|
6183
|
+
:network_interface)
|
6184
|
+
SENSITIVE = []
|
6185
|
+
include Aws::Structure
|
6186
|
+
end
|
6187
|
+
|
6188
|
+
# Contains information about the sandbox phase.
|
6189
|
+
#
|
6190
|
+
# @!attribute [rw] phase_type
|
6191
|
+
# The name of the sandbox phase.
|
6192
|
+
# @return [String]
|
6193
|
+
#
|
6194
|
+
# @!attribute [rw] phase_status
|
6195
|
+
# The current status of the sandbox phase. Valid values include:
|
6196
|
+
#
|
6197
|
+
# FAILED
|
6198
|
+
#
|
6199
|
+
# : The sandbox phase failed.
|
6200
|
+
#
|
6201
|
+
# FAULT
|
6202
|
+
#
|
6203
|
+
# : The sandbox phase faulted.
|
6204
|
+
#
|
6205
|
+
# IN\_PROGRESS
|
6206
|
+
#
|
6207
|
+
# : The sandbox phase is still in progress.
|
6208
|
+
#
|
6209
|
+
# STOPPED
|
6210
|
+
#
|
6211
|
+
# : The sandbox phase stopped.
|
6212
|
+
#
|
6213
|
+
# SUCCEEDED
|
6214
|
+
#
|
6215
|
+
# : The sandbox phase succeeded.
|
6216
|
+
#
|
6217
|
+
# TIMED\_OUT
|
6218
|
+
#
|
6219
|
+
# : The sandbox phase timed out.
|
6220
|
+
# @return [String]
|
6221
|
+
#
|
6222
|
+
# @!attribute [rw] start_time
|
6223
|
+
# When the sandbox phase started, expressed in Unix time format.
|
6224
|
+
# @return [Time]
|
6225
|
+
#
|
6226
|
+
# @!attribute [rw] end_time
|
6227
|
+
# When the sandbox phase ended, expressed in Unix time format.
|
6228
|
+
# @return [Time]
|
6229
|
+
#
|
6230
|
+
# @!attribute [rw] duration_in_seconds
|
6231
|
+
# How long, in seconds, between the starting and ending times of the
|
6232
|
+
# sandbox's phase.
|
6233
|
+
# @return [Integer]
|
6234
|
+
#
|
6235
|
+
# @!attribute [rw] contexts
|
6236
|
+
# An array of `PhaseContext` objects.
|
6237
|
+
# @return [Array<Types::PhaseContext>]
|
6238
|
+
#
|
6239
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SandboxSessionPhase AWS API Documentation
|
6240
|
+
#
|
6241
|
+
class SandboxSessionPhase < Struct.new(
|
6242
|
+
:phase_type,
|
6243
|
+
:phase_status,
|
6244
|
+
:start_time,
|
6245
|
+
:end_time,
|
6246
|
+
:duration_in_seconds,
|
6247
|
+
:contexts)
|
6248
|
+
SENSITIVE = []
|
6249
|
+
include Aws::Structure
|
6250
|
+
end
|
6251
|
+
|
5708
6252
|
# The scaling configuration input of a compute fleet.
|
5709
6253
|
#
|
5710
6254
|
# @!attribute [rw] scaling_type
|
@@ -5773,7 +6317,8 @@ module Aws::CodeBuild
|
|
5773
6317
|
# @return [String]
|
5774
6318
|
#
|
5775
6319
|
# @!attribute [rw] scope
|
5776
|
-
# The type of scope for a GitHub or GitLab webhook.
|
6320
|
+
# The type of scope for a GitHub or GitLab webhook. The scope default
|
6321
|
+
# is GITHUB\_ORGANIZATION.
|
5777
6322
|
# @return [String]
|
5778
6323
|
#
|
5779
6324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ScopeConfiguration AWS API Documentation
|
@@ -6477,6 +7022,93 @@ module Aws::CodeBuild
|
|
6477
7022
|
include Aws::Structure
|
6478
7023
|
end
|
6479
7024
|
|
7025
|
+
# @!attribute [rw] sandbox_id
|
7026
|
+
# A `sandboxId` or `sandboxArn`.
|
7027
|
+
# @return [String]
|
7028
|
+
#
|
7029
|
+
# @!attribute [rw] command
|
7030
|
+
# The command that needs to be executed.
|
7031
|
+
# @return [String]
|
7032
|
+
#
|
7033
|
+
# @!attribute [rw] type
|
7034
|
+
# The command type.
|
7035
|
+
# @return [String]
|
7036
|
+
#
|
7037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartCommandExecutionInput AWS API Documentation
|
7038
|
+
#
|
7039
|
+
class StartCommandExecutionInput < Struct.new(
|
7040
|
+
:sandbox_id,
|
7041
|
+
:command,
|
7042
|
+
:type)
|
7043
|
+
SENSITIVE = [:command]
|
7044
|
+
include Aws::Structure
|
7045
|
+
end
|
7046
|
+
|
7047
|
+
# @!attribute [rw] command_execution
|
7048
|
+
# Information about the requested command executions.
|
7049
|
+
# @return [Types::CommandExecution]
|
7050
|
+
#
|
7051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartCommandExecutionOutput AWS API Documentation
|
7052
|
+
#
|
7053
|
+
class StartCommandExecutionOutput < Struct.new(
|
7054
|
+
:command_execution)
|
7055
|
+
SENSITIVE = []
|
7056
|
+
include Aws::Structure
|
7057
|
+
end
|
7058
|
+
|
7059
|
+
# @!attribute [rw] sandbox_id
|
7060
|
+
# A `sandboxId` or `sandboxArn`.
|
7061
|
+
# @return [String]
|
7062
|
+
#
|
7063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxConnectionInput AWS API Documentation
|
7064
|
+
#
|
7065
|
+
class StartSandboxConnectionInput < Struct.new(
|
7066
|
+
:sandbox_id)
|
7067
|
+
SENSITIVE = []
|
7068
|
+
include Aws::Structure
|
7069
|
+
end
|
7070
|
+
|
7071
|
+
# @!attribute [rw] ssm_session
|
7072
|
+
# Information about the Session Manager session.
|
7073
|
+
# @return [Types::SSMSession]
|
7074
|
+
#
|
7075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxConnectionOutput AWS API Documentation
|
7076
|
+
#
|
7077
|
+
class StartSandboxConnectionOutput < Struct.new(
|
7078
|
+
:ssm_session)
|
7079
|
+
SENSITIVE = []
|
7080
|
+
include Aws::Structure
|
7081
|
+
end
|
7082
|
+
|
7083
|
+
# @!attribute [rw] project_name
|
7084
|
+
# The CodeBuild project name.
|
7085
|
+
# @return [String]
|
7086
|
+
#
|
7087
|
+
# @!attribute [rw] idempotency_token
|
7088
|
+
# A unique client token.
|
7089
|
+
# @return [String]
|
7090
|
+
#
|
7091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxInput AWS API Documentation
|
7092
|
+
#
|
7093
|
+
class StartSandboxInput < Struct.new(
|
7094
|
+
:project_name,
|
7095
|
+
:idempotency_token)
|
7096
|
+
SENSITIVE = [:idempotency_token]
|
7097
|
+
include Aws::Structure
|
7098
|
+
end
|
7099
|
+
|
7100
|
+
# @!attribute [rw] sandbox
|
7101
|
+
# Information about the requested sandbox.
|
7102
|
+
# @return [Types::Sandbox]
|
7103
|
+
#
|
7104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartSandboxOutput AWS API Documentation
|
7105
|
+
#
|
7106
|
+
class StartSandboxOutput < Struct.new(
|
7107
|
+
:sandbox)
|
7108
|
+
SENSITIVE = []
|
7109
|
+
include Aws::Structure
|
7110
|
+
end
|
7111
|
+
|
6480
7112
|
# @!attribute [rw] id
|
6481
7113
|
# The identifier of the batch build to stop.
|
6482
7114
|
# @return [String]
|
@@ -6525,6 +7157,30 @@ module Aws::CodeBuild
|
|
6525
7157
|
include Aws::Structure
|
6526
7158
|
end
|
6527
7159
|
|
7160
|
+
# @!attribute [rw] id
|
7161
|
+
# Information about the requested sandbox ID.
|
7162
|
+
# @return [String]
|
7163
|
+
#
|
7164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopSandboxInput AWS API Documentation
|
7165
|
+
#
|
7166
|
+
class StopSandboxInput < Struct.new(
|
7167
|
+
:id)
|
7168
|
+
SENSITIVE = []
|
7169
|
+
include Aws::Structure
|
7170
|
+
end
|
7171
|
+
|
7172
|
+
# @!attribute [rw] sandbox
|
7173
|
+
# Information about the requested sandbox.
|
7174
|
+
# @return [Types::Sandbox]
|
7175
|
+
#
|
7176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopSandboxOutput AWS API Documentation
|
7177
|
+
#
|
7178
|
+
class StopSandboxOutput < Struct.new(
|
7179
|
+
:sandbox)
|
7180
|
+
SENSITIVE = []
|
7181
|
+
include Aws::Structure
|
7182
|
+
end
|
7183
|
+
|
6528
7184
|
# A tag, consisting of a key and a value.
|
6529
7185
|
#
|
6530
7186
|
# This tag is available for use by Amazon Web Services services that
|