Debian Codegraph @

models/apis/support-app/2021-08-20/endpoint-tests-1.json

raw
1 {
2 "testCases": [
3 {
4 "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled",
5 "expect": {
6 "endpoint": {
7 "url": "https://supportapp-fips.us-west-2.api.aws"
8 }
9 },
10 "params": {
11 "UseFIPS": true,
12 "UseDualStack": true,
13 "Region": "us-west-2"
14 }
15 },
16 {
17 "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
18 "expect": {
19 "endpoint": {
20 "url": "https://supportapp-fips.us-west-2.amazonaws.com"
21 }
22 },
23 "params": {
24 "UseFIPS": true,
25 "UseDualStack": false,
26 "Region": "us-west-2"
27 }
28 },
29 {
30 "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled",
31 "expect": {
32 "endpoint": {
33 "url": "https://supportapp.us-west-2.api.aws"
34 }
35 },
36 "params": {
37 "UseFIPS": false,
38 "UseDualStack": true,
39 "Region": "us-west-2"
40 }
41 },
42 {
43 "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
44 "expect": {
45 "endpoint": {
46 "url": "https://supportapp.us-west-2.amazonaws.com"
47 }
48 },
49 "params": {
50 "UseFIPS": false,
51 "UseDualStack": false,
52 "Region": "us-west-2"
53 }
54 },
55 {
56 "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled",
57 "expect": {
58 "endpoint": {
59 "url": "https://supportapp-fips.eu-west-1.api.aws"
60 }
61 },
62 "params": {
63 "UseFIPS": true,
64 "UseDualStack": true,
65 "Region": "eu-west-1"
66 }
67 },
68 {
69 "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled",
70 "expect": {
71 "endpoint": {
72 "url": "https://supportapp-fips.eu-west-1.amazonaws.com"
73 }
74 },
75 "params": {
76 "UseFIPS": true,
77 "UseDualStack": false,
78 "Region": "eu-west-1"
79 }
80 },
81 {
82 "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled",
83 "expect": {
84 "endpoint": {
85 "url": "https://supportapp.eu-west-1.api.aws"
86 }
87 },
88 "params": {
89 "UseFIPS": false,
90 "UseDualStack": true,
91 "Region": "eu-west-1"
92 }
93 },
94 {
95 "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
96 "expect": {
97 "endpoint": {
98 "url": "https://supportapp.eu-west-1.amazonaws.com"
99 }
100 },
101 "params": {
102 "UseFIPS": false,
103 "UseDualStack": false,
104 "Region": "eu-west-1"
105 }
106 },
107 {
108 "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
109 "expect": {
110 "endpoint": {
111 "url": "https://supportapp-fips.us-east-1.api.aws"
112 }
113 },
114 "params": {
115 "UseFIPS": true,
116 "UseDualStack": true,
117 "Region": "us-east-1"
118 }
119 },
120 {
121 "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
122 "expect": {
123 "endpoint": {
124 "url": "https://supportapp-fips.us-east-1.amazonaws.com"
125 }
126 },
127 "params": {
128 "UseFIPS": true,
129 "UseDualStack": false,
130 "Region": "us-east-1"
131 }
132 },
133 {
134 "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
135 "expect": {
136 "endpoint": {
137 "url": "https://supportapp.us-east-1.api.aws"
138 }
139 },
140 "params": {
141 "UseFIPS": false,
142 "UseDualStack": true,
143 "Region": "us-east-1"
144 }
145 },
146 {
147 "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
148 "expect": {
149 "endpoint": {
150 "url": "https://supportapp.us-east-1.amazonaws.com"
151 }
152 },
153 "params": {
154 "UseFIPS": false,
155 "UseDualStack": false,
156 "Region": "us-east-1"
157 }
158 },
159 {
160 "documentation": "For custom endpoint with fips disabled and dualstack disabled",
161 "expect": {
162 "endpoint": {
163 "url": "https://example.com"
164 }
165 },
166 "params": {
167 "UseFIPS": false,
168 "UseDualStack": false,
169 "Region": "us-east-1",
170 "Endpoint": "https://example.com"
171 }
172 },
173 {
174 "documentation": "For custom endpoint with fips enabled and dualstack disabled",
175 "expect": {
176 "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
177 },
178 "params": {
179 "UseFIPS": true,
180 "UseDualStack": false,
181 "Region": "us-east-1",
182 "Endpoint": "https://example.com"
183 }
184 },
185 {
186 "documentation": "For custom endpoint with fips disabled and dualstack enabled",
187 "expect": {
188 "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
189 },
190 "params": {
191 "UseFIPS": false,
192 "UseDualStack": true,
193 "Region": "us-east-1",
194 "Endpoint": "https://example.com"
195 }
196 }
197 ],
198 "version": "1.0"
199 }