Personalize / Client / update_dataset

update_dataset#

Personalize.Client.update_dataset(**kwargs)#

Update a dataset to replace its schema with a new or existing one. For more information, see Replacing a dataset’s schema.

See also: AWS API Documentation

Request Syntax

response = client.update_dataset(
    datasetArn='string',
    schemaArn='string'
)
Parameters:
  • datasetArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the dataset that you want to update.

  • schemaArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the new schema you want use.

Return type:

dict

Returns:

Response Syntax

{
    'datasetArn': 'string'
}

Response Structure

  • (dict) –

    • datasetArn (string) –

      The Amazon Resource Name (ARN) of the dataset you updated.

Exceptions

  • Personalize.Client.exceptions.InvalidInputException

  • Personalize.Client.exceptions.ResourceNotFoundException

  • Personalize.Client.exceptions.ResourceInUseException