List Hook Results
| cloudformation_list_hook_results | R Documentation |
Returns summaries of invoked Hooks¶
Description¶
Returns summaries of invoked Hooks. For more information, see View invocation summaries for CloudFormation Hooks in the CloudFormation Hooks User Guide.
This operation supports the following parameter combinations:
-
No parameters: Returns all Hook invocation summaries.
-
TypeArnonly: Returns summaries for a specific Hook. -
TypeArnandStatus: Returns summaries for a specific Hook filtered by status. -
TargetIdandTargetType: Returns summaries for a specific Hook invocation target.
Usage¶
cloudformation_list_hook_results(TargetType, TargetId, TypeArn, Status,
NextToken)
Arguments¶
TargetType |
Filters results by target type. Currently, only
Required when |
TargetId |
Filters results by the unique identifier of the target the Hook was invoked against. For change sets, this is the change set ARN. When the target is a
Cloud Control API operation, this value must be the
Required when |
TypeArn |
Filters results by the ARN of the Hook. Can be used alone or in
combination with |
Status |
Filters results by the status of Hook invocations. Can only be
used in combination with
|
NextToken |
The token for the next set of items to return. (You received this token from a previous call.) |
Value¶
A list with the following syntax:
list(
TargetType = "CHANGE_SET"|"STACK"|"RESOURCE"|"CLOUD_CONTROL",
TargetId = "string",
HookResults = list(
list(
HookResultId = "string",
InvocationPoint = "PRE_PROVISION",
FailureMode = "FAIL"|"WARN",
TypeName = "string",
TypeVersionId = "string",
TypeConfigurationVersionId = "string",
Status = "HOOK_IN_PROGRESS"|"HOOK_COMPLETE_SUCCEEDED"|"HOOK_COMPLETE_FAILED"|"HOOK_FAILED",
HookStatusReason = "string",
InvokedAt = as.POSIXct(
"2015-01-01"
),
TargetType = "CHANGE_SET"|"STACK"|"RESOURCE"|"CLOUD_CONTROL",
TargetId = "string",
TypeArn = "string",
HookExecutionTarget = "string"
)
),
NextToken = "string"
)
Request syntax¶
svc$list_hook_results(
TargetType = "CHANGE_SET"|"STACK"|"RESOURCE"|"CLOUD_CONTROL",
TargetId = "string",
TypeArn = "string",
Status = "HOOK_IN_PROGRESS"|"HOOK_COMPLETE_SUCCEEDED"|"HOOK_COMPLETE_FAILED"|"HOOK_FAILED",
NextToken = "string"
)