Skip to content

Delete Agent Version

bedrockagent_delete_agent_version R Documentation

Deletes a version of an agent

Description

Deletes a version of an agent.

Usage

bedrockagent_delete_agent_version(agentId, agentVersion,
  skipResourceInUseCheck)

Arguments

agentId

[required] The unique identifier of the agent that the version belongs to.

agentVersion

[required] The version of the agent to delete.

skipResourceInUseCheck

By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.

Value

A list with the following syntax:

list(
  agentId = "string",
  agentStatus = "CREATING"|"PREPARING"|"PREPARED"|"NOT_PREPARED"|"DELETING"|"FAILED"|"VERSIONING"|"UPDATING",
  agentVersion = "string"
)

Request syntax

svc$delete_agent_version(
  agentId = "string",
  agentVersion = "string",
  skipResourceInUseCheck = TRUE|FALSE
)