class Aws::SageMaker::Types::LabelingJobDataSource
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.
@note When making an API call, you may pass LabelingJobDataSource
data as a hash: { s3_data_source: { manifest_s3_uri: "S3Uri", # required }, sns_data_source: { sns_topic_arn: "SnsTopicArn", # required }, }
@!attribute [rw] s3_data_source
The Amazon S3 location of the input data objects. @return [Types::LabelingJobS3DataSource]
@!attribute [rw] sns_data_source
An Amazon SNS data source used for streaming labeling jobs. To learn more, see [Send Data to a Streaming Labeling Job][1]. [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-labeling-job.html#sms-streaming-how-it-works-send-data @return [Types::LabelingJobSnsDataSource]
@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/LabelingJobDataSource AWS API Documentation
Constants
- SENSITIVE