Skip to content

Commit d5636cc

Browse files
author
AWS
committed
AWS EntityResolution Update: Changed "ResolutionTechniques" and "MappedInputFields" in workflow and schema mapping operations to be required fields.
1 parent 0bd0a8d commit d5636cc

File tree

3 files changed

+157
-120
lines changed

3 files changed

+157
-120
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": "AWS EntityResolution",
4+
"contributor": "",
5+
"description": "Changed \"ResolutionTechniques\" and \"MappedInputFields\" in workflow and schema mapping operations to be required fields."
6+
}

services/entityresolution/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 102 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
11
{
22
"testCases": [
33
{
4-
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
4+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
55
"expect": {
66
"endpoint": {
7-
"url": "https://entityresolution-fips.us-gov-east-1.api.aws"
7+
"url": "https://entityresolution-fips.us-east-1.api.aws"
88
}
99
},
1010
"params": {
11-
"Region": "us-gov-east-1",
12-
"UseDualStack": true,
13-
"UseFIPS": true
11+
"Region": "us-east-1",
12+
"UseFIPS": true,
13+
"UseDualStack": true
1414
}
1515
},
1616
{
17-
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
17+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
1818
"expect": {
1919
"endpoint": {
20-
"url": "https://entityresolution-fips.us-gov-east-1.amazonaws.com"
20+
"url": "https://entityresolution-fips.us-east-1.amazonaws.com"
2121
}
2222
},
2323
"params": {
24-
"Region": "us-gov-east-1",
25-
"UseDualStack": false,
26-
"UseFIPS": true
24+
"Region": "us-east-1",
25+
"UseFIPS": true,
26+
"UseDualStack": false
2727
}
2828
},
2929
{
30-
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
30+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
3131
"expect": {
3232
"endpoint": {
33-
"url": "https://entityresolution.us-gov-east-1.api.aws"
33+
"url": "https://entityresolution.us-east-1.api.aws"
3434
}
3535
},
3636
"params": {
37-
"Region": "us-gov-east-1",
38-
"UseDualStack": true,
39-
"UseFIPS": false
37+
"Region": "us-east-1",
38+
"UseFIPS": false,
39+
"UseDualStack": true
4040
}
4141
},
4242
{
43-
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
43+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
4444
"expect": {
4545
"endpoint": {
46-
"url": "https://entityresolution.us-gov-east-1.amazonaws.com"
46+
"url": "https://entityresolution.us-east-1.amazonaws.com"
4747
}
4848
},
4949
"params": {
50-
"Region": "us-gov-east-1",
51-
"UseDualStack": false,
52-
"UseFIPS": false
50+
"Region": "us-east-1",
51+
"UseFIPS": false,
52+
"UseDualStack": false
5353
}
5454
},
5555
{
@@ -61,8 +61,8 @@
6161
},
6262
"params": {
6363
"Region": "cn-north-1",
64-
"UseDualStack": true,
65-
"UseFIPS": true
64+
"UseFIPS": true,
65+
"UseDualStack": true
6666
}
6767
},
6868
{
@@ -74,8 +74,8 @@
7474
},
7575
"params": {
7676
"Region": "cn-north-1",
77-
"UseDualStack": false,
78-
"UseFIPS": true
77+
"UseFIPS": true,
78+
"UseDualStack": false
7979
}
8080
},
8181
{
@@ -87,8 +87,8 @@
8787
},
8888
"params": {
8989
"Region": "cn-north-1",
90-
"UseDualStack": true,
91-
"UseFIPS": false
90+
"UseFIPS": false,
91+
"UseDualStack": true
9292
}
9393
},
9494
{
@@ -100,108 +100,108 @@
100100
},
101101
"params": {
102102
"Region": "cn-north-1",
103-
"UseDualStack": false,
104-
"UseFIPS": false
103+
"UseFIPS": false,
104+
"UseDualStack": false
105105
}
106106
},
107107
{
108-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
108+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
109109
"expect": {
110-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
110+
"endpoint": {
111+
"url": "https://entityresolution-fips.us-gov-east-1.api.aws"
112+
}
111113
},
112114
"params": {
113-
"Region": "us-iso-east-1",
114-
"UseDualStack": true,
115-
"UseFIPS": true
115+
"Region": "us-gov-east-1",
116+
"UseFIPS": true,
117+
"UseDualStack": true
116118
}
117119
},
118120
{
119-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
121+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
120122
"expect": {
121123
"endpoint": {
122-
"url": "https://entityresolution-fips.us-iso-east-1.c2s.ic.gov"
124+
"url": "https://entityresolution-fips.us-gov-east-1.amazonaws.com"
123125
}
124126
},
125127
"params": {
126-
"Region": "us-iso-east-1",
127-
"UseDualStack": false,
128-
"UseFIPS": true
128+
"Region": "us-gov-east-1",
129+
"UseFIPS": true,
130+
"UseDualStack": false
129131
}
130132
},
131133
{
132-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
134+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
133135
"expect": {
134-
"error": "DualStack is enabled but this partition does not support DualStack"
136+
"endpoint": {
137+
"url": "https://entityresolution.us-gov-east-1.api.aws"
138+
}
135139
},
136140
"params": {
137-
"Region": "us-iso-east-1",
138-
"UseDualStack": true,
139-
"UseFIPS": false
141+
"Region": "us-gov-east-1",
142+
"UseFIPS": false,
143+
"UseDualStack": true
140144
}
141145
},
142146
{
143-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
147+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
144148
"expect": {
145149
"endpoint": {
146-
"url": "https://entityresolution.us-iso-east-1.c2s.ic.gov"
150+
"url": "https://entityresolution.us-gov-east-1.amazonaws.com"
147151
}
148152
},
149153
"params": {
150-
"Region": "us-iso-east-1",
151-
"UseDualStack": false,
152-
"UseFIPS": false
154+
"Region": "us-gov-east-1",
155+
"UseFIPS": false,
156+
"UseDualStack": false
153157
}
154158
},
155159
{
156-
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
160+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
157161
"expect": {
158-
"endpoint": {
159-
"url": "https://entityresolution-fips.us-east-1.api.aws"
160-
}
162+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
161163
},
162164
"params": {
163-
"Region": "us-east-1",
164-
"UseDualStack": true,
165-
"UseFIPS": true
165+
"Region": "us-iso-east-1",
166+
"UseFIPS": true,
167+
"UseDualStack": true
166168
}
167169
},
168170
{
169-
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
171+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
170172
"expect": {
171173
"endpoint": {
172-
"url": "https://entityresolution-fips.us-east-1.amazonaws.com"
174+
"url": "https://entityresolution-fips.us-iso-east-1.c2s.ic.gov"
173175
}
174176
},
175177
"params": {
176-
"Region": "us-east-1",
177-
"UseDualStack": false,
178-
"UseFIPS": true
178+
"Region": "us-iso-east-1",
179+
"UseFIPS": true,
180+
"UseDualStack": false
179181
}
180182
},
181183
{
182-
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
184+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
183185
"expect": {
184-
"endpoint": {
185-
"url": "https://entityresolution.us-east-1.api.aws"
186-
}
186+
"error": "DualStack is enabled but this partition does not support DualStack"
187187
},
188188
"params": {
189-
"Region": "us-east-1",
190-
"UseDualStack": true,
191-
"UseFIPS": false
189+
"Region": "us-iso-east-1",
190+
"UseFIPS": false,
191+
"UseDualStack": true
192192
}
193193
},
194194
{
195-
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
195+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
196196
"expect": {
197197
"endpoint": {
198-
"url": "https://entityresolution.us-east-1.amazonaws.com"
198+
"url": "https://entityresolution.us-iso-east-1.c2s.ic.gov"
199199
}
200200
},
201201
"params": {
202-
"Region": "us-east-1",
203-
"UseDualStack": false,
204-
"UseFIPS": false
202+
"Region": "us-iso-east-1",
203+
"UseFIPS": false,
204+
"UseDualStack": false
205205
}
206206
},
207207
{
@@ -211,8 +211,8 @@
211211
},
212212
"params": {
213213
"Region": "us-isob-east-1",
214-
"UseDualStack": true,
215-
"UseFIPS": true
214+
"UseFIPS": true,
215+
"UseDualStack": true
216216
}
217217
},
218218
{
@@ -224,8 +224,8 @@
224224
},
225225
"params": {
226226
"Region": "us-isob-east-1",
227-
"UseDualStack": false,
228-
"UseFIPS": true
227+
"UseFIPS": true,
228+
"UseDualStack": false
229229
}
230230
},
231231
{
@@ -235,8 +235,8 @@
235235
},
236236
"params": {
237237
"Region": "us-isob-east-1",
238-
"UseDualStack": true,
239-
"UseFIPS": false
238+
"UseFIPS": false,
239+
"UseDualStack": true
240240
}
241241
},
242242
{
@@ -248,21 +248,34 @@
248248
},
249249
"params": {
250250
"Region": "us-isob-east-1",
251-
"UseDualStack": false,
252-
"UseFIPS": false
251+
"UseFIPS": false,
252+
"UseDualStack": false
253253
}
254254
},
255255
{
256-
"documentation": "For custom endpoint with fips disabled and dualstack disabled",
256+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
257257
"expect": {
258258
"endpoint": {
259259
"url": "https://example.com"
260260
}
261261
},
262262
"params": {
263263
"Region": "us-east-1",
264+
"UseFIPS": false,
264265
"UseDualStack": false,
266+
"Endpoint": "https://example.com"
267+
}
268+
},
269+
{
270+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
271+
"expect": {
272+
"endpoint": {
273+
"url": "https://example.com"
274+
}
275+
},
276+
"params": {
265277
"UseFIPS": false,
278+
"UseDualStack": false,
266279
"Endpoint": "https://example.com"
267280
}
268281
},
@@ -273,8 +286,8 @@
273286
},
274287
"params": {
275288
"Region": "us-east-1",
276-
"UseDualStack": false,
277289
"UseFIPS": true,
290+
"UseDualStack": false,
278291
"Endpoint": "https://example.com"
279292
}
280293
},
@@ -285,10 +298,16 @@
285298
},
286299
"params": {
287300
"Region": "us-east-1",
288-
"UseDualStack": true,
289301
"UseFIPS": false,
302+
"UseDualStack": true,
290303
"Endpoint": "https://example.com"
291304
}
305+
},
306+
{
307+
"documentation": "Missing region",
308+
"expect": {
309+
"error": "Invalid Configuration: Missing Region"
310+
}
292311
}
293312
],
294313
"version": "1.0"

0 commit comments

Comments
 (0)