Versions in this module Expand all Collapse all v1 v1.0.1 Jul 4, 2024 v1.0.0 Jul 4, 2024 Changes in this version + const EndpointsID + const ErrCodeInvalidInputException + const ErrCodeResourceInUseException + const ErrCodeResourceNotFoundException + const ServiceID + const ServiceName + type Event struct + EventId *string + EventType *string + EventValue *float64 + Impression []*string + ItemId *string + MetricAttribution *MetricAttribution + Properties aws.JSONValue + RecommendationId *string + SentAt *time.Time + func (s *Event) SetEventId(v string) *Event + func (s *Event) SetEventType(v string) *Event + func (s *Event) SetEventValue(v float64) *Event + func (s *Event) SetImpression(v []*string) *Event + func (s *Event) SetItemId(v string) *Event + func (s *Event) SetMetricAttribution(v *MetricAttribution) *Event + func (s *Event) SetProperties(v aws.JSONValue) *Event + func (s *Event) SetRecommendationId(v string) *Event + func (s *Event) SetSentAt(v time.Time) *Event + func (s *Event) Validate() error + func (s Event) GoString() string + func (s Event) String() string + type InvalidInputException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *InvalidInputException) Code() string + func (s *InvalidInputException) Error() string + func (s *InvalidInputException) Message() string + func (s *InvalidInputException) OrigErr() error + func (s *InvalidInputException) RequestID() string + func (s *InvalidInputException) StatusCode() int + func (s InvalidInputException) GoString() string + func (s InvalidInputException) String() string + type Item struct + ItemId *string + Properties aws.JSONValue + func (s *Item) SetItemId(v string) *Item + func (s *Item) SetProperties(v aws.JSONValue) *Item + func (s *Item) Validate() error + func (s Item) GoString() string + func (s Item) String() string + type MetricAttribution struct + EventAttributionSource *string + func (s *MetricAttribution) SetEventAttributionSource(v string) *MetricAttribution + func (s *MetricAttribution) Validate() error + func (s MetricAttribution) GoString() string + func (s MetricAttribution) String() string + type PersonalizeEvents struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *PersonalizeEvents + func (c *PersonalizeEvents) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) + func (c *PersonalizeEvents) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) + func (c *PersonalizeEvents) PutEventsWithContext(ctx aws.Context, input *PutEventsInput, opts ...request.Option) (*PutEventsOutput, error) + func (c *PersonalizeEvents) PutItems(input *PutItemsInput) (*PutItemsOutput, error) + func (c *PersonalizeEvents) PutItemsRequest(input *PutItemsInput) (req *request.Request, output *PutItemsOutput) + func (c *PersonalizeEvents) PutItemsWithContext(ctx aws.Context, input *PutItemsInput, opts ...request.Option) (*PutItemsOutput, error) + func (c *PersonalizeEvents) PutUsers(input *PutUsersInput) (*PutUsersOutput, error) + func (c *PersonalizeEvents) PutUsersRequest(input *PutUsersInput) (req *request.Request, output *PutUsersOutput) + func (c *PersonalizeEvents) PutUsersWithContext(ctx aws.Context, input *PutUsersInput, opts ...request.Option) (*PutUsersOutput, error) + type PutEventsInput struct + EventList []*Event + SessionId *string + TrackingId *string + UserId *string + func (s *PutEventsInput) SetEventList(v []*Event) *PutEventsInput + func (s *PutEventsInput) SetSessionId(v string) *PutEventsInput + func (s *PutEventsInput) SetTrackingId(v string) *PutEventsInput + func (s *PutEventsInput) SetUserId(v string) *PutEventsInput + func (s *PutEventsInput) Validate() error + func (s PutEventsInput) GoString() string + func (s PutEventsInput) String() string + type PutEventsOutput struct + func (s PutEventsOutput) GoString() string + func (s PutEventsOutput) String() string + type PutItemsInput struct + DatasetArn *string + Items []*Item + func (s *PutItemsInput) SetDatasetArn(v string) *PutItemsInput + func (s *PutItemsInput) SetItems(v []*Item) *PutItemsInput + func (s *PutItemsInput) Validate() error + func (s PutItemsInput) GoString() string + func (s PutItemsInput) String() string + type PutItemsOutput struct + func (s PutItemsOutput) GoString() string + func (s PutItemsOutput) String() string + type PutUsersInput struct + DatasetArn *string + Users []*User + func (s *PutUsersInput) SetDatasetArn(v string) *PutUsersInput + func (s *PutUsersInput) SetUsers(v []*User) *PutUsersInput + func (s *PutUsersInput) Validate() error + func (s PutUsersInput) GoString() string + func (s PutUsersInput) String() string + type PutUsersOutput struct + func (s PutUsersOutput) GoString() string + func (s PutUsersOutput) String() string + type ResourceInUseException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceInUseException) Code() string + func (s *ResourceInUseException) Error() string + func (s *ResourceInUseException) Message() string + func (s *ResourceInUseException) OrigErr() error + func (s *ResourceInUseException) RequestID() string + func (s *ResourceInUseException) StatusCode() int + func (s ResourceInUseException) GoString() string + func (s ResourceInUseException) String() string + type ResourceNotFoundException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceNotFoundException) Code() string + func (s *ResourceNotFoundException) Error() string + func (s *ResourceNotFoundException) Message() string + func (s *ResourceNotFoundException) OrigErr() error + func (s *ResourceNotFoundException) RequestID() string + func (s *ResourceNotFoundException) StatusCode() int + func (s ResourceNotFoundException) GoString() string + func (s ResourceNotFoundException) String() string + type User struct + Properties aws.JSONValue + UserId *string + func (s *User) SetProperties(v aws.JSONValue) *User + func (s *User) SetUserId(v string) *User + func (s *User) Validate() error + func (s User) GoString() string + func (s User) String() string