Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

personalize_create_dataset_group

Creates an empty dataset group


Description

Creates an empty dataset group. A dataset group contains related datasets that supply data for training a model. A dataset group can contain at most three datasets, one for each type of dataset:

  • Interactions

  • Items

  • Users

To train a model (create a solution), a dataset group that contains an Interactions dataset is required. Call create_dataset to add a dataset to the group.

A dataset group can be in one of the following states:

  • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

  • DELETE PENDING

To get the status of the dataset group, call describe_dataset_group. If the status shows as CREATE FAILED, the response includes a failureReason key, which describes why the creation failed.

You must wait until the status of the dataset group is ACTIVE before adding a dataset to the group.

You can specify an AWS Key Management Service (KMS) key to encrypt the datasets in the group. If you specify a KMS key, you must also include an AWS Identity and Access Management (IAM) role that has permission to access the key.

APIs that require a dataset group ARN in the request

Related APIs

Usage

personalize_create_dataset_group(name, roleArn, kmsKeyArn)

Arguments

name

[required] The name for the new dataset group.

roleArn

The ARN of the IAM role that has permissions to access the KMS key. Supplying an IAM role is only valid when also specifying a KMS key.

kmsKeyArn

The Amazon Resource Name (ARN) of a KMS key used to encrypt the datasets.

Value

A list with the following syntax:

list(
  datasetGroupArn = "string"
)

Request syntax

svc$create_dataset_group(
  name = "string",
  roleArn = "string",
  kmsKeyArn = "string"
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.