You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SageMaker::Types::LabelingJobDataSource

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LabelingJobDataSource as input to an Aws::Client method, you can use a vanilla Hash:

{
  s3_data_source: {
    manifest_s3_uri: "S3Uri", # required
  },
  sns_data_source: {
    sns_topic_arn: "SnsTopicArn", # required
  },
}

Provides information about the location of input data.

You must specify at least one of the following: S3DataSource or SnsDataSource.

Use SnsDataSource to specify an SNS input topic for a streaming labeling job. If you do not specify and SNS input topic ARN, Ground Truth will create a one-time labeling job.

Use S3DataSource to specify an input manifest file for both streaming and one-time labeling jobs. Adding an S3DataSource is optional if you use SnsDataSource to create a streaming labeling job.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#s3_data_sourceTypes::LabelingJobS3DataSource

The Amazon S3 location of the input data objects.

Returns:

#sns_data_sourceTypes::LabelingJobSnsDataSource

An Amazon SNS data source used for streaming labeling jobs.

Returns: