Package-level declarations

Types

Link copied to clipboard

Amazon Personalize is a machine learning service that makes it easy to add individualized recommendations to customers.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard

Generates batch recommendations based on a list of items or users stored in Amazon S3 and exports the recommendations to an Amazon S3 bucket.

Link copied to clipboard

Creates a batch segment job. The operation can handle up to 50 million records and the input file must be in JSON format. For more information, see Getting batch recommendations and user segments.

Link copied to clipboard

You incur campaign costs while it is active. To avoid unnecessary costs, make sure to delete the campaign when you are finished. For information about campaign costs, see Amazon Personalize pricing.

Link copied to clipboard

Creates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches. You specify the users to delete in a CSV file of userIds in an Amazon S3 bucket. After a job completes, Amazon Personalize no longer trains on the users’ data and no longer considers the users when generating user segments. For more information about creating a data deletion job, see Deleting users.

Link copied to clipboard

Creates an empty dataset and adds it to the specified dataset group. Use CreateDatasetImportJob to import your training data to a dataset.

Link copied to clipboard

Creates a job that exports data from your dataset to an Amazon S3 bucket. To allow Amazon Personalize to export the training data, you must specify an service-linked IAM role that gives Amazon Personalize PutObject permissions for your Amazon S3 bucket. For information, see Exporting a dataset in the Amazon Personalize developer guide.

Link copied to clipboard

Creates an empty dataset group. A dataset group is a container for Amazon Personalize resources. A dataset group can contain at most three datasets, one for each type of dataset:

Link copied to clipboard

