amazonaws.com – personalize
Amazon Personalize is a machine learning service that makes it easy to add individualized recommendations to customers.
- Homepage
- https://api.apis.guru/v2/specs/amazonaws.com:personalize/2018-05-22.json
- Provider
- amazonaws.com:personalize / personalize
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/amazonaws.com/personalize/2018-05-22/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/amazonaws.com/personalize/2018-05-22/openapi.yaml
Tools (68)
Extracted live via the executor SDK.
-
xAmzTargetAmazonPersonalizeCreateBatchInferenceJob.createBatchInferenceJobCreates a batch inference job. The operation can handle up to 50 million records and the input file must be in JSON format. For more information, see .
-
xAmzTargetAmazonPersonalizeCreateBatchSegmentJob.createBatchSegmentJobCreates 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 .
-
xAmzTargetAmazonPersonalizeCreateCampaign.createCampaignCreates a campaign that deploys a solution version. When a client calls the and APIs, a campaign is specified in the request.
Minimum Provisioned TPS and Auto-Scaling
A transaction is a single
GetRecommendationsorGetPersonalizedRankingcall. Transactions per second (TPS) is the throughput and unit of billing for Amazon Personalize. The minimum provisioned TPS (minProvisionedTPS) specifies the baseline throughput provisioned by Amazon Personalize, and thus, the minimum billing charge.If your TPS increases beyond
minProvisionedTPS, Amazon Personalize auto-scales the provisioned capacity up and down, but never belowminProvisionedTPS. There's a short time delay while the capacity is increased that might cause loss of transactions.The actual TPS used is calculated as the average requests/second within a 5-minute window. You pay for maximum of either the minimum provisioned TPS or the actual TPS. We recommend starting with a low
minProvisionedTPS, track your usage using Amazon CloudWatch metrics, and then increase theminProvisionedTPSas necessary.Status
A campaign can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
To get the campaign status, call .
Wait until the
statusof the campaign isACTIVEbefore asking the campaign for recommendations.Related APIs
-
-
xAmzTargetAmazonPersonalizeCreateDataset.createDatasetCreates an empty dataset and adds it to the specified dataset group. Use to import your training data to a dataset.
There are three types of datasets:
-
Interactions
-
Items
-
Users
Each dataset type has an associated schema with required field types. Only the
Interactionsdataset is required in order to train a model (also referred to as creating a solution).A dataset can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
To get the status of the dataset, call .
Related APIs
-
-
xAmzTargetAmazonPersonalizeCreateDatasetExportJob.createDatasetExportJobCreates 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
PutObjectpermissions for your Amazon S3 bucket. For information, see in the Amazon Personalize developer guide.Status
A dataset export job can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
To get the status of the export job, call , and specify the Amazon Resource Name (ARN) of the dataset export job. The dataset export is complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response includes a
failureReasonkey, which describes why the job failed. -
-
xAmzTargetAmazonPersonalizeCreateDatasetGroup.createDatasetGroupCreates 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:
-
Interactions
-
Items
-
Users
A dataset group can be a Domain dataset group, where you specify a domain and use pre-configured resources like recommenders, or a Custom dataset group, where you use custom resources, such as a solution with a solution version, that you deploy with a campaign. If you start with a Domain dataset group, you can still add custom resources such as solutions and solution versions trained with recipes for custom use cases and deployed with campaigns.
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 . If the status shows as CREATE FAILED, the response includes a
failureReasonkey, which describes why the creation failed.You must wait until the
statusof the dataset group isACTIVEbefore adding a dataset to the group.You can specify an Key Management Service (KMS) key to encrypt the datasets in the group. If you specify a KMS key, you must also include an 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
-
-
xAmzTargetAmazonPersonalizeCreateDatasetImportJob.createDatasetImportJobCreates 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 .
By default, a dataset import job replaces any existing data in the dataset that you imported in bulk. To add new records without replacing existing data, specify INCREMENTAL for the import mode in the CreateDatasetImportJob operation.
Status
A dataset import job can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
To get the status of the import job, call , providing the Amazon Resource Name (ARN) of the dataset import job. The dataset import is complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response includes a
failureReasonkey, which describes why the job failed.Importing takes time. You must wait until the status shows as ACTIVE before training a model using the dataset.
Related APIs
-
-
xAmzTargetAmazonPersonalizeCreateEventTracker.createEventTrackerCreates an event tracker that you use when adding event data to a specified dataset group using the API.
Only one event tracker can be associated with a dataset group. You will get an error if you call
CreateEventTrackerusing the same dataset group as an existing event tracker.When you create an event tracker, the response includes a tracking ID, which you pass as a parameter when you use the operation. Amazon Personalize then appends the event data to the Interactions dataset of the dataset group you specify in your event tracker.
The event tracker can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
To get the status of the event tracker, call .
The event tracker must be in the ACTIVE state before using the tracking ID.
Related APIs
-
-
xAmzTargetAmazonPersonalizeCreateFilter.createFilterCreates a recommendation filter. For more information, see .
-
xAmzTargetAmazonPersonalizeCreateMetricAttribution.createMetricAttributionCreates 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 .
-
xAmzTargetAmazonPersonalizeCreateRecommender.createRecommenderCreates 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 request.
Minimum recommendation requests per second
When you create a recommender, you can configure the recommender's minimum recommendation requests per second. The minimum recommendation requests per second (
minRecommendationRequestsPerSecond) specifies the baseline recommendation request throughput provisioned by Amazon Personalize. The default minRecommendationRequestsPerSecond is1. A recommendation request is a singleGetRecommendationsoperation. Request throughput is measured in requests per second and Amazon Personalize uses your requests per second to derive your requests per hour and the price of your recommender usage.If your requests per second increases beyond
minRecommendationRequestsPerSecond, Amazon Personalize auto-scales the provisioned capacity up and down, but never belowminRecommendationRequestsPerSecond. There's a short time delay while the capacity is increased that might cause loss of requests.Your bill is the greater of either the minimum requests per hour (based on minRecommendationRequestsPerSecond) or the actual number of requests. The actual request throughput used is calculated as the average requests/second within a one-hour window. We recommend starting with the default
minRecommendationRequestsPerSecond, track your usage using Amazon CloudWatch metrics, and then increase theminRecommendationRequestsPerSecondas necessary.Status
A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
To get the recommender status, call .
Wait until the
statusof the recommender isACTIVEbefore asking the recommender for recommendations.Related APIs
-
-
xAmzTargetAmazonPersonalizeCreateSchema.createSchemaCreates an Amazon Personalize schema from the specified schema string. The schema you create must be in Avro JSON format.
Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset type and has a set of required field and keywords. If you are creating a schema for a dataset in a Domain dataset group, you provide the domain of the Domain dataset group. You specify a schema when you call .
Related APIs
-
-
xAmzTargetAmazonPersonalizeCreateSolution.createSolutionCreates the configuration for training a model. A trained model is known as a solution. After the configuration is created, you train the model (create a solution) by calling the operation. Every time you call
CreateSolutionVersion, a new version of the solution is created.After creating a solution version, you check its accuracy by calling . When you are satisfied with the version, you deploy it using . The campaign provides recommendations to a client through the API.
To train a model, Amazon Personalize requires training data and a recipe. The training data comes from the dataset group that you provide in the request. A recipe specifies the training algorithm and a feature transformation. You can specify one of the predefined recipes provided by Amazon Personalize. Alternatively, you can specify
performAutoMLand Amazon Personalize will analyze your data and select the optimum USER_PERSONALIZATION recipe for you.Amazon Personalize doesn't support configuring the
hpoObjectivefor solution hyperparameter optimization at this time.Status
A solution can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
To get the status of the solution, call . Wait until the status shows as ACTIVE before calling
CreateSolutionVersion.Related APIs
-
-
xAmzTargetAmazonPersonalizeCreateSolutionVersion.createSolutionVersionTrains or retrains an active solution in a Custom dataset group. A solution is created using the 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.Status
A solution version can be in one of the following states:
-
CREATE PENDING
-
CREATE IN_PROGRESS
-
ACTIVE
-
CREATE FAILED
-
CREATE STOPPING
-
CREATE STOPPED
To get the status of the version, call . Wait until the status shows as ACTIVE before calling
CreateCampaign.If the status shows as CREATE FAILED, the response includes a
failureReasonkey, which describes why the job failed.Related APIs
-
-
xAmzTargetAmazonPersonalizeDeleteCampaign.deleteCampaignRemoves 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 request. For information on creating campaigns, see .
-
xAmzTargetAmazonPersonalizeDeleteDataset.deleteDatasetDeletes a dataset. You can't delete a dataset if an associated
DatasetImportJoborSolutionVersionis in the CREATE PENDING or IN PROGRESS state. For more information on datasets, see . -
xAmzTargetAmazonPersonalizeDeleteDatasetGroup.deleteDatasetGroupDeletes a dataset group. Before you delete a dataset group, you must delete the following:
-
All associated event trackers.
-
All associated solutions.
-
All datasets in the dataset group.
-
-
xAmzTargetAmazonPersonalizeDeleteEventTracker.deleteEventTrackerDeletes the event tracker. Does not delete the event-interactions dataset from the associated dataset group. For more information on event trackers, see .
-
xAmzTargetAmazonPersonalizeDeleteFilter.deleteFilterDeletes a filter.
-
xAmzTargetAmazonPersonalizeDeleteMetricAttribution.deleteMetricAttributionDeletes a metric attribution.
-
xAmzTargetAmazonPersonalizeDeleteRecommender.deleteRecommenderDeactivates and removes a recommender. A deleted recommender can no longer be specified in a request.
-
xAmzTargetAmazonPersonalizeDeleteSchema.deleteSchemaDeletes a schema. Before deleting a schema, you must delete all datasets referencing the schema. For more information on schemas, see .
-
xAmzTargetAmazonPersonalizeDeleteSolution.deleteSolutionDeletes all versions of a solution and the
Solutionobject itself. Before deleting a solution, you must delete all campaigns based on the solution. To determine what campaigns are using the solution, call and supply the Amazon Resource Name (ARN) of the solution. You can't delete a solution if an associatedSolutionVersionis in the CREATE PENDING or IN PROGRESS state. For more information on solutions, see . -
xAmzTargetAmazonPersonalizeDescribeAlgorithm.describeAlgorithmDescribes the given algorithm.
-
xAmzTargetAmazonPersonalizeDescribeBatchInferenceJob.describeBatchInferenceJobGets 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.
-
xAmzTargetAmazonPersonalizeDescribeBatchSegmentJob.describeBatchSegmentJobGets 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.
-
xAmzTargetAmazonPersonalizeDescribeCampaign.describeCampaignDescribes the given campaign, including its status.
A campaign can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
When the
statusisCREATE FAILED, the response includes thefailureReasonkey, which describes why.For more information on campaigns, see .
-
-
xAmzTargetAmazonPersonalizeDescribeDataset.describeDatasetDescribes the given dataset. For more information on datasets, see .
-
xAmzTargetAmazonPersonalizeDescribeDatasetExportJob.describeDatasetExportJobDescribes the dataset export job created by , including the export job status.
-
xAmzTargetAmazonPersonalizeDescribeDatasetGroup.describeDatasetGroupDescribes the given dataset group. For more information on dataset groups, see .
-
xAmzTargetAmazonPersonalizeDescribeDatasetImportJob.describeDatasetImportJobDescribes the dataset import job created by , including the import job status.
-
xAmzTargetAmazonPersonalizeDescribeEventTracker.describeEventTrackerDescribes an event tracker. The response includes the
trackingIdandstatusof the event tracker. For more information on event trackers, see . -
xAmzTargetAmazonPersonalizeDescribeFeatureTransformation.describeFeatureTransformationDescribes the given feature transformation.
-
xAmzTargetAmazonPersonalizeDescribeFilter.describeFilterDescribes a filter's properties.
-
xAmzTargetAmazonPersonalizeDescribeMetricAttribution.describeMetricAttributionDescribes a metric attribution.
-
xAmzTargetAmazonPersonalizeDescribeRecipe.describeRecipeDescribes a recipe.
A recipe contains three items:
-
An algorithm that trains a model.
-
Hyperparameters that govern the training.
-
Feature transformation information for modifying the input data before training.
Amazon Personalize provides a set of predefined recipes. You specify a recipe when you create a solution with the API.
CreateSolutiontrains a model by using the algorithm in the specified recipe and a training dataset. The solution, when deployed as a campaign, can provide recommendations using the API. -
-
xAmzTargetAmazonPersonalizeDescribeRecommender.describeRecommenderDescribes the given recommender, including its status.
A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
When the
statusisCREATE FAILED, the response includes thefailureReasonkey, which describes why.The
modelMetricskey is null when the recommender is being created or deleted.For more information on recommenders, see .
-
-
xAmzTargetAmazonPersonalizeDescribeSchema.describeSchemaDescribes a schema. For more information on schemas, see .
-
xAmzTargetAmazonPersonalizeDescribeSolution.describeSolutionDescribes a solution. For more information on solutions, see .
-
xAmzTargetAmazonPersonalizeDescribeSolutionVersion.describeSolutionVersionDescribes a specific version of a solution. For more information on solutions, see
-
xAmzTargetAmazonPersonalizeGetSolutionMetrics.getSolutionMetricsGets the metrics for the specified solution version.
-
xAmzTargetAmazonPersonalizeListBatchInferenceJobs.listBatchInferenceJobsGets a list of the batch inference jobs that have been performed off of a solution version.
-
xAmzTargetAmazonPersonalizeListBatchSegmentJobs.listBatchSegmentJobsGets a list of the batch segment jobs that have been performed off of a solution version that you specify.
-
xAmzTargetAmazonPersonalizeListCampaigns.listCampaignsReturns 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 .
-
xAmzTargetAmazonPersonalizeListDatasetExportJobs.listDatasetExportJobsReturns 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 . For more information on datasets, see .
-
xAmzTargetAmazonPersonalizeListDatasetGroups.listDatasetGroupsReturns 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 .
-
xAmzTargetAmazonPersonalizeListDatasetImportJobs.listDatasetImportJobsReturns 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 . For more information on datasets, see .
-
xAmzTargetAmazonPersonalizeListDatasets.listDatasetsReturns 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 .
-
xAmzTargetAmazonPersonalizeListEventTrackers.listEventTrackersReturns 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 .
-
xAmzTargetAmazonPersonalizeListFilters.listFiltersLists all filters that belong to a given dataset group.
-
xAmzTargetAmazonPersonalizeListMetricAttributionMetrics.listMetricAttributionMetricsLists the metrics for the metric attribution.
-
xAmzTargetAmazonPersonalizeListMetricAttributions.listMetricAttributionsLists metric attributions.
-
xAmzTargetAmazonPersonalizeListRecipes.listRecipesReturns a list of available recipes. The response provides the properties for each recipe, including the recipe's Amazon Resource Name (ARN).
-
xAmzTargetAmazonPersonalizeListRecommenders.listRecommendersReturns 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 .
-
xAmzTargetAmazonPersonalizeListSchemas.listSchemasReturns 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 .
-
xAmzTargetAmazonPersonalizeListSolutions.listSolutionsReturns a list of solutions that use the 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 .
-
xAmzTargetAmazonPersonalizeListSolutionVersions.listSolutionVersionsReturns 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).
-
xAmzTargetAmazonPersonalizeListTagsForResource.listTagsForResourceGet a list of attached to a resource.
-
xAmzTargetAmazonPersonalizeStartRecommender.startRecommenderStarts a recommender that is INACTIVE. Starting a recommender does not create any new models, but resumes billing and automatic retraining for the recommender.
-
xAmzTargetAmazonPersonalizeStopRecommender.stopRecommenderStops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic retraining for the recommender.
-
xAmzTargetAmazonPersonalizeStopSolutionVersionCreation.stopSolutionVersionCreationStops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.
Depending on the current state of the solution version, the solution version state changes as follows:
-
CREATE_PENDING > CREATE_STOPPED
or
-
CREATE_IN_PROGRESS > CREATE_STOPPING > CREATE_STOPPED
You are billed for all of the training completed up until you stop the solution version creation. You cannot resume creating a solution version once it has been stopped.
-
-
xAmzTargetAmazonPersonalizeTagResource.tagResourceAdd a list of tags to a resource.
-
xAmzTargetAmazonPersonalizeUntagResource.untagResourceRemove that are attached to a resource.
-
xAmzTargetAmazonPersonalizeUpdateCampaign.updateCampaignUpdates a campaign by either deploying a new solution or changing the value of the campaign's
minProvisionedTPSparameter.To update a campaign, the campaign status must be ACTIVE or CREATE FAILED. Check the campaign status using the operation.
You can still get recommendations from a campaign while an update is in progress. The campaign will use the previous solution version and campaign configuration to generate recommendations until the latest campaign update status is
Active.For more information on campaigns, see .
-
xAmzTargetAmazonPersonalizeUpdateMetricAttribution.updateMetricAttributionUpdates a metric attribution.
-
xAmzTargetAmazonPersonalizeUpdateRecommender.updateRecommenderUpdates the recommender to modify the recommender configuration.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools