Skip to content

Get Agent Action Group

bedrockagent_get_agent_action_group R Documentation

Gets information about an action group for an agent

Description

Gets information about an action group for an agent.

Usage

bedrockagent_get_agent_action_group(actionGroupId, agentId,
  agentVersion)

Arguments

actionGroupId

[required] The unique identifier of the action group for which to get information.

agentId

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

agentVersion

[required] The version of the agent that the action group belongs to.

Value

A list with the following syntax:

list(
  agentActionGroup = list(
    actionGroupExecutor = list(
      customControl = "RETURN_CONTROL",
      lambda = "string"
    ),
    actionGroupId = "string",
    actionGroupName = "string",
    actionGroupState = "ENABLED"|"DISABLED",
    agentId = "string",
    agentVersion = "string",
    apiSchema = list(
      payload = "string",
      s3 = list(
        s3BucketName = "string",
        s3ObjectKey = "string"
      )
    ),
    clientToken = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    description = "string",
    functionSchema = list(
      functions = list(
        list(
          description = "string",
          name = "string",
          parameters = list(
            list(
              description = "string",
              required = TRUE|FALSE,
              type = "string"|"number"|"integer"|"boolean"|"array"
            )
          ),
          requireConfirmation = "ENABLED"|"DISABLED"
        )
      )
    ),
    parentActionSignature = "AMAZON.UserInput"|"AMAZON.CodeInterpreter",
    updatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$get_agent_action_group(
  actionGroupId = "string",
  agentId = "string",
  agentVersion = "string"
)