Skip to content

Commit 2bb32f9

Browse files
author
AWS
committed
AWS Glue DataBrew Update: Enabled FIPS us-gov-west-1 endpoints in SDK.
1 parent b2aa3a0 commit 2bb32f9

File tree

3 files changed

+248
-877
lines changed

3 files changed

+248
-877
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Glue DataBrew",
4+
"contributor": "",
5+
"description": "Enabled FIPS us-gov-west-1 endpoints in SDK."
6+
}

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

+56-28
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"parameters": {
44
"Region": {
55
"builtIn": "AWS::Region",
6-
"required": false,
6+
"required": true,
77
"documentation": "The AWS region used to dispatch the request.",
88
"type": "String"
99
},
@@ -52,15 +52,6 @@
5252
"ref": "Endpoint"
5353
}
5454
]
55-
},
56-
{
57-
"fn": "parseURL",
58-
"argv": [
59-
{
60-
"ref": "Endpoint"
61-
}
62-
],
63-
"assign": "url"
6455
}
6556
],
6657
"type": "tree",
@@ -174,12 +165,18 @@
174165
"rules": [
175166
{
176167
"conditions": [],
177-
"endpoint": {
178-
"url": "https://databrew-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
179-
"properties": {},
180-
"headers": {}
181-
},
182-
"type": "endpoint"
168+
"type": "tree",
169+
"rules": [
170+
{
171+
"conditions": [],
172+
"endpoint": {
173+
"url": "https://databrew-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
174+
"properties": {},
175+
"headers": {}
176+
},
177+
"type": "endpoint"
178+
}
179+
]
183180
}
184181
]
185182
},
@@ -228,6 +225,25 @@
228225
"conditions": [],
229226
"type": "tree",
230227
"rules": [
228+
{
229+
"conditions": [
230+
{
231+
"fn": "stringEquals",
232+
"argv": [
233+
{
234+
"ref": "Region"
235+
},
236+
"us-gov-west-1"
237+
]
238+
}
239+
],
240+
"endpoint": {
241+
"url": "https://databrew.us-gov-west-1.amazonaws.com",
242+
"properties": {},
243+
"headers": {}
244+
},
245+
"type": "endpoint"
246+
},
231247
{
232248
"conditions": [],
233249
"endpoint": {
@@ -284,12 +300,18 @@
284300
"rules": [
285301
{
286302
"conditions": [],
287-
"endpoint": {
288-
"url": "https://databrew.{Region}.{PartitionResult#dualStackDnsSuffix}",
289-
"properties": {},
290-
"headers": {}
291-
},
292-
"type": "endpoint"
303+
"type": "tree",
304+
"rules": [
305+
{
306+
"conditions": [],
307+
"endpoint": {
308+
"url": "https://databrew.{Region}.{PartitionResult#dualStackDnsSuffix}",
309+
"properties": {},
310+
"headers": {}
311+
},
312+
"type": "endpoint"
313+
}
314+
]
293315
}
294316
]
295317
},
@@ -302,12 +324,18 @@
302324
},
303325
{
304326
"conditions": [],
305-
"endpoint": {
306-
"url": "https://databrew.{Region}.{PartitionResult#dnsSuffix}",
307-
"properties": {},
308-
"headers": {}
309-
},
310-
"type": "endpoint"
327+
"type": "tree",
328+
"rules": [
329+
{
330+
"conditions": [],
331+
"endpoint": {
332+
"url": "https://databrew.{Region}.{PartitionResult#dnsSuffix}",
333+
"properties": {},
334+
"headers": {}
335+
},
336+
"type": "endpoint"
337+
}
338+
]
311339
}
312340
]
313341
}

0 commit comments

Comments
 (0)