Class: Aws::Rekognition::Types::CreateDatasetRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataset_sourceTypes::DatasetSource

The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.



727
728
729
730
731
732
733
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 727

class CreateDatasetRequest < Struct.new(
  :dataset_source,
  :dataset_type,
  :project_arn)
  SENSITIVE = []
  include Aws::Structure
end

#dataset_typeString

The type of the dataset. Specify train to create a training dataset. Specify test to create a test dataset.

Returns:

  • (String)


727
728
729
730
731
732
733
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 727

class CreateDatasetRequest < Struct.new(
  :dataset_source,
  :dataset_type,
  :project_arn)
  SENSITIVE = []
  include Aws::Structure
end

#project_arnString

The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.

Returns:

  • (String)


727
728
729
730
731
732
733
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 727

class CreateDatasetRequest < Struct.new(
  :dataset_source,
  :dataset_type,
  :project_arn)
  SENSITIVE = []
  include Aws::Structure
end