|
62 | 62 | {"shape":"ServiceUnavailableException"} |
63 | 63 | ] |
64 | 64 | }, |
| 65 | + "DescribeUpdate":{ |
| 66 | + "name":"DescribeUpdate", |
| 67 | + "http":{ |
| 68 | + "method":"GET", |
| 69 | + "requestUri":"/clusters/{name}/updates/{updateId}" |
| 70 | + }, |
| 71 | + "input":{"shape":"DescribeUpdateRequest"}, |
| 72 | + "output":{"shape":"DescribeUpdateResponse"}, |
| 73 | + "errors":[ |
| 74 | + {"shape":"InvalidParameterException"}, |
| 75 | + {"shape":"ClientException"}, |
| 76 | + {"shape":"ServerException"}, |
| 77 | + {"shape":"ResourceNotFoundException"} |
| 78 | + ] |
| 79 | + }, |
65 | 80 | "ListClusters":{ |
66 | 81 | "name":"ListClusters", |
67 | 82 | "http":{ |
|
76 | 91 | {"shape":"ServerException"}, |
77 | 92 | {"shape":"ServiceUnavailableException"} |
78 | 93 | ] |
| 94 | + }, |
| 95 | + "ListUpdates":{ |
| 96 | + "name":"ListUpdates", |
| 97 | + "http":{ |
| 98 | + "method":"GET", |
| 99 | + "requestUri":"/clusters/{name}/updates" |
| 100 | + }, |
| 101 | + "input":{"shape":"ListUpdatesRequest"}, |
| 102 | + "output":{"shape":"ListUpdatesResponse"}, |
| 103 | + "errors":[ |
| 104 | + {"shape":"InvalidParameterException"}, |
| 105 | + {"shape":"ClientException"}, |
| 106 | + {"shape":"ServerException"}, |
| 107 | + {"shape":"ResourceNotFoundException"} |
| 108 | + ] |
| 109 | + }, |
| 110 | + "UpdateClusterVersion":{ |
| 111 | + "name":"UpdateClusterVersion", |
| 112 | + "http":{ |
| 113 | + "method":"POST", |
| 114 | + "requestUri":"/clusters/{name}/updates" |
| 115 | + }, |
| 116 | + "input":{"shape":"UpdateClusterVersionRequest"}, |
| 117 | + "output":{"shape":"UpdateClusterVersionResponse"}, |
| 118 | + "errors":[ |
| 119 | + {"shape":"InvalidParameterException"}, |
| 120 | + {"shape":"ClientException"}, |
| 121 | + {"shape":"ServerException"}, |
| 122 | + {"shape":"ResourceInUseException"}, |
| 123 | + {"shape":"ResourceNotFoundException"}, |
| 124 | + {"shape":"InvalidRequestException"} |
| 125 | + ] |
79 | 126 | } |
80 | 127 | }, |
81 | 128 | "shapes":{ |
|
112 | 159 | }, |
113 | 160 | "ClusterName":{ |
114 | 161 | "type":"string", |
115 | | - "max":255, |
| 162 | + "max":100, |
116 | 163 | "min":1, |
117 | | - "pattern":"[A-Za-z0-9\\-_]*" |
| 164 | + "pattern":"^[0-9A-Za-z][A-Za-z0-9\\-_]*" |
118 | 165 | }, |
119 | 166 | "ClusterStatus":{ |
120 | 167 | "type":"string", |
|
183 | 230 | "cluster":{"shape":"Cluster"} |
184 | 231 | } |
185 | 232 | }, |
| 233 | + "DescribeUpdateRequest":{ |
| 234 | + "type":"structure", |
| 235 | + "required":[ |
| 236 | + "name", |
| 237 | + "updateId" |
| 238 | + ], |
| 239 | + "members":{ |
| 240 | + "name":{ |
| 241 | + "shape":"String", |
| 242 | + "location":"uri", |
| 243 | + "locationName":"name" |
| 244 | + }, |
| 245 | + "updateId":{ |
| 246 | + "shape":"String", |
| 247 | + "location":"uri", |
| 248 | + "locationName":"updateId" |
| 249 | + } |
| 250 | + } |
| 251 | + }, |
| 252 | + "DescribeUpdateResponse":{ |
| 253 | + "type":"structure", |
| 254 | + "members":{ |
| 255 | + "update":{"shape":"Update"} |
| 256 | + } |
| 257 | + }, |
| 258 | + "ErrorCode":{ |
| 259 | + "type":"string", |
| 260 | + "enum":[ |
| 261 | + "SubnetNotFound", |
| 262 | + "SecurityGroupNotFound", |
| 263 | + "EniLimitReached", |
| 264 | + "IpNotAvailable", |
| 265 | + "AccessDenied", |
| 266 | + "OperationNotPermitted", |
| 267 | + "VpcIdNotFound", |
| 268 | + "Unknown" |
| 269 | + ] |
| 270 | + }, |
| 271 | + "ErrorDetail":{ |
| 272 | + "type":"structure", |
| 273 | + "members":{ |
| 274 | + "errorCode":{"shape":"ErrorCode"}, |
| 275 | + "errorMessage":{"shape":"String"}, |
| 276 | + "resourceIds":{"shape":"StringList"} |
| 277 | + } |
| 278 | + }, |
| 279 | + "ErrorDetails":{ |
| 280 | + "type":"list", |
| 281 | + "member":{"shape":"ErrorDetail"} |
| 282 | + }, |
186 | 283 | "InvalidParameterException":{ |
187 | 284 | "type":"structure", |
188 | 285 | "members":{ |
|
192 | 289 | "error":{"httpStatusCode":400}, |
193 | 290 | "exception":true |
194 | 291 | }, |
| 292 | + "InvalidRequestException":{ |
| 293 | + "type":"structure", |
| 294 | + "members":{ |
| 295 | + "clusterName":{"shape":"String"}, |
| 296 | + "message":{"shape":"String"} |
| 297 | + }, |
| 298 | + "error":{"httpStatusCode":400}, |
| 299 | + "exception":true |
| 300 | + }, |
195 | 301 | "ListClustersRequest":{ |
196 | 302 | "type":"structure", |
197 | 303 | "members":{ |
|
220 | 326 | "nextToken":{"shape":"String"} |
221 | 327 | } |
222 | 328 | }, |
| 329 | + "ListUpdatesRequest":{ |
| 330 | + "type":"structure", |
| 331 | + "required":["name"], |
| 332 | + "members":{ |
| 333 | + "name":{ |
| 334 | + "shape":"String", |
| 335 | + "location":"uri", |
| 336 | + "locationName":"name" |
| 337 | + }, |
| 338 | + "nextToken":{ |
| 339 | + "shape":"String", |
| 340 | + "location":"querystring", |
| 341 | + "locationName":"nextToken" |
| 342 | + }, |
| 343 | + "maxResults":{ |
| 344 | + "shape":"ListUpdatesRequestMaxResults", |
| 345 | + "location":"querystring", |
| 346 | + "locationName":"maxResults" |
| 347 | + } |
| 348 | + } |
| 349 | + }, |
| 350 | + "ListUpdatesRequestMaxResults":{ |
| 351 | + "type":"integer", |
| 352 | + "box":true, |
| 353 | + "max":100, |
| 354 | + "min":1 |
| 355 | + }, |
| 356 | + "ListUpdatesResponse":{ |
| 357 | + "type":"structure", |
| 358 | + "members":{ |
| 359 | + "updateIds":{"shape":"StringList"}, |
| 360 | + "nextToken":{"shape":"String"} |
| 361 | + } |
| 362 | + }, |
223 | 363 | "ResourceInUseException":{ |
224 | 364 | "type":"structure", |
225 | 365 | "members":{ |
|
282 | 422 | "error":{"httpStatusCode":400}, |
283 | 423 | "exception":true |
284 | 424 | }, |
| 425 | + "Update":{ |
| 426 | + "type":"structure", |
| 427 | + "members":{ |
| 428 | + "id":{"shape":"String"}, |
| 429 | + "status":{"shape":"UpdateStatus"}, |
| 430 | + "type":{"shape":"UpdateType"}, |
| 431 | + "params":{"shape":"UpdateParams"}, |
| 432 | + "createdAt":{"shape":"Timestamp"}, |
| 433 | + "errors":{"shape":"ErrorDetails"} |
| 434 | + } |
| 435 | + }, |
| 436 | + "UpdateClusterVersionRequest":{ |
| 437 | + "type":"structure", |
| 438 | + "required":[ |
| 439 | + "name", |
| 440 | + "version" |
| 441 | + ], |
| 442 | + "members":{ |
| 443 | + "name":{ |
| 444 | + "shape":"String", |
| 445 | + "location":"uri", |
| 446 | + "locationName":"name" |
| 447 | + }, |
| 448 | + "version":{"shape":"String"}, |
| 449 | + "clientRequestToken":{ |
| 450 | + "shape":"String", |
| 451 | + "idempotencyToken":true |
| 452 | + } |
| 453 | + } |
| 454 | + }, |
| 455 | + "UpdateClusterVersionResponse":{ |
| 456 | + "type":"structure", |
| 457 | + "members":{ |
| 458 | + "update":{"shape":"Update"} |
| 459 | + } |
| 460 | + }, |
| 461 | + "UpdateParam":{ |
| 462 | + "type":"structure", |
| 463 | + "members":{ |
| 464 | + "type":{"shape":"UpdateParamType"}, |
| 465 | + "value":{"shape":"String"} |
| 466 | + } |
| 467 | + }, |
| 468 | + "UpdateParamType":{ |
| 469 | + "type":"string", |
| 470 | + "enum":[ |
| 471 | + "Version", |
| 472 | + "PlatformVersion" |
| 473 | + ] |
| 474 | + }, |
| 475 | + "UpdateParams":{ |
| 476 | + "type":"list", |
| 477 | + "member":{"shape":"UpdateParam"} |
| 478 | + }, |
| 479 | + "UpdateStatus":{ |
| 480 | + "type":"string", |
| 481 | + "enum":[ |
| 482 | + "InProgress", |
| 483 | + "Failed", |
| 484 | + "Cancelled", |
| 485 | + "Successful" |
| 486 | + ] |
| 487 | + }, |
| 488 | + "UpdateType":{ |
| 489 | + "type":"string", |
| 490 | + "enum":["VersionUpdate"] |
| 491 | + }, |
285 | 492 | "VpcConfigRequest":{ |
286 | 493 | "type":"structure", |
287 | 494 | "required":["subnetIds"], |
|
0 commit comments