Skip to content

Commit b357b63

Browse files
Add dualstack endpoints support.
1 parent a599c7b commit b357b63

File tree

6 files changed

+653
-29
lines changed

6 files changed

+653
-29
lines changed

generator/ServiceModels/timestream-write/timestream-write-2018-11-01.api.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
"endpointPrefix":"ingest.timestream",
66
"jsonVersion":"1.0",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceAbbreviation":"Timestream Write",
910
"serviceFullName":"Amazon Timestream Write",
1011
"serviceId":"Timestream Write",
1112
"signatureVersion":"v4",
1213
"signingName":"timestream",
1314
"targetPrefix":"Timestream_20181101",
14-
"uid":"timestream-write-2018-11-01"
15+
"uid":"timestream-write-2018-11-01",
16+
"auth":["aws.auth#sigv4"]
1517
},
1618
"operations":{
1719
"CreateBatchLoadTask":{

generator/ServiceModels/timestream-write/timestream-write-2018-11-01.endpoint-rule-set.json

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,56 @@
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://timestream-ingest-fips.{Region}.api.aws",
189+
"properties": {},
190+
"headers": {}
191+
},
192+
"type": "endpoint"
193+
},
194+
{
195+
"conditions": [
196+
{
197+
"fn": "stringEquals",
198+
"argv": [
199+
"aws-us-gov",
200+
{
201+
"fn": "getAttr",
202+
"argv": [
203+
{
204+
"ref": "PartitionResult"
205+
},
206+
"name"
207+
]
208+
}
209+
]
210+
}
211+
],
212+
"endpoint": {
213+
"url": "https://timestream-ingest.{Region}.api.aws",
214+
"properties": {},
215+
"headers": {}
216+
},
217+
"type": "endpoint"
218+
},
169219
{
170220
"conditions": [],
171221
"endpoint": {
@@ -295,6 +345,56 @@
295345
}
296346
],
297347
"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://timestream-ingest.{Region}.api.aws",
368+
"properties": {},
369+
"headers": {}
370+
},
371+
"type": "endpoint"
372+
},
373+
{
374+
"conditions": [
375+
{
376+
"fn": "stringEquals",
377+
"argv": [
378+
"aws-us-gov",
379+
{
380+
"fn": "getAttr",
381+
"argv": [
382+
{
383+
"ref": "PartitionResult"
384+
},
385+
"name"
386+
]
387+
}
388+
]
389+
}
390+
],
391+
"endpoint": {
392+
"url": "https://timestream-ingest.{Region}.api.aws",
393+
"properties": {},
394+
"headers": {}
395+
},
396+
"type": "endpoint"
397+
},
298398
{
299399
"conditions": [],
300400
"endpoint": {

0 commit comments

Comments
 (0)