|
790 | 790 | },
|
791 | 791 | "documentation":"<p>Lists your generated templates in this Region.</p>"
|
792 | 792 | },
|
| 793 | + "ListHookResults":{ |
| 794 | + "name":"ListHookResults", |
| 795 | + "http":{ |
| 796 | + "method":"POST", |
| 797 | + "requestUri":"/" |
| 798 | + }, |
| 799 | + "input":{"shape":"ListHookResultsInput"}, |
| 800 | + "output":{ |
| 801 | + "shape":"ListHookResultsOutput", |
| 802 | + "resultWrapper":"ListHookResultsResult" |
| 803 | + }, |
| 804 | + "errors":[ |
| 805 | + {"shape":"HookResultNotFoundException"} |
| 806 | + ], |
| 807 | + "documentation":"<p>Returns summaries of invoked Hooks when a change set or Cloud Control API operation target is provided.</p>" |
| 808 | + }, |
793 | 809 | "ListImports":{
|
794 | 810 | "name":"ListImports",
|
795 | 811 | "http":{
|
|
3807 | 3823 | "type":"string",
|
3808 | 3824 | "enum":["PRE_PROVISION"]
|
3809 | 3825 | },
|
| 3826 | + "HookResultId":{ |
| 3827 | + "type":"string", |
| 3828 | + "max":1600, |
| 3829 | + "min":1, |
| 3830 | + "pattern":"[a-zA-Z][-a-zA-Z0-9]*|arn:[-a-zA-Z0-9:/]*|^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" |
| 3831 | + }, |
| 3832 | + "HookResultNotFoundException":{ |
| 3833 | + "type":"structure", |
| 3834 | + "members":{ |
| 3835 | + }, |
| 3836 | + "documentation":"<p>The specified target doesn't have any requested Hook invocations.</p>", |
| 3837 | + "error":{ |
| 3838 | + "code":"HookResultNotFound", |
| 3839 | + "httpStatusCode":404, |
| 3840 | + "senderFault":true |
| 3841 | + }, |
| 3842 | + "exception":true |
| 3843 | + }, |
| 3844 | + "HookResultSummaries":{ |
| 3845 | + "type":"list", |
| 3846 | + "member":{"shape":"HookResultSummary"} |
| 3847 | + }, |
| 3848 | + "HookResultSummary":{ |
| 3849 | + "type":"structure", |
| 3850 | + "members":{ |
| 3851 | + "InvocationPoint":{ |
| 3852 | + "shape":"HookInvocationPoint", |
| 3853 | + "documentation":"<p>The exact point in the provisioning logic where the Hook runs.</p>" |
| 3854 | + }, |
| 3855 | + "FailureMode":{ |
| 3856 | + "shape":"HookFailureMode", |
| 3857 | + "documentation":"<p>The failure mode of the invocation. The following are potential modes:</p> <ul> <li> <p> <code>FAIL</code>: If the hook invocation returns a failure, then the requested target operation should fail.</p> </li> <li> <p> <code>WARN</code>: If the hook invocation returns a failure, then the requested target operation should warn.</p> </li> </ul>" |
| 3858 | + }, |
| 3859 | + "TypeName":{ |
| 3860 | + "shape":"HookTypeName", |
| 3861 | + "documentation":"<p>The type name of the Hook being invoked.</p>" |
| 3862 | + }, |
| 3863 | + "TypeVersionId":{ |
| 3864 | + "shape":"HookTypeVersionId", |
| 3865 | + "documentation":"<p>The version of the Hook being invoked.</p>" |
| 3866 | + }, |
| 3867 | + "TypeConfigurationVersionId":{ |
| 3868 | + "shape":"HookTypeConfigurationVersionId", |
| 3869 | + "documentation":"<p>The version of the Hook type configuration.</p>" |
| 3870 | + }, |
| 3871 | + "Status":{ |
| 3872 | + "shape":"HookStatus", |
| 3873 | + "documentation":"<p>The state of the Hook invocation.</p>" |
| 3874 | + }, |
| 3875 | + "HookStatusReason":{ |
| 3876 | + "shape":"HookStatusReason", |
| 3877 | + "documentation":"<p>A description of the Hook results status. For example, if the Hook result is in a <code>FAILED</code> state, this may contain additional information for the <code>FAILED</code> state.</p>" |
| 3878 | + } |
| 3879 | + }, |
| 3880 | + "documentation":"<p>Describes a Hook invocation, its status, and the reason for its status.</p>" |
| 3881 | + }, |
3810 | 3882 | "HookStatus":{
|
3811 | 3883 | "type":"string",
|
3812 | 3884 | "enum":[
|
|
4077 | 4149 | }
|
4078 | 4150 | }
|
4079 | 4151 | },
|
| 4152 | + "ListHookResultsInput":{ |
| 4153 | + "type":"structure", |
| 4154 | + "required":[ |
| 4155 | + "TargetType", |
| 4156 | + "TargetId" |
| 4157 | + ], |
| 4158 | + "members":{ |
| 4159 | + "TargetType":{ |
| 4160 | + "shape":"ListHookResultsTargetType", |
| 4161 | + "documentation":"<p>The type of operation being targeted by the Hook.</p>" |
| 4162 | + }, |
| 4163 | + "TargetId":{ |
| 4164 | + "shape":"HookResultId", |
| 4165 | + "documentation":"<p>The logical ID of the target the operation is acting on by the Hook. If the target is a change set, it's the ARN of the change set.</p> <p>If the target is a Cloud Control API operation, this will be the <code>HookRequestToken</code> returned by the Cloud Control API operation request. For more information on the <code>HookRequestToken</code>, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html\">ProgressEvent</a>.</p>" |
| 4166 | + }, |
| 4167 | + "NextToken":{ |
| 4168 | + "shape":"NextToken", |
| 4169 | + "documentation":"<p>A string that identifies the next page of events that you want to retrieve.</p>" |
| 4170 | + } |
| 4171 | + } |
| 4172 | + }, |
| 4173 | + "ListHookResultsOutput":{ |
| 4174 | + "type":"structure", |
| 4175 | + "members":{ |
| 4176 | + "TargetType":{ |
| 4177 | + "shape":"ListHookResultsTargetType", |
| 4178 | + "documentation":"<p>The type of operation being targeted by the Hook.</p>" |
| 4179 | + }, |
| 4180 | + "TargetId":{ |
| 4181 | + "shape":"HookResultId", |
| 4182 | + "documentation":"<p>The logical ID of the target the operation is acting on by the Hook. If the target is a change set, it's the ARN of the change set.</p> <p>If the target is a Cloud Control API operation, this will be the <code>HooksRequestToken</code> returned by the Cloud Control API operation request. For more information on the <code>HooksRequestToken</code>, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html\">ProgressEvent</a>.</p>" |
| 4183 | + }, |
| 4184 | + "HookResults":{ |
| 4185 | + "shape":"HookResultSummaries", |
| 4186 | + "documentation":"<p>A list of <code>HookResultSummary</code> structures that provides the status and Hook status reason for each Hook invocation for the specified target.</p>" |
| 4187 | + }, |
| 4188 | + "NextToken":{ |
| 4189 | + "shape":"NextToken", |
| 4190 | + "documentation":"<p>Pagination token, <code>null</code> or empty if no more results.</p>" |
| 4191 | + } |
| 4192 | + } |
| 4193 | + }, |
| 4194 | + "ListHookResultsTargetType":{ |
| 4195 | + "type":"string", |
| 4196 | + "enum":[ |
| 4197 | + "CHANGE_SET", |
| 4198 | + "STACK", |
| 4199 | + "RESOURCE", |
| 4200 | + "CLOUD_CONTROL" |
| 4201 | + ] |
| 4202 | + }, |
4080 | 4203 | "ListImportsInput":{
|
4081 | 4204 | "type":"structure",
|
4082 | 4205 | "required":["ExportName"],
|
|
0 commit comments