Skip to content

Commit a62026b

Browse files
Adds dualstack endpoint support for IoT Secure Tunneling
1 parent b1ed28c commit a62026b

File tree

6 files changed

+1019
-113
lines changed

6 files changed

+1019
-113
lines changed

generator/ServiceModels/iotsecuretunneling/iotsecuretunneling-2018-10-05.api.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"endpointPrefix":"api.tunneling.iot",
66
"jsonVersion":"1.1",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceFullName":"AWS IoT Secure Tunneling",
910
"serviceId":"IoTSecureTunneling",
1011
"signatureVersion":"v4",
1112
"signingName":"IoTSecuredTunneling",
1213
"targetPrefix":"IoTSecuredTunneling",
13-
"uid":"iotsecuretunneling-2018-10-05"
14+
"uid":"iotsecuretunneling-2018-10-05",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"CloseTunnel":{

generator/ServiceModels/iotsecuretunneling/iotsecuretunneling-2018-10-05.endpoint-rule-set.json

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,81 @@
166166
}
167167
],
168168
"rules": [
169+
{
170+
"conditions": [
171+
{
172+
"fn": "stringEquals",
173+
"argv": [
174+
"aws",
175+
{
176+
"fn": "getAttr",
177+
"argv": [
178+
{
179+
"ref": "PartitionResult"
180+
},
181+
"name"
182+
]
183+
}
184+
]
185+
}
186+
],
187+
"endpoint": {
188+
"url": "https://api.iot-tunneling-fips.{Region}.api.aws",
189+
"properties": {},
190+
"headers": {}
191+
},
192+
"type": "endpoint"
193+
},
194+
{
195+
"conditions": [
196+
{
197+
"fn": "stringEquals",
198+
"argv": [
199+
"aws-cn",
200+
{
201+
"fn": "getAttr",
202+
"argv": [
203+
{
204+
"ref": "PartitionResult"
205+
},
206+
"name"
207+
]
208+
}
209+
]
210+
}
211+
],
212+
"endpoint": {
213+
"url": "https://api.iot-tunneling-fips.{Region}.api.amazonwebservices.com.cn",
214+
"properties": {},
215+
"headers": {}
216+
},
217+
"type": "endpoint"
218+
},
219+
{
220+
"conditions": [
221+
{
222+
"fn": "stringEquals",
223+
"argv": [
224+
"aws-us-gov",
225+
{
226+
"fn": "getAttr",
227+
"argv": [
228+
{
229+
"ref": "PartitionResult"
230+
},
231+
"name"
232+
]
233+
}
234+
]
235+
}
236+
],
237+
"endpoint": {
238+
"url": "https://api.iot-tunneling-fips.{Region}.api.aws",
239+
"properties": {},
240+
"headers": {}
241+
},
242+
"type": "endpoint"
243+
},
169244
{
170245
"conditions": [],
171246
"endpoint": {
@@ -270,6 +345,81 @@
270345
}
271346
],
272347
"rules": [
348+
{
349+
"conditions": [
350+
{
351+
"fn": "stringEquals",
352+
"argv": [
353+
"aws",
354+
{
355+
"fn": "getAttr",
356+
"argv": [
357+
{
358+
"ref": "PartitionResult"
359+
},
360+
"name"
361+
]
362+
}
363+
]
364+
}
365+
],
366+
"endpoint": {
367+
"url": "https://api.iot-tunneling.{Region}.api.aws",
368+
"properties": {},
369+
"headers": {}
370+
},
371+
"type": "endpoint"
372+
},
373+
{
374+
"conditions": [
375+
{
376+
"fn": "stringEquals",
377+
"argv": [
378+
"aws-cn",
379+
{
380+
"fn": "getAttr",
381+
"argv": [
382+
{
383+
"ref": "PartitionResult"
384+
},
385+
"name"
386+
]
387+
}
388+
]
389+
}
390+
],
391+
"endpoint": {
392+
"url": "https://api.iot-tunneling.{Region}.api.amazonwebservices.com.cn",
393+
"properties": {},
394+
"headers": {}
395+
},
396+
"type": "endpoint"
397+
},
398+
{
399+
"conditions": [
400+
{
401+
"fn": "stringEquals",
402+
"argv": [
403+
"aws-us-gov",
404+
{
405+
"fn": "getAttr",
406+
"argv": [
407+
{
408+
"ref": "PartitionResult"
409+
},
410+
"name"
411+
]
412+
}
413+
]
414+
}
415+
],
416+
"endpoint": {
417+
"url": "https://api.iot-tunneling.{Region}.api.aws",
418+
"properties": {},
419+
"headers": {}
420+
},
421+
"type": "endpoint"
422+
},
273423
{
274424
"conditions": [],
275425
"endpoint": {

0 commit comments

Comments
 (0)