|
29 | 29 | ],
|
30 | 30 | "idempotent":true
|
31 | 31 | },
|
| 32 | + "DisableRegion":{ |
| 33 | + "name":"DisableRegion", |
| 34 | + "http":{ |
| 35 | + "method":"POST", |
| 36 | + "requestUri":"/disableRegion", |
| 37 | + "responseCode":200 |
| 38 | + }, |
| 39 | + "input":{"shape":"DisableRegionRequest"}, |
| 40 | + "errors":[ |
| 41 | + {"shape":"ValidationException"}, |
| 42 | + {"shape":"ConflictException"}, |
| 43 | + {"shape":"AccessDeniedException"}, |
| 44 | + {"shape":"TooManyRequestsException"}, |
| 45 | + {"shape":"InternalServerException"} |
| 46 | + ] |
| 47 | + }, |
| 48 | + "EnableRegion":{ |
| 49 | + "name":"EnableRegion", |
| 50 | + "http":{ |
| 51 | + "method":"POST", |
| 52 | + "requestUri":"/enableRegion", |
| 53 | + "responseCode":200 |
| 54 | + }, |
| 55 | + "input":{"shape":"EnableRegionRequest"}, |
| 56 | + "errors":[ |
| 57 | + {"shape":"ValidationException"}, |
| 58 | + {"shape":"ConflictException"}, |
| 59 | + {"shape":"AccessDeniedException"}, |
| 60 | + {"shape":"TooManyRequestsException"}, |
| 61 | + {"shape":"InternalServerException"} |
| 62 | + ] |
| 63 | + }, |
32 | 64 | "GetAlternateContact":{
|
33 | 65 | "name":"GetAlternateContact",
|
34 | 66 | "http":{
|
|
63 | 95 | {"shape":"InternalServerException"}
|
64 | 96 | ]
|
65 | 97 | },
|
| 98 | + "GetRegionOptStatus":{ |
| 99 | + "name":"GetRegionOptStatus", |
| 100 | + "http":{ |
| 101 | + "method":"POST", |
| 102 | + "requestUri":"/getRegionOptStatus", |
| 103 | + "responseCode":200 |
| 104 | + }, |
| 105 | + "input":{"shape":"GetRegionOptStatusRequest"}, |
| 106 | + "output":{"shape":"GetRegionOptStatusResponse"}, |
| 107 | + "errors":[ |
| 108 | + {"shape":"ValidationException"}, |
| 109 | + {"shape":"AccessDeniedException"}, |
| 110 | + {"shape":"TooManyRequestsException"}, |
| 111 | + {"shape":"InternalServerException"} |
| 112 | + ] |
| 113 | + }, |
| 114 | + "ListRegions":{ |
| 115 | + "name":"ListRegions", |
| 116 | + "http":{ |
| 117 | + "method":"POST", |
| 118 | + "requestUri":"/listRegions", |
| 119 | + "responseCode":200 |
| 120 | + }, |
| 121 | + "input":{"shape":"ListRegionsRequest"}, |
| 122 | + "output":{"shape":"ListRegionsResponse"}, |
| 123 | + "errors":[ |
| 124 | + {"shape":"ValidationException"}, |
| 125 | + {"shape":"AccessDeniedException"}, |
| 126 | + {"shape":"TooManyRequestsException"}, |
| 127 | + {"shape":"InternalServerException"} |
| 128 | + ] |
| 129 | + }, |
66 | 130 | "PutAlternateContact":{
|
67 | 131 | "name":"PutAlternateContact",
|
68 | 132 | "http":{
|
|
149 | 213 | "min":1,
|
150 | 214 | "sensitive":true
|
151 | 215 | },
|
| 216 | + "ConflictException":{ |
| 217 | + "type":"structure", |
| 218 | + "required":["message"], |
| 219 | + "members":{ |
| 220 | + "message":{"shape":"String"} |
| 221 | + }, |
| 222 | + "error":{ |
| 223 | + "httpStatusCode":409, |
| 224 | + "senderFault":true |
| 225 | + }, |
| 226 | + "exception":true |
| 227 | + }, |
152 | 228 | "ContactInformation":{
|
153 | 229 | "type":"structure",
|
154 | 230 | "required":[
|
|
195 | 271 | "AlternateContactType":{"shape":"AlternateContactType"}
|
196 | 272 | }
|
197 | 273 | },
|
| 274 | + "DisableRegionRequest":{ |
| 275 | + "type":"structure", |
| 276 | + "required":["RegionName"], |
| 277 | + "members":{ |
| 278 | + "AccountId":{"shape":"AccountId"}, |
| 279 | + "RegionName":{"shape":"RegionName"} |
| 280 | + } |
| 281 | + }, |
198 | 282 | "DistrictOrCounty":{
|
199 | 283 | "type":"string",
|
200 | 284 | "max":50,
|
|
208 | 292 | "pattern":"^[\\s]*[\\w+=.#!&-]+@[\\w.-]+\\.[\\w]+[\\s]*$",
|
209 | 293 | "sensitive":true
|
210 | 294 | },
|
| 295 | + "EnableRegionRequest":{ |
| 296 | + "type":"structure", |
| 297 | + "required":["RegionName"], |
| 298 | + "members":{ |
| 299 | + "AccountId":{"shape":"AccountId"}, |
| 300 | + "RegionName":{"shape":"RegionName"} |
| 301 | + } |
| 302 | + }, |
211 | 303 | "FullName":{
|
212 | 304 | "type":"string",
|
213 | 305 | "max":50,
|
|
240 | 332 | "ContactInformation":{"shape":"ContactInformation"}
|
241 | 333 | }
|
242 | 334 | },
|
| 335 | + "GetRegionOptStatusRequest":{ |
| 336 | + "type":"structure", |
| 337 | + "required":["RegionName"], |
| 338 | + "members":{ |
| 339 | + "AccountId":{"shape":"AccountId"}, |
| 340 | + "RegionName":{"shape":"RegionName"} |
| 341 | + } |
| 342 | + }, |
| 343 | + "GetRegionOptStatusResponse":{ |
| 344 | + "type":"structure", |
| 345 | + "members":{ |
| 346 | + "RegionName":{"shape":"RegionName"}, |
| 347 | + "RegionOptStatus":{"shape":"RegionOptStatus"} |
| 348 | + } |
| 349 | + }, |
243 | 350 | "InternalServerException":{
|
244 | 351 | "type":"structure",
|
245 | 352 | "required":["message"],
|
|
251 | 358 | "fault":true,
|
252 | 359 | "retryable":{"throttling":false}
|
253 | 360 | },
|
| 361 | + "ListRegionsRequest":{ |
| 362 | + "type":"structure", |
| 363 | + "members":{ |
| 364 | + "AccountId":{"shape":"AccountId"}, |
| 365 | + "MaxResults":{"shape":"ListRegionsRequestMaxResultsInteger"}, |
| 366 | + "NextToken":{"shape":"ListRegionsRequestNextTokenString"}, |
| 367 | + "RegionOptStatusContains":{"shape":"RegionOptStatusList"} |
| 368 | + } |
| 369 | + }, |
| 370 | + "ListRegionsRequestMaxResultsInteger":{ |
| 371 | + "type":"integer", |
| 372 | + "box":true, |
| 373 | + "max":50, |
| 374 | + "min":1 |
| 375 | + }, |
| 376 | + "ListRegionsRequestNextTokenString":{ |
| 377 | + "type":"string", |
| 378 | + "max":1000, |
| 379 | + "min":0 |
| 380 | + }, |
| 381 | + "ListRegionsResponse":{ |
| 382 | + "type":"structure", |
| 383 | + "members":{ |
| 384 | + "NextToken":{"shape":"String"}, |
| 385 | + "Regions":{"shape":"RegionOptList"} |
| 386 | + } |
| 387 | + }, |
254 | 388 | "Name":{
|
255 | 389 | "type":"string",
|
256 | 390 | "max":64,
|
|
296 | 430 | "ContactInformation":{"shape":"ContactInformation"}
|
297 | 431 | }
|
298 | 432 | },
|
| 433 | + "Region":{ |
| 434 | + "type":"structure", |
| 435 | + "members":{ |
| 436 | + "RegionName":{"shape":"RegionName"}, |
| 437 | + "RegionOptStatus":{"shape":"RegionOptStatus"} |
| 438 | + } |
| 439 | + }, |
| 440 | + "RegionName":{ |
| 441 | + "type":"string", |
| 442 | + "max":50, |
| 443 | + "min":1 |
| 444 | + }, |
| 445 | + "RegionOptList":{ |
| 446 | + "type":"list", |
| 447 | + "member":{"shape":"Region"} |
| 448 | + }, |
| 449 | + "RegionOptStatus":{ |
| 450 | + "type":"string", |
| 451 | + "enum":[ |
| 452 | + "ENABLED", |
| 453 | + "ENABLING", |
| 454 | + "DISABLING", |
| 455 | + "DISABLED", |
| 456 | + "ENABLED_BY_DEFAULT" |
| 457 | + ] |
| 458 | + }, |
| 459 | + "RegionOptStatusList":{ |
| 460 | + "type":"list", |
| 461 | + "member":{"shape":"RegionOptStatus"} |
| 462 | + }, |
299 | 463 | "ResourceNotFoundException":{
|
300 | 464 | "type":"structure",
|
301 | 465 | "required":["message"],
|
|
308 | 472 | },
|
309 | 473 | "exception":true
|
310 | 474 | },
|
| 475 | + "SensitiveString":{ |
| 476 | + "type":"string", |
| 477 | + "sensitive":true |
| 478 | + }, |
311 | 479 | "StateOrRegion":{
|
312 | 480 | "type":"string",
|
313 | 481 | "max":50,
|
|
338 | 506 | "type":"structure",
|
339 | 507 | "required":["message"],
|
340 | 508 | "members":{
|
341 |
| - "message":{"shape":"String"} |
| 509 | + "fieldList":{"shape":"ValidationExceptionFieldList"}, |
| 510 | + "message":{"shape":"SensitiveString"}, |
| 511 | + "reason":{"shape":"ValidationExceptionReason"} |
342 | 512 | },
|
343 | 513 | "error":{
|
344 | 514 | "httpStatusCode":400,
|
345 | 515 | "senderFault":true
|
346 | 516 | },
|
347 | 517 | "exception":true
|
348 | 518 | },
|
| 519 | + "ValidationExceptionField":{ |
| 520 | + "type":"structure", |
| 521 | + "required":[ |
| 522 | + "message", |
| 523 | + "name" |
| 524 | + ], |
| 525 | + "members":{ |
| 526 | + "message":{"shape":"SensitiveString"}, |
| 527 | + "name":{"shape":"String"} |
| 528 | + } |
| 529 | + }, |
| 530 | + "ValidationExceptionFieldList":{ |
| 531 | + "type":"list", |
| 532 | + "member":{"shape":"ValidationExceptionField"} |
| 533 | + }, |
| 534 | + "ValidationExceptionReason":{ |
| 535 | + "type":"string", |
| 536 | + "enum":[ |
| 537 | + "invalidRegionOptTarget", |
| 538 | + "fieldValidationFailed" |
| 539 | + ] |
| 540 | + }, |
349 | 541 | "WebsiteUrl":{
|
350 | 542 | "type":"string",
|
351 | 543 | "max":256,
|
|
0 commit comments