check_s3_uri: Check if an argument looks like an S3 bucket

View source: R/checkmate.R

check_s3_uriR Documentation

Check if an argument looks like an S3 bucket

Description

Check if an argument looks like an S3 bucket

Usage

check_s3_uri(x)

Arguments

x

string, URI of an S3 object, should start with s3://, then bucket name and object key

Examples

check_s3_uri('s3://foo/bar')
check_s3_uri('https://foo/bar')
## Not run: 
assert_s3_uri('https://foo/bar')

## End(Not run)

daroczig/botor documentation built on March 15, 2023, 12:23 p.m.