Class: Aws::Personalize::Types::CreateDatasetRequest

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

Overview

Note:

When making an API call, you may pass CreateDatasetRequest data as a hash:

{
  name: "Name", # required
  schema_arn: "Arn", # required
  dataset_group_arn: "Arn", # required
  dataset_type: "DatasetType", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#dataset_group_arnString

The Amazon Resource Name (ARN) of the dataset group to add the dataset to.

Returns:

  • (String)


782
783
784
785
786
787
788
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 782

class CreateDatasetRequest < Struct.new(
  :name,
  :schema_arn,
  :dataset_group_arn,
  :dataset_type)
  include Aws::Structure
end

#dataset_typeString

The type of dataset.

One of the following (case insensitive) values:

  • Interactions

  • Items

  • Users

Returns:

  • (String)


782
783
784
785
786
787
788
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 782

class CreateDatasetRequest < Struct.new(
  :name,
  :schema_arn,
  :dataset_group_arn,
  :dataset_type)
  include Aws::Structure
end

#nameString

The name for the dataset.

Returns:

  • (String)


782
783
784
785
786
787
788
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 782

class CreateDatasetRequest < Struct.new(
  :name,
  :schema_arn,
  :dataset_group_arn,
  :dataset_type)
  include Aws::Structure
end

#schema_arnString

The ARN of the schema to associate with the dataset. The schema defines the dataset fields.

Returns:

  • (String)


782
783
784
785
786
787
788
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 782

class CreateDatasetRequest < Struct.new(
  :name,
  :schema_arn,
  :dataset_group_arn,
  :dataset_type)
  include Aws::Structure
end