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

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

Constant Summary collapse

SENSITIVE =
[]

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)


904
905
906
907
908
909
910
911
# File 'lib/aws-sdk-personalize/types.rb', line 904

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

#dataset_typeString

The type of dataset.

One of the following (case insensitive) values:

  • Interactions

  • Items

  • Users

Returns:

  • (String)


904
905
906
907
908
909
910
911
# File 'lib/aws-sdk-personalize/types.rb', line 904

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

#nameString

The name for the dataset.

Returns:

  • (String)


904
905
906
907
908
909
910
911
# File 'lib/aws-sdk-personalize/types.rb', line 904

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

#schema_arnString

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

Returns:

  • (String)


904
905
906
907
908
909
910
911
# File 'lib/aws-sdk-personalize/types.rb', line 904

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