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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



911
912
913
914
915
916
917
918
# File 'lib/aws-sdk-rekognition/types.rb', line 911

class CreateDatasetRequest < Struct.new(
  :dataset_source,
  :dataset_type,
  :project_arn,
  :tags)
  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)


911
912
913
914
915
916
917
918
# File 'lib/aws-sdk-rekognition/types.rb', line 911

class CreateDatasetRequest < Struct.new(
  :dataset_source,
  :dataset_type,
  :project_arn,
  :tags)
  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)


911
912
913
914
915
916
917
918
# File 'lib/aws-sdk-rekognition/types.rb', line 911

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

#tagsHash<String,String>

A set of tags (key-value pairs) that you want to attach to the dataset.

Returns:

  • (Hash<String,String>)


911
912
913
914
915
916
917
918
# File 'lib/aws-sdk-rekognition/types.rb', line 911

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