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.

The source that Amazon Rekognition Custom Labels uses to create a dataset. To use an Amazon Sagemaker format manifest file, specify the S3 bucket location in the GroundTruthManifest field. The S3 bucket must be in your AWS account. To create a copy of an existing dataset, specify the Amazon Resource Name (ARN) of an existing dataset in DatasetArn.

You need to specify a value for DatasetArn or GroundTruthManifest, but not both. if you supply both values, or if you don't specify any values, an InvalidParameterException exception occurs.

For more information, see CreateDataset.

Inheritance Hierarchy

System.Object
  Amazon.Rekognition.Model.DatasetSource

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

Syntax

C#
public class DatasetSource

The DatasetSource type exposes the following members

Constructors

NameDescription
Public Method DatasetSource()

Properties

NameTypeDescription
Public Property DatasetArn System.String

Gets and sets the property DatasetArn.

The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.

Public Property GroundTruthManifest Amazon.Rekognition.Model.GroundTruthManifest

Gets and sets the property GroundTruthManifest.

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