Skip to content

Commit 236dc08

Browse files
This release adds support for OdbNetworkArn as a target in VPC Route Tables
1 parent e5aa344 commit 236dc08

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
@@ -78,6 +78,7 @@ public partial class CreateRouteRequest : AmazonEC2Request
7878
private string _localGatewayId;
7979
private string _natGatewayId;
8080
private string _networkInterfaceId;
81+
private string _odbNetworkArn;
8182
private string _routeTableId;
8283
private string _transitGatewayId;
8384
private string _vpcEndpointId;
@@ -310,6 +311,24 @@ internal bool IsSetNetworkInterfaceId()
310311
return this._networkInterfaceId != null;
311312
}
312313

314+
/// <summary>
315+
/// Gets and sets the property OdbNetworkArn.
316+
/// <para>
317+
/// The Amazon Resource Name (ARN) of the ODB network.
318+
/// </para>
319+
/// </summary>
320+
public string OdbNetworkArn
321+
{
322+
get { return this._odbNetworkArn; }
323+
set { this._odbNetworkArn = value; }
324+
}
325+
326+
// Check to see if OdbNetworkArn property is set
327+
internal bool IsSetOdbNetworkArn()
328+
{
329+
return this._odbNetworkArn != null;
330+
}
331+
313332
/// <summary>
314333
/// Gets and sets the property RouteTableId.
315334
/// <para>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ public partial class DeprovisionPublicIpv4PoolCidrRequest : AmazonEC2Request
4242
/// <summary>
4343
/// Gets and sets the property Cidr.
4444
/// <para>
45-
/// The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision
46-
/// with a netmask of <c>/32</c>. You must rerun this command for each IP address in the
47-
/// CIDR range. If your CIDR is a <c>/24</c>, you will have to run this command to deprovision
48-
/// each of the 256 IP addresses in the <c>/24</c> CIDR.
45+
/// The CIDR you want to deprovision from the pool.
4946
/// </para>
5047
/// </summary>
5148
[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
@@ -107,6 +107,10 @@ public IRequest Marshall(CreateRouteRequest 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/ReplaceRouteRequestMarshaller.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ public IRequest Marshall(ReplaceRouteRequest publicRequest)
111111
{
112112
request.Parameters.Add("NetworkInterfaceId", StringUtils.FromString(publicRequest.NetworkInterfaceId));
113113
}
114+
if(publicRequest.IsSetOdbNetworkArn())
115+
{
116+
request.Parameters.Add("OdbNetworkArn", StringUtils.FromString(publicRequest.OdbNetworkArn));
117+
}
114118
if(publicRequest.IsSetRouteTableId())
115119
{
116120
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
@@ -60,6 +60,7 @@ public partial class ReplaceRouteRequest : AmazonEC2Request
6060
private bool? _localTarget;
6161
private string _natGatewayId;
6262
private string _networkInterfaceId;
63+
private string _odbNetworkArn;
6364
private string _routeTableId;
6465
private string _transitGatewayId;
6566
private string _vpcEndpointId;
@@ -303,6 +304,24 @@ internal bool IsSetNetworkInterfaceId()
303304
return this._networkInterfaceId != null;
304305
}
305306

307+
/// <summary>
308+
/// Gets and sets the property OdbNetworkArn.
309+
/// <para>
310+
/// The Amazon Resource Name (ARN) of the ODB network.
311+
/// </para>
312+
/// </summary>
313+
public string OdbNetworkArn
314+
{
315+
get { return this._odbNetworkArn; }
316+
set { this._odbNetworkArn = value; }
317+
}
318+
319+
// Check to see if OdbNetworkArn property is set
320+
internal bool IsSetOdbNetworkArn()
321+
{
322+
return this._odbNetworkArn != null;
323+
}
324+
306325
/// <summary>
307326
/// Gets and sets the property RouteTableId.
308327
/// <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)