Skip to content

Get Invocation Step

bedrockagentruntime_get_invocation_step R Documentation

Retrieves the details of a specific invocation step within an invocation in a session

Description

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.

Usage

bedrockagentruntime_get_invocation_step(invocationIdentifier,
  invocationStepId, sessionIdentifier)

Arguments

invocationIdentifier

[required] The unique identifier for the invocation in UUID format.

invocationStepId

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

sessionIdentifier

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

Value

A list with the following syntax:

list(
  invocationStep = list(
    invocationId = "string",
    invocationStepId = "string",
    invocationStepTime = as.POSIXct(
      "2015-01-01"
    ),
    payload = list(
      contentBlocks = list(
        list(
          image = list(
            format = "png"|"jpeg"|"gif"|"webp",
            source = list(
              bytes = raw,
              s3Location = list(
                uri = "string"
              )
            )
          ),
          text = "string"
        )
      )
    ),
    sessionId = "string"
  )
)

Request syntax

svc$get_invocation_step(
  invocationIdentifier = "string",
  invocationStepId = "string",
  sessionIdentifier = "string"
)