botor (version 0.2.0)

check_s3_uri: 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

Run this code
# NOT RUN {
check_s3_uri('s3://foo/bar')
check_s3_uri('https://foo/bar')
# }
# NOT RUN {
assert_s3_uri('https://foo/bar')
# }

Run the code above in your browser using DataLab