Debian Codegraph @

models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-tests-1.json

raw
1 {
2 "testCases": [
3 {
4 "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
5 "expect": {
6 "endpoint": {
7 "url": "https://kinesisvideo-fips.us-gov-east-1.api.aws"
8 }
9 },
10 "params": {
11 "UseDualStack": true,
12 "Region": "us-gov-east-1",
13 "UseFIPS": true
14 }
15 },
16 {
17 "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
18 "expect": {
19 "endpoint": {
20 "url": "https://kinesisvideo-fips.us-gov-east-1.amazonaws.com"
21 }
22 },
23 "params": {
24 "UseDualStack": false,
25 "Region": "us-gov-east-1",
26 "UseFIPS": true
27 }
28 },
29 {
30 "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
31 "expect": {
32 "endpoint": {
33 "url": "https://kinesisvideo.us-gov-east-1.api.aws"
34 }
35 },
36 "params": {
37 "UseDualStack": true,
38 "Region": "us-gov-east-1",
39 "UseFIPS": false
40 }
41 },
42 {
43 "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
44 "expect": {
45 "endpoint": {
46 "url": "https://kinesisvideo.us-gov-east-1.amazonaws.com"
47 }
48 },
49 "params": {
50 "UseDualStack": false,
51 "Region": "us-gov-east-1",
52 "UseFIPS": false
53 }
54 },
55 {
56 "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
57 "expect": {
58 "endpoint": {
59 "url": "https://kinesisvideo-fips.cn-north-1.api.amazonwebservices.com.cn"
60 }
61 },
62 "params": {
63 "UseDualStack": true,
64 "Region": "cn-north-1",
65 "UseFIPS": true
66 }
67 },
68 {
69 "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
70 "expect": {
71 "endpoint": {
72 "url": "https://kinesisvideo-fips.cn-north-1.amazonaws.com.cn"
73 }
74 },
75 "params": {
76 "UseDualStack": false,
77 "Region": "cn-north-1",
78 "UseFIPS": true
79 }
80 },
81 {
82 "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
83 "expect": {
84 "endpoint": {
85 "url": "https://kinesisvideo.cn-north-1.api.amazonwebservices.com.cn"
86 }
87 },
88 "params": {
89 "UseDualStack": true,
90 "Region": "cn-north-1",
91 "UseFIPS": false
92 }
93 },
94 {
95 "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
96 "expect": {
97 "endpoint": {
98 "url": "https://kinesisvideo.cn-north-1.amazonaws.com.cn"
99 }
100 },
101 "params": {
102 "UseDualStack": false,
103 "Region": "cn-north-1",
104 "UseFIPS": false
105 }
106 },
107 {
108 "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
109 "expect": {
110 "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
111 },
112 "params": {
113 "UseDualStack": true,
114 "Region": "us-iso-east-1",
115 "UseFIPS": true
116 }
117 },
118 {
119 "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
120 "expect": {
121 "endpoint": {
122 "url": "https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov"
123 }
124 },
125 "params": {
126 "UseDualStack": false,
127 "Region": "us-iso-east-1",
128 "UseFIPS": true
129 }
130 },
131 {
132 "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
133 "expect": {
134 "error": "DualStack is enabled but this partition does not support DualStack"
135 },
136 "params": {
137 "UseDualStack": true,
138 "Region": "us-iso-east-1",
139 "UseFIPS": false
140 }
141 },
142 {
143 "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
144 "expect": {
145 "endpoint": {
146 "url": "https://kinesisvideo.us-iso-east-1.c2s.ic.gov"
147 }
148 },
149 "params": {
150 "UseDualStack": false,
151 "Region": "us-iso-east-1",
152 "UseFIPS": false
153 }
154 },
155 {
156 "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
157 "expect": {
158 "endpoint": {
159 "url": "https://kinesisvideo-fips.us-east-1.api.aws"
160 }
161 },
162 "params": {
163 "UseDualStack": true,
164 "Region": "us-east-1",
165 "UseFIPS": true
166 }
167 },
168 {
169 "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
170 "expect": {
171 "endpoint": {
172 "url": "https://kinesisvideo-fips.us-east-1.amazonaws.com"
173 }
174 },
175 "params": {
176 "UseDualStack": false,
177 "Region": "us-east-1",
178 "UseFIPS": true
179 }
180 },
181 {
182 "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
183 "expect": {
184 "endpoint": {
185 "url": "https://kinesisvideo.us-east-1.api.aws"
186 }
187 },
188 "params": {
189 "UseDualStack": true,
190 "Region": "us-east-1",
191 "UseFIPS": false
192 }
193 },
194 {
195 "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
196 "expect": {
197 "endpoint": {
198 "url": "https://kinesisvideo.us-east-1.amazonaws.com"
199 }
200 },
201 "params": {
202 "UseDualStack": false,
203 "Region": "us-east-1",
204 "UseFIPS": false
205 }
206 },
207 {
208 "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
209 "expect": {
210 "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
211 },
212 "params": {
213 "UseDualStack": true,
214 "Region": "us-isob-east-1",
215 "UseFIPS": true
216 }
217 },
218 {
219 "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
220 "expect": {
221 "endpoint": {
222 "url": "https://kinesisvideo-fips.us-isob-east-1.sc2s.sgov.gov"
223 }
224 },
225 "params": {
226 "UseDualStack": false,
227 "Region": "us-isob-east-1",
228 "UseFIPS": true
229 }
230 },
231 {
232 "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
233 "expect": {
234 "error": "DualStack is enabled but this partition does not support DualStack"
235 },
236 "params": {
237 "UseDualStack": true,
238 "Region": "us-isob-east-1",
239 "UseFIPS": false
240 }
241 },
242 {
243 "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
244 "expect": {
245 "endpoint": {
246 "url": "https://kinesisvideo.us-isob-east-1.sc2s.sgov.gov"
247 }
248 },
249 "params": {
250 "UseDualStack": false,
251 "Region": "us-isob-east-1",
252 "UseFIPS": false
253 }
254 },
255 {
256 "documentation": "For custom endpoint with fips disabled and dualstack disabled",
257 "expect": {
258 "endpoint": {
259 "url": "https://example.com"
260 }
261 },
262 "params": {
263 "UseDualStack": false,
264 "Region": "us-east-1",
265 "UseFIPS": false,
266 "Endpoint": "https://example.com"
267 }
268 },
269 {
270 "documentation": "For custom endpoint with fips enabled and dualstack disabled",
271 "expect": {
272 "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
273 },
274 "params": {
275 "UseDualStack": false,
276 "Region": "us-east-1",
277 "UseFIPS": true,
278 "Endpoint": "https://example.com"
279 }
280 },
281 {
282 "documentation": "For custom endpoint with fips disabled and dualstack enabled",
283 "expect": {
284 "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
285 },
286 "params": {
287 "UseDualStack": true,
288 "Region": "us-east-1",
289 "UseFIPS": false,
290 "Endpoint": "https://example.com"
291 }
292 }
293 ],
294 "version": "1.0"
295 }