Skip to content

Bedrock Agent Runtime  >  Operations  >  get_invocation_step

get_invocation_step

Operation

get_invocation_step async

get_invocation_step(input: GetInvocationStepInput, plugins: list[Plugin] | None = None) -> GetInvocationStepOutput

Retrieves the details of a specific invocation step within an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.

Parameters:

Name Type Description Default
input GetInvocationStepInput

An instance of GetInvocationStepInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetInvocationStepOutput

An instance of GetInvocationStepOutput.

Input

GetInvocationStepInput dataclass

Dataclass for GetInvocationStepInput structure.

Attributes

invocation_identifier class-attribute instance-attribute
invocation_identifier: str | None = None

The unique identifier for the invocation in UUID format.

invocation_step_id class-attribute instance-attribute
invocation_step_id: str | None = None

The unique identifier (in UUID format) for the specific invocation step to retrieve.

session_identifier class-attribute instance-attribute
session_identifier: str | None = None

The unique identifier for the invocation step's associated session. You can specify either the session's sessionId or its Amazon Resource Name (ARN).

Output

GetInvocationStepOutput dataclass

Dataclass for GetInvocationStepOutput structure.

Attributes

invocation_step instance-attribute
invocation_step: InvocationStep

The complete details of the requested invocation step.