Skip to content

Commit edc28bc

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: Introduced a new clientToken request parameter on CreateNetworkAcl and CreateRouteTable APIs. The clientToken parameter allows idempotent operations on the APIs.
1 parent 0e6b0c3 commit edc28bc

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Compute Cloud",
4+
"contributor": "",
5+
"description": "Introduced a new clientToken request parameter on CreateNetworkAcl and CreateRouteTable APIs. The clientToken parameter allows idempotent operations on the APIs."
6+
}

services/ec2/src/main/resources/codegen-resources/service-2.json

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9245,7 +9245,8 @@
92459245
"available",
92469246
"information",
92479247
"impaired",
9248-
"unavailable"
9248+
"unavailable",
9249+
"constrained"
92499250
]
92509251
},
92519252
"AvailabilityZoneStringList":{
@@ -12595,7 +12596,7 @@
1259512596
"members":{
1259612597
"ClientToken":{
1259712598
"shape":"String",
12598-
"documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html\">How to ensure idempotency</a>.</p>"
12599+
"documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>"
1259912600
},
1260012601
"DryRun":{
1260112602
"shape":"Boolean",
@@ -13674,7 +13675,7 @@
1367413675
},
1367513676
"ClientToken":{
1367613677
"shape":"String",
13677-
"documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">How to ensure idempotency</a>.</p> <p>Constraint: Maximum 64 ASCII characters.</p>",
13678+
"documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p> <p>Constraint: Maximum 64 ASCII characters.</p>",
1367813679
"idempotencyToken":true
1367913680
},
1368013681
"DryRun":{
@@ -13809,6 +13810,11 @@
1380913810
"shape":"TagSpecificationList",
1381013811
"documentation":"<p>The tags to assign to the network ACL.</p>",
1381113812
"locationName":"TagSpecification"
13813+
},
13814+
"ClientToken":{
13815+
"shape":"String",
13816+
"documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>",
13817+
"idempotencyToken":true
1381213818
}
1381313819
}
1381413820
},
@@ -13819,6 +13825,11 @@
1381913825
"shape":"NetworkAcl",
1382013826
"documentation":"<p>Information about the network ACL.</p>",
1382113827
"locationName":"networkAcl"
13828+
},
13829+
"ClientToken":{
13830+
"shape":"String",
13831+
"documentation":"<p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>",
13832+
"locationName":"clientToken"
1382213833
}
1382313834
}
1382413835
},
@@ -14384,6 +14395,11 @@
1438414395
"shape":"TagSpecificationList",
1438514396
"documentation":"<p>The tags to assign to the route table.</p>",
1438614397
"locationName":"TagSpecification"
14398+
},
14399+
"ClientToken":{
14400+
"shape":"String",
14401+
"documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html\">Ensuring idempotency</a>.</p>",
14402+
"idempotencyToken":true
1438714403
}
1438814404
}
1438914405
},
@@ -14394,6 +14410,11 @@
1439414410
"shape":"RouteTable",
1439514411
"documentation":"<p>Information about the route table.</p>",
1439614412
"locationName":"routeTable"
14413+
},
14414+
"ClientToken":{
14415+
"shape":"String",
14416+
"documentation":"<p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>",
14417+
"locationName":"clientToken"
1439714418
}
1439814419
}
1439914420
},
@@ -54690,7 +54711,8 @@
5469054711
"type":"string",
5469154712
"enum":[
5469254713
"pending",
54693-
"available"
54714+
"available",
54715+
"unavailable"
5469454716
]
5469554717
},
5469654718
"Subscription":{

0 commit comments

Comments
 (0)