github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/cloudcontrol/2021-09-30/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2021-09-30", 5 "endpointPrefix":"cloudcontrolapi", 6 "jsonVersion":"1.0", 7 "protocol":"json", 8 "serviceAbbreviation":"CloudControlApi", 9 "serviceFullName":"AWS Cloud Control API", 10 "serviceId":"CloudControl", 11 "signatureVersion":"v4", 12 "signingName":"cloudcontrolapi", 13 "targetPrefix":"CloudApiService", 14 "uid":"cloudcontrol-2021-09-30" 15 }, 16 "operations":{ 17 "CancelResourceRequest":{ 18 "name":"CancelResourceRequest", 19 "http":{ 20 "method":"POST", 21 "requestUri":"/" 22 }, 23 "input":{"shape":"CancelResourceRequestInput"}, 24 "output":{"shape":"CancelResourceRequestOutput"}, 25 "errors":[ 26 {"shape":"RequestTokenNotFoundException"}, 27 {"shape":"ConcurrentModificationException"} 28 ], 29 "idempotent":true 30 }, 31 "CreateResource":{ 32 "name":"CreateResource", 33 "http":{ 34 "method":"POST", 35 "requestUri":"/" 36 }, 37 "input":{"shape":"CreateResourceInput"}, 38 "output":{"shape":"CreateResourceOutput"}, 39 "errors":[ 40 {"shape":"ConcurrentOperationException"}, 41 {"shape":"ClientTokenConflictException"}, 42 {"shape":"UnsupportedActionException"}, 43 {"shape":"TypeNotFoundException"}, 44 {"shape":"AlreadyExistsException"}, 45 {"shape":"GeneralServiceException"}, 46 {"shape":"HandlerInternalFailureException"}, 47 {"shape":"InvalidCredentialsException"}, 48 {"shape":"InvalidRequestException"}, 49 {"shape":"NetworkFailureException"}, 50 {"shape":"ResourceNotFoundException"}, 51 {"shape":"NotStabilizedException"}, 52 {"shape":"NotUpdatableException"}, 53 {"shape":"ResourceConflictException"}, 54 {"shape":"ServiceInternalErrorException"}, 55 {"shape":"ServiceLimitExceededException"}, 56 {"shape":"ThrottlingException"}, 57 {"shape":"PrivateTypeException"}, 58 {"shape":"HandlerFailureException"} 59 ] 60 }, 61 "DeleteResource":{ 62 "name":"DeleteResource", 63 "http":{ 64 "method":"POST", 65 "requestUri":"/" 66 }, 67 "input":{"shape":"DeleteResourceInput"}, 68 "output":{"shape":"DeleteResourceOutput"}, 69 "errors":[ 70 {"shape":"ConcurrentOperationException"}, 71 {"shape":"ClientTokenConflictException"}, 72 {"shape":"UnsupportedActionException"}, 73 {"shape":"TypeNotFoundException"}, 74 {"shape":"AlreadyExistsException"}, 75 {"shape":"GeneralServiceException"}, 76 {"shape":"HandlerInternalFailureException"}, 77 {"shape":"InvalidCredentialsException"}, 78 {"shape":"InvalidRequestException"}, 79 {"shape":"NetworkFailureException"}, 80 {"shape":"ResourceNotFoundException"}, 81 {"shape":"NotStabilizedException"}, 82 {"shape":"NotUpdatableException"}, 83 {"shape":"ResourceConflictException"}, 84 {"shape":"ServiceInternalErrorException"}, 85 {"shape":"ServiceLimitExceededException"}, 86 {"shape":"ThrottlingException"}, 87 {"shape":"PrivateTypeException"}, 88 {"shape":"HandlerFailureException"} 89 ] 90 }, 91 "GetResource":{ 92 "name":"GetResource", 93 "http":{ 94 "method":"POST", 95 "requestUri":"/" 96 }, 97 "input":{"shape":"GetResourceInput"}, 98 "output":{"shape":"GetResourceOutput"}, 99 "errors":[ 100 {"shape":"UnsupportedActionException"}, 101 {"shape":"TypeNotFoundException"}, 102 {"shape":"AlreadyExistsException"}, 103 {"shape":"GeneralServiceException"}, 104 {"shape":"HandlerInternalFailureException"}, 105 {"shape":"InvalidCredentialsException"}, 106 {"shape":"InvalidRequestException"}, 107 {"shape":"NetworkFailureException"}, 108 {"shape":"ResourceNotFoundException"}, 109 {"shape":"NotStabilizedException"}, 110 {"shape":"NotUpdatableException"}, 111 {"shape":"ResourceConflictException"}, 112 {"shape":"ServiceInternalErrorException"}, 113 {"shape":"ServiceLimitExceededException"}, 114 {"shape":"ThrottlingException"}, 115 {"shape":"PrivateTypeException"}, 116 {"shape":"HandlerFailureException"} 117 ] 118 }, 119 "GetResourceRequestStatus":{ 120 "name":"GetResourceRequestStatus", 121 "http":{ 122 "method":"POST", 123 "requestUri":"/" 124 }, 125 "input":{"shape":"GetResourceRequestStatusInput"}, 126 "output":{"shape":"GetResourceRequestStatusOutput"}, 127 "errors":[ 128 {"shape":"RequestTokenNotFoundException"} 129 ] 130 }, 131 "ListResourceRequests":{ 132 "name":"ListResourceRequests", 133 "http":{ 134 "method":"POST", 135 "requestUri":"/" 136 }, 137 "input":{"shape":"ListResourceRequestsInput"}, 138 "output":{"shape":"ListResourceRequestsOutput"} 139 }, 140 "ListResources":{ 141 "name":"ListResources", 142 "http":{ 143 "method":"POST", 144 "requestUri":"/" 145 }, 146 "input":{"shape":"ListResourcesInput"}, 147 "output":{"shape":"ListResourcesOutput"}, 148 "errors":[ 149 {"shape":"UnsupportedActionException"}, 150 {"shape":"TypeNotFoundException"}, 151 {"shape":"AlreadyExistsException"}, 152 {"shape":"GeneralServiceException"}, 153 {"shape":"HandlerInternalFailureException"}, 154 {"shape":"InvalidCredentialsException"}, 155 {"shape":"InvalidRequestException"}, 156 {"shape":"NetworkFailureException"}, 157 {"shape":"ResourceNotFoundException"}, 158 {"shape":"NotStabilizedException"}, 159 {"shape":"NotUpdatableException"}, 160 {"shape":"ResourceConflictException"}, 161 {"shape":"ServiceInternalErrorException"}, 162 {"shape":"ServiceLimitExceededException"}, 163 {"shape":"ThrottlingException"}, 164 {"shape":"PrivateTypeException"}, 165 {"shape":"HandlerFailureException"} 166 ] 167 }, 168 "UpdateResource":{ 169 "name":"UpdateResource", 170 "http":{ 171 "method":"POST", 172 "requestUri":"/" 173 }, 174 "input":{"shape":"UpdateResourceInput"}, 175 "output":{"shape":"UpdateResourceOutput"}, 176 "errors":[ 177 {"shape":"ConcurrentOperationException"}, 178 {"shape":"ClientTokenConflictException"}, 179 {"shape":"UnsupportedActionException"}, 180 {"shape":"TypeNotFoundException"}, 181 {"shape":"AlreadyExistsException"}, 182 {"shape":"GeneralServiceException"}, 183 {"shape":"HandlerInternalFailureException"}, 184 {"shape":"InvalidCredentialsException"}, 185 {"shape":"InvalidRequestException"}, 186 {"shape":"NetworkFailureException"}, 187 {"shape":"ResourceNotFoundException"}, 188 {"shape":"NotStabilizedException"}, 189 {"shape":"NotUpdatableException"}, 190 {"shape":"ResourceConflictException"}, 191 {"shape":"ServiceInternalErrorException"}, 192 {"shape":"ServiceLimitExceededException"}, 193 {"shape":"ThrottlingException"}, 194 {"shape":"PrivateTypeException"}, 195 {"shape":"HandlerFailureException"} 196 ] 197 } 198 }, 199 "shapes":{ 200 "AlreadyExistsException":{ 201 "type":"structure", 202 "members":{ 203 "Message":{"shape":"ErrorMessage"} 204 }, 205 "exception":true 206 }, 207 "CancelResourceRequestInput":{ 208 "type":"structure", 209 "required":["RequestToken"], 210 "members":{ 211 "RequestToken":{"shape":"RequestToken"} 212 } 213 }, 214 "CancelResourceRequestOutput":{ 215 "type":"structure", 216 "members":{ 217 "ProgressEvent":{"shape":"ProgressEvent"} 218 } 219 }, 220 "ClientToken":{ 221 "type":"string", 222 "max":128, 223 "min":1, 224 "pattern":"[-A-Za-z0-9+/=]+" 225 }, 226 "ClientTokenConflictException":{ 227 "type":"structure", 228 "members":{ 229 "Message":{"shape":"ErrorMessage"} 230 }, 231 "exception":true 232 }, 233 "ConcurrentModificationException":{ 234 "type":"structure", 235 "members":{ 236 "Message":{"shape":"ErrorMessage"} 237 }, 238 "exception":true 239 }, 240 "ConcurrentOperationException":{ 241 "type":"structure", 242 "members":{ 243 "Message":{"shape":"ErrorMessage"} 244 }, 245 "exception":true 246 }, 247 "CreateResourceInput":{ 248 "type":"structure", 249 "required":[ 250 "TypeName", 251 "DesiredState" 252 ], 253 "members":{ 254 "TypeName":{"shape":"TypeName"}, 255 "TypeVersionId":{"shape":"TypeVersionId"}, 256 "RoleArn":{"shape":"RoleArn"}, 257 "ClientToken":{ 258 "shape":"ClientToken", 259 "idempotencyToken":true 260 }, 261 "DesiredState":{"shape":"Properties"} 262 } 263 }, 264 "CreateResourceOutput":{ 265 "type":"structure", 266 "members":{ 267 "ProgressEvent":{"shape":"ProgressEvent"} 268 } 269 }, 270 "DeleteResourceInput":{ 271 "type":"structure", 272 "required":[ 273 "TypeName", 274 "Identifier" 275 ], 276 "members":{ 277 "TypeName":{"shape":"TypeName"}, 278 "TypeVersionId":{"shape":"TypeVersionId"}, 279 "RoleArn":{"shape":"RoleArn"}, 280 "ClientToken":{ 281 "shape":"ClientToken", 282 "idempotencyToken":true 283 }, 284 "Identifier":{"shape":"Identifier"} 285 } 286 }, 287 "DeleteResourceOutput":{ 288 "type":"structure", 289 "members":{ 290 "ProgressEvent":{"shape":"ProgressEvent"} 291 } 292 }, 293 "ErrorMessage":{ 294 "type":"string", 295 "max":1024, 296 "min":1 297 }, 298 "GeneralServiceException":{ 299 "type":"structure", 300 "members":{ 301 "Message":{"shape":"ErrorMessage"} 302 }, 303 "exception":true 304 }, 305 "GetResourceInput":{ 306 "type":"structure", 307 "required":[ 308 "TypeName", 309 "Identifier" 310 ], 311 "members":{ 312 "TypeName":{"shape":"TypeName"}, 313 "TypeVersionId":{"shape":"TypeVersionId"}, 314 "RoleArn":{"shape":"RoleArn"}, 315 "Identifier":{"shape":"Identifier"} 316 } 317 }, 318 "GetResourceOutput":{ 319 "type":"structure", 320 "members":{ 321 "TypeName":{"shape":"TypeName"}, 322 "ResourceDescription":{"shape":"ResourceDescription"} 323 } 324 }, 325 "GetResourceRequestStatusInput":{ 326 "type":"structure", 327 "required":["RequestToken"], 328 "members":{ 329 "RequestToken":{"shape":"RequestToken"} 330 } 331 }, 332 "GetResourceRequestStatusOutput":{ 333 "type":"structure", 334 "members":{ 335 "ProgressEvent":{"shape":"ProgressEvent"} 336 } 337 }, 338 "HandlerErrorCode":{ 339 "type":"string", 340 "enum":[ 341 "NotUpdatable", 342 "InvalidRequest", 343 "AccessDenied", 344 "InvalidCredentials", 345 "AlreadyExists", 346 "NotFound", 347 "ResourceConflict", 348 "Throttling", 349 "ServiceLimitExceeded", 350 "NotStabilized", 351 "GeneralServiceException", 352 "ServiceInternalError", 353 "ServiceTimeout", 354 "NetworkFailure", 355 "InternalFailure" 356 ] 357 }, 358 "HandlerFailureException":{ 359 "type":"structure", 360 "members":{ 361 "Message":{"shape":"ErrorMessage"} 362 }, 363 "exception":true 364 }, 365 "HandlerInternalFailureException":{ 366 "type":"structure", 367 "members":{ 368 "Message":{"shape":"ErrorMessage"} 369 }, 370 "exception":true 371 }, 372 "HandlerNextToken":{ 373 "type":"string", 374 "max":2048, 375 "min":1, 376 "pattern":".+" 377 }, 378 "Identifier":{ 379 "type":"string", 380 "max":1024, 381 "min":1, 382 "pattern":".+" 383 }, 384 "InvalidCredentialsException":{ 385 "type":"structure", 386 "members":{ 387 "Message":{"shape":"ErrorMessage"} 388 }, 389 "exception":true 390 }, 391 "InvalidRequestException":{ 392 "type":"structure", 393 "members":{ 394 "Message":{"shape":"ErrorMessage"} 395 }, 396 "exception":true 397 }, 398 "ListResourceRequestsInput":{ 399 "type":"structure", 400 "members":{ 401 "MaxResults":{"shape":"MaxResults"}, 402 "NextToken":{"shape":"NextToken"}, 403 "ResourceRequestStatusFilter":{"shape":"ResourceRequestStatusFilter"} 404 } 405 }, 406 "ListResourceRequestsOutput":{ 407 "type":"structure", 408 "members":{ 409 "ResourceRequestStatusSummaries":{"shape":"ResourceRequestStatusSummaries"}, 410 "NextToken":{"shape":"NextToken"} 411 } 412 }, 413 "ListResourcesInput":{ 414 "type":"structure", 415 "required":["TypeName"], 416 "members":{ 417 "TypeName":{"shape":"TypeName"}, 418 "TypeVersionId":{"shape":"TypeVersionId"}, 419 "RoleArn":{"shape":"RoleArn"}, 420 "NextToken":{"shape":"HandlerNextToken"}, 421 "MaxResults":{"shape":"MaxResults"}, 422 "ResourceModel":{"shape":"Properties"} 423 } 424 }, 425 "ListResourcesOutput":{ 426 "type":"structure", 427 "members":{ 428 "TypeName":{"shape":"TypeName"}, 429 "ResourceDescriptions":{"shape":"ResourceDescriptions"}, 430 "NextToken":{"shape":"HandlerNextToken"} 431 } 432 }, 433 "MaxResults":{ 434 "type":"integer", 435 "max":100, 436 "min":1 437 }, 438 "NetworkFailureException":{ 439 "type":"structure", 440 "members":{ 441 "Message":{"shape":"ErrorMessage"} 442 }, 443 "exception":true 444 }, 445 "NextToken":{ 446 "type":"string", 447 "max":2048, 448 "min":1, 449 "pattern":"[-A-Za-z0-9+/=]+" 450 }, 451 "NotStabilizedException":{ 452 "type":"structure", 453 "members":{ 454 "Message":{"shape":"ErrorMessage"} 455 }, 456 "exception":true 457 }, 458 "NotUpdatableException":{ 459 "type":"structure", 460 "members":{ 461 "Message":{"shape":"ErrorMessage"} 462 }, 463 "exception":true 464 }, 465 "Operation":{ 466 "type":"string", 467 "enum":[ 468 "CREATE", 469 "DELETE", 470 "UPDATE" 471 ] 472 }, 473 "OperationStatus":{ 474 "type":"string", 475 "enum":[ 476 "PENDING", 477 "IN_PROGRESS", 478 "SUCCESS", 479 "FAILED", 480 "CANCEL_IN_PROGRESS", 481 "CANCEL_COMPLETE" 482 ] 483 }, 484 "OperationStatuses":{ 485 "type":"list", 486 "member":{"shape":"OperationStatus"} 487 }, 488 "Operations":{ 489 "type":"list", 490 "member":{"shape":"Operation"} 491 }, 492 "PatchDocument":{ 493 "type":"string", 494 "max":65536, 495 "min":1, 496 "pattern":"(.|\\s)*", 497 "sensitive":true 498 }, 499 "PrivateTypeException":{ 500 "type":"structure", 501 "members":{ 502 "Message":{"shape":"ErrorMessage"} 503 }, 504 "exception":true 505 }, 506 "ProgressEvent":{ 507 "type":"structure", 508 "members":{ 509 "TypeName":{"shape":"TypeName"}, 510 "Identifier":{"shape":"Identifier"}, 511 "RequestToken":{"shape":"RequestToken"}, 512 "Operation":{"shape":"Operation"}, 513 "OperationStatus":{"shape":"OperationStatus"}, 514 "EventTime":{"shape":"Timestamp"}, 515 "ResourceModel":{"shape":"Properties"}, 516 "StatusMessage":{"shape":"StatusMessage"}, 517 "ErrorCode":{"shape":"HandlerErrorCode"}, 518 "RetryAfter":{"shape":"Timestamp"} 519 } 520 }, 521 "Properties":{ 522 "type":"string", 523 "max":16384, 524 "min":1, 525 "pattern":"(.|\\s)*", 526 "sensitive":true 527 }, 528 "RequestToken":{ 529 "type":"string", 530 "max":128, 531 "min":1, 532 "pattern":"[-A-Za-z0-9+/=]+" 533 }, 534 "RequestTokenNotFoundException":{ 535 "type":"structure", 536 "members":{ 537 "Message":{"shape":"ErrorMessage"} 538 }, 539 "exception":true 540 }, 541 "ResourceConflictException":{ 542 "type":"structure", 543 "members":{ 544 "Message":{"shape":"ErrorMessage"} 545 }, 546 "exception":true 547 }, 548 "ResourceDescription":{ 549 "type":"structure", 550 "members":{ 551 "Identifier":{"shape":"Identifier"}, 552 "Properties":{"shape":"Properties"} 553 } 554 }, 555 "ResourceDescriptions":{ 556 "type":"list", 557 "member":{"shape":"ResourceDescription"} 558 }, 559 "ResourceNotFoundException":{ 560 "type":"structure", 561 "members":{ 562 "Message":{"shape":"ErrorMessage"} 563 }, 564 "exception":true 565 }, 566 "ResourceRequestStatusFilter":{ 567 "type":"structure", 568 "members":{ 569 "Operations":{"shape":"Operations"}, 570 "OperationStatuses":{"shape":"OperationStatuses"} 571 } 572 }, 573 "ResourceRequestStatusSummaries":{ 574 "type":"list", 575 "member":{"shape":"ProgressEvent"} 576 }, 577 "RoleArn":{ 578 "type":"string", 579 "max":2048, 580 "min":20, 581 "pattern":"arn:.+:iam::[0-9]{12}:role/.+" 582 }, 583 "ServiceInternalErrorException":{ 584 "type":"structure", 585 "members":{ 586 "Message":{"shape":"ErrorMessage"} 587 }, 588 "exception":true 589 }, 590 "ServiceLimitExceededException":{ 591 "type":"structure", 592 "members":{ 593 "Message":{"shape":"ErrorMessage"} 594 }, 595 "exception":true 596 }, 597 "StatusMessage":{ 598 "type":"string", 599 "max":1024, 600 "pattern":"(.|\\s)*" 601 }, 602 "ThrottlingException":{ 603 "type":"structure", 604 "members":{ 605 "Message":{"shape":"ErrorMessage"} 606 }, 607 "exception":true 608 }, 609 "Timestamp":{"type":"timestamp"}, 610 "TypeName":{ 611 "type":"string", 612 "max":196, 613 "min":10, 614 "pattern":"[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}" 615 }, 616 "TypeNotFoundException":{ 617 "type":"structure", 618 "members":{ 619 "Message":{"shape":"ErrorMessage"} 620 }, 621 "exception":true 622 }, 623 "TypeVersionId":{ 624 "type":"string", 625 "max":128, 626 "min":1, 627 "pattern":"[A-Za-z0-9-]+" 628 }, 629 "UnsupportedActionException":{ 630 "type":"structure", 631 "members":{ 632 "Message":{"shape":"ErrorMessage"} 633 }, 634 "exception":true 635 }, 636 "UpdateResourceInput":{ 637 "type":"structure", 638 "required":[ 639 "TypeName", 640 "Identifier", 641 "PatchDocument" 642 ], 643 "members":{ 644 "TypeName":{"shape":"TypeName"}, 645 "TypeVersionId":{"shape":"TypeVersionId"}, 646 "RoleArn":{"shape":"RoleArn"}, 647 "ClientToken":{ 648 "shape":"ClientToken", 649 "idempotencyToken":true 650 }, 651 "Identifier":{"shape":"Identifier"}, 652 "PatchDocument":{"shape":"PatchDocument"} 653 } 654 }, 655 "UpdateResourceOutput":{ 656 "type":"structure", 657 "members":{ 658 "ProgressEvent":{"shape":"ProgressEvent"} 659 } 660 } 661 } 662 }