Skip to content

Commit d1b874e

Browse files
author
AWS
committed
Amazon Personalize Events Update: Introducing Amazon Personalize - a machine learning service that makes it easy for developers to create individualized recommendations for customers using their applications.
1 parent dbad06b commit d1b874e

File tree

7 files changed

+197
-0
lines changed

7 files changed

+197
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Personalize Events",
4+
"description": "Introducing Amazon Personalize - a machine learning service that makes it easy for developers to create individualized recommendations for customers using their applications."
5+
}

aws-sdk-java/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,11 @@ Amazon AutoScaling, etc).</description>
895895
<artifactId>personalize</artifactId>
896896
<version>${awsjavasdk.version}</version>
897897
</dependency>
898+
<dependency>
899+
<groupId>software.amazon.awssdk</groupId>
900+
<artifactId>personalizeevents</artifactId>
901+
<version>${awsjavasdk.version}</version>
902+
</dependency>
898903
</dependencies>
899904
<build>
900905
<finalName>${project.artifactId}-${project.version}</finalName>

bom/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,11 @@
10051005
<artifactId>personalize</artifactId>
10061006
<version>${awsjavasdk.version}</version>
10071007
</dependency>
1008+
<dependency>
1009+
<groupId>software.amazon.awssdk</groupId>
1010+
<artifactId>personalizeevents</artifactId>
1011+
<version>${awsjavasdk.version}</version>
1012+
</dependency>
10081013
</dependencies>
10091014
</dependencyManagement>
10101015
</project>

