check-vector-isExistingAwsS3Uri: Does the input contain an existing (active) AWS S3 URI?

check-vector-isExistingAwsS3UriR Documentation

Does the input contain an existing (active) AWS S3 URI?

Description

Does the input contain an existing (active) AWS S3 URI?

Usage

isExistingAwsS3Uri(x, profile = "default")

isAnExistingAwsS3Uri(x, profile = "default")

allAreExistingAwsS3Uris(x, profile = "default")

Arguments

x

Object.

profile

character(1). AWS profile name.

Details

Requires the AWS CLI to be installed.

Value

TRUE on success; FALSE on failure, with cause set.

Functions

  • isExistingAwsS3Uri(): Vectorized.

  • isAnExistingAwsS3Uri(): Scalar. Requires a single URI.

  • allAreExistingAwsS3Uris(): Scalar. Checks that all strings are existing URIs.

Note

Updated 2023-11-03.

See Also

  • ⁠aws help⁠.

  • https://www.learnaws.org/2023/01/30/aws-s3-cli-check-file/

  • koopa function koopa_is_existing_aws_s3_uri.

Examples

## TRUE ====
## > isAnExistingAwsS3Uri(
## >     x = "s3://koopa.acidgenomics.com/install",
## >     profile = "acidgenomics"
## > )

## FALSE ====
## > isAnExistingAwsS3Uri(
## >     x = "s3://koopa.acidgenomics.com/foo",
## >     profile = "acidgenomics"
## > )

steinbaugh/goalie documentation built on Jan. 17, 2024, 5:16 p.m.