Skip to content

CloudFormationClient.get_hook_result

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Retrieves detailed information and remediation guidance for a Hook invocation result. If the Hook uses a KMS key to encrypt annotations, callers of the GetHookResult operation must have kms:Decrypt permissions. For more information, see KMS key policy and permissions for encrypting CloudFormation Hooks results at rest in the CloudFormation Hooks User Guide .

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
    GetHookResultOutput,
)

Signature

async def get_hook_result(
    *,
    hook_result_id: str | None = None,
) -> GetHookResultOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
hook_result_id No The unique identifier (ID) of the Hook invocation result that you want details about. You can get the ID from the ListHookResults operation.

Output

GetHookResultOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
hook_result_id str | None Always present —
invocation_point HookInvocationPointOutput | None Always present HookInvocationPointOutput
failure_mode HookFailureModeOutput | None Always present HookFailureModeOutput
type_name str | None Always present —
original_type_name str | None Always present —
type_version_id str | None Always present —
type_configuration_version_id str | None Always present —
type_arn str | None Always present —
status HookStatusOutput | None Always present HookStatusOutput
hook_status_reason str | None Always present —
invoked_at str | None Always present —
target HookTargetOutput | None Always present HookTargetOutput
annotations list[AnnotationOutput] | None Always present AnnotationOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

GetHookResultOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_cloudformation.exceptions:

HookResultNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model