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
  tags: [
    {
      tag_key: "TagKey", # required
      tag_value: "TagValue", # 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)


1416
1417
1418
1419
1420
1421
1422
1423
1424
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1416

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

#dataset_typeString

The type of dataset.

One of the following (case insensitive) values:

  • Interactions

  • Items

  • Users

Returns:

  • (String)


1416
1417
1418
1419
1420
1421
1422
1423
1424
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1416

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

#nameString

The name for the dataset.

Returns:

  • (String)


1416
1417
1418
1419
1420
1421
1422
1423
1424
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1416

class CreateDatasetRequest < Struct.new(
  :name,
  :schema_arn,
  :dataset_group_arn,
  :dataset_type,
  :tags)
  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)


1416
1417
1418
1419
1420
1421
1422
1423
1424
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1416

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

#tagsArray<Types::Tag>

A list of tags to apply to the dataset.

Returns:



1416
1417
1418
1419
1420
1421
1422
1423
1424
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1416

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