| 1 | { |
| 2 | "version":"2.0", |
| 3 | "metadata":{ |
| 4 | "apiVersion":"2022-10-30", |
| 5 | "endpointPrefix":"arc-zonal-shift", |
| 6 | "jsonVersion":"1.1", |
| 7 | "protocol":"rest-json", |
| 8 | "serviceFullName":"AWS ARC - Zonal Shift", |
| 9 | "serviceId":"ARC Zonal Shift", |
| 10 | "signatureVersion":"v4", |
| 11 | "signingName":"arc-zonal-shift", |
| 12 | "uid":"arc-zonal-shift-2022-10-30" |
| 13 | }, |
| 14 | "operations":{ |
| 15 | "CancelZonalShift":{ |
| 16 | "name":"CancelZonalShift", |
| 17 | "http":{ |
| 18 | "method":"DELETE", |
| 19 | "requestUri":"/zonalshifts/{zonalShiftId}", |
| 20 | "responseCode":200 |
| 21 | }, |
| 22 | "input":{"shape":"CancelZonalShiftRequest"}, |
| 23 | "output":{"shape":"ZonalShift"}, |
| 24 | "errors":[ |
| 25 | {"shape":"InternalServerException"}, |
| 26 | {"shape":"ConflictException"}, |
| 27 | {"shape":"ResourceNotFoundException"}, |
| 28 | {"shape":"ThrottlingException"}, |
| 29 | {"shape":"ValidationException"}, |
| 30 | {"shape":"AccessDeniedException"} |
| 31 | ] |
| 32 | }, |
| 33 | "CreatePracticeRunConfiguration":{ |
| 34 | "name":"CreatePracticeRunConfiguration", |
| 35 | "http":{ |
| 36 | "method":"POST", |
| 37 | "requestUri":"/configuration", |
| 38 | "responseCode":201 |
| 39 | }, |
| 40 | "input":{"shape":"CreatePracticeRunConfigurationRequest"}, |
| 41 | "output":{"shape":"CreatePracticeRunConfigurationResponse"}, |
| 42 | "errors":[ |
| 43 | {"shape":"InternalServerException"}, |
| 44 | {"shape":"ConflictException"}, |
| 45 | {"shape":"ResourceNotFoundException"}, |
| 46 | {"shape":"ThrottlingException"}, |
| 47 | {"shape":"ValidationException"}, |
| 48 | {"shape":"AccessDeniedException"} |
| 49 | ] |
| 50 | }, |
| 51 | "DeletePracticeRunConfiguration":{ |
| 52 | "name":"DeletePracticeRunConfiguration", |
| 53 | "http":{ |
| 54 | "method":"DELETE", |
| 55 | "requestUri":"/configuration/{resourceIdentifier}", |
| 56 | "responseCode":200 |
| 57 | }, |
| 58 | "input":{"shape":"DeletePracticeRunConfigurationRequest"}, |
| 59 | "output":{"shape":"DeletePracticeRunConfigurationResponse"}, |
| 60 | "errors":[ |
| 61 | {"shape":"InternalServerException"}, |
| 62 | {"shape":"ConflictException"}, |
| 63 | {"shape":"ResourceNotFoundException"}, |
| 64 | {"shape":"ThrottlingException"}, |
| 65 | {"shape":"ValidationException"}, |
| 66 | {"shape":"AccessDeniedException"} |
| 67 | ], |
| 68 | "idempotent":true |
| 69 | }, |
| 70 | "GetManagedResource":{ |
| 71 | "name":"GetManagedResource", |
| 72 | "http":{ |
| 73 | "method":"GET", |
| 74 | "requestUri":"/managedresources/{resourceIdentifier}", |
| 75 | "responseCode":200 |
| 76 | }, |
| 77 | "input":{"shape":"GetManagedResourceRequest"}, |
| 78 | "output":{"shape":"GetManagedResourceResponse"}, |
| 79 | "errors":[ |
| 80 | {"shape":"InternalServerException"}, |
| 81 | {"shape":"ResourceNotFoundException"}, |
| 82 | {"shape":"ThrottlingException"}, |
| 83 | {"shape":"ValidationException"}, |
| 84 | {"shape":"AccessDeniedException"} |
| 85 | ] |
| 86 | }, |
| 87 | "ListAutoshifts":{ |
| 88 | "name":"ListAutoshifts", |
| 89 | "http":{ |
| 90 | "method":"GET", |
| 91 | "requestUri":"/autoshifts", |
| 92 | "responseCode":200 |
| 93 | }, |
| 94 | "input":{"shape":"ListAutoshiftsRequest"}, |
| 95 | "output":{"shape":"ListAutoshiftsResponse"}, |
| 96 | "errors":[ |
| 97 | {"shape":"InternalServerException"}, |
| 98 | {"shape":"ThrottlingException"}, |
| 99 | {"shape":"ValidationException"}, |
| 100 | {"shape":"AccessDeniedException"} |
| 101 | ] |
| 102 | }, |
| 103 | "ListManagedResources":{ |
| 104 | "name":"ListManagedResources", |
| 105 | "http":{ |
| 106 | "method":"GET", |
| 107 | "requestUri":"/managedresources", |
| 108 | "responseCode":200 |
| 109 | }, |
| 110 | "input":{"shape":"ListManagedResourcesRequest"}, |
| 111 | "output":{"shape":"ListManagedResourcesResponse"}, |
| 112 | "errors":[ |
| 113 | {"shape":"InternalServerException"}, |
| 114 | {"shape":"ThrottlingException"}, |
| 115 | {"shape":"ValidationException"}, |
| 116 | {"shape":"AccessDeniedException"} |
| 117 | ] |
| 118 | }, |
| 119 | "ListZonalShifts":{ |
| 120 | "name":"ListZonalShifts", |
| 121 | "http":{ |
| 122 | "method":"GET", |
| 123 | "requestUri":"/zonalshifts", |
| 124 | "responseCode":200 |
| 125 | }, |
| 126 | "input":{"shape":"ListZonalShiftsRequest"}, |
| 127 | "output":{"shape":"ListZonalShiftsResponse"}, |
| 128 | "errors":[ |
| 129 | {"shape":"InternalServerException"}, |
| 130 | {"shape":"ThrottlingException"}, |
| 131 | {"shape":"ValidationException"}, |
| 132 | {"shape":"AccessDeniedException"} |
| 133 | ] |
| 134 | }, |
| 135 | "StartZonalShift":{ |
| 136 | "name":"StartZonalShift", |
| 137 | "http":{ |
| 138 | "method":"POST", |
| 139 | "requestUri":"/zonalshifts", |
| 140 | "responseCode":201 |
| 141 | }, |
| 142 | "input":{"shape":"StartZonalShiftRequest"}, |
| 143 | "output":{"shape":"ZonalShift"}, |
| 144 | "errors":[ |
| 145 | {"shape":"InternalServerException"}, |
| 146 | {"shape":"ConflictException"}, |
| 147 | {"shape":"ResourceNotFoundException"}, |
| 148 | {"shape":"ThrottlingException"}, |
| 149 | {"shape":"ValidationException"}, |
| 150 | {"shape":"AccessDeniedException"} |
| 151 | ] |
| 152 | }, |
| 153 | "UpdatePracticeRunConfiguration":{ |
| 154 | "name":"UpdatePracticeRunConfiguration", |
| 155 | "http":{ |
| 156 | "method":"PATCH", |
| 157 | "requestUri":"/configuration/{resourceIdentifier}", |
| 158 | "responseCode":200 |
| 159 | }, |
| 160 | "input":{"shape":"UpdatePracticeRunConfigurationRequest"}, |
| 161 | "output":{"shape":"UpdatePracticeRunConfigurationResponse"}, |
| 162 | "errors":[ |
| 163 | {"shape":"InternalServerException"}, |
| 164 | {"shape":"ConflictException"}, |
| 165 | {"shape":"ResourceNotFoundException"}, |
| 166 | {"shape":"ThrottlingException"}, |
| 167 | {"shape":"ValidationException"}, |
| 168 | {"shape":"AccessDeniedException"} |
| 169 | ] |
| 170 | }, |
| 171 | "UpdateZonalAutoshiftConfiguration":{ |
| 172 | "name":"UpdateZonalAutoshiftConfiguration", |
| 173 | "http":{ |
| 174 | "method":"PUT", |
| 175 | "requestUri":"/managedresources/{resourceIdentifier}", |
| 176 | "responseCode":200 |
| 177 | }, |
| 178 | "input":{"shape":"UpdateZonalAutoshiftConfigurationRequest"}, |
| 179 | "output":{"shape":"UpdateZonalAutoshiftConfigurationResponse"}, |
| 180 | "errors":[ |
| 181 | {"shape":"InternalServerException"}, |
| 182 | {"shape":"ConflictException"}, |
| 183 | {"shape":"ResourceNotFoundException"}, |
| 184 | {"shape":"ThrottlingException"}, |
| 185 | {"shape":"ValidationException"}, |
| 186 | {"shape":"AccessDeniedException"} |
| 187 | ], |
| 188 | "idempotent":true |
| 189 | }, |
| 190 | "UpdateZonalShift":{ |
| 191 | "name":"UpdateZonalShift", |
| 192 | "http":{ |
| 193 | "method":"PATCH", |
| 194 | "requestUri":"/zonalshifts/{zonalShiftId}", |
| 195 | "responseCode":200 |
| 196 | }, |
| 197 | "input":{"shape":"UpdateZonalShiftRequest"}, |
| 198 | "output":{"shape":"ZonalShift"}, |
| 199 | "errors":[ |
| 200 | {"shape":"InternalServerException"}, |
| 201 | {"shape":"ConflictException"}, |
| 202 | {"shape":"ResourceNotFoundException"}, |
| 203 | {"shape":"ThrottlingException"}, |
| 204 | {"shape":"ValidationException"}, |
| 205 | {"shape":"AccessDeniedException"} |
| 206 | ] |
| 207 | } |
| 208 | }, |
| 209 | "shapes":{ |
| 210 | "AccessDeniedException":{ |
| 211 | "type":"structure", |
| 212 | "members":{ |
| 213 | "message":{"shape":"String"} |
| 214 | }, |
| 215 | "error":{ |
| 216 | "httpStatusCode":403, |
| 217 | "senderFault":true |
| 218 | }, |
| 219 | "exception":true |
| 220 | }, |
| 221 | "AppliedStatus":{ |
| 222 | "type":"string", |
| 223 | "enum":[ |
| 224 | "APPLIED", |
| 225 | "NOT_APPLIED" |
| 226 | ] |
| 227 | }, |
| 228 | "AppliedWeights":{ |
| 229 | "type":"map", |
| 230 | "key":{"shape":"AvailabilityZone"}, |
| 231 | "value":{"shape":"Weight"} |
| 232 | }, |
| 233 | "AutoshiftAppliedStatus":{ |
| 234 | "type":"string", |
| 235 | "enum":[ |
| 236 | "APPLIED", |
| 237 | "NOT_APPLIED" |
| 238 | ] |
| 239 | }, |
| 240 | "AutoshiftExecutionStatus":{ |
| 241 | "type":"string", |
| 242 | "enum":[ |
| 243 | "ACTIVE", |
| 244 | "COMPLETED" |
| 245 | ] |
| 246 | }, |
| 247 | "AutoshiftInResource":{ |
| 248 | "type":"structure", |
| 249 | "required":[ |
| 250 | "appliedStatus", |
| 251 | "awayFrom", |
| 252 | "startTime" |
| 253 | ], |
| 254 | "members":{ |
| 255 | "appliedStatus":{"shape":"AutoshiftAppliedStatus"}, |
| 256 | "awayFrom":{"shape":"AvailabilityZone"}, |
| 257 | "startTime":{"shape":"StartTime"} |
| 258 | } |
| 259 | }, |
| 260 | "AutoshiftSummaries":{ |
| 261 | "type":"list", |
| 262 | "member":{"shape":"AutoshiftSummary"} |
| 263 | }, |
| 264 | "AutoshiftSummary":{ |
| 265 | "type":"structure", |
| 266 | "required":[ |
| 267 | "awayFrom", |
| 268 | "endTime", |
| 269 | "startTime", |
| 270 | "status" |
| 271 | ], |
| 272 | "members":{ |
| 273 | "awayFrom":{"shape":"AvailabilityZone"}, |
| 274 | "endTime":{"shape":"ExpiryTime"}, |
| 275 | "startTime":{"shape":"StartTime"}, |
| 276 | "status":{"shape":"AutoshiftExecutionStatus"} |
| 277 | } |
| 278 | }, |
| 279 | "AutoshiftsInResource":{ |
| 280 | "type":"list", |
| 281 | "member":{"shape":"AutoshiftInResource"} |
| 282 | }, |
| 283 | "AvailabilityZone":{ |
| 284 | "type":"string", |
| 285 | "max":20, |
| 286 | "min":0 |
| 287 | }, |
| 288 | "AvailabilityZones":{ |
| 289 | "type":"list", |
| 290 | "member":{"shape":"AvailabilityZone"} |
| 291 | }, |
| 292 | "BlockedDate":{ |
| 293 | "type":"string", |
| 294 | "max":10, |
| 295 | "min":10, |
| 296 | "pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$" |
| 297 | }, |
| 298 | "BlockedDates":{ |
| 299 | "type":"list", |
| 300 | "member":{"shape":"BlockedDate"}, |
| 301 | "max":15, |
| 302 | "min":0 |
| 303 | }, |
| 304 | "BlockedWindow":{ |
| 305 | "type":"string", |
| 306 | "max":19, |
| 307 | "min":19, |
| 308 | "pattern":"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun):[0-9]{2}:[0-9]{2}-(Mon|Tue|Wed|Thu|Fri|Sat|Sun):[0-9]{2}:[0-9]{2}$" |
| 309 | }, |
| 310 | "BlockedWindows":{ |
| 311 | "type":"list", |
| 312 | "member":{"shape":"BlockedWindow"}, |
| 313 | "max":15, |
| 314 | "min":0 |
| 315 | }, |
| 316 | "CancelZonalShiftRequest":{ |
| 317 | "type":"structure", |
| 318 | "required":["zonalShiftId"], |
| 319 | "members":{ |
| 320 | "zonalShiftId":{ |
| 321 | "shape":"ZonalShiftId", |
| 322 | "location":"uri", |
| 323 | "locationName":"zonalShiftId" |
| 324 | } |
| 325 | } |
| 326 | }, |
| 327 | "ConflictException":{ |
| 328 | "type":"structure", |
| 329 | "required":[ |
| 330 | "message", |
| 331 | "reason" |
| 332 | ], |
| 333 | "members":{ |
| 334 | "message":{"shape":"String"}, |
| 335 | "reason":{"shape":"ConflictExceptionReason"}, |
| 336 | "zonalShiftId":{"shape":"String"} |
| 337 | }, |
| 338 | "error":{ |
| 339 | "httpStatusCode":409, |
| 340 | "senderFault":true |
| 341 | }, |
| 342 | "exception":true |
| 343 | }, |
| 344 | "ConflictExceptionReason":{ |
| 345 | "type":"string", |
| 346 | "enum":[ |
| 347 | "ZonalShiftAlreadyExists", |
| 348 | "ZonalShiftStatusNotActive", |
| 349 | "SimultaneousZonalShiftsConflict", |
| 350 | "PracticeConfigurationAlreadyExists", |
| 351 | "AutoShiftEnabled", |
| 352 | "PracticeConfigurationDoesNotExist" |
| 353 | ] |
| 354 | }, |
| 355 | "ControlCondition":{ |
| 356 | "type":"structure", |
| 357 | "required":[ |
| 358 | "alarmIdentifier", |
| 359 | "type" |
| 360 | ], |
| 361 | "members":{ |
| 362 | "alarmIdentifier":{"shape":"ResourceArn"}, |
| 363 | "type":{"shape":"ControlConditionType"} |
| 364 | } |
| 365 | }, |
| 366 | "ControlConditionType":{ |
| 367 | "type":"string", |
| 368 | "enum":["CLOUDWATCH"] |
| 369 | }, |
| 370 | "ControlConditions":{ |
| 371 | "type":"list", |
| 372 | "member":{"shape":"ControlCondition"}, |
| 373 | "max":1, |
| 374 | "min":1 |
| 375 | }, |
| 376 | "CreatePracticeRunConfigurationRequest":{ |
| 377 | "type":"structure", |
| 378 | "required":[ |
| 379 | "outcomeAlarms", |
| 380 | "resourceIdentifier" |
| 381 | ], |
| 382 | "members":{ |
| 383 | "blockedDates":{"shape":"BlockedDates"}, |
| 384 | "blockedWindows":{"shape":"BlockedWindows"}, |
| 385 | "blockingAlarms":{"shape":"ControlConditions"}, |
| 386 | "outcomeAlarms":{"shape":"ControlConditions"}, |
| 387 | "resourceIdentifier":{"shape":"ResourceIdentifier"} |
| 388 | } |
| 389 | }, |
| 390 | "CreatePracticeRunConfigurationResponse":{ |
| 391 | "type":"structure", |
| 392 | "required":[ |
| 393 | "arn", |
| 394 | "name", |
| 395 | "practiceRunConfiguration", |
| 396 | "zonalAutoshiftStatus" |
| 397 | ], |
| 398 | "members":{ |
| 399 | "arn":{"shape":"ResourceArn"}, |
| 400 | "name":{"shape":"ResourceName"}, |
| 401 | "practiceRunConfiguration":{"shape":"PracticeRunConfiguration"}, |
| 402 | "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} |
| 403 | } |
| 404 | }, |
| 405 | "DeletePracticeRunConfigurationRequest":{ |
| 406 | "type":"structure", |
| 407 | "required":["resourceIdentifier"], |
| 408 | "members":{ |
| 409 | "resourceIdentifier":{ |
| 410 | "shape":"ResourceIdentifier", |
| 411 | "location":"uri", |
| 412 | "locationName":"resourceIdentifier" |
| 413 | } |
| 414 | } |
| 415 | }, |
| 416 | "DeletePracticeRunConfigurationResponse":{ |
| 417 | "type":"structure", |
| 418 | "required":[ |
| 419 | "arn", |
| 420 | "name", |
| 421 | "zonalAutoshiftStatus" |
| 422 | ], |
| 423 | "members":{ |
| 424 | "arn":{"shape":"ResourceArn"}, |
| 425 | "name":{"shape":"ResourceName"}, |
| 426 | "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} |
| 427 | } |
| 428 | }, |
| 429 | "ExpiresIn":{ |
| 430 | "type":"string", |
| 431 | "max":5, |
| 432 | "min":2, |
| 433 | "pattern":"^([1-9][0-9]*)(m|h)$" |
| 434 | }, |
| 435 | "ExpiryTime":{"type":"timestamp"}, |
| 436 | "GetManagedResourceRequest":{ |
| 437 | "type":"structure", |
| 438 | "required":["resourceIdentifier"], |
| 439 | "members":{ |
| 440 | "resourceIdentifier":{ |
| 441 | "shape":"ResourceIdentifier", |
| 442 | "location":"uri", |
| 443 | "locationName":"resourceIdentifier" |
| 444 | } |
| 445 | } |
| 446 | }, |
| 447 | "GetManagedResourceResponse":{ |
| 448 | "type":"structure", |
| 449 | "required":[ |
| 450 | "appliedWeights", |
| 451 | "zonalShifts" |
| 452 | ], |
| 453 | "members":{ |
| 454 | "appliedWeights":{"shape":"AppliedWeights"}, |
| 455 | "arn":{"shape":"ResourceArn"}, |
| 456 | "autoshifts":{"shape":"AutoshiftsInResource"}, |
| 457 | "name":{"shape":"ResourceName"}, |
| 458 | "practiceRunConfiguration":{"shape":"PracticeRunConfiguration"}, |
| 459 | "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"}, |
| 460 | "zonalShifts":{"shape":"ZonalShiftsInResource"} |
| 461 | } |
| 462 | }, |
| 463 | "InternalServerException":{ |
| 464 | "type":"structure", |
| 465 | "members":{ |
| 466 | "message":{"shape":"String"} |
| 467 | }, |
| 468 | "error":{"httpStatusCode":500}, |
| 469 | "exception":true, |
| 470 | "fault":true |
| 471 | }, |
| 472 | "ListAutoshiftsRequest":{ |
| 473 | "type":"structure", |
| 474 | "members":{ |
| 475 | "maxResults":{ |
| 476 | "shape":"MaxResults", |
| 477 | "location":"querystring", |
| 478 | "locationName":"maxResults" |
| 479 | }, |
| 480 | "nextToken":{ |
| 481 | "shape":"String", |
| 482 | "location":"querystring", |
| 483 | "locationName":"nextToken" |
| 484 | }, |
| 485 | "status":{ |
| 486 | "shape":"AutoshiftExecutionStatus", |
| 487 | "location":"querystring", |
| 488 | "locationName":"status" |
| 489 | } |
| 490 | } |
| 491 | }, |
| 492 | "ListAutoshiftsResponse":{ |
| 493 | "type":"structure", |
| 494 | "members":{ |
| 495 | "items":{"shape":"AutoshiftSummaries"}, |
| 496 | "nextToken":{"shape":"String"} |
| 497 | } |
| 498 | }, |
| 499 | "ListManagedResourcesRequest":{ |
| 500 | "type":"structure", |
| 501 | "members":{ |
| 502 | "maxResults":{ |
| 503 | "shape":"MaxResults", |
| 504 | "location":"querystring", |
| 505 | "locationName":"maxResults" |
| 506 | }, |
| 507 | "nextToken":{ |
| 508 | "shape":"String", |
| 509 | "location":"querystring", |
| 510 | "locationName":"nextToken" |
| 511 | } |
| 512 | } |
| 513 | }, |
| 514 | "ListManagedResourcesResponse":{ |
| 515 | "type":"structure", |
| 516 | "required":["items"], |
| 517 | "members":{ |
| 518 | "items":{"shape":"ManagedResourceSummaries"}, |
| 519 | "nextToken":{"shape":"String"} |
| 520 | } |
| 521 | }, |
| 522 | "ListZonalShiftsRequest":{ |
| 523 | "type":"structure", |
| 524 | "members":{ |
| 525 | "maxResults":{ |
| 526 | "shape":"MaxResults", |
| 527 | "location":"querystring", |
| 528 | "locationName":"maxResults" |
| 529 | }, |
| 530 | "nextToken":{ |
| 531 | "shape":"String", |
| 532 | "location":"querystring", |
| 533 | "locationName":"nextToken" |
| 534 | }, |
| 535 | "resourceIdentifier":{ |
| 536 | "shape":"ResourceIdentifier", |
| 537 | "location":"querystring", |
| 538 | "locationName":"resourceIdentifier" |
| 539 | }, |
| 540 | "status":{ |
| 541 | "shape":"ZonalShiftStatus", |
| 542 | "location":"querystring", |
| 543 | "locationName":"status" |
| 544 | } |
| 545 | } |
| 546 | }, |
| 547 | "ListZonalShiftsResponse":{ |
| 548 | "type":"structure", |
| 549 | "members":{ |
| 550 | "items":{"shape":"ZonalShiftSummaries"}, |
| 551 | "nextToken":{"shape":"String"} |
| 552 | } |
| 553 | }, |
| 554 | "ManagedResourceSummaries":{ |
| 555 | "type":"list", |
| 556 | "member":{"shape":"ManagedResourceSummary"} |
| 557 | }, |
| 558 | "ManagedResourceSummary":{ |
| 559 | "type":"structure", |
| 560 | "required":["availabilityZones"], |
| 561 | "members":{ |
| 562 | "appliedWeights":{"shape":"AppliedWeights"}, |
| 563 | "arn":{"shape":"ResourceArn"}, |
| 564 | "autoshifts":{"shape":"AutoshiftsInResource"}, |
| 565 | "availabilityZones":{"shape":"AvailabilityZones"}, |
| 566 | "name":{"shape":"ResourceName"}, |
| 567 | "practiceRunStatus":{"shape":"ZonalAutoshiftStatus"}, |
| 568 | "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"}, |
| 569 | "zonalShifts":{"shape":"ZonalShiftsInResource"} |
| 570 | } |
| 571 | }, |
| 572 | "MaxResults":{ |
| 573 | "type":"integer", |
| 574 | "box":true, |
| 575 | "max":100, |
| 576 | "min":1 |
| 577 | }, |
| 578 | "PracticeRunConfiguration":{ |
| 579 | "type":"structure", |
| 580 | "required":["outcomeAlarms"], |
| 581 | "members":{ |
| 582 | "blockedDates":{"shape":"BlockedDates"}, |
| 583 | "blockedWindows":{"shape":"BlockedWindows"}, |
| 584 | "blockingAlarms":{"shape":"ControlConditions"}, |
| 585 | "outcomeAlarms":{"shape":"ControlConditions"} |
| 586 | } |
| 587 | }, |
| 588 | "PracticeRunOutcome":{ |
| 589 | "type":"string", |
| 590 | "enum":[ |
| 591 | "FAILED", |
| 592 | "INTERRUPTED", |
| 593 | "PENDING", |
| 594 | "SUCCEEDED" |
| 595 | ] |
| 596 | }, |
| 597 | "ResourceArn":{ |
| 598 | "type":"string", |
| 599 | "max":1024, |
| 600 | "min":8, |
| 601 | "pattern":"^arn:.*$" |
| 602 | }, |
| 603 | "ResourceIdentifier":{ |
| 604 | "type":"string", |
| 605 | "max":1024, |
| 606 | "min":8 |
| 607 | }, |
| 608 | "ResourceName":{ |
| 609 | "type":"string", |
| 610 | "max":256, |
| 611 | "min":1 |
| 612 | }, |
| 613 | "ResourceNotFoundException":{ |
| 614 | "type":"structure", |
| 615 | "required":["message"], |
| 616 | "members":{ |
| 617 | "message":{"shape":"String"} |
| 618 | }, |
| 619 | "error":{ |
| 620 | "httpStatusCode":404, |
| 621 | "senderFault":true |
| 622 | }, |
| 623 | "exception":true |
| 624 | }, |
| 625 | "StartTime":{"type":"timestamp"}, |
| 626 | "StartZonalShiftRequest":{ |
| 627 | "type":"structure", |
| 628 | "required":[ |
| 629 | "awayFrom", |
| 630 | "comment", |
| 631 | "expiresIn", |
| 632 | "resourceIdentifier" |
| 633 | ], |
| 634 | "members":{ |
| 635 | "awayFrom":{"shape":"AvailabilityZone"}, |
| 636 | "comment":{"shape":"ZonalShiftComment"}, |
| 637 | "expiresIn":{"shape":"ExpiresIn"}, |
| 638 | "resourceIdentifier":{"shape":"ResourceIdentifier"} |
| 639 | } |
| 640 | }, |
| 641 | "String":{"type":"string"}, |
| 642 | "ThrottlingException":{ |
| 643 | "type":"structure", |
| 644 | "members":{ |
| 645 | "message":{"shape":"String"} |
| 646 | }, |
| 647 | "error":{ |
| 648 | "httpStatusCode":429, |
| 649 | "senderFault":true |
| 650 | }, |
| 651 | "exception":true |
| 652 | }, |
| 653 | "UpdatePracticeRunConfigurationRequest":{ |
| 654 | "type":"structure", |
| 655 | "required":["resourceIdentifier"], |
| 656 | "members":{ |
| 657 | "blockedDates":{"shape":"BlockedDates"}, |
| 658 | "blockedWindows":{"shape":"BlockedWindows"}, |
| 659 | "blockingAlarms":{"shape":"ControlConditions"}, |
| 660 | "outcomeAlarms":{"shape":"ControlConditions"}, |
| 661 | "resourceIdentifier":{ |
| 662 | "shape":"ResourceIdentifier", |
| 663 | "location":"uri", |
| 664 | "locationName":"resourceIdentifier" |
| 665 | } |
| 666 | } |
| 667 | }, |
| 668 | "UpdatePracticeRunConfigurationResponse":{ |
| 669 | "type":"structure", |
| 670 | "required":[ |
| 671 | "arn", |
| 672 | "name", |
| 673 | "practiceRunConfiguration", |
| 674 | "zonalAutoshiftStatus" |
| 675 | ], |
| 676 | "members":{ |
| 677 | "arn":{"shape":"ResourceArn"}, |
| 678 | "name":{"shape":"ResourceName"}, |
| 679 | "practiceRunConfiguration":{"shape":"PracticeRunConfiguration"}, |
| 680 | "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} |
| 681 | } |
| 682 | }, |
| 683 | "UpdateZonalAutoshiftConfigurationRequest":{ |
| 684 | "type":"structure", |
| 685 | "required":[ |
| 686 | "resourceIdentifier", |
| 687 | "zonalAutoshiftStatus" |
| 688 | ], |
| 689 | "members":{ |
| 690 | "resourceIdentifier":{ |
| 691 | "shape":"ResourceIdentifier", |
| 692 | "location":"uri", |
| 693 | "locationName":"resourceIdentifier" |
| 694 | }, |
| 695 | "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} |
| 696 | } |
| 697 | }, |
| 698 | "UpdateZonalAutoshiftConfigurationResponse":{ |
| 699 | "type":"structure", |
| 700 | "required":[ |
| 701 | "resourceIdentifier", |
| 702 | "zonalAutoshiftStatus" |
| 703 | ], |
| 704 | "members":{ |
| 705 | "resourceIdentifier":{"shape":"ResourceIdentifier"}, |
| 706 | "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} |
| 707 | } |
| 708 | }, |
| 709 | "UpdateZonalShiftRequest":{ |
| 710 | "type":"structure", |
| 711 | "required":["zonalShiftId"], |
| 712 | "members":{ |
| 713 | "comment":{"shape":"ZonalShiftComment"}, |
| 714 | "expiresIn":{"shape":"ExpiresIn"}, |
| 715 | "zonalShiftId":{ |
| 716 | "shape":"ZonalShiftId", |
| 717 | "location":"uri", |
| 718 | "locationName":"zonalShiftId" |
| 719 | } |
| 720 | } |
| 721 | }, |
| 722 | "ValidationException":{ |
| 723 | "type":"structure", |
| 724 | "required":[ |
| 725 | "message", |
| 726 | "reason" |
| 727 | ], |
| 728 | "members":{ |
| 729 | "message":{"shape":"String"}, |
| 730 | "reason":{"shape":"ValidationExceptionReason"} |
| 731 | }, |
| 732 | "error":{ |
| 733 | "httpStatusCode":400, |
| 734 | "senderFault":true |
| 735 | }, |
| 736 | "exception":true |
| 737 | }, |
| 738 | "ValidationExceptionReason":{ |
| 739 | "type":"string", |
| 740 | "enum":[ |
| 741 | "InvalidExpiresIn", |
| 742 | "InvalidStatus", |
| 743 | "MissingValue", |
| 744 | "InvalidToken", |
| 745 | "InvalidResourceIdentifier", |
| 746 | "InvalidAz", |
| 747 | "UnsupportedAz", |
| 748 | "InvalidAlarmCondition", |
| 749 | "InvalidConditionType", |
| 750 | "InvalidPracticeBlocker" |
| 751 | ] |
| 752 | }, |
| 753 | "Weight":{ |
| 754 | "type":"float", |
| 755 | "box":true, |
| 756 | "max":1.0, |
| 757 | "min":0.0 |
| 758 | }, |
| 759 | "ZonalAutoshiftStatus":{ |
| 760 | "type":"string", |
| 761 | "enum":[ |
| 762 | "ENABLED", |
| 763 | "DISABLED" |
| 764 | ] |
| 765 | }, |
| 766 | "ZonalShift":{ |
| 767 | "type":"structure", |
| 768 | "required":[ |
| 769 | "awayFrom", |
| 770 | "comment", |
| 771 | "expiryTime", |
| 772 | "resourceIdentifier", |
| 773 | "startTime", |
| 774 | "status", |
| 775 | "zonalShiftId" |
| 776 | ], |
| 777 | "members":{ |
| 778 | "awayFrom":{"shape":"AvailabilityZone"}, |
| 779 | "comment":{"shape":"ZonalShiftComment"}, |
| 780 | "expiryTime":{"shape":"ExpiryTime"}, |
| 781 | "resourceIdentifier":{"shape":"ResourceIdentifier"}, |
| 782 | "startTime":{"shape":"StartTime"}, |
| 783 | "status":{"shape":"ZonalShiftStatus"}, |
| 784 | "zonalShiftId":{"shape":"ZonalShiftId"} |
| 785 | } |
| 786 | }, |
| 787 | "ZonalShiftComment":{ |
| 788 | "type":"string", |
| 789 | "max":128, |
| 790 | "min":0 |
| 791 | }, |
| 792 | "ZonalShiftId":{ |
| 793 | "type":"string", |
| 794 | "max":36, |
| 795 | "min":6, |
| 796 | "pattern":"^[A-Za-z0-9-]+$" |
| 797 | }, |
| 798 | "ZonalShiftInResource":{ |
| 799 | "type":"structure", |
| 800 | "required":[ |
| 801 | "appliedStatus", |
| 802 | "awayFrom", |
| 803 | "comment", |
| 804 | "expiryTime", |
| 805 | "resourceIdentifier", |
| 806 | "startTime", |
| 807 | "zonalShiftId" |
| 808 | ], |
| 809 | "members":{ |
| 810 | "appliedStatus":{"shape":"AppliedStatus"}, |
| 811 | "awayFrom":{"shape":"AvailabilityZone"}, |
| 812 | "comment":{"shape":"ZonalShiftComment"}, |
| 813 | "expiryTime":{"shape":"ExpiryTime"}, |
| 814 | "practiceRunOutcome":{"shape":"PracticeRunOutcome"}, |
| 815 | "resourceIdentifier":{"shape":"ResourceIdentifier"}, |
| 816 | "startTime":{"shape":"StartTime"}, |
| 817 | "zonalShiftId":{"shape":"ZonalShiftId"} |
| 818 | } |
| 819 | }, |
| 820 | "ZonalShiftStatus":{ |
| 821 | "type":"string", |
| 822 | "enum":[ |
| 823 | "ACTIVE", |
| 824 | "EXPIRED", |
| 825 | "CANCELED" |
| 826 | ] |
| 827 | }, |
| 828 | "ZonalShiftSummaries":{ |
| 829 | "type":"list", |
| 830 | "member":{"shape":"ZonalShiftSummary"} |
| 831 | }, |
| 832 | "ZonalShiftSummary":{ |
| 833 | "type":"structure", |
| 834 | "required":[ |
| 835 | "awayFrom", |
| 836 | "comment", |
| 837 | "expiryTime", |
| 838 | "resourceIdentifier", |
| 839 | "startTime", |
| 840 | "status", |
| 841 | "zonalShiftId" |
| 842 | ], |
| 843 | "members":{ |
| 844 | "awayFrom":{"shape":"AvailabilityZone"}, |
| 845 | "comment":{"shape":"ZonalShiftComment"}, |
| 846 | "expiryTime":{"shape":"ExpiryTime"}, |
| 847 | "practiceRunOutcome":{"shape":"PracticeRunOutcome"}, |
| 848 | "resourceIdentifier":{"shape":"ResourceIdentifier"}, |
| 849 | "startTime":{"shape":"StartTime"}, |
| 850 | "status":{"shape":"ZonalShiftStatus"}, |
| 851 | "zonalShiftId":{"shape":"ZonalShiftId"} |
| 852 | } |
| 853 | }, |
| 854 | "ZonalShiftsInResource":{ |
| 855 | "type":"list", |
| 856 | "member":{"shape":"ZonalShiftInResource"} |
| 857 | } |
| 858 | } |
| 859 | } |