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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

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
  },
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#s3_data_sourceTypes::LabelingJobS3DataSource

The Amazon S3 location of the input data objects.



13912
13913
13914
13915
13916
13917
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 13912

class LabelingJobDataSource < Struct.new(
  :s3_data_source,
  :sns_data_source)
  SENSITIVE = []
  include Aws::Structure
end

#sns_data_sourceTypes::LabelingJobSnsDataSource

An Amazon SNS data source used for streaming labeling jobs.



13912
13913
13914
13915
13916
13917
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 13912

class LabelingJobDataSource < Struct.new(
  :s3_data_source,
  :sns_data_source)
  SENSITIVE = []
  include Aws::Structure
end