Skip to content

Prepare Agent

bedrockagent_prepare_agent R Documentation

Creates a DRAFT version of the agent that can be used for internal testing

Description

Creates a DRAFT version of the agent that can be used for internal testing.

Usage

bedrockagent_prepare_agent(agentId)

Arguments

agentId

[required] The unique identifier of the agent for which to create a DRAFT version.

Value

A list with the following syntax:

list(
  agentId = "string",
  agentStatus = "CREATING"|"PREPARING"|"PREPARED"|"NOT_PREPARED"|"DELETING"|"FAILED"|"VERSIONING"|"UPDATING",
  agentVersion = "string",
  preparedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$prepare_agent(
  agentId = "string"
)