Rdocumentation
powered by
Learn R Programming
aws.s3 (version 0.1.34)
put_object: Put object
Description
Puts an object into an S3 bucket
Usage
put_object(file, object, bucket, headers = list(), ...)
Arguments
file
A character string containing the filename (or full path) of the file you want to upload to S3.
object
A character string containing the name the object should have in S3 (i.e., its "object key"). If missing, the filename is used.
bucket
Character string with the name of the bucket, or an object of class s3_bucket.
headers
List of request headers for the REST call.
...
Additional arguments passed to
s3HTTP
.
Value
If successful,
TRUE
, otherwise an aws_error object.
References
API Documentation
See Also
delete_object