package types

import "github.com/aws/aws-sdk-go-v2/service/personalizeruntime/types"

Index

Types

type InvalidInputException

type InvalidInputException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Provide a valid value for the field or parameter.

func (*InvalidInputException) Error

func (e *InvalidInputException) Error() string

func (*InvalidInputException) ErrorCode

func (e *InvalidInputException) ErrorCode() string

func (*InvalidInputException) ErrorFault

func (e *InvalidInputException) ErrorFault() smithy.ErrorFault

func (*InvalidInputException) ErrorMessage

func (e *InvalidInputException) ErrorMessage() string

type PredictedItem

type PredictedItem struct {

	// The recommended item ID.
	ItemId *string

	// The name of the promotion that included the predicted item.
	PromotionName *string

	// A numeric representation of the model's certainty that the item will be the next
	// user selection. For more information on scoring logic, see how-scores-work.
	Score *float64
	// contains filtered or unexported fields
}

An object that identifies an item. The and APIs return a list of PredictedItems.

type Promotion

type Promotion struct {

	// The Amazon Resource Name (ARN) of the filter used by the promotion. This filter
	// defines the criteria for promoted items. For more information, see Promotion
	// filters
	// (https://docs.aws.amazon.com/personalize/latest/dg/promoting-items.html#promotion-filters).
	FilterArn *string

	// The values to use when promoting items. For each placeholder parameter in your
	// promotion's filter expression, provide the parameter name (in matching case) as
	// a key and the filter value(s) as the corresponding value. Separate multiple
	// values for one parameter with a comma. For filter expressions that use an
	// INCLUDE element to include items, you must provide values for all parameters
	// that are defined in the expression. For filters with expressions that use an
	// EXCLUDE element to exclude items, you can omit the filter-values. In this case,
	// Amazon Personalize doesn't use that portion of the expression to filter
	// recommendations. For more information on creating filters, see Filtering
	// recommendations and user segments
	// (https://docs.aws.amazon.com/personalize/latest/dg/filter.html).
	FilterValues map[string]string

	// The name of the promotion.
	Name *string

	// The percentage of recommended items to apply the promotion to.
	PercentPromotedItems int32
	// contains filtered or unexported fields
}

Contains information on a promotion. A promotion defines additional business rules that apply to a configurable subset of recommended items.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified resource does not exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

Source Files

errors.go types.go

Version
v1.13.6
Published
Mar 21, 2023
Platform
darwin/amd64
Imports
3 packages
Last checked
23 minutes ago

Tools for package owners.