@aws-sdk/client-personalize-events 3.299.0 → 3.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,6 +27,28 @@ export interface PutEventsCommandOutput extends __MetadataBearer {
27
27
  * import { PersonalizeEventsClient, PutEventsCommand } from "@aws-sdk/client-personalize-events"; // ES Modules import
28
28
  * // const { PersonalizeEventsClient, PutEventsCommand } = require("@aws-sdk/client-personalize-events"); // CommonJS import
29
29
  * const client = new PersonalizeEventsClient(config);
30
+ * const input = { // PutEventsRequest
31
+ * trackingId: "STRING_VALUE", // required
32
+ * userId: "STRING_VALUE",
33
+ * sessionId: "STRING_VALUE", // required
34
+ * eventList: [ // EventList // required
35
+ * { // Event
36
+ * eventId: "STRING_VALUE",
37
+ * eventType: "STRING_VALUE", // required
38
+ * eventValue: Number("float"),
39
+ * itemId: "STRING_VALUE",
40
+ * properties: "STRING_VALUE",
41
+ * sentAt: new Date("TIMESTAMP"), // required
42
+ * recommendationId: "STRING_VALUE",
43
+ * impression: [ // Impression
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * metricAttribution: { // MetricAttribution
47
+ * eventAttributionSource: "STRING_VALUE", // required
48
+ * },
49
+ * },
50
+ * ],
51
+ * };
30
52
  * const command = new PutEventsCommand(input);
31
53
  * const response = await client.send(command);
32
54
  * ```
@@ -28,6 +28,15 @@ export interface PutItemsCommandOutput extends __MetadataBearer {
28
28
  * import { PersonalizeEventsClient, PutItemsCommand } from "@aws-sdk/client-personalize-events"; // ES Modules import
29
29
  * // const { PersonalizeEventsClient, PutItemsCommand } = require("@aws-sdk/client-personalize-events"); // CommonJS import
30
30
  * const client = new PersonalizeEventsClient(config);
31
+ * const input = { // PutItemsRequest
32
+ * datasetArn: "STRING_VALUE", // required
33
+ * items: [ // ItemList // required
34
+ * { // Item
35
+ * itemId: "STRING_VALUE", // required
36
+ * properties: "STRING_VALUE",
37
+ * },
38
+ * ],
39
+ * };
31
40
  * const command = new PutItemsCommand(input);
32
41
  * const response = await client.send(command);
33
42
  * ```
@@ -27,6 +27,15 @@ export interface PutUsersCommandOutput extends __MetadataBearer {
27
27
  * import { PersonalizeEventsClient, PutUsersCommand } from "@aws-sdk/client-personalize-events"; // ES Modules import
28
28
  * // const { PersonalizeEventsClient, PutUsersCommand } = require("@aws-sdk/client-personalize-events"); // CommonJS import
29
29
  * const client = new PersonalizeEventsClient(config);
30
+ * const input = { // PutUsersRequest
31
+ * datasetArn: "STRING_VALUE", // required
32
+ * users: [ // UserList // required
33
+ * { // User
34
+ * userId: "STRING_VALUE", // required
35
+ * properties: "STRING_VALUE",
36
+ * },
37
+ * ],
38
+ * };
30
39
  * const command = new PutUsersCommand(input);
31
40
  * const response = await client.send(command);
32
41
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-personalize-events",
3
3
  "description": "AWS SDK for JavaScript Personalize Events Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },