Class: Aws::Personalize::Types::CreateDatasetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Personalize::Types::CreateDatasetRequest
- 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
-
#dataset_group_arn ⇒ String
The Amazon Resource Name (ARN) of the dataset group to add the dataset to.
-
#dataset_type ⇒ String
The type of dataset.
-
#name ⇒ String
The name for the dataset.
-
#schema_arn ⇒ String
The ARN of the schema to associate with the dataset.
-
#tags ⇒ Array<Types::Tag>
A list of [tags][1] to apply to the dataset.
Instance Attribute Details
#dataset_group_arn ⇒ String
The Amazon Resource Name (ARN) of the dataset group to add the dataset to.
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_type ⇒ String
The type of dataset.
One of the following (case insensitive) values:
Interactions
Items
Users
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 |
#name ⇒ String
The name for the dataset.
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_arn ⇒ String
The ARN of the schema to associate with the dataset. The schema defines the dataset fields.
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 |
#tags ⇒ Array<Types::Tag>
A list of tags to apply to the dataset.
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 |