Skip to content

Commit df6bfe2

Browse files
This update introduces API operations to manage and create local gateway VIF and VIF groups. It also includes API operations to describe Outpost LAGs and service link VIFs.
1 parent 7500f81 commit df6bfe2

File tree

46 files changed

+6058
-10
lines changed

Some content is hidden

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

46 files changed

+6058
-10
lines changed

generator/ServiceModels/ec2/ec2-2016-11-15.api.json

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

generator/ServiceModels/ec2/ec2-2016-11-15.docs.json

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

generator/ServiceModels/ec2/ec2-2016-11-15.normal.json

Lines changed: 513 additions & 3 deletions
Large diffs are not rendered by default.

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,11 @@
421421
<min>5</min>
422422
<max>1000</max>
423423
</property-value-rule>
424+
<property-value-rule>
425+
<property>Amazon.EC2.Model.DescribeOutpostLagsRequest.MaxResults</property>
426+
<min>5</min>
427+
<max>1000</max>
428+
</property-value-rule>
424429
<property-value-rule>
425430
<property>Amazon.EC2.Model.DescribePrincipalIdFormatRequest.MaxResults</property>
426431
<min>1</min>
@@ -476,6 +481,11 @@
476481
<min>5</min>
477482
<max>1000</max>
478483
</property-value-rule>
484+
<property-value-rule>
485+
<property>Amazon.EC2.Model.DescribeServiceLinkVirtualInterfacesRequest.MaxResults</property>
486+
<min>5</min>
487+
<max>1000</max>
488+
</property-value-rule>
479489
<property-value-rule>
480490
<property>Amazon.EC2.Model.DescribeSpotFleetInstancesRequest.MaxResults</property>
481491
<min>1</min>
@@ -1139,6 +1149,16 @@
11391149
<min>1</min>
11401150
<max>1283</max>
11411151
</property-value-rule>
1152+
<property-value-rule>
1153+
<property>Amazon.EC2.Model.LocalGatewayVirtualInterface.LocalGatewayVirtualInterfaceArn</property>
1154+
<min>1</min>
1155+
<max>1283</max>
1156+
</property-value-rule>
1157+
<property-value-rule>
1158+
<property>Amazon.EC2.Model.LocalGatewayVirtualInterfaceGroup.LocalGatewayVirtualInterfaceGroupArn</property>
1159+
<min>1</min>
1160+
<max>1283</max>
1161+
</property-value-rule>
11421162
<property-value-rule>
11431163
<property>Amazon.EC2.Model.ManagedPrefixList.PrefixListArn</property>
11441164
<min>1</min>
@@ -1259,6 +1279,11 @@
12591279
<min>1</min>
12601280
<max>1283</max>
12611281
</property-value-rule>
1282+
<property-value-rule>
1283+
<property>Amazon.EC2.Model.ServiceLinkVirtualInterface.ServiceLinkVirtualInterfaceArn</property>
1284+
<min>1</min>
1285+
<max>1283</max>
1286+
</property-value-rule>
12621287
<property-value-rule>
12631288
<property>Amazon.EC2.Model.VerifiedAccessEndpointEniOptions.Port</property>
12641289
<min>1</min>

sdk/src/Services/EC2/Generated/Model/ClientVpnEndpoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ internal bool IsSetDescription()
276276
/// <para>
277277
/// Indicates whether the client VPN session is disconnected after the maximum <c>sessionTimeoutHours</c>
278278
/// is reached. If <c>true</c>, users are prompted to reconnect client VPN. If <c>false</c>,
279-
/// client VPN attempts to reconnect automatically. The default value is <c>true</c>.
279+
/// client VPN attempts to reconnect automatically. The default value is <c>false</c>.
280280
/// </para>
281281
/// </summary>
282282
public bool DisconnectOnSessionTimeout

