HookProgressEvent
¶
Source code in docs_src/capo_cloudcontrol/types/hook_progress_event.py
failure_mode
instance-attribute
¶
failure_mode: NotRequired[HookFailureMode]
The failure mode of the invocation. The following are the potential statuses:
-
FAIL: This will fail the Hook invocation and the request associated with it. -
WARN: This will fail the Hook invocation, but not the request associated with it.
hook_event_time
instance-attribute
¶
hook_event_time: NotRequired[Timestamp]
The time that the Hook invocation request initiated.
hook_status
instance-attribute
¶
hook_status: NotRequired[HookStatus]
The status of the Hook invocation. The following are potential statuses:
-
HOOK_PENDING: The Hook was added to the invocation plan, but not yet invoked. -
HOOK_IN_PROGRESS: The Hook was invoked, but hasn't completed. -
HOOK_COMPLETE_SUCCEEDED: The Hook invocation is complete with a successful result. -
HOOK_COMPLETE_FAILED: The Hook invocation is complete with a failed result. -
HOOK_FAILED: The Hook invocation didn't complete successfully.
hook_status_message
instance-attribute
¶
hook_status_message: NotRequired[StatusMessage]
The message explaining the current Hook status.
hook_type_arn
instance-attribute
¶
hook_type_arn: NotRequired[HookTypeArn]
The ARN of the Hook being invoked.
hook_type_name
instance-attribute
¶
hook_type_name: NotRequired[TypeName]
The type name of the Hook being invoked.
hook_type_version_id
instance-attribute
¶
hook_type_version_id: NotRequired[TypeVersionId]
The type version of the Hook being invoked.
invocation_point
instance-attribute
¶
invocation_point: NotRequired[HookInvocationPoint]
States whether the Hook is invoked before or after resource provisioning.