Skip to content

Updates an agent's collaborator

Description

Updates an agent's collaborator.

Usage

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

Arguments

  • agentId

    [required] The agent's ID.

  • agentVersion

    [required] The agent's version.

  • collaboratorId

    [required] The collaborator's ID.

  • agentDescriptor

    [required] An agent descriptor for the agent collaborator.

  • collaboratorName

    [required] The collaborator's name.

  • collaborationInstruction

    [required] Instruction for the collaborator.

  • relayConversationHistory

    A relay conversation history for the collaborator.

Value

A list with the following syntax:

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

Request syntax

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