aws_query_string_auth_url: Generating URLs for S3 resources with query string request...

Description Usage Arguments

View source: R/p.s3.R

Description

Generating URLs, optionally shortened, for S3 resources with query string request authentication for the specified time interval.

Usage

1
2
3
4
5
6
7
aws_query_string_auth_url(dt = NULL, full_name = NULL,
  region = "us-east-1",
  aws_access_key_id = data.table::fread("~/publicread.access.id.txt", header =
  FALSE)$V1,
  aws_secret_access_key = data.table::fread("~/publicread.secret.key.txt",
  header = FALSE)$V1, lifetime_minutes = 60, lifetime_days = NULL,
  bitly = FALSE)

Arguments

dt

Data table. Output from index_S3_objects.

full_name

Character. Objects to lookup.

region

AWS region the bucket is located in.

aws_access_key_id

access key ID for an IAM user with access to the S3 bucket.

aws_secret_access_key

secret access key for an IAM user with access to the S3 bucket.

lifetime_minutes

Numeric. Duration in minutes after which the URL will expire.

lifetime_days

Numeric. Duration in days after which the URL will expire.

bitly

Logical. Generated a shortened url using bit.ly?


andrewrech/p.s3 documentation built on Jan. 6, 2019, 3:03 a.m.