Skip to content

Commit 97d2267

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: Adds waiters support for internet gateways.
1 parent ac1c2b7 commit 97d2267

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
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": "Adds waiters support for internet gateways."
6+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22617,7 +22617,7 @@
2261722617
"type":"structure",
2261822618
"members":{
2261922619
"ElasticGpuId":{
22620-
"shape":"String",
22620+
"shape":"ElasticGpuId",
2262122621
"documentation":"<p>The ID of the Elastic Graphics accelerator.</p>",
2262222622
"locationName":"elasticGpuId"
2262322623
},

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,24 @@
281281
}
282282
]
283283
},
284+
"InternetGatewayExists": {
285+
"operation": "DescribeInternetGateways",
286+
"delay": 5,
287+
"maxAttempts": 6,
288+
"acceptors": [
289+
{
290+
"expected": true,
291+
"matcher": "path",
292+
"state": "success",
293+
"argument": "length(InternetGateways[].InternetGatewayId) > `0`"
294+
},
295+
{
296+
"expected": "InvalidInternetGateway.NotFound",
297+
"matcher": "error",
298+
"state": "retry"
299+
}
300+
]
301+
},
284302
"KeyPairExists": {
285303
"operation": "DescribeKeyPairs",
286304
"delay": 5,

0 commit comments

Comments
 (0)