|
52 | 52 | "name": "ec2-instance-connect"
|
53 | 53 | },
|
54 | 54 | "aws.protocols#awsJson1_1": {},
|
55 |
| - "smithy.api#documentation": "<p>Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH\n public keys to EC2, providing users a simple and secure way to connect to their\n instances.</p>", |
| 55 | + "smithy.api#documentation": "<p>This is the <i> Amazon EC2 Instance Connect API Reference</i>. It\n provides descriptions, syntax, and usage examples for each of the actions for Amazon EC2\n Instance Connect. Amazon EC2 Instance Connect enables system administrators to publish\n one-time use SSH public keys to EC2, providing users a simple and secure way to connect\n to their instances.</p>\n <p>To view the Amazon EC2 Instance Connect content in the <i> Amazon EC2 User\n Guide</i>, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html\">Connect to\n your Linux instance using EC2 Instance Connect</a>.</p>\n <p>For Amazon EC2 APIs, see the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Welcome.html\">Amazon EC2 API\n Reference</a>.</p>", |
56 | 56 | "smithy.api#title": "AWS EC2 Instance Connect",
|
57 | 57 | "smithy.rules#endpointRuleSet": {
|
58 | 58 | "version": "1.0",
|
|
96 | 96 | ]
|
97 | 97 | }
|
98 | 98 | ],
|
99 |
| - "type": "tree", |
100 | 99 | "rules": [
|
101 | 100 | {
|
102 | 101 | "conditions": [
|
|
139 | 138 | },
|
140 | 139 | "type": "endpoint"
|
141 | 140 | }
|
142 |
| - ] |
| 141 | + ], |
| 142 | + "type": "tree" |
143 | 143 | },
|
144 | 144 | {
|
145 | 145 | "conditions": [
|
|
152 | 152 | ]
|
153 | 153 | }
|
154 | 154 | ],
|
155 |
| - "type": "tree", |
156 | 155 | "rules": [
|
157 | 156 | {
|
158 | 157 | "conditions": [
|
|
166 | 165 | "assign": "PartitionResult"
|
167 | 166 | }
|
168 | 167 | ],
|
169 |
| - "type": "tree", |
170 | 168 | "rules": [
|
171 | 169 | {
|
172 | 170 | "conditions": [
|
|
189 | 187 | ]
|
190 | 188 | }
|
191 | 189 | ],
|
192 |
| - "type": "tree", |
193 | 190 | "rules": [
|
194 | 191 | {
|
195 | 192 | "conditions": [
|
|
224 | 221 | ]
|
225 | 222 | }
|
226 | 223 | ],
|
227 |
| - "type": "tree", |
228 | 224 | "rules": [
|
229 | 225 | {
|
230 | 226 | "conditions": [],
|
|
235 | 231 | },
|
236 | 232 | "type": "endpoint"
|
237 | 233 | }
|
238 |
| - ] |
| 234 | + ], |
| 235 | + "type": "tree" |
239 | 236 | },
|
240 | 237 | {
|
241 | 238 | "conditions": [],
|
242 | 239 | "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
|
243 | 240 | "type": "error"
|
244 | 241 | }
|
245 |
| - ] |
| 242 | + ], |
| 243 | + "type": "tree" |
246 | 244 | },
|
247 | 245 | {
|
248 | 246 | "conditions": [
|
|
256 | 254 | ]
|
257 | 255 | }
|
258 | 256 | ],
|
259 |
| - "type": "tree", |
260 | 257 | "rules": [
|
261 | 258 | {
|
262 | 259 | "conditions": [
|
263 | 260 | {
|
264 | 261 | "fn": "booleanEquals",
|
265 | 262 | "argv": [
|
266 |
| - true, |
267 | 263 | {
|
268 | 264 | "fn": "getAttr",
|
269 | 265 | "argv": [
|
|
272 | 268 | },
|
273 | 269 | "supportsFIPS"
|
274 | 270 | ]
|
275 |
| - } |
| 271 | + }, |
| 272 | + true |
276 | 273 | ]
|
277 | 274 | }
|
278 | 275 | ],
|
279 |
| - "type": "tree", |
280 | 276 | "rules": [
|
281 | 277 | {
|
282 | 278 | "conditions": [],
|
|
287 | 283 | },
|
288 | 284 | "type": "endpoint"
|
289 | 285 | }
|
290 |
| - ] |
| 286 | + ], |
| 287 | + "type": "tree" |
291 | 288 | },
|
292 | 289 | {
|
293 | 290 | "conditions": [],
|
294 | 291 | "error": "FIPS is enabled but this partition does not support FIPS",
|
295 | 292 | "type": "error"
|
296 | 293 | }
|
297 |
| - ] |
| 294 | + ], |
| 295 | + "type": "tree" |
298 | 296 | },
|
299 | 297 | {
|
300 | 298 | "conditions": [
|
|
308 | 306 | ]
|
309 | 307 | }
|
310 | 308 | ],
|
311 |
| - "type": "tree", |
312 | 309 | "rules": [
|
313 | 310 | {
|
314 | 311 | "conditions": [
|
|
328 | 325 | ]
|
329 | 326 | }
|
330 | 327 | ],
|
331 |
| - "type": "tree", |
332 | 328 | "rules": [
|
333 | 329 | {
|
334 | 330 | "conditions": [],
|
|
339 | 335 | },
|
340 | 336 | "type": "endpoint"
|
341 | 337 | }
|
342 |
| - ] |
| 338 | + ], |
| 339 | + "type": "tree" |
343 | 340 | },
|
344 | 341 | {
|
345 | 342 | "conditions": [],
|
346 | 343 | "error": "DualStack is enabled but this partition does not support DualStack",
|
347 | 344 | "type": "error"
|
348 | 345 | }
|
349 |
| - ] |
| 346 | + ], |
| 347 | + "type": "tree" |
350 | 348 | },
|
351 | 349 | {
|
352 | 350 | "conditions": [],
|
|
357 | 355 | },
|
358 | 356 | "type": "endpoint"
|
359 | 357 | }
|
360 |
| - ] |
| 358 | + ], |
| 359 | + "type": "tree" |
361 | 360 | }
|
362 |
| - ] |
| 361 | + ], |
| 362 | + "type": "tree" |
363 | 363 | },
|
364 | 364 | {
|
365 | 365 | "conditions": [],
|
|
796 | 796 | "min": 1,
|
797 | 797 | "max": 32
|
798 | 798 | },
|
799 |
| - "smithy.api#pattern": "^[A-Za-z_][A-Za-z0-9\\@\\._-]{0,30}[A-Za-z0-9\\$_-]?$" |
| 799 | + "smithy.api#pattern": "^(^[A-Za-z_][A-Za-z0-9\\@\\._-]{0,30}[A-Za-z0-9\\$_-]?$)|(^(?=.{2,32}$)[0-9]{1,32}[A-Za-z\\@\\._-][A-Za-z0-9\\@\\._-]*[A-Za-z0-9\\$_-]?$)$" |
800 | 800 | }
|
801 | 801 | },
|
802 | 802 | "com.amazonaws.ec2instanceconnect#InvalidArgsException": {
|
|
971 | 971 | {
|
972 | 972 | "target": "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnavailableException"
|
973 | 973 | },
|
| 974 | + { |
| 975 | + "target": "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnsupportedException" |
| 976 | + }, |
974 | 977 | {
|
975 | 978 | "target": "com.amazonaws.ec2instanceconnect#ServiceException"
|
976 | 979 | },
|
|
1083 | 1086 | "smithy.api#httpError": 500
|
1084 | 1087 | }
|
1085 | 1088 | },
|
| 1089 | + "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnsupportedException": { |
| 1090 | + "type": "structure", |
| 1091 | + "members": { |
| 1092 | + "Message": { |
| 1093 | + "target": "com.amazonaws.ec2instanceconnect#String" |
| 1094 | + } |
| 1095 | + }, |
| 1096 | + "traits": { |
| 1097 | + "aws.protocols#awsQueryError": { |
| 1098 | + "code": "SerialConsoleSessionUnsupported", |
| 1099 | + "httpResponseCode": 400 |
| 1100 | + }, |
| 1101 | + "smithy.api#documentation": "<p>Your instance's BIOS version is unsupported for serial console connection. Reboot your instance to update its BIOS, and then try again to connect.</p>", |
| 1102 | + "smithy.api#error": "client", |
| 1103 | + "smithy.api#httpError": 400 |
| 1104 | + } |
| 1105 | + }, |
1086 | 1106 | "com.amazonaws.ec2instanceconnect#SerialPort": {
|
1087 | 1107 | "type": "integer",
|
1088 | 1108 | "traits": {
|
|
0 commit comments