@aws-sdk/client-personalize-events 3.699.0 → 3.712.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.
package/dist-cjs/index.js
CHANGED
|
@@ -513,7 +513,7 @@ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput
|
|
|
513
513
|
var se_Action = /* @__PURE__ */ __name((input, context) => {
|
|
514
514
|
return (0, import_smithy_client.take)(input, {
|
|
515
515
|
actionId: [],
|
|
516
|
-
properties: import_smithy_client.LazyJsonString.
|
|
516
|
+
properties: import_smithy_client.LazyJsonString.from
|
|
517
517
|
});
|
|
518
518
|
}, "se_Action");
|
|
519
519
|
var se_ActionInteraction = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -522,7 +522,7 @@ var se_ActionInteraction = /* @__PURE__ */ __name((input, context) => {
|
|
|
522
522
|
eventId: [],
|
|
523
523
|
eventType: [],
|
|
524
524
|
impression: import_smithy_client._json,
|
|
525
|
-
properties: import_smithy_client.LazyJsonString.
|
|
525
|
+
properties: import_smithy_client.LazyJsonString.from,
|
|
526
526
|
recommendationId: [],
|
|
527
527
|
sessionId: [],
|
|
528
528
|
timestamp: (_) => _.getTime() / 1e3,
|
|
@@ -547,7 +547,7 @@ var se_Event = /* @__PURE__ */ __name((input, context) => {
|
|
|
547
547
|
impression: import_smithy_client._json,
|
|
548
548
|
itemId: [],
|
|
549
549
|
metricAttribution: import_smithy_client._json,
|
|
550
|
-
properties: import_smithy_client.LazyJsonString.
|
|
550
|
+
properties: import_smithy_client.LazyJsonString.from,
|
|
551
551
|
recommendationId: [],
|
|
552
552
|
sentAt: (_) => _.getTime() / 1e3
|
|
553
553
|
});
|
|
@@ -560,7 +560,7 @@ var se_EventList = /* @__PURE__ */ __name((input, context) => {
|
|
|
560
560
|
var se_Item = /* @__PURE__ */ __name((input, context) => {
|
|
561
561
|
return (0, import_smithy_client.take)(input, {
|
|
562
562
|
itemId: [],
|
|
563
|
-
properties: import_smithy_client.LazyJsonString.
|
|
563
|
+
properties: import_smithy_client.LazyJsonString.from
|
|
564
564
|
});
|
|
565
565
|
}, "se_Item");
|
|
566
566
|
var se_ItemList = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -570,7 +570,7 @@ var se_ItemList = /* @__PURE__ */ __name((input, context) => {
|
|
|
570
570
|
}, "se_ItemList");
|
|
571
571
|
var se_User = /* @__PURE__ */ __name((input, context) => {
|
|
572
572
|
return (0, import_smithy_client.take)(input, {
|
|
573
|
-
properties: import_smithy_client.LazyJsonString.
|
|
573
|
+
properties: import_smithy_client.LazyJsonString.from,
|
|
574
574
|
userId: []
|
|
575
575
|
});
|
|
576
576
|
}, "se_User");
|
|
@@ -193,7 +193,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
193
193
|
const se_Action = (input, context) => {
|
|
194
194
|
return take(input, {
|
|
195
195
|
actionId: [],
|
|
196
|
-
properties: __LazyJsonString.
|
|
196
|
+
properties: __LazyJsonString.from,
|
|
197
197
|
});
|
|
198
198
|
};
|
|
199
199
|
const se_ActionInteraction = (input, context) => {
|
|
@@ -202,7 +202,7 @@ const se_ActionInteraction = (input, context) => {
|
|
|
202
202
|
eventId: [],
|
|
203
203
|
eventType: [],
|
|
204
204
|
impression: _json,
|
|
205
|
-
properties: __LazyJsonString.
|
|
205
|
+
properties: __LazyJsonString.from,
|
|
206
206
|
recommendationId: [],
|
|
207
207
|
sessionId: [],
|
|
208
208
|
timestamp: (_) => _.getTime() / 1000,
|
|
@@ -231,7 +231,7 @@ const se_Event = (input, context) => {
|
|
|
231
231
|
impression: _json,
|
|
232
232
|
itemId: [],
|
|
233
233
|
metricAttribution: _json,
|
|
234
|
-
properties: __LazyJsonString.
|
|
234
|
+
properties: __LazyJsonString.from,
|
|
235
235
|
recommendationId: [],
|
|
236
236
|
sentAt: (_) => _.getTime() / 1000,
|
|
237
237
|
});
|
|
@@ -246,7 +246,7 @@ const se_EventList = (input, context) => {
|
|
|
246
246
|
const se_Item = (input, context) => {
|
|
247
247
|
return take(input, {
|
|
248
248
|
itemId: [],
|
|
249
|
-
properties: __LazyJsonString.
|
|
249
|
+
properties: __LazyJsonString.from,
|
|
250
250
|
});
|
|
251
251
|
};
|
|
252
252
|
const se_ItemList = (input, context) => {
|
|
@@ -258,7 +258,7 @@ const se_ItemList = (input, context) => {
|
|
|
258
258
|
};
|
|
259
259
|
const se_User = (input, context) => {
|
|
260
260
|
return take(input, {
|
|
261
|
-
properties: __LazyJsonString.
|
|
261
|
+
properties: __LazyJsonString.from,
|
|
262
262
|
userId: [],
|
|
263
263
|
});
|
|
264
264
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Represents action metadata added to an Action dataset using the
|
|
@@ -22,7 +22,7 @@ export interface Action {
|
|
|
22
22
|
* separate each category with a pipe separator (<code>|</code>). For example, <code>\"Deluxe|Premium\"</code>.</p>
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
25
|
-
properties?:
|
|
25
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* <p>Represents an action interaction event sent using the
|
|
@@ -118,7 +118,7 @@ export interface ActionInteraction {
|
|
|
118
118
|
* </ul>
|
|
119
119
|
* @public
|
|
120
120
|
*/
|
|
121
|
-
properties?:
|
|
121
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* <p>Provide a valid value for the field or parameter.</p>
|
|
@@ -269,7 +269,7 @@ export interface Event {
|
|
|
269
269
|
* </ul>
|
|
270
270
|
* @public
|
|
271
271
|
*/
|
|
272
|
-
properties?:
|
|
272
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
273
273
|
/**
|
|
274
274
|
* <p>The timestamp (in Unix time) on the client side when the event occurred.</p>
|
|
275
275
|
* @public
|
|
@@ -350,7 +350,7 @@ export interface Item {
|
|
|
350
350
|
* separate each category with a pipe separator (<code>|</code>). For example, <code>\"Horror|Action\"</code>.</p>
|
|
351
351
|
* @public
|
|
352
352
|
*/
|
|
353
|
-
properties?:
|
|
353
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
354
354
|
}
|
|
355
355
|
/**
|
|
356
356
|
* @public
|
|
@@ -389,7 +389,7 @@ export interface User {
|
|
|
389
389
|
* For example, <code>\"Member|Frequent shopper\"</code>.</p>
|
|
390
390
|
* @public
|
|
391
391
|
*/
|
|
392
|
-
properties?:
|
|
392
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
393
393
|
}
|
|
394
394
|
/**
|
|
395
395
|
* @public
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AutomaticJsonStringConversion as __AutomaticJsonStringConversion,
|
|
2
3
|
ExceptionOptionType as __ExceptionOptionType,
|
|
3
|
-
LazyJsonString as __LazyJsonString,
|
|
4
4
|
} from "@smithy/smithy-client";
|
|
5
5
|
import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
|
|
6
6
|
export interface Action {
|
|
7
7
|
actionId: string | undefined;
|
|
8
|
-
properties?:
|
|
8
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
9
9
|
}
|
|
10
10
|
export interface ActionInteraction {
|
|
11
11
|
actionId: string | undefined;
|
|
@@ -16,7 +16,7 @@ export interface ActionInteraction {
|
|
|
16
16
|
eventId?: string | undefined;
|
|
17
17
|
recommendationId?: string | undefined;
|
|
18
18
|
impression?: string[] | undefined;
|
|
19
|
-
properties?:
|
|
19
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare class InvalidInputException extends __BaseException {
|
|
22
22
|
readonly name: "InvalidInputException";
|
|
@@ -55,7 +55,7 @@ export interface Event {
|
|
|
55
55
|
eventType: string | undefined;
|
|
56
56
|
eventValue?: number | undefined;
|
|
57
57
|
itemId?: string | undefined;
|
|
58
|
-
properties?:
|
|
58
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
59
59
|
sentAt: Date | undefined;
|
|
60
60
|
recommendationId?: string | undefined;
|
|
61
61
|
impression?: string[] | undefined;
|
|
@@ -69,7 +69,7 @@ export interface PutEventsRequest {
|
|
|
69
69
|
}
|
|
70
70
|
export interface Item {
|
|
71
71
|
itemId: string | undefined;
|
|
72
|
-
properties?:
|
|
72
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
73
73
|
}
|
|
74
74
|
export interface PutItemsRequest {
|
|
75
75
|
datasetArn: string | undefined;
|
|
@@ -77,7 +77,7 @@ export interface PutItemsRequest {
|
|
|
77
77
|
}
|
|
78
78
|
export interface User {
|
|
79
79
|
userId: string | undefined;
|
|
80
|
-
properties?:
|
|
80
|
+
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
81
81
|
}
|
|
82
82
|
export interface PutUsersRequest {
|
|
83
83
|
datasetArn: string | undefined;
|
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.
|
|
4
|
+
"version": "3.712.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-personalize-events",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.1.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.7.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.712.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.712.0",
|
|
25
|
+
"@aws-sdk/core": "3.709.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.712.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.709.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.709.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.709.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.709.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.709.0",
|
|
32
|
+
"@aws-sdk/types": "3.709.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.709.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.709.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.712.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.13",
|
|
37
|
+
"@smithy/core": "^2.5.5",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.2",
|
|
39
|
+
"@smithy/hash-node": "^3.0.11",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.11",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.13",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.5",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.30",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.11",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.11",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.12",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.2",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
49
|
+
"@smithy/smithy-client": "^3.5.0",
|
|
50
|
+
"@smithy/types": "^3.7.2",
|
|
51
|
+
"@smithy/url-parser": "^3.0.11",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.30",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.30",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.7",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.11",
|
|
59
|
+
"@smithy/util-retry": "^3.0.11",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|