Skip to content

Commit ba04f78

Browse files
AWS CodeBuild now offers an enhanced debugging experience.
1 parent f408981 commit ba04f78

File tree

68 files changed

+9799
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+9799
-6
lines changed

generator/ServiceModels/codebuild/codebuild-2016-10-06.api.json

Lines changed: 361 additions & 0 deletions
Large diffs are not rendered by default.

generator/ServiceModels/codebuild/codebuild-2016-10-06.docs.json

Lines changed: 256 additions & 6 deletions
Large diffs are not rendered by default.

generator/ServiceModels/codebuild/codebuild-2016-10-06.normal.json

Lines changed: 613 additions & 0 deletions
Large diffs are not rendered by default.

generator/ServiceModels/codebuild/codebuild-2016-10-06.paginators.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
"output_token": "nextToken",
3535
"result_key": "ids"
3636
},
37+
"ListCommandExecutionsForSandbox": {
38+
"input_token": "nextToken",
39+
"limit_key": "maxResults",
40+
"output_token": "nextToken",
41+
"result_key": "commandExecutions"
42+
},
3743
"ListFleets": {
3844
"input_token": "nextToken",
3945
"limit_key": "maxResults",
@@ -62,6 +68,18 @@
6268
"output_token": "nextToken",
6369
"result_key": "reports"
6470
},
71+
"ListSandboxes": {
72+
"input_token": "nextToken",
73+
"limit_key": "maxResults",
74+
"output_token": "nextToken",
75+
"result_key": "ids"
76+
},
77+
"ListSandboxesForProject": {
78+
"input_token": "nextToken",
79+
"limit_key": "maxResults",
80+
"output_token": "nextToken",
81+
"result_key": "ids"
82+
},
6583
"ListSharedProjects": {
6684
"input_token": "nextToken",
6785
"limit_key": "maxResults",

sdk/code-analysis/ServiceAnalysis/CodeBuild/Generated/PropertyValueRules.xml

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?xml version="1.0" encoding="utf-16"?>
22
<property-value-rules>
3+
<property-value-rule>
4+
<property>Amazon.CodeBuild.Model.BatchGetCommandExecutionsRequest.SandboxId</property>
5+
<min>1</min>
6+
</property-value-rule>
37
<property-value-rule>
48
<property>Amazon.CodeBuild.Model.CreateFleetRequest.BaseCapacity</property>
59
<min>1</min>
@@ -171,6 +175,15 @@
171175
<property>Amazon.CodeBuild.Model.ListBuildsForProjectRequest.ProjectName</property>
172176
<min>1</min>
173177
</property-value-rule>
178+
<property-value-rule>
179+
<property>Amazon.CodeBuild.Model.ListCommandExecutionsForSandboxRequest.MaxResults</property>
180+
<min>1</min>
181+
<max>100</max>
182+
</property-value-rule>
183+
<property-value-rule>
184+
<property>Amazon.CodeBuild.Model.ListCommandExecutionsForSandboxRequest.SandboxId</property>
185+
<min>1</min>
186+
</property-value-rule>
174187
<property-value-rule>
175188
<property>Amazon.CodeBuild.Model.ListFleetsRequest.MaxResults</property>
176189
<min>1</min>
@@ -195,6 +208,20 @@
195208
<min>1</min>
196209
<max>100</max>
197210
</property-value-rule>
211+
<property-value-rule>
212+
<property>Amazon.CodeBuild.Model.ListSandboxesRequest.MaxResults</property>
213+
<min>1</min>
214+
<max>100</max>
215+
</property-value-rule>
216+
<property-value-rule>
217+
<property>Amazon.CodeBuild.Model.ListSandboxesForProjectRequest.MaxResults</property>
218+
<min>1</min>
219+
<max>100</max>
220+
</property-value-rule>
221+
<property-value-rule>
222+
<property>Amazon.CodeBuild.Model.ListSandboxesForProjectRequest.ProjectName</property>
223+
<min>1</min>
224+
</property-value-rule>
198225
<property-value-rule>
199226
<property>Amazon.CodeBuild.Model.ListSharedProjectsRequest.MaxResults</property>
200227
<min>1</min>
@@ -289,6 +316,22 @@
289316
<property>Amazon.CodeBuild.Model.StartBuildBatchRequest.ServiceRoleOverride</property>
290317
<min>1</min>
291318
</property-value-rule>
319+
<property-value-rule>
320+
<property>Amazon.CodeBuild.Model.StartCommandExecutionRequest.Command</property>
321+
<min>1</min>
322+
</property-value-rule>
323+
<property-value-rule>
324+
<property>Amazon.CodeBuild.Model.StartCommandExecutionRequest.SandboxId</property>
325+
<min>1</min>
326+
</property-value-rule>
327+
<property-value-rule>
328+
<property>Amazon.CodeBuild.Model.StartSandboxRequest.ProjectName</property>
329+
<min>1</min>
330+
</property-value-rule>
331+
<property-value-rule>
332+
<property>Amazon.CodeBuild.Model.StartSandboxConnectionRequest.SandboxId</property>
333+
<min>1</min>
334+
</property-value-rule>
292335
<property-value-rule>
293336
<property>Amazon.CodeBuild.Model.StopBuildRequest.Id</property>
294337
<min>1</min>
@@ -297,6 +340,10 @@
297340
<property>Amazon.CodeBuild.Model.StopBuildBatchRequest.Id</property>
298341
<min>1</min>
299342
</property-value-rule>
343+
<property-value-rule>
344+
<property>Amazon.CodeBuild.Model.StopSandboxRequest.Id</property>
345+
<min>1</min>
346+
</property-value-rule>
300347
<property-value-rule>
301348
<property>Amazon.CodeBuild.Model.UpdateFleetRequest.Arn</property>
302349
<min>1</min>
@@ -490,6 +537,38 @@
490537
<property>Amazon.CodeBuild.Model.CodeCoverageReportSummary.LinesMissed</property>
491538
<min>0</min>
492539
</property-value-rule>
540+
<property-value-rule>
541+
<property>Amazon.CodeBuild.Model.CommandExecution.Command</property>
542+
<min>1</min>
543+
</property-value-rule>
544+
<property-value-rule>
545+
<property>Amazon.CodeBuild.Model.CommandExecution.ExitCode</property>
546+
<min>1</min>
547+
</property-value-rule>
548+
<property-value-rule>
549+
<property>Amazon.CodeBuild.Model.CommandExecution.Id</property>
550+
<min>1</min>
551+
</property-value-rule>
552+
<property-value-rule>
553+
<property>Amazon.CodeBuild.Model.CommandExecution.SandboxArn</property>
554+
<min>1</min>
555+
</property-value-rule>
556+
<property-value-rule>
557+
<property>Amazon.CodeBuild.Model.CommandExecution.SandboxId</property>
558+
<min>1</min>
559+
</property-value-rule>
560+
<property-value-rule>
561+
<property>Amazon.CodeBuild.Model.CommandExecution.StandardErrContent</property>
562+
<min>1</min>
563+
</property-value-rule>
564+
<property-value-rule>
565+
<property>Amazon.CodeBuild.Model.CommandExecution.StandardOutputContent</property>
566+
<min>1</min>
567+
</property-value-rule>
568+
<property-value-rule>
569+
<property>Amazon.CodeBuild.Model.CommandExecution.Status</property>
570+
<min>1</min>
571+
</property-value-rule>
493572
<property-value-rule>
494573
<property>Amazon.CodeBuild.Model.DebugSession.SessionTarget</property>
495574
<min>1</min>
@@ -618,6 +697,38 @@
618697
<property>Amazon.CodeBuild.Model.S3ReportExportConfig.EncryptionKey</property>
619698
<min>1</min>
620699
</property-value-rule>
700+
<property-value-rule>
701+
<property>Amazon.CodeBuild.Model.Sandbox.Arn</property>
702+
<min>1</min>
703+
</property-value-rule>
704+
<property-value-rule>
705+
<property>Amazon.CodeBuild.Model.Sandbox.EncryptionKey</property>
706+
<min>1</min>
707+
</property-value-rule>
708+
<property-value-rule>
709+
<property>Amazon.CodeBuild.Model.Sandbox.Id</property>
710+
<min>1</min>
711+
</property-value-rule>
712+
<property-value-rule>
713+
<property>Amazon.CodeBuild.Model.Sandbox.ProjectName</property>
714+
<min>1</min>
715+
</property-value-rule>
716+
<property-value-rule>
717+
<property>Amazon.CodeBuild.Model.Sandbox.ServiceRole</property>
718+
<min>1</min>
719+
</property-value-rule>
720+
<property-value-rule>
721+
<property>Amazon.CodeBuild.Model.Sandbox.SourceVersion</property>
722+
<min>1</min>
723+
</property-value-rule>
724+
<property-value-rule>
725+
<property>Amazon.CodeBuild.Model.SandboxSession.Id</property>
726+
<min>1</min>
727+
</property-value-rule>
728+
<property-value-rule>
729+
<property>Amazon.CodeBuild.Model.SandboxSession.ResolvedSourceVersion</property>
730+
<min>1</min>
731+
</property-value-rule>
621732
<property-value-rule>
622733
<property>Amazon.CodeBuild.Model.ScalingConfigurationInput.MaxCapacity</property>
623734
<min>1</min>
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the codebuild-2016-10-06.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
#pragma warning disable CS0612,CS0618,CS1570
30+
namespace Amazon.CodeBuild.Model
31+
{
32+
/// <summary>
33+
/// The CodeBuild access has been suspended for the calling Amazon Web Services account.
34+
/// </summary>
35+
#if !NETSTANDARD
36+
[Serializable]
37+
#endif
38+
public partial class AccountSuspendedException : AmazonCodeBuildException
39+
{
40+
41+
/// <summary>
42+
/// Constructs a new AccountSuspendedException with the specified error
43+
/// message.
44+
/// </summary>
45+
/// <param name="message">
46+
/// Describes the error encountered.
47+
/// </param>
48+
public AccountSuspendedException(string message)
49+
: base(message) {}
50+
51+
/// <summary>
52+
/// Construct instance of AccountSuspendedException
53+
/// </summary>
54+
/// <param name="message"></param>
55+
/// <param name="innerException"></param>
56+
public AccountSuspendedException(string message, Exception innerException)
57+
: base(message, innerException) {}
58+
59+
/// <summary>
60+
/// Construct instance of AccountSuspendedException
61+
/// </summary>
62+
/// <param name="innerException"></param>
63+
public AccountSuspendedException(Exception innerException)
64+
: base(innerException) {}
65+
66+
/// <summary>
67+
/// Construct instance of AccountSuspendedException
68+
/// </summary>
69+
/// <param name="message"></param>
70+
/// <param name="innerException"></param>
71+
/// <param name="errorType"></param>
72+
/// <param name="errorCode"></param>
73+
/// <param name="requestId"></param>
74+
/// <param name="statusCode"></param>
75+
public AccountSuspendedException(string message, Exception innerException, Amazon.Runtime.ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
76+
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
77+
78+
/// <summary>
79+
/// Construct instance of AccountSuspendedException
80+
/// </summary>
81+
/// <param name="message"></param>
82+
/// <param name="errorType"></param>
83+
/// <param name="errorCode"></param>
84+
/// <param name="requestId"></param>
85+
/// <param name="statusCode"></param>
86+
public AccountSuspendedException(string message, Amazon.Runtime.ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
87+
: base(message, errorType, errorCode, requestId, statusCode) {}
88+
89+
90+
#if !NETSTANDARD
91+
/// <summary>
92+
/// Constructs a new instance of the AccountSuspendedException class with serialized data.
93+
/// </summary>
94+
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
95+
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
96+
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
97+
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
98+
protected AccountSuspendedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
99+
: base(info, context)
100+
{
101+
}
102+
103+
/// <summary>
104+
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
105+
/// </summary>
106+
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
107+
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
108+
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
109+
#if BCL35
110+
[System.Security.Permissions.SecurityPermission(
111+
System.Security.Permissions.SecurityAction.LinkDemand,
112+
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
113+
#endif
114+
[System.Security.SecurityCritical]
115+
// These FxCop rules are giving false-positives for this method
116+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
117+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
118+
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
119+
{
120+
base.GetObjectData(info, context);
121+
}
122+
#endif
123+
124+
}
125+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the codebuild-2016-10-06.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
#pragma warning disable CS0612,CS0618,CS1570
30+
namespace Amazon.CodeBuild.Model
31+
{
32+
/// <summary>
33+
/// Container for the parameters to the BatchGetCommandExecutions operation.
34+
/// Gets information about the command executions.
35+
/// </summary>
36+
public partial class BatchGetCommandExecutionsRequest : AmazonCodeBuildRequest
37+
{
38+
private List<string> _commandExecutionIds = AWSConfigs.InitializeCollections ? new List<string>() : null;
39+
private string _sandboxId;
40+
41+
/// <summary>
42+
/// Gets and sets the property CommandExecutionIds.
43+
/// <para>
44+
/// A comma separated list of <c>commandExecutionIds</c>.
45+
/// </para>
46+
/// </summary>
47+
[AWSProperty(Required=true, Min=1, Max=100)]
48+
public List<string> CommandExecutionIds
49+
{
50+
get { return this._commandExecutionIds; }
51+
set { this._commandExecutionIds = value; }
52+
}
53+
54+
// Check to see if CommandExecutionIds property is set
55+
internal bool IsSetCommandExecutionIds()
56+
{
57+
return this._commandExecutionIds != null && (this._commandExecutionIds.Count > 0 || !AWSConfigs.InitializeCollections);
58+
}
59+
60+
/// <summary>
61+
/// Gets and sets the property SandboxId.
62+
/// <para>
63+
/// A <c>sandboxId</c> or <c>sandboxArn</c>.
64+
/// </para>
65+
/// </summary>
66+
[AWSProperty(Required=true, Min=1)]
67+
public string SandboxId
68+
{
69+
get { return this._sandboxId; }
70+
set { this._sandboxId = value; }
71+
}
72+
73+
// Check to see if SandboxId property is set
74+
internal bool IsSetSandboxId()
75+
{
76+
return this._sandboxId != null;
77+
}
78+
79+
}
80+
}

0 commit comments

Comments
 (0)