[][src]Trait rusoto_personalize::Personalize

pub trait Personalize {
#[must_use]    pub fn create_batch_inference_job<'life0, 'async_trait>(
        &'life0 self,
        input: CreateBatchInferenceJobRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateBatchInferenceJobResponse, RusotoError<CreateBatchInferenceJobError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_campaign<'life0, 'async_trait>(
        &'life0 self,
        input: CreateCampaignRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateCampaignResponse, RusotoError<CreateCampaignError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_dataset<'life0, 'async_trait>(
        &'life0 self,
        input: CreateDatasetRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateDatasetResponse, RusotoError<CreateDatasetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_dataset_group<'life0, 'async_trait>(
        &'life0 self,
        input: CreateDatasetGroupRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateDatasetGroupResponse, RusotoError<CreateDatasetGroupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_dataset_import_job<'life0, 'async_trait>(
        &'life0 self,
        input: CreateDatasetImportJobRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateDatasetImportJobResponse, RusotoError<CreateDatasetImportJobError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_event_tracker<'life0, 'async_trait>(
        &'life0 self,
        input: CreateEventTrackerRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateEventTrackerResponse, RusotoError<CreateEventTrackerError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_filter<'life0, 'async_trait>(
        &'life0 self,
        input: CreateFilterRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateFilterResponse, RusotoError<CreateFilterError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_schema<'life0, 'async_trait>(
        &'life0 self,
        input: CreateSchemaRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateSchemaResponse, RusotoError<CreateSchemaError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_solution<'life0, 'async_trait>(
        &'life0 self,
        input: CreateSolutionRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateSolutionResponse, RusotoError<CreateSolutionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn create_solution_version<'life0, 'async_trait>(
        &'life0 self,
        input: CreateSolutionVersionRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateSolutionVersionResponse, RusotoError<CreateSolutionVersionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_campaign<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteCampaignRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteCampaignError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_dataset<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteDatasetRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDatasetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_dataset_group<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteDatasetGroupRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDatasetGroupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_event_tracker<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteEventTrackerRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteEventTrackerError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_filter<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteFilterRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteFilterError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_schema<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteSchemaRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteSchemaError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_solution<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteSolutionRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteSolutionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_algorithm<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeAlgorithmRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeAlgorithmResponse, RusotoError<DescribeAlgorithmError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_batch_inference_job<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeBatchInferenceJobRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeBatchInferenceJobResponse, RusotoError<DescribeBatchInferenceJobError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_campaign<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeCampaignRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeCampaignResponse, RusotoError<DescribeCampaignError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_dataset<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeDatasetRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetResponse, RusotoError<DescribeDatasetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_dataset_group<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeDatasetGroupRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetGroupResponse, RusotoError<DescribeDatasetGroupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_dataset_import_job<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeDatasetImportJobRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetImportJobResponse, RusotoError<DescribeDatasetImportJobError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_event_tracker<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeEventTrackerRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeEventTrackerResponse, RusotoError<DescribeEventTrackerError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_feature_transformation<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeFeatureTransformationRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeFeatureTransformationResponse, RusotoError<DescribeFeatureTransformationError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_filter<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeFilterRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeFilterResponse, RusotoError<DescribeFilterError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_recipe<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeRecipeRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeRecipeResponse, RusotoError<DescribeRecipeError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_schema<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeSchemaRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeSchemaResponse, RusotoError<DescribeSchemaError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_solution<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeSolutionRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeSolutionResponse, RusotoError<DescribeSolutionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_solution_version<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeSolutionVersionRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeSolutionVersionResponse, RusotoError<DescribeSolutionVersionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn get_solution_metrics<'life0, 'async_trait>(
        &'life0 self,
        input: GetSolutionMetricsRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetSolutionMetricsResponse, RusotoError<GetSolutionMetricsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_batch_inference_jobs<'life0, 'async_trait>(
        &'life0 self,
        input: ListBatchInferenceJobsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListBatchInferenceJobsResponse, RusotoError<ListBatchInferenceJobsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_campaigns<'life0, 'async_trait>(
        &'life0 self,
        input: ListCampaignsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListCampaignsResponse, RusotoError<ListCampaignsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_dataset_groups<'life0, 'async_trait>(
        &'life0 self,
        input: ListDatasetGroupsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListDatasetGroupsResponse, RusotoError<ListDatasetGroupsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_dataset_import_jobs<'life0, 'async_trait>(
        &'life0 self,
        input: ListDatasetImportJobsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListDatasetImportJobsResponse, RusotoError<ListDatasetImportJobsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_datasets<'life0, 'async_trait>(
        &'life0 self,
        input: ListDatasetsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListDatasetsResponse, RusotoError<ListDatasetsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_event_trackers<'life0, 'async_trait>(
        &'life0 self,
        input: ListEventTrackersRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListEventTrackersResponse, RusotoError<ListEventTrackersError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_filters<'life0, 'async_trait>(
        &'life0 self,
        input: ListFiltersRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListFiltersResponse, RusotoError<ListFiltersError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_recipes<'life0, 'async_trait>(
        &'life0 self,
        input: ListRecipesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListRecipesResponse, RusotoError<ListRecipesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_schemas<'life0, 'async_trait>(
        &'life0 self,
        input: ListSchemasRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListSchemasResponse, RusotoError<ListSchemasError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_solution_versions<'life0, 'async_trait>(
        &'life0 self,
        input: ListSolutionVersionsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListSolutionVersionsResponse, RusotoError<ListSolutionVersionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_solutions<'life0, 'async_trait>(
        &'life0 self,
        input: ListSolutionsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListSolutionsResponse, RusotoError<ListSolutionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn update_campaign<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateCampaignRequest
    ) -> Pin<Box<dyn Future<Output = Result<UpdateCampaignResponse, RusotoError<UpdateCampaignError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Trait representing the capabilities of the Amazon Personalize API. Amazon Personalize clients implement this trait.

Required methods

#[must_use]pub fn create_batch_inference_job<'life0, 'async_trait>(
    &'life0 self,
    input: CreateBatchInferenceJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateBatchInferenceJobResponse, RusotoError<CreateBatchInferenceJobError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates 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 recommendations-batch.

#[must_use]pub fn create_campaign<'life0, 'async_trait>(
    &'life0 self,
    input: CreateCampaignRequest
) -> Pin<Box<dyn Future<Output = Result<CreateCampaignResponse, RusotoError<CreateCampaignError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a campaign by deploying a solution version. When a client calls the GetRecommendations and GetPersonalizedRanking APIs, a campaign is specified in the request.

Minimum Provisioned TPS and Auto-Scaling

A transaction is a single GetRecommendations or GetPersonalizedRanking call. 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 below minProvisionedTPS, to maintain a 70% utilization. There's a short time delay while the capacity is increased that might cause loss of transactions. It's recommended to start with a low minProvisionedTPS, track your usage using Amazon CloudWatch metrics, and then increase the minProvisionedTPS as necessary.

Status

A campaign can be in one of the following states:

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

  • DELETE PENDING > DELETE INPROGRESS

To get the campaign status, call DescribeCampaign.

Wait until the status of the campaign is ACTIVE before asking the campaign for recommendations.

Related APIs

#[must_use]pub fn create_dataset<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDatasetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDatasetResponse, RusotoError<CreateDatasetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an empty dataset and adds it to the specified dataset group. Use CreateDatasetImportJob 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 Interactions dataset 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 INPROGRESS > ACTIVE -or- CREATE FAILED

  • DELETE PENDING > DELETE INPROGRESS

To get the status of the dataset, call DescribeDataset.

Related APIs

#[must_use]pub fn create_dataset_group<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDatasetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDatasetGroupResponse, RusotoError<CreateDatasetGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 CreateDataset 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 DescribeDatasetGroup. 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

#[must_use]pub fn create_dataset_import_job<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDatasetImportJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDatasetImportJobResponse, RusotoError<CreateDatasetImportJobError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 AWS Identity and Access Management (IAM) role that has permission to read from the data source.

The dataset import job replaces any previous data in the dataset.

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 DescribeDatasetImportJob, 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 failureReason key, 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

#[must_use]pub fn create_event_tracker<'life0, 'async_trait>(
    &'life0 self,
    input: CreateEventTrackerRequest
) -> Pin<Box<dyn Future<Output = Result<CreateEventTrackerResponse, RusotoError<CreateEventTrackerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

When Amazon Personalize creates an event tracker, it also creates an event-interactions dataset in the dataset group associated with the event tracker. The event-interactions dataset stores the event data from the PutEvents call. The contents of this dataset are not available to the user.

Only one event tracker can be associated with a dataset group. You will get an error if you call CreateEventTracker using the same dataset group as an existing event tracker.

When you send event data you include your tracking ID. The tracking ID identifies the customer and authorizes the customer to send the data.

The event tracker can be in one of the following states:

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

  • DELETE PENDING > DELETE INPROGRESS

To get the status of the event tracker, call DescribeEventTracker.

The event tracker must be in the ACTIVE state before using the tracking ID.

Related APIs

#[must_use]pub fn create_filter<'life0, 'async_trait>(
    &'life0 self,
    input: CreateFilterRequest
) -> Pin<Box<dyn Future<Output = Result<CreateFilterResponse, RusotoError<CreateFilterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a recommendation filter. For more information, see Using Filters with Amazon Personalize.

#[must_use]pub fn create_schema<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSchemaResponse, RusotoError<CreateSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates 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. You specify a schema when you call CreateDataset.

Related APIs

#[must_use]pub fn create_solution<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSolutionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSolutionResponse, RusotoError<CreateSolutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates 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 CreateSolutionVersion 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 GetSolutionMetrics. When you are satisfied with the version, you deploy it using CreateCampaign. The campaign provides recommendations to a client through the GetRecommendations 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 performAutoML and Amazon Personalize will analyze your data and select the optimum USERPERSONALIZATION recipe for you.

Status

A solution can be in one of the following states:

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

  • DELETE PENDING > DELETE IN_PROGRESS

To get the status of the solution, call DescribeSolution. Wait until the status shows as ACTIVE before calling CreateSolutionVersion.

Related APIs

#[must_use]pub fn create_solution_version<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSolutionVersionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSolutionVersionResponse, RusotoError<CreateSolutionVersionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Trains or retrains an active solution. 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.

Status

A solution version can be in one of the following states:

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

To get the status of the version, call DescribeSolutionVersion. Wait until the status shows as ACTIVE before calling CreateCampaign.

If the status shows as CREATE FAILED, the response includes a failureReason key, which describes why the job failed.

Related APIs

#[must_use]pub fn delete_campaign<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteCampaignRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteCampaignError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 more information on campaigns, see CreateCampaign.

#[must_use]pub fn delete_dataset<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDatasetRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDatasetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 on datasets, see CreateDataset.

#[must_use]pub fn delete_dataset_group<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDatasetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDatasetGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes 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.

#[must_use]pub fn delete_event_tracker<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteEventTrackerRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteEventTrackerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn delete_filter<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteFilterRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteFilterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a filter.

#[must_use]pub fn delete_schema<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn delete_solution<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSolutionRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteSolutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

#[must_use]pub fn describe_algorithm<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeAlgorithmRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAlgorithmResponse, RusotoError<DescribeAlgorithmError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the given algorithm.

#[must_use]pub fn describe_batch_inference_job<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBatchInferenceJobRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBatchInferenceJobResponse, RusotoError<DescribeBatchInferenceJobError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

#[must_use]pub fn describe_campaign<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeCampaignRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeCampaignResponse, RusotoError<DescribeCampaignError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes 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 status is CREATE FAILED, the response includes the failureReason key, which describes why.

For more information on campaigns, see CreateCampaign.

#[must_use]pub fn describe_dataset<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeDatasetRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetResponse, RusotoError<DescribeDatasetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn describe_dataset_group<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeDatasetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetGroupResponse, RusotoError<DescribeDatasetGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn describe_dataset_import_job<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeDatasetImportJobRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetImportJobResponse, RusotoError<DescribeDatasetImportJobError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn describe_event_tracker<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEventTrackerRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventTrackerResponse, RusotoError<DescribeEventTrackerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn describe_feature_transformation<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeFeatureTransformationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeFeatureTransformationResponse, RusotoError<DescribeFeatureTransformationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the given feature transformation.

#[must_use]pub fn describe_filter<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeFilterRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeFilterResponse, RusotoError<DescribeFilterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes a filter's properties.

#[must_use]pub fn describe_recipe<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeRecipeRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeRecipeResponse, RusotoError<DescribeRecipeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes 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 CreateSolution API. CreateSolution trains 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 GetRecommendations API.

#[must_use]pub fn describe_schema<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSchemaResponse, RusotoError<DescribeSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn describe_solution<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSolutionRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSolutionResponse, RusotoError<DescribeSolutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn describe_solution_version<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSolutionVersionRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSolutionVersionResponse, RusotoError<DescribeSolutionVersionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn get_solution_metrics<'life0, 'async_trait>(
    &'life0 self,
    input: GetSolutionMetricsRequest
) -> Pin<Box<dyn Future<Output = Result<GetSolutionMetricsResponse, RusotoError<GetSolutionMetricsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets the metrics for the specified solution version.

#[must_use]pub fn list_batch_inference_jobs<'life0, 'async_trait>(
    &'life0 self,
    input: ListBatchInferenceJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListBatchInferenceJobsResponse, RusotoError<ListBatchInferenceJobsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn list_campaigns<'life0, 'async_trait>(
    &'life0 self,
    input: ListCampaignsRequest
) -> Pin<Box<dyn Future<Output = Result<ListCampaignsResponse, RusotoError<ListCampaignsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

#[must_use]pub fn list_dataset_groups<'life0, 'async_trait>(
    &'life0 self,
    input: ListDatasetGroupsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDatasetGroupsResponse, RusotoError<ListDatasetGroupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

#[must_use]pub fn list_dataset_import_jobs<'life0, 'async_trait>(
    &'life0 self,
    input: ListDatasetImportJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDatasetImportJobsResponse, RusotoError<ListDatasetImportJobsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

#[must_use]pub fn list_datasets<'life0, 'async_trait>(
    &'life0 self,
    input: ListDatasetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDatasetsResponse, RusotoError<ListDatasetsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

#[must_use]pub fn list_event_trackers<'life0, 'async_trait>(
    &'life0 self,
    input: ListEventTrackersRequest
) -> Pin<Box<dyn Future<Output = Result<ListEventTrackersResponse, RusotoError<ListEventTrackersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

#[must_use]pub fn list_filters<'life0, 'async_trait>(
    &'life0 self,
    input: ListFiltersRequest
) -> Pin<Box<dyn Future<Output = Result<ListFiltersResponse, RusotoError<ListFiltersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists all filters that belong to a given dataset group.

#[must_use]pub fn list_recipes<'life0, 'async_trait>(
    &'life0 self,
    input: ListRecipesRequest
) -> Pin<Box<dyn Future<Output = Result<ListRecipesResponse, RusotoError<ListRecipesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

#[must_use]pub fn list_schemas<'life0, 'async_trait>(
    &'life0 self,
    input: ListSchemasRequest
) -> Pin<Box<dyn Future<Output = Result<ListSchemasResponse, RusotoError<ListSchemasError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

#[must_use]pub fn list_solution_versions<'life0, 'async_trait>(
    &'life0 self,
    input: ListSolutionVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSolutionVersionsResponse, RusotoError<ListSolutionVersionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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). For more information on solutions, see CreateSolution.

#[must_use]pub fn list_solutions<'life0, 'async_trait>(
    &'life0 self,
    input: ListSolutionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSolutionsResponse, RusotoError<ListSolutionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns 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 CreateSolution.

#[must_use]pub fn update_campaign<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateCampaignRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateCampaignResponse, RusotoError<UpdateCampaignError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a campaign by either deploying a new solution or changing the value of the campaign's minProvisionedTPS parameter.

To update a campaign, the campaign status must be ACTIVE or CREATE FAILED. Check the campaign status using the DescribeCampaign API.

You must wait until the status of the updated campaign is ACTIVE before asking the campaign for recommendations.

For more information on campaigns, see CreateCampaign.

Loading content...

Implementors

impl Personalize for PersonalizeClient[src]

pub fn create_batch_inference_job<'life0, 'async_trait>(
    &'life0 self,
    input: CreateBatchInferenceJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateBatchInferenceJobResponse, RusotoError<CreateBatchInferenceJobError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates 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 recommendations-batch.

pub fn create_campaign<'life0, 'async_trait>(
    &'life0 self,
    input: CreateCampaignRequest
) -> Pin<Box<dyn Future<Output = Result<CreateCampaignResponse, RusotoError<CreateCampaignError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a campaign by deploying a solution version. When a client calls the GetRecommendations and GetPersonalizedRanking APIs, a campaign is specified in the request.

Minimum Provisioned TPS and Auto-Scaling

A transaction is a single GetRecommendations or GetPersonalizedRanking call. 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 below minProvisionedTPS, to maintain a 70% utilization. There's a short time delay while the capacity is increased that might cause loss of transactions. It's recommended to start with a low minProvisionedTPS, track your usage using Amazon CloudWatch metrics, and then increase the minProvisionedTPS as necessary.

Status

A campaign can be in one of the following states:

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

  • DELETE PENDING > DELETE INPROGRESS

To get the campaign status, call DescribeCampaign.

Wait until the status of the campaign is ACTIVE before asking the campaign for recommendations.

Related APIs

pub fn create_dataset<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDatasetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDatasetResponse, RusotoError<CreateDatasetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an empty dataset and adds it to the specified dataset group. Use CreateDatasetImportJob 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 Interactions dataset 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 INPROGRESS > ACTIVE -or- CREATE FAILED

  • DELETE PENDING > DELETE INPROGRESS

To get the status of the dataset, call DescribeDataset.

Related APIs

pub fn create_dataset_group<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDatasetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDatasetGroupResponse, RusotoError<CreateDatasetGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 CreateDataset 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 DescribeDatasetGroup. 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

pub fn create_dataset_import_job<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDatasetImportJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDatasetImportJobResponse, RusotoError<CreateDatasetImportJobError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 AWS Identity and Access Management (IAM) role that has permission to read from the data source.

The dataset import job replaces any previous data in the dataset.

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 DescribeDatasetImportJob, 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 failureReason key, 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

pub fn create_event_tracker<'life0, 'async_trait>(
    &'life0 self,
    input: CreateEventTrackerRequest
) -> Pin<Box<dyn Future<Output = Result<CreateEventTrackerResponse, RusotoError<CreateEventTrackerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

When Amazon Personalize creates an event tracker, it also creates an event-interactions dataset in the dataset group associated with the event tracker. The event-interactions dataset stores the event data from the PutEvents call. The contents of this dataset are not available to the user.

Only one event tracker can be associated with a dataset group. You will get an error if you call CreateEventTracker using the same dataset group as an existing event tracker.

When you send event data you include your tracking ID. The tracking ID identifies the customer and authorizes the customer to send the data.

The event tracker can be in one of the following states:

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

  • DELETE PENDING > DELETE INPROGRESS

To get the status of the event tracker, call DescribeEventTracker.

The event tracker must be in the ACTIVE state before using the tracking ID.

Related APIs

pub fn create_filter<'life0, 'async_trait>(
    &'life0 self,
    input: CreateFilterRequest
) -> Pin<Box<dyn Future<Output = Result<CreateFilterResponse, RusotoError<CreateFilterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a recommendation filter. For more information, see Using Filters with Amazon Personalize.

pub fn create_schema<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSchemaResponse, RusotoError<CreateSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates 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. You specify a schema when you call CreateDataset.

Related APIs

pub fn create_solution<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSolutionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSolutionResponse, RusotoError<CreateSolutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates 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 CreateSolutionVersion 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 GetSolutionMetrics. When you are satisfied with the version, you deploy it using CreateCampaign. The campaign provides recommendations to a client through the GetRecommendations 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 performAutoML and Amazon Personalize will analyze your data and select the optimum USERPERSONALIZATION recipe for you.

Status

A solution can be in one of the following states:

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

  • DELETE PENDING > DELETE IN_PROGRESS

To get the status of the solution, call DescribeSolution. Wait until the status shows as ACTIVE before calling CreateSolutionVersion.

Related APIs

pub fn create_solution_version<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSolutionVersionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSolutionVersionResponse, RusotoError<CreateSolutionVersionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Trains or retrains an active solution. 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.

Status

A solution version can be in one of the following states:

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

To get the status of the version, call DescribeSolutionVersion. Wait until the status shows as ACTIVE before calling CreateCampaign.

If the status shows as CREATE FAILED, the response includes a failureReason key, which describes why the job failed.

Related APIs

pub fn delete_campaign<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteCampaignRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteCampaignError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 more information on campaigns, see CreateCampaign.

pub fn delete_dataset<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDatasetRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDatasetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 on datasets, see CreateDataset.

pub fn delete_dataset_group<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDatasetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDatasetGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes 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.

pub fn delete_event_tracker<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteEventTrackerRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteEventTrackerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn delete_filter<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteFilterRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteFilterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a filter.

pub fn delete_schema<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn delete_solution<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSolutionRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteSolutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn describe_algorithm<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeAlgorithmRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAlgorithmResponse, RusotoError<DescribeAlgorithmError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the given algorithm.

pub fn describe_batch_inference_job<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBatchInferenceJobRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBatchInferenceJobResponse, RusotoError<DescribeBatchInferenceJobError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn describe_campaign<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeCampaignRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeCampaignResponse, RusotoError<DescribeCampaignError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes 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 status is CREATE FAILED, the response includes the failureReason key, which describes why.

For more information on campaigns, see CreateCampaign.

pub fn describe_dataset<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeDatasetRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetResponse, RusotoError<DescribeDatasetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn describe_dataset_group<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeDatasetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetGroupResponse, RusotoError<DescribeDatasetGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn describe_dataset_import_job<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeDatasetImportJobRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDatasetImportJobResponse, RusotoError<DescribeDatasetImportJobError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn describe_event_tracker<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEventTrackerRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventTrackerResponse, RusotoError<DescribeEventTrackerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn describe_feature_transformation<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeFeatureTransformationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeFeatureTransformationResponse, RusotoError<DescribeFeatureTransformationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the given feature transformation.

pub fn describe_filter<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeFilterRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeFilterResponse, RusotoError<DescribeFilterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes a filter's properties.

pub fn describe_recipe<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeRecipeRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeRecipeResponse, RusotoError<DescribeRecipeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes 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 CreateSolution API. CreateSolution trains 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 GetRecommendations API.

pub fn describe_schema<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSchemaResponse, RusotoError<DescribeSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn describe_solution<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSolutionRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSolutionResponse, RusotoError<DescribeSolutionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn describe_solution_version<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSolutionVersionRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSolutionVersionResponse, RusotoError<DescribeSolutionVersionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn get_solution_metrics<'life0, 'async_trait>(
    &'life0 self,
    input: GetSolutionMetricsRequest
) -> Pin<Box<dyn Future<Output = Result<GetSolutionMetricsResponse, RusotoError<GetSolutionMetricsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets the metrics for the specified solution version.

pub fn list_batch_inference_jobs<'life0, 'async_trait>(
    &'life0 self,
    input: ListBatchInferenceJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListBatchInferenceJobsResponse, RusotoError<ListBatchInferenceJobsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn list_campaigns<'life0, 'async_trait>(
    &'life0 self,
    input: ListCampaignsRequest
) -> Pin<Box<dyn Future<Output = Result<ListCampaignsResponse, RusotoError<ListCampaignsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn list_dataset_groups<'life0, 'async_trait>(
    &'life0 self,
    input: ListDatasetGroupsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDatasetGroupsResponse, RusotoError<ListDatasetGroupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn list_dataset_import_jobs<'life0, 'async_trait>(
    &'life0 self,
    input: ListDatasetImportJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDatasetImportJobsResponse, RusotoError<ListDatasetImportJobsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn list_datasets<'life0, 'async_trait>(
    &'life0 self,
    input: ListDatasetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDatasetsResponse, RusotoError<ListDatasetsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn list_event_trackers<'life0, 'async_trait>(
    &'life0 self,
    input: ListEventTrackersRequest
) -> Pin<Box<dyn Future<Output = Result<ListEventTrackersResponse, RusotoError<ListEventTrackersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn list_filters<'life0, 'async_trait>(
    &'life0 self,
    input: ListFiltersRequest
) -> Pin<Box<dyn Future<Output = Result<ListFiltersResponse, RusotoError<ListFiltersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists all filters that belong to a given dataset group.

pub fn list_recipes<'life0, 'async_trait>(
    &'life0 self,
    input: ListRecipesRequest
) -> Pin<Box<dyn Future<Output = Result<ListRecipesResponse, RusotoError<ListRecipesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn list_schemas<'life0, 'async_trait>(
    &'life0 self,
    input: ListSchemasRequest
) -> Pin<Box<dyn Future<Output = Result<ListSchemasResponse, RusotoError<ListSchemasError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn list_solution_versions<'life0, 'async_trait>(
    &'life0 self,
    input: ListSolutionVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSolutionVersionsResponse, RusotoError<ListSolutionVersionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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). For more information on solutions, see CreateSolution.

pub fn list_solutions<'life0, 'async_trait>(
    &'life0 self,
    input: ListSolutionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSolutionsResponse, RusotoError<ListSolutionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns 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 CreateSolution.

pub fn update_campaign<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateCampaignRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateCampaignResponse, RusotoError<UpdateCampaignError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a campaign by either deploying a new solution or changing the value of the campaign's minProvisionedTPS parameter.

To update a campaign, the campaign status must be ACTIVE or CREATE FAILED. Check the campaign status using the DescribeCampaign API.

You must wait until the status of the updated campaign is ACTIVE before asking the campaign for recommendations.

For more information on campaigns, see CreateCampaign.

Loading content...