AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the data source that contains the data to upload to a dataset, or the list of records to delete from Amazon Personalize.

Inheritance Hierarchy

System.Object
  Amazon.Personalize.Model.DataSource

Namespace: Amazon.Personalize.Model
Assembly: AWSSDK.Personalize.dll
Version: 3.x.y.z

Syntax

C#
public class DataSource

The DataSource type exposes the following members

Constructors

NameDescription
Public Method DataSource()

Properties

NameTypeDescription
Public Property DataLocation System.String

Gets and sets the property DataLocation.

For dataset import jobs, the path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For data deletion jobs, the path to the Amazon S3 bucket that stores the list of records to delete.

For example:

s3://bucket-name/folder-name/fileName.csv

If your CSV files are in a folder in your Amazon S3 bucket and you want your import job or data deletion job to consider multiple files, you can specify the path to the folder. With a data deletion job, Amazon Personalize uses all files in the folder and any sub folder. Use the following syntax with a / after the folder name:

s3://bucket-name/folder-name/

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5