Creates a job that imports training data from your data source (an Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon Personalize to import the training data, you must specify an IAM service role that has permission to read from the data source, as Amazon Personalize makes a copy of your data and processes it internally. For information on granting access to your Amazon S3 bucket, see Giving Amazon Personalize Access to Amazon S3 Resources.

Link copied to clipboard

Creates an event tracker that you use when adding event data to a specified dataset group using the PutEvents API.

Link copied to clipboard

Creates a recommendation filter. For more information, see Filtering recommendations and user segments.

Link copied to clipboard

Creates a metric attribution. A metric attribution creates reports on the data that you import into Amazon Personalize. Depending on how you imported the data, you can view reports in Amazon CloudWatch or Amazon S3. For more information, see Measuring impact of recommendations.

Link copied to clipboard

Creates a recommender with the recipe (a Domain dataset group use case) you specify. You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a GetRecommendations request.

Link copied to clipboard

Creates an Amazon Personalize schema from the specified schema string. The schema you create must be in Avro JSON format.

Link copied to clipboard

By default, all new solutions use automatic training. With automatic training, you incur training costs while your solution is active. To avoid unnecessary costs, when you are finished you can update the solution to turn off automatic training. For information about training costs, see Amazon Personalize pricing.

Link copied to clipboard

Trains or retrains an active solution in a Custom dataset group. A solution is created using the CreateSolution operation and must be in the ACTIVE state before calling CreateSolutionVersion. A new version of the solution is created every time you call this operation.

Link copied to clipboard

Removes a campaign by deleting the solution deployment. The solution that the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no longer be specified in a GetRecommendations request. For information on creating campaigns, see CreateCampaign.

Link copied to clipboard

Deletes a dataset. You can't delete a dataset if an associated DatasetImportJob or SolutionVersion is in the CREATE PENDING or IN PROGRESS state. For more information about deleting datasets, see Deleting a dataset.

Link copied to clipboard

Deletes a dataset group. Before you delete a dataset group, you must delete the following:

Link copied to clipboard

Deletes the event tracker. Does not delete the dataset from the dataset group. For more information on event trackers, see CreateEventTracker.

Link copied to clipboard

Deletes a filter.

Link copied to clipboard

Deletes a metric attribution.

Link copied to clipboard

Deactivates and removes a recommender. A deleted recommender can no longer be specified in a GetRecommendations request.

Link copied to clipboard

Deletes a schema. Before deleting a schema, you must delete all datasets referencing the schema. For more information on schemas, see CreateSchema.

Link copied to clipboard

Deletes all versions of a solution and the Solution object itself. Before deleting a solution, you must delete all campaigns based on the solution. To determine what campaigns are using the solution, call ListCampaigns and supply the Amazon Resource Name (ARN) of the solution. You can't delete a solution if an associated SolutionVersion is in the CREATE PENDING or IN PROGRESS state. For more information on solutions, see CreateSolution.

Link copied to clipboard

Describes the given algorithm.

Link copied to clipboard

Gets the properties of a batch inference job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate the recommendations.

Link copied to clipboard

Gets the properties of a batch segment job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate segments.

Link copied to clipboard

Describes the given campaign, including its status.

Link copied to clipboard

Describes the data deletion job created by CreateDataDeletionJob, including the job status.

Link copied to clipboard

Describes the given dataset. For more information on datasets, see CreateDataset.

Link copied to clipboard

Describes the dataset export job created by CreateDatasetExportJob, including the export job status.

Link copied to clipboard

Describes the given dataset group. For more information on dataset groups, see CreateDatasetGroup.

Link copied to clipboard

Describes the dataset import job created by CreateDatasetImportJob, including the import job status.

Link copied to clipboard

Describes an event tracker. The response includes the trackingId and status of the event tracker. For more information on event trackers, see CreateEventTracker.

Link copied to clipboard

Describes the given feature transformation.

Link copied to clipboard

Describes a filter's properties.

Link copied to clipboard

Describes a metric attribution.

Link copied to clipboard

Describes a recipe.

Link copied to clipboard

Describes the given recommender, including its status.

Link copied to clipboard

Describes a schema. For more information on schemas, see CreateSchema.

Link copied to clipboard

Describes a solution. For more information on solutions, see CreateSolution.

Link copied to clipboard

Describes a specific version of a solution. For more information on solutions, see CreateSolution

Link copied to clipboard

Gets the metrics for the specified solution version.

Link copied to clipboard

Gets a list of the batch inference jobs that have been performed off of a solution version.

Link copied to clipboard

Gets a list of the batch segment jobs that have been performed off of a solution version that you specify.

Link copied to clipboard

Returns a list of campaigns that use the given solution. When a solution is not specified, all the campaigns associated with the account are listed. The response provides the properties for each campaign, including the Amazon Resource Name (ARN). For more information on campaigns, see CreateCampaign.

Link copied to clipboard

Returns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first. When a dataset group is not specified, all the data deletion jobs associated with the account are listed. The response provides the properties for each job, including the Amazon Resource Name (ARN). For more information on data deletion jobs, see Deleting users.

Link copied to clipboard

Returns a list of dataset export jobs that use the given dataset. When a dataset is not specified, all the dataset export jobs associated with the account are listed. The response provides the properties for each dataset export job, including the Amazon Resource Name (ARN). For more information on dataset export jobs, see CreateDatasetExportJob. For more information on datasets, see CreateDataset.

Link copied to clipboard

Returns a list of dataset groups. The response provides the properties for each dataset group, including the Amazon Resource Name (ARN). For more information on dataset groups, see CreateDatasetGroup.

Link copied to clipboard

Returns a list of dataset import jobs that use the given dataset. When a dataset is not specified, all the dataset import jobs associated with the account are listed. The response provides the properties for each dataset import job, including the Amazon Resource Name (ARN). For more information on dataset import jobs, see CreateDatasetImportJob. For more information on datasets, see CreateDataset.

Link copied to clipboard

Returns the list of datasets contained in the given dataset group. The response provides the properties for each dataset, including the Amazon Resource Name (ARN). For more information on datasets, see CreateDataset.

Link copied to clipboard

Returns the list of event trackers associated with the account. The response provides the properties for each event tracker, including the Amazon Resource Name (ARN) and tracking ID. For more information on event trackers, see CreateEventTracker.

Link copied to clipboard

Lists all filters that belong to a given dataset group.

Link copied to clipboard

Lists the metrics for the metric attribution.

Link copied to clipboard

Lists metric attributions.

Link copied to clipboard

Returns a list of available recipes. The response provides the properties for each recipe, including the recipe's Amazon Resource Name (ARN).

Link copied to clipboard

Returns a list of recommenders in a given Domain dataset group. When a Domain dataset group is not specified, all the recommenders associated with the account are listed. The response provides the properties for each recommender, including the Amazon Resource Name (ARN). For more information on recommenders, see CreateRecommender.

Link copied to clipboard

Returns the list of schemas associated with the account. The response provides the properties for each schema, including the Amazon Resource Name (ARN). For more information on schemas, see CreateSchema.

Link copied to clipboard

Returns a list of solutions in a given dataset group. When a dataset group is not specified, all the solutions associated with the account are listed. The response provides the properties for each solution, including the Amazon Resource Name (ARN). For more information on solutions, see CreateSolution.

Link copied to clipboard

Returns a list of solution versions for the given solution. When a solution is not specified, all the solution versions associated with the account are listed. The response provides the properties for each solution version, including the Amazon Resource Name (ARN).

Link copied to clipboard

Get a list of tags attached to a resource.

Link copied to clipboard

Starts a recommender that is INACTIVE. Starting a recommender does not create any new models, but resumes billing and automatic retraining for the recommender.

Link copied to clipboard

Stops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic retraining for the recommender.

Link copied to clipboard

Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.

Link copied to clipboard

Add a list of tags to a resource.

Link copied to clipboard

Removes the specified tags that are attached to a resource. For more information, see Removing tags from Amazon Personalize resources.

Link copied to clipboard

Updates a campaign to deploy a retrained solution version with an existing campaign, change your campaign's minProvisionedTPS, or modify your campaign's configuration. For example, you can set enableMetadataWithRecommendations to true for an existing campaign.

Link copied to clipboard

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

Link copied to clipboard

Updates a metric attribution.

Link copied to clipboard

Updates the recommender to modify the recommender configuration. If you update the recommender to modify the columns used in training, Amazon Personalize automatically starts a full retraining of the models backing your recommender. While the update completes, you can still get recommendations from the recommender. The recommender uses the previous configuration until the update completes. To track the status of this update, use the latestRecommenderUpdate returned in the DescribeRecommender operation.

Link copied to clipboard

Updates an Amazon Personalize solution to use a different automatic training configuration. When you update a solution, you can change whether the solution uses automatic training, and you can change the training frequency. For more information about updating a solution, see Updating a solution.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.