personalize function

Amazon Personalize

Amazon Personalize

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

personalize( config = list(), credentials = list(), endpoint = NULL, region = NULL )

Arguments

  • config: Optional configuration of credentials, endpoint, and/or region.

    • credentials :

      • creds :

        • access_key_id : AWS access key ID
        • secret_access_key : AWS secret access key
        • session_token : AWS temporary session token
      • profile : The name of a profile to use. If not given, then the default profile is used.

      • anonymous : Set anonymous credentials.

    • endpoint : The complete URL to use for the constructed client.

    • region : The AWS Region used in instantiating the client.

    • close_connection : Immediately close all HTTP connections.

    • timeout : The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

    • s3_force_path_style : Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

    • sts_regional_endpoint : Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

  • credentials: Optional credentials shorthand for the config parameter

    • creds :

      • access_key_id : AWS access key ID
      • secret_access_key : AWS secret access key
      • session_token : AWS temporary session token
    • profile : The name of a profile to use. If not given, then the default profile is used.

    • anonymous : Set anonymous credentials.

  • endpoint: Optional shorthand for complete URL to use for the constructed client.

  • region: Optional shorthand for AWS Region used in instantiating the client.

Returns

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Service syntax

svc <- personalize(
  config = list(
    credentials = list(
 creds = list(
   access_key_id = "string",
   secret_access_key = "string",
   session_token = "string"
 ),
 profile = "string",
 anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
 access_key_id = "string",
 secret_access_key = "string",
 session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

Operations

create_batch_inference_jobGenerates batch recommendations based on a list of items or users stored in Amazon S3 and exports the recommendations to an Amazon S3 bucket
create_batch_segment_jobCreates a batch segment job
create_campaignYou incur campaign costs while it is active
create_data_deletion_jobCreates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches
create_datasetCreates an empty dataset and adds it to the specified dataset group
create_dataset_export_jobCreates a job that exports data from your dataset to an Amazon S3 bucket
create_dataset_groupCreates an empty dataset group
create_dataset_import_jobCreates a job that imports training data from your data source (an Amazon S3 bucket) to an Amazon Personalize dataset
create_event_trackerCreates an event tracker that you use when adding event data to a specified dataset group using the PutEvents API
create_filterCreates a recommendation filter
create_metric_attributionCreates a metric attribution
create_recommenderCreates a recommender with the recipe (a Domain dataset group use case) you specify
create_schemaCreates an Amazon Personalize schema from the specified schema string
create_solutionBy default, all new solutions use automatic training
create_solution_versionTrains or retrains an active solution in a Custom dataset group
delete_campaignRemoves a campaign by deleting the solution deployment
delete_datasetDeletes a dataset
delete_dataset_groupDeletes a dataset group
delete_event_trackerDeletes the event tracker
delete_filterDeletes a filter
delete_metric_attributionDeletes a metric attribution
delete_recommenderDeactivates and removes a recommender
delete_schemaDeletes a schema
delete_solutionDeletes all versions of a solution and the Solution object itself
describe_algorithmDescribes the given algorithm
describe_batch_inference_jobGets 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
describe_batch_segment_jobGets 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
describe_campaignDescribes the given campaign, including its status
describe_data_deletion_jobDescribes the data deletion job created by CreateDataDeletionJob, including the job status
describe_datasetDescribes the given dataset
describe_dataset_export_jobDescribes the dataset export job created by CreateDatasetExportJob, including the export job status
describe_dataset_groupDescribes the given dataset group
describe_dataset_import_jobDescribes the dataset import job created by CreateDatasetImportJob, including the import job status
describe_event_trackerDescribes an event tracker
describe_feature_transformationDescribes the given feature transformation
describe_filterDescribes a filter's properties
describe_metric_attributionDescribes a metric attribution
describe_recipeDescribes a recipe
describe_recommenderDescribes the given recommender, including its status
describe_schemaDescribes a schema
describe_solutionDescribes a solution
describe_solution_versionDescribes a specific version of a solution
get_solution_metricsGets the metrics for the specified solution version
list_batch_inference_jobsGets a list of the batch inference jobs that have been performed off of a solution version
list_batch_segment_jobsGets a list of the batch segment jobs that have been performed off of a solution version that you specify
list_campaignsReturns a list of campaigns that use the given solution
list_data_deletion_jobsReturns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first
list_dataset_export_jobsReturns a list of dataset export jobs that use the given dataset
list_dataset_groupsReturns a list of dataset groups
list_dataset_import_jobsReturns a list of dataset import jobs that use the given dataset
list_datasetsReturns the list of datasets contained in the given dataset group
list_event_trackersReturns the list of event trackers associated with the account
list_filtersLists all filters that belong to a given dataset group
list_metric_attribution_metricsLists the metrics for the metric attribution
list_metric_attributionsLists metric attributions
list_recipesReturns a list of available recipes
list_recommendersReturns a list of recommenders in a given Domain dataset group
list_schemasReturns the list of schemas associated with the account
list_solutionsReturns a list of solutions in a given dataset group
list_solution_versionsReturns a list of solution versions for the given solution
list_tags_for_resourceGet a list of tags attached to a resource
start_recommenderStarts a recommender that is INACTIVE
stop_recommenderStops a recommender that is ACTIVE
stop_solution_version_creationStops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS
tag_resourceAdd a list of tags to a resource
untag_resourceRemoves the specified tags that are attached to a resource
update_campaignUpdates a campaign to deploy a retrained solution version with an existing campaign, change your campaign's minProvisionedTPS, or modify your campaign's configuration
update_datasetUpdate a dataset to replace its schema with a new or existing one
update_metric_attributionUpdates a metric attribution
update_recommenderUpdates the recommender to modify the recommender configuration
update_solutionUpdates an Amazon Personalize solution to use a different automatic training configuration

Examples

## Not run: svc <- personalize() svc$create_batch_inference_job( Foo = 123 ) ## End(Not run)
  • Maintainer: Dyfan Jones
  • License: Apache License (>= 2.0)
  • Last published: 2025-03-17