tests/testthat/test_bedrockagent.R

svc <- paws::bedrockagent()

test_that("list_agents", {
  expect_error(svc$list_agents(), NA)
})

test_that("list_flows", {
  expect_error(svc$list_flows(), NA)
})

test_that("list_knowledge_bases", {
  expect_error(svc$list_knowledge_bases(), NA)
})

test_that("list_prompts", {
  expect_error(svc$list_prompts(), NA)
})

Try the paws.machine.learning package in your browser

Any scripts or data that you put into this service are public.

paws.machine.learning documentation built on April 3, 2025, 8:41 p.m.