Skip to content

Commit d397842

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 d110dea commit d397842

File tree

44 files changed

+5666
-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.

44 files changed

+5666
-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
@@ -250,7 +250,7 @@ internal bool IsSetDescription()
250250
/// Indicates whether the client VPN session is disconnected after the maximum timeout
251251
/// specified in <c>SessionTimeoutHours</c> is reached. If <c>true</c>, users are prompted
252252
/// to reconnect client VPN. If <c>false</c>, client VPN attempts to reconnect automatically.
253-
/// The default value is <c>true</c>.
253+
/// The default value is <c>false</c>.
254254
/// </para>
255255
/// </summary>
256256
public bool? DisconnectOnSessionTimeout
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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 bool? _dryRun;
39+
private int? _localBgpAsn;
40+
private long? _localBgpAsnExtended;
41+
private string _localGatewayId;
42+
private List<TagSpecification> _tagSpecifications = AWSConfigs.InitializeCollections ? new List<TagSpecification>() : null;
43+
44+
/// <summary>
45+
/// Gets and sets the property DryRun.
46+
/// <para>
47+
/// Checks whether you have the required permissions for the action, without actually
48+
/// making the request, and provides an error response. If you have the required permissions,
49+
/// the error response is <c>DryRunOperation</c>. Otherwise, it is <c>UnauthorizedOperation</c>.
50+
/// </para>
51+
/// </summary>
52+
public bool? DryRun
53+
{
54+
get { return this._dryRun; }
55+
set { this._dryRun = value; }
56+
}
57+
58+
// Check to see if DryRun property is set
59+
internal bool IsSetDryRun()
60+
{
61+
return this._dryRun.HasValue;
62+
}
63+
64+
/// <summary>
65+
/// Gets and sets the property LocalBgpAsn.
66+
/// <para>
67+
/// The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).
68+
/// </para>
69+
/// </summary>
70+
public int? LocalBgpAsn
71+
{
72+
get { return this._localBgpAsn; }
73+
set { this._localBgpAsn = value; }
74+
}
75+
76+
// Check to see if LocalBgpAsn property is set
77+
internal bool IsSetLocalBgpAsn()
78+
{
79+
return this._localBgpAsn.HasValue;
80+
}
81+
82+
/// <summary>
83+
/// Gets and sets the property LocalBgpAsnExtended.
84+
/// <para>
85+
/// The extended 32-bit ASN for the local BGP configuration.
86+
/// </para>
87+
/// </summary>
88+
public long? LocalBgpAsnExtended
89+
{
90+
get { return this._localBgpAsnExtended; }
91+
set { this._localBgpAsnExtended = value; }
92+
}
93+
94+
// Check to see if LocalBgpAsnExtended property is set
95+
internal bool IsSetLocalBgpAsnExtended()
96+
{
97+
return this._localBgpAsnExtended.HasValue;
98+
}
99+
100+
/// <summary>
101+
/// Gets and sets the property LocalGatewayId.
102+
/// <para>
103+
/// The ID of the local gateway.
104+
/// </para>
105+
/// </summary>
106+
[AWSProperty(Required=true)]
107+
public string LocalGatewayId
108+
{
109+
get { return this._localGatewayId; }
110+
set { this._localGatewayId = value; }
111+
}
112+
113+
// Check to see if LocalGatewayId property is set
114+
internal bool IsSetLocalGatewayId()
115+
{
116+
return this._localGatewayId != null;
117+
}
118+
119+
/// <summary>
120+
/// Gets and sets the property TagSpecifications.
121+
/// <para>
122+
/// The tags to apply to the local gateway virtual interface group when the resource is
123+
/// being created.
124+
/// </para>
125+
/// </summary>
126+
public List<TagSpecification> TagSpecifications
127+
{
128+
get { return this._tagSpecifications; }
129+
set { this._tagSpecifications = value; }
130+
}
131+
132+
// Check to see if TagSpecifications property is set
133+
internal bool IsSetTagSpecifications()
134+
{
135+
return this._tagSpecifications != null && (this._tagSpecifications.Count > 0 || !AWSConfigs.InitializeCollections);
136+
}
137+
138+
}
139+
}
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)