sdk/src/Services/EC2/Generated/Model/CreateClientVpnEndpointRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ internal bool IsSetDescription()
249249
/// Indicates whether the client VPN session is disconnected after the maximum timeout
250250
/// specified in <c>SessionTimeoutHours</c> is reached. If <c>true</c>, users are prompted
251251
/// to reconnect client VPN. If <c>false</c>, client VPN attempts to reconnect automatically.
252-
/// The default value is <c>true</c>.
252+
/// The default value is <c>false</c>.
253253
/// </para>
254254
/// </summary>
255255
public bool DisconnectOnSessionTimeout
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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 ec2-2016-11-15.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.EC2.Model
31+
{
32+
/// <summary>
33+
/// Container for the parameters to the CreateLocalGatewayVirtualInterfaceGroup operation.
34+
/// Create a local gateway virtual interface group.
35+
/// </summary>
36+
public partial class CreateLocalGatewayVirtualInterfaceGroupRequest : AmazonEC2Request
37+
{
38+
private int? _localBgpAsn;
39+
private long? _localBgpAsnExtended;
40+
private string _localGatewayId;
41+
private List<TagSpecification> _tagSpecifications = AWSConfigs.InitializeCollections ? new List<TagSpecification>() : null;
42+
43+
/// <summary>
44+
/// Gets and sets the property LocalBgpAsn.
45+
/// <para>
46+
/// The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).
47+
/// </para>
48+
/// </summary>
49+
public int LocalBgpAsn
50+
{
51+
get { return this._localBgpAsn.GetValueOrDefault(); }
52+
set { this._localBgpAsn = value; }
53+
}
54+
55+
// Check to see if LocalBgpAsn property is set
56+
internal bool IsSetLocalBgpAsn()
57+
{
58+
return this._localBgpAsn.HasValue;
59+
}
60+
61+
/// <summary>
62+
/// Gets and sets the property LocalBgpAsnExtended.
63+
/// <para>
64+
/// The extended 32-bit ASN for the local BGP configuration.
65+
/// </para>
66+
/// </summary>
67+
public long LocalBgpAsnExtended
68+
{
69+
get { return this._localBgpAsnExtended.GetValueOrDefault(); }
70+
set { this._localBgpAsnExtended = value; }
71+
}
72+
73+
// Check to see if LocalBgpAsnExtended property is set
74+
internal bool IsSetLocalBgpAsnExtended()
75+
{
76+
return this._localBgpAsnExtended.HasValue;
77+
}
78+
79+
/// <summary>
80+
/// Gets and sets the property LocalGatewayId.
81+
/// <para>
82+
/// The ID of the local gateway.
83+
/// </para>
84+
/// </summary>
85+
[AWSProperty(Required=true)]
86+
public string LocalGatewayId
87+
{
88+
get { return this._localGatewayId; }
89+
set { this._localGatewayId = value; }
90+
}
91+
92+
// Check to see if LocalGatewayId property is set
93+
internal bool IsSetLocalGatewayId()
94+
{
95+
return this._localGatewayId != null;
96+
}
97+
98+
/// <summary>
99+
/// Gets and sets the property TagSpecifications.
100+
/// <para>
101+
/// The tags to apply to the local gateway virtual interface group when the resource is
102+
/// being created.
103+
/// </para>
104+
/// </summary>
105+
public List<TagSpecification> TagSpecifications
106+
{
107+
get { return this._tagSpecifications; }
108+
set { this._tagSpecifications = value; }
109+
}
110+
111+
// Check to see if TagSpecifications property is set
112+
internal bool IsSetTagSpecifications()
113+
{
114+
return this._tagSpecifications != null && (this._tagSpecifications.Count > 0 || !AWSConfigs.InitializeCollections);
115+
}
116+
117+
}
118+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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 ec2-2016-11-15.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.EC2.Model
31+
{
32+
/// <summary>
33+
/// This is the response object from the CreateLocalGatewayVirtualInterfaceGroup operation.
34+
/// </summary>
35+
public partial class CreateLocalGatewayVirtualInterfaceGroupResponse : AmazonWebServiceResponse
36+
{
37+
private LocalGatewayVirtualInterfaceGroup _localGatewayVirtualInterfaceGroup;
38+
39+
/// <summary>
40+
/// Gets and sets the property LocalGatewayVirtualInterfaceGroup.
41+
/// <para>
42+
/// Information about the created local gateway virtual interface group.
43+
/// </para>
44+
/// </summary>
45+
public LocalGatewayVirtualInterfaceGroup LocalGatewayVirtualInterfaceGroup
46+
{
47+
get { return this._localGatewayVirtualInterfaceGroup; }
48+
set { this._localGatewayVirtualInterfaceGroup = value; }
49+
}
50+
51+
// Check to see if LocalGatewayVirtualInterfaceGroup property is set
52+
internal bool IsSetLocalGatewayVirtualInterfaceGroup()
53+
{
54+
return this._localGatewayVirtualInterfaceGroup != null;
55+
}
56+
57+
}
58+
}

0 commit comments

Comments
 (0)