Skip to content

Bedrock Agent Runtime  >  Structures  >  InvocationStep

InvocationStep

Structure Class

InvocationStep dataclass

Stores fine-grained state checkpoints, including text and images, for each interaction in an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.

Attributes

invocation_id instance-attribute
invocation_id: str

The unique identifier (in UUID format) for the invocation that includes the invocation step.

invocation_step_id instance-attribute
invocation_step_id: str

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

invocation_step_time instance-attribute
invocation_step_time: datetime

The timestamp for when the invocation step was created.

payload instance-attribute

Payload content, such as text and images, for the invocation step.

session_id instance-attribute
session_id: str

The unique identifier of the session containing the invocation step.