@aws-sdk/client-personalize-events 3.758.0 → 3.772.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 +12 -12
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ActionFilterSensitiveLog: () => ActionFilterSensitiveLog,
|
|
25
25
|
ActionInteractionFilterSensitiveLog: () => ActionInteractionFilterSensitiveLog,
|
|
26
26
|
EventFilterSensitiveLog: () => EventFilterSensitiveLog,
|
|
@@ -44,7 +44,7 @@ __export(src_exports, {
|
|
|
44
44
|
UserFilterSensitiveLog: () => UserFilterSensitiveLog,
|
|
45
45
|
__Client: () => import_smithy_client.Client
|
|
46
46
|
});
|
|
47
|
-
module.exports = __toCommonJS(
|
|
47
|
+
module.exports = __toCommonJS(index_exports);
|
|
48
48
|
|
|
49
49
|
// src/PersonalizeEventsClient.ts
|
|
50
50
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -171,9 +171,9 @@ var PersonalizeEventsClient = class extends import_smithy_client.Client {
|
|
|
171
171
|
this.middlewareStack.use(
|
|
172
172
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
173
173
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPersonalizeEventsHttpAuthSchemeParametersProvider,
|
|
174
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
174
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
175
175
|
"aws.auth#sigv4": config.credentials
|
|
176
|
-
})
|
|
176
|
+
}), "identityProviderConfigProvider")
|
|
177
177
|
})
|
|
178
178
|
);
|
|
179
179
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -331,7 +331,7 @@ var se_PutActionInteractionsCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
331
331
|
let body;
|
|
332
332
|
body = JSON.stringify(
|
|
333
333
|
(0, import_smithy_client.take)(input, {
|
|
334
|
-
actionInteractions: (_) => se_ActionInteractionsList(_, context),
|
|
334
|
+
actionInteractions: /* @__PURE__ */ __name((_) => se_ActionInteractionsList(_, context), "actionInteractions"),
|
|
335
335
|
trackingId: []
|
|
336
336
|
})
|
|
337
337
|
);
|
|
@@ -347,7 +347,7 @@ var se_PutActionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
347
347
|
let body;
|
|
348
348
|
body = JSON.stringify(
|
|
349
349
|
(0, import_smithy_client.take)(input, {
|
|
350
|
-
actions: (_) => se_ActionList(_, context),
|
|
350
|
+
actions: /* @__PURE__ */ __name((_) => se_ActionList(_, context), "actions"),
|
|
351
351
|
datasetArn: []
|
|
352
352
|
})
|
|
353
353
|
);
|
|
@@ -363,7 +363,7 @@ var se_PutEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
363
363
|
let body;
|
|
364
364
|
body = JSON.stringify(
|
|
365
365
|
(0, import_smithy_client.take)(input, {
|
|
366
|
-
eventList: (_) => se_EventList(_, context),
|
|
366
|
+
eventList: /* @__PURE__ */ __name((_) => se_EventList(_, context), "eventList"),
|
|
367
367
|
sessionId: [],
|
|
368
368
|
trackingId: [],
|
|
369
369
|
userId: []
|
|
@@ -382,7 +382,7 @@ var se_PutItemsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
382
382
|
body = JSON.stringify(
|
|
383
383
|
(0, import_smithy_client.take)(input, {
|
|
384
384
|
datasetArn: [],
|
|
385
|
-
items: (_) => se_ItemList(_, context)
|
|
385
|
+
items: /* @__PURE__ */ __name((_) => se_ItemList(_, context), "items")
|
|
386
386
|
})
|
|
387
387
|
);
|
|
388
388
|
b.m("POST").h(headers).b(body);
|
|
@@ -398,7 +398,7 @@ var se_PutUsersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
398
398
|
body = JSON.stringify(
|
|
399
399
|
(0, import_smithy_client.take)(input, {
|
|
400
400
|
datasetArn: [],
|
|
401
|
-
users: (_) => se_UserList(_, context)
|
|
401
|
+
users: /* @__PURE__ */ __name((_) => se_UserList(_, context), "users")
|
|
402
402
|
})
|
|
403
403
|
);
|
|
404
404
|
b.m("POST").h(headers).b(body);
|
|
@@ -534,7 +534,7 @@ var se_ActionInteraction = /* @__PURE__ */ __name((input, context) => {
|
|
|
534
534
|
properties: import_smithy_client.LazyJsonString.from,
|
|
535
535
|
recommendationId: [],
|
|
536
536
|
sessionId: [],
|
|
537
|
-
timestamp: (_) => _.getTime() / 1e3,
|
|
537
|
+
timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "timestamp"),
|
|
538
538
|
userId: []
|
|
539
539
|
});
|
|
540
540
|
}, "se_ActionInteraction");
|
|
@@ -558,7 +558,7 @@ var se_Event = /* @__PURE__ */ __name((input, context) => {
|
|
|
558
558
|
metricAttribution: import_smithy_client._json,
|
|
559
559
|
properties: import_smithy_client.LazyJsonString.from,
|
|
560
560
|
recommendationId: [],
|
|
561
|
-
sentAt: (_) => _.getTime() / 1e3
|
|
561
|
+
sentAt: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "sentAt")
|
|
562
562
|
});
|
|
563
563
|
}, "se_Event");
|
|
564
564
|
var se_EventList = /* @__PURE__ */ __name((input, context) => {
|
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.772.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",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|