Skip to content

Commit 4234fb0

Browse files
author
AWS
committed
Amazon Cognito Identity Update: corrects the dual-stack endpoint configuration
1 parent 6593e95 commit 4234fb0

File tree

3 files changed

+161
-132
lines changed

3 files changed

+161
-132
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 Cognito Identity",
4+
"contributor": "",
5+
"description": "corrects the dual-stack endpoint configuration"
6+
}

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

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,82 @@
166166
}
167167
],
168168
"rules": [
169+
{
170+
"conditions": [
171+
{
172+
"fn": "stringEquals",
173+
"argv": [
174+
{
175+
"ref": "Region"
176+
},
177+
"us-east-1"
178+
]
179+
}
180+
],
181+
"endpoint": {
182+
"url": "https://cognito-identity-fips.us-east-1.amazonaws.com",
183+
"properties": {},
184+
"headers": {}
185+
},
186+
"type": "endpoint"
187+
},
188+
{
189+
"conditions": [
190+
{
191+
"fn": "stringEquals",
192+
"argv": [
193+
{
194+
"ref": "Region"
195+
},
196+
"us-east-2"
197+
]
198+
}
199+
],
200+
"endpoint": {
201+
"url": "https://cognito-identity-fips.us-east-2.amazonaws.com",
202+
"properties": {},
203+
"headers": {}
204+
},
205+
"type": "endpoint"
206+
},
207+
{
208+
"conditions": [
209+
{
210+
"fn": "stringEquals",
211+
"argv": [
212+
{
213+
"ref": "Region"
214+
},
215+
"us-west-1"
216+
]
217+
}
218+
],
219+
"endpoint": {
220+
"url": "https://cognito-identity-fips.us-west-1.amazonaws.com",
221+
"properties": {},
222+
"headers": {}
223+
},
224+
"type": "endpoint"
225+
},
226+
{
227+
"conditions": [
228+
{
229+
"fn": "stringEquals",
230+
"argv": [
231+
{
232+
"ref": "Region"
233+
},
234+
"us-west-2"
235+
]
236+
}
237+
],
238+
"endpoint": {
239+
"url": "https://cognito-identity-fips.us-west-2.amazonaws.com",
240+
"properties": {},
241+
"headers": {}
242+
},
243+
"type": "endpoint"
244+
},
169245
{
170246
"conditions": [],
171247
"endpoint": {
@@ -270,6 +346,31 @@
270346
}
271347
],
272348
"rules": [
349+
{
350+
"conditions": [
351+
{
352+
"fn": "stringEquals",
353+
"argv": [
354+
"aws",
355+
{
356+
"fn": "getAttr",
357+
"argv": [
358+
{
359+
"ref": "PartitionResult"
360+
},
361+
"name"
362+
]
363+
}
364+
]
365+
}
366+
],
367+
"endpoint": {
368+
"url": "https://cognito-identity.{Region}.amazonaws.com",
369+
"properties": {},
370+
"headers": {}
371+
},
372+
"type": "endpoint"
373+
},
273374
{
274375
"conditions": [],
275376
"endpoint": {

0 commit comments

Comments
 (0)