Skip to content

CreateDatasetRequest

Source code in docs_src/capo_personalize/types/create_dataset_request.py
class CreateDatasetRequest(TypedDict, closed=True):
    name: "capo_personalize.types.name.Name"
    """<p>The name for the dataset.</p>"""
    schema_arn: "capo_personalize.types.arn.Arn"
    """<p>The ARN of the schema to associate with the dataset. The schema defines the dataset fields.</p>"""
    dataset_group_arn: "capo_personalize.types.arn.Arn"
    """<p>The Amazon Resource Name (ARN) of the dataset group to add the dataset to.</p>"""
    dataset_type: "capo_personalize.types.dataset_type.DatasetType"
    """<p>The type of dataset.</p> <p>One of the following (case insensitive) values:</p> <ul> <li> <p>Interactions</p> </li> <li> <p>Items</p> </li> <li> <p>Users</p> </li> <li> <p>Actions</p> </li> <li> <p>Action_Interactions</p> </li> </ul>"""
    tags: NotRequired["capo_personalize.types.tags.Tags"]
    """<p>A list of <a href="https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html">tags</a> to apply to the dataset.</p>"""

dataset_group_arn instance-attribute

dataset_group_arn: Arn

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

dataset_type instance-attribute

dataset_type: DatasetType

The type of dataset.

One of the following (case insensitive) values:

  • Interactions

  • Items

  • Users

  • Actions

  • Action_Interactions

name instance-attribute

name: Name

The name for the dataset.

schema_arn instance-attribute

schema_arn: Arn

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

tags instance-attribute

tags: NotRequired[Tags]

A list of tags to apply to the dataset.