services/personalizeevents/pom.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
~ Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License").
6+
~ You may not use this file except in compliance with the License.
7+
~ A copy of the License is located at
8+
~
9+
~ http://aws.amazon.com/apache2.0
10+
~
11+
~ or in the "license" file accompanying this file. This file is distributed
12+
~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
~ express or implied. See the License for the specific language governing
14+
~ permissions and limitations under the License.
15+
-->
16+
17+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
18+
xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
20+
<modelVersion>4.0.0</modelVersion>
21+
<parent>
22+
<groupId>software.amazon.awssdk</groupId>
23+
<artifactId>services</artifactId>
24+
<version>2.5.60-SNAPSHOT</version>
25+
</parent>
26+
<artifactId>personalizeevents</artifactId>
27+
<name>AWS Java SDK :: Services :: Personalize Events</name>
28+
<description>The AWS Java SDK for Personalize Events module holds the client classes that are used for
29+
communicating with Personalize Events.
30+
</description>
31+
<url>https://aws.amazon.com/sdkforjava</url>
32+
<build>
33+
<plugins>
34+
<plugin>
35+
<groupId>org.apache.maven.plugins</groupId>
36+
<artifactId>maven-jar-plugin</artifactId>
37+
<configuration>
38+
<archive>
39+
<manifestEntries>
40+
<Automatic-Module-Name>software.amazon.awssdk.services.personalizeevents</Automatic-Module-Name>
41+
</manifestEntries>
42+
</archive>
43+
</configuration>
44+
</plugin>
45+
</plugins>
46+
</build>
47+
48+
<dependencies>
49+
<dependency>
50+
<groupId>software.amazon.awssdk</groupId>
51+
<artifactId>protocol-core</artifactId>
52+
<version>${awsjavasdk.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>software.amazon.awssdk</groupId>
56+
<artifactId>aws-json-protocol</artifactId>
57+
<version>${awsjavasdk.version}</version>
58+
</dependency>
59+
</dependencies>
60+
</project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"pagination": {
3+
}
4+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"version":"2.0",
3+
"metadata":{
4+
"apiVersion":"2018-03-22",
5+
"endpointPrefix":"personalize-events",
6+
"jsonVersion":"1.1",
7+
"protocol":"rest-json",
8+
"serviceFullName":"Amazon Personalize Events",
9+
"serviceId":"Personalize Events",
10+
"signatureVersion":"v4",
11+
"signingName":"personalize",
12+
"uid":"personalize-events-2018-03-22"
13+
},
14+
"operations":{
15+
"PutEvents":{
16+
"name":"PutEvents",
17+
"http":{
18+
"method":"POST",
19+
"requestUri":"/events"
20+
},
21+
"input":{"shape":"PutEventsRequest"},
22+
"errors":[
23+
{"shape":"InvalidInputException"}
24+
],
25+
"documentation":"<p>Records user interaction event data.</p>"
26+
}
27+
},
28+
"shapes":{
29+
"Date":{"type":"timestamp"},
30+
"ErrorMessage":{"type":"string"},
31+
"Event":{
32+
"type":"structure",
33+
"required":[
34+
"eventType",
35+
"properties",
36+
"sentAt"
37+
],
38+
"members":{
39+
"eventId":{
40+
"shape":"StringType",
41+
"documentation":"<p>An ID associated with the event. If an event ID is not provided, Amazon Personalize generates a unique ID for the event. An event ID is not used as an input to the model. Amazon Personalize uses the event ID to distinquish unique events. Any subsequent events after the first with the same event ID are not used in model training.</p>"
42+
},
43+
"eventType":{
44+
"shape":"StringType",
45+
"documentation":"<p>The type of event. This property corresponds to the <code>EVENT_TYPE</code> field of the Interactions schema.</p>"
46+
},
47+
"properties":{
48+
"shape":"EventPropertiesJSON",
49+
"documentation":"<p>A string map of event-specific data that you might choose to record. For example, if a user rates a movie on your site, you might send the movie ID and rating, and the number of movie ratings made by the user.</p> <p>Each item in the map consists of a key-value pair. For example,</p> <p> <code>{\"itemId\": \"movie1\"}</code> </p> <p> <code>{\"itemId\": \"movie2\", \"eventValue\": \"4.5\"}</code> </p> <p> <code>{\"itemId\": \"movie3\", \"eventValue\": \"3\", \"numberOfRatings\": \"12\"}</code> </p> <p>The keys use camel case names that match the fields in the Interactions schema. The <code>itemId</code> and <code>eventValue</code> keys correspond to the <code>ITEM_ID</code> and <code>EVENT_VALUE</code> fields. In the above example, the <code>eventType</code> might be 'MovieRating' with <code>eventValue</code> being the rating. The <code>numberOfRatings</code> would match the 'NUMBER_OF_RATINGS' field defined in the Interactions schema.</p>",
50+
"jsonvalue":true
51+
},
52+
"sentAt":{
53+
"shape":"Date",
54+
"documentation":"<p>The timestamp on the client side when the event occurred.</p>"
55+
}
56+
},
57+
"documentation":"<p>Represents user interaction event information sent using the <code>PutEvents</code> API.</p>"
58+
},
59+
"EventList":{
60+
"type":"list",
61+
"member":{"shape":"Event"},
62+
"max":10,
63+
"min":1
64+
},
65+
"EventPropertiesJSON":{
66+
"type":"string",
67+
"max":1024,
68+
"min":1
69+
},
70+
"InvalidInputException":{
71+
"type":"structure",
72+
"members":{
73+
"message":{"shape":"ErrorMessage"}
74+
},
75+
"documentation":"<p>Provide a valid value for the field or parameter.</p>",
76+
"error":{"httpStatusCode":400},
77+
"exception":true
78+
},
79+
"PutEventsRequest":{
80+
"type":"structure",
81+
"required":[
82+
"trackingId",
83+
"sessionId",
84+
"eventList"
85+
],
86+
"members":{
87+
"trackingId":{
88+
"shape":"StringType",
89+
"documentation":"<p>The tracking ID for the event. The ID is generated by a call to the <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/API_CreateEventTracker.html\">CreateEventTracker</a> API.</p>"
90+
},
91+
"userId":{
92+
"shape":"UserId",
93+
"documentation":"<p>The user associated with the event.</p>"
94+
},
95+
"sessionId":{
96+
"shape":"StringType",
97+
"documentation":"<p>The session ID associated with the user's visit.</p>"
98+
},
99+
"eventList":{
100+
"shape":"EventList",
101+
"documentation":"<p>A list of event data from the session.</p>"
102+
}
103+
}
104+
},
105+
"StringType":{
106+
"type":"string",
107+
"max":256,
108+
"min":1
109+
},
110+
"UserId":{
111+
"type":"string",
112+
"max":256,
113+
"min":1
114+
}
115+
},
116+
"documentation":"<p/>"
117+
}

services/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@
189189
<module>ioteventsdata</module>
190190
<module>personalizeruntime</module>
191191
<module>personalize</module>
192+
<module>personalizeevents</module>
192193
</modules>
193194
<description>The AWS Java SDK services</description>
194195
<url>https://aws.amazon.com/sdkforjava</url>

0 commit comments

Comments
 (0)