check-vector-isExistingAwsS3Uri | R Documentation |
Does the input contain an existing (active) AWS S3 URI?
isExistingAwsS3Uri(x, profile = "default")
isAnExistingAwsS3Uri(x, profile = "default")
allAreExistingAwsS3Uris(x, profile = "default")
x |
Object. |
profile |
|
Requires the AWS CLI to be installed.
TRUE
on success;
FALSE
on failure, with cause set.
isExistingAwsS3Uri()
: Vectorized.
isAnExistingAwsS3Uri()
: Scalar. Requires a single URI.
allAreExistingAwsS3Uris()
: Scalar. Checks that all strings
are existing URIs.
Updated 2023-11-03.
aws help
.
https://www.learnaws.org/2023/01/30/aws-s3-cli-check-file/
koopa function koopa_is_existing_aws_s3_uri
.
## TRUE ====
## > isAnExistingAwsS3Uri(
## > x = "s3://koopa.acidgenomics.com/install",
## > profile = "acidgenomics"
## > )
## FALSE ====
## > isAnExistingAwsS3Uri(
## > x = "s3://koopa.acidgenomics.com/foo",
## > profile = "acidgenomics"
## > )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.