Skip to content

Commit 5555b63

Browse files
author
AWS
committed
Amazon Timestream Query Update: Add dualstack endpoints support and correct us-gov-west-1 FIPS endpoint.
1 parent f0cee48 commit 5555b63

File tree

3 files changed

+404
-13
lines changed

3 files changed

+404
-13
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 Timestream Query",
4+
"contributor": "",
5+
"description": "Add dualstack endpoints support and correct us-gov-west-1 FIPS endpoint."
6+
}

services/timestreamquery/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 125 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-query-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-query.{Region}.api.aws",
214+
"properties": {},
215+
"headers": {}
216+
},
217+
"type": "endpoint"
218+
},
169219
{
170220
"conditions": [],
171221
"endpoint": {
@@ -218,6 +268,31 @@
218268
}
219269
],
220270
"rules": [
271+
{
272+
"conditions": [
273+
{
274+
"fn": "stringEquals",
275+
"argv": [
276+
{
277+
"fn": "getAttr",
278+
"argv": [
279+
{
280+
"ref": "PartitionResult"
281+
},
282+
"name"
283+
]
284+
},
285+
"aws-us-gov"
286+
]
287+
}
288+
],
289+
"endpoint": {
290+
"url": "https://query.timestream.{Region}.amazonaws.com",
291+
"properties": {},
292+
"headers": {}
293+
},
294+
"type": "endpoint"
295+
},
221296
{
222297
"conditions": [],
223298
"endpoint": {
@@ -270,6 +345,56 @@
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://timestream-query.{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-query.{Region}.api.aws",
393+
"properties": {},
394+
"headers": {}
395+
},
396+
"type": "endpoint"
397+
},
273398
{
274399
"conditions": [],
275400
"endpoint": {

0 commit comments

Comments
 (0)