WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center
"AmazonS3" (Data Connection)

"AmazonS3" (Data Connection)

Details

Properties

  • DataConnectionObject [assoc] creates a reference to a data source. The source does not need to exist yet.
  • General keys typically found in assoc are:
  • "ConnectionName" "AmazonS3"
    "Location" path to S3 object
    "Redownload" whether to redownload cache files
  • Required keys in assoc are:
  • "Bucket" string giving bucket the object is located
    "Region" the region the bucket is located
  • Possible forms of "Location" when connecting to Amazon S3 include:
  • "key" assigned name
  • Use Import to retrieve data from the linked resource.
  • Account Setting & Authentication

  • Possible values for Authentication are:
  • Automatic attempt to use saved credentials or give a dialog
    "Dialog" give authentication parameters via a dialog
    SystemCredential ["key"] retrieve authentication information from secure storage
    SystemCredentialData [] stored authentication data
    assoc provide explicit credentials
  • Use the form Authentication :> SystemCredential ["key"] to delay evaluating securely stored credentials.
  • The following keys are accepted by Authentication assoc:
  • "AccountKeyID" account key ID
    "AccountSecret" account secret
  • Examples

    open all close all

    Basic Examples  (2)

    Create a DataConnectionObject to data located on Amazon S3:

    Wolfram Language code: DataConnectionObject[ <|"ConnectionName" -> "AmazonS3", "Region" -> "us-east-2", "Bucket" -> "wolframdataconnection", "Location" -> "samples/sample.parquet"|>]

    Retrieve data from Amazon S3 using Import :

    Wolfram Language code: Import@DataConnectionObject[ <|"ConnectionName" -> "AmazonS3", "Region" -> "us-east-2", "Bucket" -> "wolframdataconnection", "Location" -> "samples/sample.parquet"|>]

    Authentication  (1)

    Give credentials to Amazon S3:

    Wolfram Language code: Import@DataConnectionObject[ <|"ConnectionName" -> "AmazonS3", "Region" -> "us-east-2", "Bucket" -> "wolframdataconnection", "Location" -> "samples/sample.parquet"|>, Authentication -> <|"AccountKeyID" -> "AccountName", "AccountSecret" -> "Password"|>]

    See Also

    DataConnectionObject   Import

    Data Connections: AzureBlobStorage   Dropbox   Kaggle   OneDrive

    Top [フレーム]

    AltStyle によって変換されたページ (->オリジナル) /