tests/testthat/test_cloudwatchobservabilityaccessmanager.R

svc <- paws::cloudwatchobservabilityaccessmanager()

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

test_that("list_links", {
  expect_error(svc$list_links(MaxResults = 20), NA)
})

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

test_that("list_sinks", {
  expect_error(svc$list_sinks(MaxResults = 20), NA)
})

Try the paws.management package in your browser

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

paws.management documentation built on Sept. 12, 2024, 6:19 a.m.