| 1 | { |
| 2 | "version":"2.0", |
| 3 | "metadata":{ |
| 4 | "apiVersion":"2021-02-01", |
| 5 | "endpointPrefix":"account", |
| 6 | "jsonVersion":"1.1", |
| 7 | "protocol":"rest-json", |
| 8 | "serviceFullName":"AWS Account", |
| 9 | "serviceId":"Account", |
| 10 | "signatureVersion":"v4", |
| 11 | "signingName":"account", |
| 12 | "uid":"account-2021-02-01" |
| 13 | }, |
| 14 | "operations":{ |
| 15 | "DeleteAlternateContact":{ |
| 16 | "name":"DeleteAlternateContact", |
| 17 | "http":{ |
| 18 | "method":"POST", |
| 19 | "requestUri":"/deleteAlternateContact", |
| 20 | "responseCode":200 |
| 21 | }, |
| 22 | "input":{"shape":"DeleteAlternateContactRequest"}, |
| 23 | "errors":[ |
| 24 | {"shape":"ResourceNotFoundException"}, |
| 25 | {"shape":"ValidationException"}, |
| 26 | {"shape":"AccessDeniedException"}, |
| 27 | {"shape":"TooManyRequestsException"}, |
| 28 | {"shape":"InternalServerException"} |
| 29 | ], |
| 30 | "idempotent":true |
| 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 | }, |
| 64 | "GetAlternateContact":{ |
| 65 | "name":"GetAlternateContact", |
| 66 | "http":{ |
| 67 | "method":"POST", |
| 68 | "requestUri":"/getAlternateContact", |
| 69 | "responseCode":200 |
| 70 | }, |
| 71 | "input":{"shape":"GetAlternateContactRequest"}, |
| 72 | "output":{"shape":"GetAlternateContactResponse"}, |
| 73 | "errors":[ |
| 74 | {"shape":"ResourceNotFoundException"}, |
| 75 | {"shape":"ValidationException"}, |
| 76 | {"shape":"AccessDeniedException"}, |
| 77 | {"shape":"TooManyRequestsException"}, |
| 78 | {"shape":"InternalServerException"} |
| 79 | ] |
| 80 | }, |
| 81 | "GetContactInformation":{ |
| 82 | "name":"GetContactInformation", |
| 83 | "http":{ |
| 84 | "method":"POST", |
| 85 | "requestUri":"/getContactInformation", |
| 86 | "responseCode":200 |
| 87 | }, |
| 88 | "input":{"shape":"GetContactInformationRequest"}, |
| 89 | "output":{"shape":"GetContactInformationResponse"}, |
| 90 | "errors":[ |
| 91 | {"shape":"ResourceNotFoundException"}, |
| 92 | {"shape":"ValidationException"}, |
| 93 | {"shape":"AccessDeniedException"}, |
| 94 | {"shape":"TooManyRequestsException"}, |
| 95 | {"shape":"InternalServerException"} |
| 96 | ] |
| 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 | }, |
| 130 | "PutAlternateContact":{ |
| 131 | "name":"PutAlternateContact", |
| 132 | "http":{ |
| 133 | "method":"POST", |
| 134 | "requestUri":"/putAlternateContact", |
| 135 | "responseCode":200 |
| 136 | }, |
| 137 | "input":{"shape":"PutAlternateContactRequest"}, |
| 138 | "errors":[ |
| 139 | {"shape":"ValidationException"}, |
| 140 | {"shape":"AccessDeniedException"}, |
| 141 | {"shape":"TooManyRequestsException"}, |
| 142 | {"shape":"InternalServerException"} |
| 143 | ], |
| 144 | "idempotent":true |
| 145 | }, |
| 146 | "PutContactInformation":{ |
| 147 | "name":"PutContactInformation", |
| 148 | "http":{ |
| 149 | "method":"POST", |
| 150 | "requestUri":"/putContactInformation", |
| 151 | "responseCode":200 |
| 152 | }, |
| 153 | "input":{"shape":"PutContactInformationRequest"}, |
| 154 | "errors":[ |
| 155 | {"shape":"ValidationException"}, |
| 156 | {"shape":"AccessDeniedException"}, |
| 157 | {"shape":"TooManyRequestsException"}, |
| 158 | {"shape":"InternalServerException"} |
| 159 | ], |
| 160 | "idempotent":true |
| 161 | } |
| 162 | }, |
| 163 | "shapes":{ |
| 164 | "AccessDeniedException":{ |
| 165 | "type":"structure", |
| 166 | "required":["message"], |
| 167 | "members":{ |
| 168 | "message":{"shape":"String"} |
| 169 | }, |
| 170 | "error":{ |
| 171 | "httpStatusCode":403, |
| 172 | "senderFault":true |
| 173 | }, |
| 174 | "exception":true |
| 175 | }, |
| 176 | "AccountId":{ |
| 177 | "type":"string", |
| 178 | "pattern":"^\\d{12}$" |
| 179 | }, |
| 180 | "AddressLine":{ |
| 181 | "type":"string", |
| 182 | "max":60, |
| 183 | "min":1, |
| 184 | "sensitive":true |
| 185 | }, |
| 186 | "AlternateContact":{ |
| 187 | "type":"structure", |
| 188 | "members":{ |
| 189 | "AlternateContactType":{"shape":"AlternateContactType"}, |
| 190 | "EmailAddress":{"shape":"EmailAddress"}, |
| 191 | "Name":{"shape":"Name"}, |
| 192 | "PhoneNumber":{"shape":"PhoneNumber"}, |
| 193 | "Title":{"shape":"Title"} |
| 194 | } |
| 195 | }, |
| 196 | "AlternateContactType":{ |
| 197 | "type":"string", |
| 198 | "enum":[ |
| 199 | "BILLING", |
| 200 | "OPERATIONS", |
| 201 | "SECURITY" |
| 202 | ] |
| 203 | }, |
| 204 | "City":{ |
| 205 | "type":"string", |
| 206 | "max":50, |
| 207 | "min":1, |
| 208 | "sensitive":true |
| 209 | }, |
| 210 | "CompanyName":{ |
| 211 | "type":"string", |
| 212 | "max":50, |
| 213 | "min":1, |
| 214 | "sensitive":true |
| 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 | }, |
| 228 | "ContactInformation":{ |
| 229 | "type":"structure", |
| 230 | "required":[ |
| 231 | "AddressLine1", |
| 232 | "City", |
| 233 | "CountryCode", |
| 234 | "FullName", |
| 235 | "PhoneNumber", |
| 236 | "PostalCode" |
| 237 | ], |
| 238 | "members":{ |
| 239 | "AddressLine1":{"shape":"AddressLine"}, |
| 240 | "AddressLine2":{"shape":"AddressLine"}, |
| 241 | "AddressLine3":{"shape":"AddressLine"}, |
| 242 | "City":{"shape":"City"}, |
| 243 | "CompanyName":{"shape":"CompanyName"}, |
| 244 | "CountryCode":{"shape":"CountryCode"}, |
| 245 | "DistrictOrCounty":{"shape":"DistrictOrCounty"}, |
| 246 | "FullName":{"shape":"FullName"}, |
| 247 | "PhoneNumber":{"shape":"ContactInformationPhoneNumber"}, |
| 248 | "PostalCode":{"shape":"PostalCode"}, |
| 249 | "StateOrRegion":{"shape":"StateOrRegion"}, |
| 250 | "WebsiteUrl":{"shape":"WebsiteUrl"} |
| 251 | } |
| 252 | }, |
| 253 | "ContactInformationPhoneNumber":{ |
| 254 | "type":"string", |
| 255 | "max":20, |
| 256 | "min":1, |
| 257 | "pattern":"^[+][\\s0-9()-]+$", |
| 258 | "sensitive":true |
| 259 | }, |
| 260 | "CountryCode":{ |
| 261 | "type":"string", |
| 262 | "max":2, |
| 263 | "min":2, |
| 264 | "sensitive":true |
| 265 | }, |
| 266 | "DeleteAlternateContactRequest":{ |
| 267 | "type":"structure", |
| 268 | "required":["AlternateContactType"], |
| 269 | "members":{ |
| 270 | "AccountId":{"shape":"AccountId"}, |
| 271 | "AlternateContactType":{"shape":"AlternateContactType"} |
| 272 | } |
| 273 | }, |
| 274 | "DisableRegionRequest":{ |
| 275 | "type":"structure", |
| 276 | "required":["RegionName"], |
| 277 | "members":{ |
| 278 | "AccountId":{"shape":"AccountId"}, |
| 279 | "RegionName":{"shape":"RegionName"} |
| 280 | } |
| 281 | }, |
| 282 | "DistrictOrCounty":{ |
| 283 | "type":"string", |
| 284 | "max":50, |
| 285 | "min":1, |
| 286 | "sensitive":true |
| 287 | }, |
| 288 | "EmailAddress":{ |
| 289 | "type":"string", |
| 290 | "max":254, |
| 291 | "min":1, |
| 292 | "pattern":"^[\\s]*[\\w+=.#|!&-]+@[\\w.-]+\\.[\\w]+[\\s]*$", |
| 293 | "sensitive":true |
| 294 | }, |
| 295 | "EnableRegionRequest":{ |
| 296 | "type":"structure", |
| 297 | "required":["RegionName"], |
| 298 | "members":{ |
| 299 | "AccountId":{"shape":"AccountId"}, |
| 300 | "RegionName":{"shape":"RegionName"} |
| 301 | } |
| 302 | }, |
| 303 | "FullName":{ |
| 304 | "type":"string", |
| 305 | "max":50, |
| 306 | "min":1, |
| 307 | "sensitive":true |
| 308 | }, |
| 309 | "GetAlternateContactRequest":{ |
| 310 | "type":"structure", |
| 311 | "required":["AlternateContactType"], |
| 312 | "members":{ |
| 313 | "AccountId":{"shape":"AccountId"}, |
| 314 | "AlternateContactType":{"shape":"AlternateContactType"} |
| 315 | } |
| 316 | }, |
| 317 | "GetAlternateContactResponse":{ |
| 318 | "type":"structure", |
| 319 | "members":{ |
| 320 | "AlternateContact":{"shape":"AlternateContact"} |
| 321 | } |
| 322 | }, |
| 323 | "GetContactInformationRequest":{ |
| 324 | "type":"structure", |
| 325 | "members":{ |
| 326 | "AccountId":{"shape":"AccountId"} |
| 327 | } |
| 328 | }, |
| 329 | "GetContactInformationResponse":{ |
| 330 | "type":"structure", |
| 331 | "members":{ |
| 332 | "ContactInformation":{"shape":"ContactInformation"} |
| 333 | } |
| 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 | }, |
| 350 | "InternalServerException":{ |
| 351 | "type":"structure", |
| 352 | "required":["message"], |
| 353 | "members":{ |
| 354 | "message":{"shape":"String"} |
| 355 | }, |
| 356 | "error":{"httpStatusCode":500}, |
| 357 | "exception":true, |
| 358 | "fault":true, |
| 359 | "retryable":{"throttling":false} |
| 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 | }, |
| 388 | "Name":{ |
| 389 | "type":"string", |
| 390 | "max":64, |
| 391 | "min":1, |
| 392 | "sensitive":true |
| 393 | }, |
| 394 | "PhoneNumber":{ |
| 395 | "type":"string", |
| 396 | "max":25, |
| 397 | "min":1, |
| 398 | "pattern":"^[\\s0-9()+-]+$", |
| 399 | "sensitive":true |
| 400 | }, |
| 401 | "PostalCode":{ |
| 402 | "type":"string", |
| 403 | "max":20, |
| 404 | "min":1, |
| 405 | "sensitive":true |
| 406 | }, |
| 407 | "PutAlternateContactRequest":{ |
| 408 | "type":"structure", |
| 409 | "required":[ |
| 410 | "AlternateContactType", |
| 411 | "EmailAddress", |
| 412 | "Name", |
| 413 | "PhoneNumber", |
| 414 | "Title" |
| 415 | ], |
| 416 | "members":{ |
| 417 | "AccountId":{"shape":"AccountId"}, |
| 418 | "AlternateContactType":{"shape":"AlternateContactType"}, |
| 419 | "EmailAddress":{"shape":"EmailAddress"}, |
| 420 | "Name":{"shape":"Name"}, |
| 421 | "PhoneNumber":{"shape":"PhoneNumber"}, |
| 422 | "Title":{"shape":"Title"} |
| 423 | } |
| 424 | }, |
| 425 | "PutContactInformationRequest":{ |
| 426 | "type":"structure", |
| 427 | "required":["ContactInformation"], |
| 428 | "members":{ |
| 429 | "AccountId":{"shape":"AccountId"}, |
| 430 | "ContactInformation":{"shape":"ContactInformation"} |
| 431 | } |
| 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 | }, |
| 463 | "ResourceNotFoundException":{ |
| 464 | "type":"structure", |
| 465 | "required":["message"], |
| 466 | "members":{ |
| 467 | "message":{"shape":"String"} |
| 468 | }, |
| 469 | "error":{ |
| 470 | "httpStatusCode":404, |
| 471 | "senderFault":true |
| 472 | }, |
| 473 | "exception":true |
| 474 | }, |
| 475 | "SensitiveString":{ |
| 476 | "type":"string", |
| 477 | "sensitive":true |
| 478 | }, |
| 479 | "StateOrRegion":{ |
| 480 | "type":"string", |
| 481 | "max":50, |
| 482 | "min":1, |
| 483 | "sensitive":true |
| 484 | }, |
| 485 | "String":{"type":"string"}, |
| 486 | "Title":{ |
| 487 | "type":"string", |
| 488 | "max":50, |
| 489 | "min":1, |
| 490 | "sensitive":true |
| 491 | }, |
| 492 | "TooManyRequestsException":{ |
| 493 | "type":"structure", |
| 494 | "required":["message"], |
| 495 | "members":{ |
| 496 | "message":{"shape":"String"} |
| 497 | }, |
| 498 | "error":{ |
| 499 | "httpStatusCode":429, |
| 500 | "senderFault":true |
| 501 | }, |
| 502 | "exception":true, |
| 503 | "retryable":{"throttling":true} |
| 504 | }, |
| 505 | "ValidationException":{ |
| 506 | "type":"structure", |
| 507 | "required":["message"], |
| 508 | "members":{ |
| 509 | "fieldList":{"shape":"ValidationExceptionFieldList"}, |
| 510 | "message":{"shape":"SensitiveString"}, |
| 511 | "reason":{"shape":"ValidationExceptionReason"} |
| 512 | }, |
| 513 | "error":{ |
| 514 | "httpStatusCode":400, |
| 515 | "senderFault":true |
| 516 | }, |
| 517 | "exception":true |
| 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 | }, |
| 541 | "WebsiteUrl":{ |
| 542 | "type":"string", |
| 543 | "max":256, |
| 544 | "min":1, |
| 545 | "sensitive":true |
| 546 | } |
| 547 | } |
| 548 | } |