Skip to content

Update Agent Collaborator

bedrockagent_update_agent_collaborator R Documentation

Updates an agent's collaborator

Description

Updates an agent's collaborator.

Usage

bedrockagent_update_agent_collaborator(agentDescriptor, agentId,
  agentVersion, collaborationInstruction, collaboratorId,
  collaboratorName, relayConversationHistory)

Arguments

agentDescriptor

[required] An agent descriptor for the agent collaborator.

agentId

[required] The agent's ID.

agentVersion

[required] The agent's version.

collaborationInstruction

[required] Instruction for the collaborator.

collaboratorId

[required] The collaborator's ID.

collaboratorName

[required] The collaborator's name.

relayConversationHistory

A relay conversation history for the collaborator.

Value

A list with the following syntax:

list(
  agentCollaborator = list(
    agentDescriptor = list(
      aliasArn = "string"
    ),
    agentId = "string",
    agentVersion = "string",
    clientToken = "string",
    collaborationInstruction = "string",
    collaboratorId = "string",
    collaboratorName = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    lastUpdatedAt = as.POSIXct(
      "2015-01-01"
    ),
    relayConversationHistory = "TO_COLLABORATOR"|"DISABLED"
  )
)

Request syntax

svc$update_agent_collaborator(
  agentDescriptor = list(
    aliasArn = "string"
  ),
  agentId = "string",
  agentVersion = "string",
  collaborationInstruction = "string",
  collaboratorId = "string",
  collaboratorName = "string",
  relayConversationHistory = "TO_COLLABORATOR"|"DISABLED"
)