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.



906
907
908
909
910
911
912
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 906

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)


906
907
908
909
910
911
912
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 906

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)


906
907
908
909
910
911
912
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 906

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