Skip to content

Commit 6d4b396

Browse files
This release adds support for OdbNetworkArn as a target in VPC Route Tables
1 parent c1a15ac commit 6d4b396

File tree

10 files changed

+103
-6
lines changed

10 files changed

+103
-6
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13125,6 +13125,7 @@
1312513125
"LocalGatewayId":{"shape":"LocalGatewayId"},
1312613126
"CarrierGatewayId":{"shape":"CarrierGatewayId"},
1312713127
"CoreNetworkArn":{"shape":"CoreNetworkArn"},
13128+
"OdbNetworkArn":{"shape":"OdbNetworkArn"},
1312813129
"DryRun":{
1312913130
"shape":"Boolean",
1313013131
"locationName":"dryRun"
@@ -39571,6 +39572,7 @@
3957139572
"locationName":"item"
3957239573
}
3957339574
},
39575+
"OdbNetworkArn":{"type":"string"},
3957439576
"OfferingClassType":{
3957539577
"type":"string",
3957639578
"enum":[
@@ -42129,6 +42131,7 @@
4212942131
"LocalGatewayId":{"shape":"LocalGatewayId"},
4213042132
"CarrierGatewayId":{"shape":"CarrierGatewayId"},
4213142133
"CoreNetworkArn":{"shape":"CoreNetworkArn"},
42134+
"OdbNetworkArn":{"shape":"OdbNetworkArn"},
4213242135
"DryRun":{
4213342136
"shape":"Boolean",
4213442137
"locationName":"dryRun"
@@ -43955,6 +43958,10 @@
4395543958
"CoreNetworkArn":{
4395643959
"shape":"CoreNetworkArn",
4395743960
"locationName":"coreNetworkArn"
43961+
},
43962+
"OdbNetworkArn":{
43963+
"shape":"OdbNetworkArn",
43964+
"locationName":"odbNetworkArn"
4395843965
}
4395943966
}
4396043967
},

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17894,6 +17894,14 @@
1789417894
"ScheduledInstanceRecurrence$OccurrenceDaySet": "<p>The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).</p>"
1789517895
}
1789617896
},
17897+
"OdbNetworkArn": {
17898+
"base": null,
17899+
"refs": {
17900+
"CreateRouteRequest$OdbNetworkArn": "<p>The Amazon Resource Name (ARN) of the ODB network.</p>",
17901+
"ReplaceRouteRequest$OdbNetworkArn": "<p>The Amazon Resource Name (ARN) of the ODB network.</p>",
17902+
"Route$OdbNetworkArn": "<p>The Amazon Resource Name (ARN) of the ODB network.</p>"
17903+
}
17904+
},
1789717905
"OfferingClassType": {
1789817906
"base": null,
1789917907
"refs": {
@@ -22195,7 +22203,7 @@
2219522203
"DeprovisionByoipCidrRequest$Cidr": "<p>The address range, in CIDR notation. The prefix must be the same prefix that you specified when you provisioned the address range.</p>",
2219622204
"DeprovisionIpamByoasnRequest$Asn": "<p>An ASN.</p>",
2219722205
"DeprovisionIpamPoolCidrRequest$Cidr": "<p>The CIDR which you want to deprovision from the pool.</p>",
22198-
"DeprovisionPublicIpv4PoolCidrRequest$Cidr": "<p>The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of <code>/32</code>. You must rerun this command for each IP address in the CIDR range. If your CIDR is a <code>/24</code>, you will have to run this command to deprovision each of the 256 IP addresses in the <code>/24</code> CIDR.</p>",
22206+
"DeprovisionPublicIpv4PoolCidrRequest$Cidr": "<p>The CIDR you want to deprovision from the pool.</p>",
2219922207
"DeprovisionedAddressSet$member": null,
2220022208
"DeregisterTransitGatewayMulticastGroupMembersRequest$GroupIpAddress": "<p>The IP address assigned to the transit gateway multicast group.</p>",
2220122209
"DeregisterTransitGatewayMulticastGroupSourcesRequest$GroupIpAddress": "<p>The IP address assigned to the transit gateway multicast group.</p>",

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16132,6 +16132,10 @@
1613216132
"shape":"CoreNetworkArn",
1613316133
"documentation":"<p>The Amazon Resource Name (ARN) of the core network.</p>"
1613416134
},
16135+
"OdbNetworkArn":{
16136+
"shape":"OdbNetworkArn",
16137+
"documentation":"<p>The Amazon Resource Name (ARN) of the ODB network.</p>"
16138+
},
1613516139
"DryRun":{
1613616140
"shape":"Boolean",
1613716141
"documentation":"<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
@@ -21020,7 +21024,7 @@
2102021024
},
2102121025
"Cidr":{
2102221026
"shape":"String",
21023-
"documentation":"<p>The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of <code>/32</code>. You must rerun this command for each IP address in the CIDR range. If your CIDR is a <code>/24</code>, you will have to run this command to deprovision each of the 256 IP addresses in the <code>/24</code> CIDR.</p>"
21027+
"documentation":"<p>The CIDR you want to deprovision from the pool.</p>"
2102421028
}
2102521029
}
2102621030
},
@@ -51675,6 +51679,7 @@
5167551679
"locationName":"item"
5167651680
}
5167751681
},
51682+
"OdbNetworkArn":{"type":"string"},
5167851683
"OfferingClassType":{
5167951684
"type":"string",
5168051685
"enum":[
@@ -54930,6 +54935,10 @@
5493054935
"shape":"CoreNetworkArn",
5493154936
"documentation":"<p>The Amazon Resource Name (ARN) of the core network.</p>"
5493254937
},
54938+
"OdbNetworkArn":{
54939+
"shape":"OdbNetworkArn",
54940+
"documentation":"<p>The Amazon Resource Name (ARN) of the ODB network.</p>"
54941+
},
5493354942
"DryRun":{
5493454943
"shape":"Boolean",
5493554944
"documentation":"<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
@@ -57290,6 +57299,11 @@
5729057299
"shape":"CoreNetworkArn",
5729157300
"documentation":"<p>The Amazon Resource Name (ARN) of the core network.</p>",
5729257301
"locationName":"coreNetworkArn"
57302+
},
57303+
"OdbNetworkArn":{
57304+
"shape":"OdbNetworkArn",
57305+
"documentation":"<p>The Amazon Resource Name (ARN) of the ODB network.</p>",
57306+
"locationName":"odbNetworkArn"
5729357307
}
5729457308
},
5729557309
"documentation":"<p>Describes a route in a route table.</p>"

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public partial class CreateRouteRequest : AmazonEC2Request
7777
private string _localGatewayId;
7878
private string _natGatewayId;
7979
private string _networkInterfaceId;
80+
private string _odbNetworkArn;
8081
private string _routeTableId;
8182
private string _transitGatewayId;
8283
private string _vpcEndpointId;
@@ -289,6 +290,24 @@ internal bool IsSetNetworkInterfaceId()
289290
return this._networkInterfaceId != null;
290291
}
291292

