"AmazonS3" (Data Connection)
"AmazonS3" (Data Connection)
Details
- Use DataConnectionObject to represent data located in an Amazon S3 object in Wolfram Language.
- Import can be used to retrieve data from a DataConnectionObject .
Properties
"ConnectionName" "AmazonS3"
"Location" path to S3 object
"Redownload" whether to redownload cache files
"Bucket" string giving bucket the object is located
"Region" the region the bucket is located
"key" assigned name
Account Setting & Authentication
Automatic attempt to use saved credentials or give a dialog
"Dialog" give authentication parameters via a dialog
assoc provide explicit credentials
"AccountKeyID" account key ID
"AccountSecret" account secret
Examples
open all close allBasic Examples (2)
Create a DataConnectionObject to data located on Amazon S3:
DataConnectionObject[
<|"ConnectionName" -> "AmazonS3", "Region" -> "us-east-2", "Bucket" -> "wolframdataconnection", "Location" -> "samples/sample.parquet"|>]Retrieve data from Amazon S3 using Import :
Import@DataConnectionObject[
<|"ConnectionName" -> "AmazonS3", "Region" -> "us-east-2", "Bucket" -> "wolframdataconnection", "Location" -> "samples/sample.parquet"|>]Authentication (1)
Give credentials to Amazon S3:
Import@DataConnectionObject[
<|"ConnectionName" -> "AmazonS3", "Region" -> "us-east-2", "Bucket" -> "wolframdataconnection", "Location" -> "samples/sample.parquet"|>, Authentication -> <|"AccountKeyID" -> "AccountName", "AccountSecret" -> "Password"|>]