Skip to content

List Prompt Routers

bedrock_list_prompt_routers R Documentation

Retrieves a list of prompt routers

Description

Retrieves a list of prompt routers.

Usage

bedrock_list_prompt_routers(maxResults, nextToken)

Arguments

maxResults

The maximum number of prompt routers to return in one page of results.

nextToken

Specify the pagination token from a previous request to retrieve the next page of results.

Value

A list with the following syntax:

list(
  promptRouterSummaries = list(
    list(
      promptRouterName = "string",
      routingCriteria = list(
        responseQualityDifference = 123.0
      ),
      description = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      ),
      promptRouterArn = "string",
      models = list(
        list(
          modelArn = "string"
        )
      ),
      fallbackModel = list(
        modelArn = "string"
      ),
      status = "AVAILABLE",
      type = "custom"|"default"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_prompt_routers(
  maxResults = 123,
  nextToken = "string"
)