Skip to content

Commit 2263218

Browse files
Release CodeBuild Reserved Capacity feature
1 parent d18c444 commit 2263218

File tree

56 files changed

+7137
-14
lines changed

Some content is hidden

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

56 files changed

+7137
-14
lines changed

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

Lines changed: 276 additions & 1 deletion
Large diffs are not rendered by default.

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

Lines changed: 208 additions & 4 deletions
Large diffs are not rendered by default.

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

Lines changed: 438 additions & 2 deletions
Large diffs are not rendered by default.

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
"output_token": "nextToken",
3535
"result_key": "ids"
3636
},
37+
"ListFleets": {
38+
"input_token": "nextToken",
39+
"limit_key": "maxResults",
40+
"output_token": "nextToken"
41+
},
3742
"ListProjects": {
3843
"input_token": "nextToken",
3944
"output_token": "nextToken",

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
<?xml version="1.0" encoding="utf-16"?>
22
<property-value-rules>
3+
<property-value-rule>
4+
<property>Amazon.CodeBuild.Model.CreateFleetRequest.BaseCapacity</property>
5+
<min>1</min>
6+
</property-value-rule>
7+
<property-value-rule>
8+
<property>Amazon.CodeBuild.Model.CreateFleetRequest.Name</property>
9+
<min>2</min>
10+
<max>128</max>
11+
<pattern>[A-Za-z0-9][A-Za-z0-9\-_]{1,127}</pattern>
12+
</property-value-rule>
313
<property-value-rule>
414
<property>Amazon.CodeBuild.Model.CreateProjectRequest.Description</property>
515
<min>0</min>
@@ -44,6 +54,10 @@
4454
<property>Amazon.CodeBuild.Model.DeleteBuildBatchRequest.Id</property>
4555
<min>1</min>
4656
</property-value-rule>
57+
<property-value-rule>
58+
<property>Amazon.CodeBuild.Model.DeleteFleetRequest.Arn</property>
59+
<min>1</min>
60+
</property-value-rule>
4761
<property-value-rule>
4862
<property>Amazon.CodeBuild.Model.DeleteProjectRequest.Name</property>
4963
<min>1</min>
@@ -149,6 +163,11 @@
149163
<property>Amazon.CodeBuild.Model.ListBuildsForProjectRequest.ProjectName</property>
150164
<min>1</min>
151165
</property-value-rule>
166+
<property-value-rule>
167+
<property>Amazon.CodeBuild.Model.ListFleetsRequest.MaxResults</property>
168+
<min>1</min>
169+
<max>100</max>
170+
</property-value-rule>
152171
<property-value-rule>
153172
<property>Amazon.CodeBuild.Model.ListProjectsRequest.NextToken</property>
154173
<min>1</min>
@@ -270,6 +289,14 @@
270289
<property>Amazon.CodeBuild.Model.StopBuildBatchRequest.Id</property>
271290
<min>1</min>
272291
</property-value-rule>
292+
<property-value-rule>
293+
<property>Amazon.CodeBuild.Model.UpdateFleetRequest.Arn</property>
294+
<min>1</min>
295+
</property-value-rule>
296+
<property-value-rule>
297+
<property>Amazon.CodeBuild.Model.UpdateFleetRequest.BaseCapacity</property>
298+
<min>1</min>
299+
</property-value-rule>
273300
<property-value-rule>
274301
<property>Amazon.CodeBuild.Model.UpdateProjectRequest.Description</property>
275302
<min>0</min>
@@ -459,6 +486,24 @@
459486
<property>Amazon.CodeBuild.Model.ExportedEnvironmentVariable.Name</property>
460487
<min>1</min>
461488
</property-value-rule>
489+
<property-value-rule>
490+
<property>Amazon.CodeBuild.Model.Fleet.Arn</property>
491+
<min>1</min>
492+
</property-value-rule>
493+
<property-value-rule>
494+
<property>Amazon.CodeBuild.Model.Fleet.BaseCapacity</property>
495+
<min>1</min>
496+
</property-value-rule>
497+
<property-value-rule>
498+
<property>Amazon.CodeBuild.Model.Fleet.Id</property>
499+
<min>1</min>
500+
</property-value-rule>
501+
<property-value-rule>
502+
<property>Amazon.CodeBuild.Model.Fleet.Name</property>
503+
<min>2</min>
504+
<max>128</max>
505+
<pattern>[A-Za-z0-9][A-Za-z0-9\-_]{1,127}</pattern>
506+
</property-value-rule>
462507
<property-value-rule>
463508
<property>Amazon.CodeBuild.Model.NetworkInterface.NetworkInterfaceId</property>
464509
<min>1</min>
@@ -549,6 +594,18 @@
549594
<property>Amazon.CodeBuild.Model.S3ReportExportConfig.EncryptionKey</property>
550595
<min>1</min>
551596
</property-value-rule>
597+
<property-value-rule>
598+
<property>Amazon.CodeBuild.Model.ScalingConfigurationInput.MaxCapacity</property>
599+
<min>1</min>
600+
</property-value-rule>
601+
<property-value-rule>
602+
<property>Amazon.CodeBuild.Model.ScalingConfigurationOutput.DesiredCapacity</property>
603+
<min>1</min>
604+
</property-value-rule>
605+
<property-value-rule>
606+
<property>Amazon.CodeBuild.Model.ScalingConfigurationOutput.MaxCapacity</property>
607+
<min>1</min>
608+
</property-value-rule>
552609
<property-value-rule>
553610
<property>Amazon.CodeBuild.Model.SourceCredentialsInfo.Arn</property>
554611
<min>1</min>
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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+
namespace Amazon.CodeBuild.Model
30+
{
31+
/// <summary>
32+
/// Container for the parameters to the BatchGetFleets operation.
33+
/// Gets information about one or more compute fleets.
34+
/// </summary>
35+
public partial class BatchGetFleetsRequest : AmazonCodeBuildRequest
36+
{
37+
private List<string> _names = new List<string>();
38+
39+
/// <summary>
40+
/// Gets and sets the property Names.
41+
/// <para>
42+
/// The names or ARNs of the compute fleets.
43+
/// </para>
44+
/// </summary>
45+
[AWSProperty(Required=true, Min=1, Max=100)]
46+
public List<string> Names
47+
{
48+
get { return this._names; }
49+
set { this._names = value; }
50+
}
51+
52+
// Check to see if Names property is set
53+
internal bool IsSetNames()
54+
{
55+
return this._names != null && this._names.Count > 0;
56+
}
57+
58+
}
59+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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+
namespace Amazon.CodeBuild.Model
30+
{
31+
/// <summary>
32+
/// This is the response object from the BatchGetFleets operation.
33+
/// </summary>
34+
public partial class BatchGetFleetsResponse : AmazonWebServiceResponse
35+
{
36+
private List<Fleet> _fleets = new List<Fleet>();
37+
private List<string> _fleetsNotFound = new List<string>();
38+
39+
/// <summary>
40+
/// Gets and sets the property Fleets.
41+
/// <para>
42+
/// Information about the requested compute fleets.
43+
/// </para>
44+
/// </summary>
45+
[AWSProperty(Min=1, Max=100)]
46+
public List<Fleet> Fleets
47+
{
48+
get { return this._fleets; }
49+
set { this._fleets = value; }
50+
}
51+
52+
// Check to see if Fleets property is set
53+
internal bool IsSetFleets()
54+
{
55+
return this._fleets != null && this._fleets.Count > 0;
56+
}
57+
58+
/// <summary>
59+
/// Gets and sets the property FleetsNotFound.
60+
/// <para>
61+
/// The names of compute fleets for which information could not be found.
62+
/// </para>
63+
/// </summary>
64+
[AWSProperty(Min=1, Max=100)]
65+
public List<string> FleetsNotFound
66+
{
67+
get { return this._fleetsNotFound; }
68+
set { this._fleetsNotFound = value; }
69+
}
70+
71+
// Check to see if FleetsNotFound property is set
72+
internal bool IsSetFleetsNotFound()
73+
{
74+
return this._fleetsNotFound != null && this._fleetsNotFound.Count > 0;
75+
}
76+
77+
}
78+
}

0 commit comments

Comments
 (0)