|
2 | 2 | "version":"2.0",
|
3 | 3 | "metadata":{
|
4 | 4 | "apiVersion":"2021-09-30",
|
| 5 | + "auth":["aws.auth#sigv4"], |
5 | 6 | "endpointPrefix":"cloudcontrolapi",
|
6 | 7 | "jsonVersion":"1.0",
|
7 | 8 | "protocol":"json",
|
| 9 | + "protocols":["json"], |
8 | 10 | "serviceAbbreviation":"CloudControlApi",
|
9 | 11 | "serviceFullName":"AWS Cloud Control API",
|
10 | 12 | "serviceId":"CloudControl",
|
|
340 | 342 | },
|
341 | 343 | "ErrorMessage":{
|
342 | 344 | "type":"string",
|
343 |
| - "max":1024, |
| 345 | + "max":2048, |
344 | 346 | "min":1,
|
345 | 347 | "pattern":".+"
|
346 | 348 | },
|
|
403 | 405 | "ProgressEvent":{
|
404 | 406 | "shape":"ProgressEvent",
|
405 | 407 | "documentation":"<p>Represents the current status of the resource operation request.</p>"
|
| 408 | + }, |
| 409 | + "HooksProgressEvent":{ |
| 410 | + "shape":"HooksProgressEvent", |
| 411 | + "documentation":"<p>Lists Hook invocations for the specified target in the request. This is a list since the same target can invoke multiple Hooks.</p>" |
406 | 412 | }
|
407 | 413 | }
|
408 | 414 | },
|
|
412 | 418 | "NotUpdatable",
|
413 | 419 | "InvalidRequest",
|
414 | 420 | "AccessDenied",
|
| 421 | + "UnauthorizedTaggingOperation", |
415 | 422 | "InvalidCredentials",
|
416 | 423 | "AlreadyExists",
|
417 | 424 | "NotFound",
|
|
446 | 453 | },
|
447 | 454 | "HandlerNextToken":{
|
448 | 455 | "type":"string",
|
449 |
| - "max":2048, |
| 456 | + "max":4096, |
450 | 457 | "min":1,
|
451 | 458 | "pattern":".+"
|
452 | 459 | },
|
| 460 | + "HookFailureMode":{ |
| 461 | + "type":"string", |
| 462 | + "max":128, |
| 463 | + "min":1, |
| 464 | + "pattern":"[-A-Za-z_]+" |
| 465 | + }, |
| 466 | + "HookInvocationPoint":{ |
| 467 | + "type":"string", |
| 468 | + "max":128, |
| 469 | + "min":1, |
| 470 | + "pattern":"[-A-Za-z_]+" |
| 471 | + }, |
| 472 | + "HookProgressEvent":{ |
| 473 | + "type":"structure", |
| 474 | + "members":{ |
| 475 | + "HookTypeName":{ |
| 476 | + "shape":"TypeName", |
| 477 | + "documentation":"<p>The type name of the Hook being invoked.</p>" |
| 478 | + }, |
| 479 | + "HookTypeVersionId":{ |
| 480 | + "shape":"TypeVersionId", |
| 481 | + "documentation":"<p>The type version of the Hook being invoked.</p>" |
| 482 | + }, |
| 483 | + "HookTypeArn":{ |
| 484 | + "shape":"HookTypeArn", |
| 485 | + "documentation":"<p>The ARN of the Hook being invoked.</p>" |
| 486 | + }, |
| 487 | + "InvocationPoint":{ |
| 488 | + "shape":"HookInvocationPoint", |
| 489 | + "documentation":"<p>States whether the Hook is invoked before or after resource provisioning.</p>" |
| 490 | + }, |
| 491 | + "HookStatus":{ |
| 492 | + "shape":"HookStatus", |
| 493 | + "documentation":"<p>The status of the Hook invocation. The following are potential statuses:</p> <ul> <li> <p> <code>HOOK_PENDING</code>: The Hook was added to the invocation plan, but not yet invoked.</p> </li> <li> <p> <code>HOOK_IN_PROGRESS</code>: The Hook was invoked, but hasn't completed.</p> </li> <li> <p> <code>HOOK_COMPLETE_SUCCEEDED</code>: The Hook invocation is complete with a successful result.</p> </li> <li> <p> <code>HOOK_COMPLETE_FAILED</code>: The Hook invocation is complete with a failed result.</p> </li> <li> <p> <code>HOOK_FAILED</code>: The Hook invocation didn't complete successfully.</p> </li> </ul>" |
| 494 | + }, |
| 495 | + "HookEventTime":{ |
| 496 | + "shape":"Timestamp", |
| 497 | + "documentation":"<p>The time that the Hook invocation request initiated.</p>" |
| 498 | + }, |
| 499 | + "HookStatusMessage":{ |
| 500 | + "shape":"StatusMessage", |
| 501 | + "documentation":"<p>The message explaining the current Hook status.</p>" |
| 502 | + }, |
| 503 | + "FailureMode":{ |
| 504 | + "shape":"HookFailureMode", |
| 505 | + "documentation":"<p>The failure mode of the invocation. The following are the potential statuses:</p> <ul> <li> <p> <code>FAIL</code>: This will fail the Hook invocation and the request associated with it.</p> </li> <li> <p> <code>WARN</code>: This will fail the Hook invocation, but not the request associated with it.</p> </li> </ul>" |
| 506 | + } |
| 507 | + }, |
| 508 | + "documentation":"<p>Represents the current status of applicable Hooks for a resource operation request. It contains list of Hook invocation information for the resource specified in the request since the same target can invoke multiple Hooks. For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html\">Managing resource operation requests with Amazon Web Services Cloud Control API </a>.</p>" |
| 509 | + }, |
| 510 | + "HookStatus":{ |
| 511 | + "type":"string", |
| 512 | + "max":128, |
| 513 | + "min":1, |
| 514 | + "pattern":"[-A-Za-z_]+" |
| 515 | + }, |
| 516 | + "HookTypeArn":{ |
| 517 | + "type":"string", |
| 518 | + "max":2048, |
| 519 | + "min":1, |
| 520 | + "pattern":"arn:aws.*:.+:.*:.*:.+" |
| 521 | + }, |
| 522 | + "HooksProgressEvent":{ |
| 523 | + "type":"list", |
| 524 | + "member":{"shape":"HookProgressEvent"} |
| 525 | + }, |
453 | 526 | "Identifier":{
|
454 | 527 | "type":"string",
|
455 | 528 | "max":1024,
|
|
615 | 688 | },
|
616 | 689 | "PatchDocument":{
|
617 | 690 | "type":"string",
|
618 |
| - "max":65536, |
| 691 | + "documentation":"<p>Allow up to 256K length of Resource properties</p>", |
| 692 | + "max":262144, |
619 | 693 | "min":1,
|
620 | 694 | "pattern":"[\\s\\S]*",
|
621 | 695 | "sensitive":true
|
|
643 | 717 | "shape":"RequestToken",
|
644 | 718 | "documentation":"<p>The unique token representing this resource operation request.</p> <p>Use the <code>RequestToken</code> with <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> to return the current status of a resource operation request.</p>"
|
645 | 719 | },
|
| 720 | + "HooksRequestToken":{ |
| 721 | + "shape":"RequestToken", |
| 722 | + "documentation":"<p>The unique token representing the Hooks operation for the request.</p>" |
| 723 | + }, |
646 | 724 | "Operation":{
|
647 | 725 | "shape":"Operation",
|
648 | 726 | "documentation":"<p>The resource operation type.</p>"
|
|
676 | 754 | },
|
677 | 755 | "Properties":{
|
678 | 756 | "type":"string",
|
679 |
| - "max":65536, |
| 757 | + "documentation":"<p>Allow up to 256K length of Resource properties</p>", |
| 758 | + "max":262144, |
680 | 759 | "min":1,
|
681 | 760 | "pattern":"[\\s\\S]*",
|
682 | 761 | "sensitive":true
|
|
772 | 851 | },
|
773 | 852 | "StatusMessage":{
|
774 | 853 | "type":"string",
|
775 |
| - "max":1024, |
| 854 | + "max":2048, |
776 | 855 | "min":0,
|
777 | 856 | "pattern":"[\\s\\S]*"
|
778 | 857 | },
|
|
0 commit comments