Skip to content

Get Agent Version

bedrockagent_get_agent_version R Documentation

Gets details about a version of an agent

Description

Gets details about a version of an agent.

Usage

bedrockagent_get_agent_version(agentId, agentVersion)

Arguments

agentId

[required] The unique identifier of the agent.

agentVersion

[required] The version of the agent.

Value

A list with the following syntax:

list(
  agentVersion = list(
    agentArn = "string",
    agentCollaboration = "SUPERVISOR"|"SUPERVISOR_ROUTER"|"DISABLED",
    agentId = "string",
    agentName = "string",
    agentResourceRoleArn = "string",
    agentStatus = "CREATING"|"PREPARING"|"PREPARED"|"NOT_PREPARED"|"DELETING"|"FAILED"|"VERSIONING"|"UPDATING",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    customerEncryptionKeyArn = "string",
    description = "string",
    failureReasons = list(
      "string"
    ),
    foundationModel = "string",
    guardrailConfiguration = list(
      guardrailIdentifier = "string",
      guardrailVersion = "string"
    ),
    idleSessionTTLInSeconds = 123,
    instruction = "string",
    memoryConfiguration = list(
      enabledMemoryTypes = list(
        "SESSION_SUMMARY"
      ),
      sessionSummaryConfiguration = list(
        maxRecentSessions = 123
      ),
      storageDays = 123
    ),
    promptOverrideConfiguration = list(
      overrideLambda = "string",
      promptConfigurations = list(
        list(
          basePromptTemplate = "string",
          foundationModel = "string",
          inferenceConfiguration = list(
            maximumLength = 123,
            stopSequences = list(
              "string"
            ),
            temperature = 123.0,
            topK = 123,
            topP = 123.0
          ),
          parserMode = "DEFAULT"|"OVERRIDDEN",
          promptCreationMode = "DEFAULT"|"OVERRIDDEN",
          promptState = "ENABLED"|"DISABLED",
          promptType = "PRE_PROCESSING"|"ORCHESTRATION"|"POST_PROCESSING"|"KNOWLEDGE_BASE_RESPONSE_GENERATION"|"MEMORY_SUMMARIZATION"
        )
      )
    ),
    recommendedActions = list(
      "string"
    ),
    updatedAt = as.POSIXct(
      "2015-01-01"
    ),
    version = "string"
  )
)

Request syntax

svc$get_agent_version(
  agentId = "string",
  agentVersion = "string"
)