293+
/// <summary>
294+
/// Gets and sets the property OdbNetworkArn.
295+
/// <para>
296+
/// The Amazon Resource Name (ARN) of the ODB network.
297+
/// </para>
298+
/// </summary>
299+
public string OdbNetworkArn
300+
{
301+
get { return this._odbNetworkArn; }
302+
set { this._odbNetworkArn = value; }
303+
}
304+
305+
// Check to see if OdbNetworkArn property is set
306+
internal bool IsSetOdbNetworkArn()
307+
{
308+
return this._odbNetworkArn != null;
309+
}
310+
292311
/// <summary>
293312
/// Gets and sets the property RouteTableId.
294313
/// <para>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ public partial class DeprovisionPublicIpv4PoolCidrRequest : AmazonEC2Request
4141
/// <summary>
4242
/// Gets and sets the property Cidr.
4343
/// <para>
44-
/// The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision
45-
/// with a netmask of <c>/32</c>. You must rerun this command for each IP address in the
46-
/// CIDR range. If your CIDR is a <c>/24</c>, you will have to run this command to deprovision
47-
/// each of the 256 IP addresses in the <c>/24</c> CIDR.
44+
/// The CIDR you want to deprovision from the pool.
4845
/// </para>
4946
/// </summary>
5047
[AWSProperty(Required=true)]

sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/CreateRouteRequestMarshaller.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ public IRequest Marshall(CreateRouteRequest publicRequest)
103103
{
104104
request.Parameters.Add("NetworkInterfaceId", StringUtils.FromString(publicRequest.NetworkInterfaceId));
105105
}
106+
if(publicRequest.IsSetOdbNetworkArn())
107+
{
108+
request.Parameters.Add("OdbNetworkArn", StringUtils.FromString(publicRequest.OdbNetworkArn));
109+
}
106110
if(publicRequest.IsSetRouteTableId())
107111
{
108112
request.Parameters.Add("RouteTableId", StringUtils.FromString(publicRequest.RouteTableId));

sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/ReplaceRouteRequestMarshaller.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ public IRequest Marshall(ReplaceRouteRequest publicRequest)
107107
{
108108
request.Parameters.Add("NetworkInterfaceId", StringUtils.FromString(publicRequest.NetworkInterfaceId));
109109
}
110+
if(publicRequest.IsSetOdbNetworkArn())
111+
{
112+
request.Parameters.Add("OdbNetworkArn", StringUtils.FromString(publicRequest.OdbNetworkArn));
113+
}
110114
if(publicRequest.IsSetRouteTableId())
111115
{
112116
request.Parameters.Add("RouteTableId", StringUtils.FromString(publicRequest.RouteTableId));

sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/RouteUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ public Route Unmarshall(XmlUnmarshallerContext context)
127127
unmarshalledObject.NetworkInterfaceId = unmarshaller.Unmarshall(context);
128128
continue;
129129
}
130+
if (context.TestExpression("odbNetworkArn", targetDepth))
131+
{
132+
var unmarshaller = StringUnmarshaller.Instance;
133+
unmarshalledObject.OdbNetworkArn = unmarshaller.Unmarshall(context);
134+
continue;
135+
}
130136
if (context.TestExpression("origin", targetDepth))
131137
{
132138
var unmarshaller = StringUnmarshaller.Instance;

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public partial class ReplaceRouteRequest : AmazonEC2Request
5959
private bool? _localTarget;
6060
private string _natGatewayId;
6161
private string _networkInterfaceId;
62+
private string _odbNetworkArn;
6263
private string _routeTableId;
6364
private string _transitGatewayId;
6465
private string _vpcEndpointId;
@@ -282,6 +283,24 @@ internal bool IsSetNetworkInterfaceId()
282283
return this._networkInterfaceId != null;
283284
}
284285

286+
/// <summary>
287+
/// Gets and sets the property OdbNetworkArn.
288+
/// <para>
289+
/// The Amazon Resource Name (ARN) of the ODB network.
290+
/// </para>
291+
/// </summary>
292+
public string OdbNetworkArn
293+
{
294+
get { return this._odbNetworkArn; }
295+
set { this._odbNetworkArn = value; }
296+
}
297+
298+
// Check to see if OdbNetworkArn property is set
299+
internal bool IsSetOdbNetworkArn()
300+
{
301+
return this._odbNetworkArn != null;
302+
}
303+
285304
/// <summary>
286305
/// Gets and sets the property RouteTableId.
287306
/// <para>

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public partial class Route
4646
private string _localGatewayId;
4747
private string _natGatewayId;
4848
private string _networkInterfaceId;
49+
private string _odbNetworkArn;
4950
private RouteOrigin _origin;
5051
private RouteState _state;
5152
private string _transitGatewayId;
@@ -267,6 +268,24 @@ internal bool IsSetNetworkInterfaceId()
267268
return this._networkInterfaceId != null;
268269
}
269270

271+
/// <summary>
272+
/// Gets and sets the property OdbNetworkArn.
273+
/// <para>
274+
/// The Amazon Resource Name (ARN) of the ODB network.
275+
/// </para>
276+
/// </summary>
277+
public string OdbNetworkArn
278+
{
279+
get { return this._odbNetworkArn; }
280+
set { this._odbNetworkArn = value; }
281+
}
282+
283+
// Check to see if OdbNetworkArn property is set
284+
internal bool IsSetOdbNetworkArn()
285+
{
286+
return this._odbNetworkArn != null;
287+
}
288+
270289
/// <summary>
271290
/// Gets and sets the property Origin.
272291
/// <para>

0 commit comments

Comments
 (0)