@aws-sdk/client-personalize-events 3.1136.0 → 3.1138.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
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -240,10 +240,10 @@ const _tI = "trackingId";
|
|
|
240
240
|
const _u = "users";
|
|
241
241
|
const _uI = "userId";
|
|
242
242
|
const n0 = "com.amazonaws.personalizeevents";
|
|
243
|
-
const _s_registry = TypeRegistry
|
|
243
|
+
const _s_registry = new TypeRegistry(_s);
|
|
244
244
|
var PersonalizeEventsServiceException$ = [-3, _s, "PersonalizeEventsServiceException", 0, [], []];
|
|
245
245
|
_s_registry.registerError(PersonalizeEventsServiceException$, PersonalizeEventsServiceException);
|
|
246
|
-
const n0_registry = TypeRegistry
|
|
246
|
+
const n0_registry = new TypeRegistry(n0);
|
|
247
247
|
var InvalidInputException$ = [-3, n0, _IIE,
|
|
248
248
|
{ [_e]: _c, [_hE]: 400 },
|
|
249
249
|
[_m],
|
|
@@ -66,10 +66,10 @@ const n0 = "com.amazonaws.personalizeevents";
|
|
|
66
66
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
67
67
|
import { InvalidInputException, ResourceInUseException, ResourceNotFoundException } from "../models/errors";
|
|
68
68
|
import { PersonalizeEventsServiceException } from "../models/PersonalizeEventsServiceException";
|
|
69
|
-
const _s_registry = TypeRegistry
|
|
69
|
+
const _s_registry = new TypeRegistry(_s);
|
|
70
70
|
export var PersonalizeEventsServiceException$ = [-3, _s, "PersonalizeEventsServiceException", 0, [], []];
|
|
71
71
|
_s_registry.registerError(PersonalizeEventsServiceException$, PersonalizeEventsServiceException);
|
|
72
|
-
const n0_registry = TypeRegistry
|
|
72
|
+
const n0_registry = new TypeRegistry(n0);
|
|
73
73
|
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
74
74
|
{ [_e]: _c, [_hE]: 400 },
|
|
75
75
|
[_m],
|
|
@@ -1,41 +1,47 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type PutActionInteractionsCommandInput, type PutActionInteractionsCommandOutput } from "./commands/PutActionInteractionsCommand";
|
|
3
3
|
import { type PutActionsCommandInput, type PutActionsCommandOutput } from "./commands/PutActionsCommand";
|
|
4
4
|
import { type PutEventsCommandInput, type PutEventsCommandOutput } from "./commands/PutEventsCommand";
|
|
5
5
|
import { type PutItemsCommandInput, type PutItemsCommandOutput } from "./commands/PutItemsCommand";
|
|
6
6
|
import { type PutUsersCommandInput, type PutUsersCommandOutput } from "./commands/PutUsersCommand";
|
|
7
7
|
import { PersonalizeEventsClient } from "./PersonalizeEventsClient";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface PersonalizeEventsRequestOptions extends __HttpHandlerOptions {
|
|
12
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
13
|
+
}
|
|
8
14
|
export interface PersonalizeEvents {
|
|
9
15
|
/**
|
|
10
16
|
* @see {@link PutActionInteractionsCommand}
|
|
11
17
|
*/
|
|
12
|
-
putActionInteractions(args: PutActionInteractionsCommandInput, options?:
|
|
18
|
+
putActionInteractions(args: PutActionInteractionsCommandInput, options?: PersonalizeEventsRequestOptions): Promise<PutActionInteractionsCommandOutput>;
|
|
13
19
|
putActionInteractions(args: PutActionInteractionsCommandInput, cb: (err: any, data?: PutActionInteractionsCommandOutput) => void): void;
|
|
14
|
-
putActionInteractions(args: PutActionInteractionsCommandInput, options:
|
|
20
|
+
putActionInteractions(args: PutActionInteractionsCommandInput, options: PersonalizeEventsRequestOptions, cb: (err: any, data?: PutActionInteractionsCommandOutput) => void): void;
|
|
15
21
|
/**
|
|
16
22
|
* @see {@link PutActionsCommand}
|
|
17
23
|
*/
|
|
18
|
-
putActions(args: PutActionsCommandInput, options?:
|
|
24
|
+
putActions(args: PutActionsCommandInput, options?: PersonalizeEventsRequestOptions): Promise<PutActionsCommandOutput>;
|
|
19
25
|
putActions(args: PutActionsCommandInput, cb: (err: any, data?: PutActionsCommandOutput) => void): void;
|
|
20
|
-
putActions(args: PutActionsCommandInput, options:
|
|
26
|
+
putActions(args: PutActionsCommandInput, options: PersonalizeEventsRequestOptions, cb: (err: any, data?: PutActionsCommandOutput) => void): void;
|
|
21
27
|
/**
|
|
22
28
|
* @see {@link PutEventsCommand}
|
|
23
29
|
*/
|
|
24
|
-
putEvents(args: PutEventsCommandInput, options?:
|
|
30
|
+
putEvents(args: PutEventsCommandInput, options?: PersonalizeEventsRequestOptions): Promise<PutEventsCommandOutput>;
|
|
25
31
|
putEvents(args: PutEventsCommandInput, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
|
|
26
|
-
putEvents(args: PutEventsCommandInput, options:
|
|
32
|
+
putEvents(args: PutEventsCommandInput, options: PersonalizeEventsRequestOptions, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
|
|
27
33
|
/**
|
|
28
34
|
* @see {@link PutItemsCommand}
|
|
29
35
|
*/
|
|
30
|
-
putItems(args: PutItemsCommandInput, options?:
|
|
36
|
+
putItems(args: PutItemsCommandInput, options?: PersonalizeEventsRequestOptions): Promise<PutItemsCommandOutput>;
|
|
31
37
|
putItems(args: PutItemsCommandInput, cb: (err: any, data?: PutItemsCommandOutput) => void): void;
|
|
32
|
-
putItems(args: PutItemsCommandInput, options:
|
|
38
|
+
putItems(args: PutItemsCommandInput, options: PersonalizeEventsRequestOptions, cb: (err: any, data?: PutItemsCommandOutput) => void): void;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link PutUsersCommand}
|
|
35
41
|
*/
|
|
36
|
-
putUsers(args: PutUsersCommandInput, options?:
|
|
42
|
+
putUsers(args: PutUsersCommandInput, options?: PersonalizeEventsRequestOptions): Promise<PutUsersCommandOutput>;
|
|
37
43
|
putUsers(args: PutUsersCommandInput, cb: (err: any, data?: PutUsersCommandOutput) => void): void;
|
|
38
|
-
putUsers(args: PutUsersCommandInput, options:
|
|
44
|
+
putUsers(args: PutUsersCommandInput, options: PersonalizeEventsRequestOptions, cb: (err: any, data?: PutUsersCommandOutput) => void): void;
|
|
39
45
|
}
|
|
40
46
|
/**
|
|
41
47
|
* <p>Amazon Personalize can consume real-time user event data, such as <i>stream</i> or <i>click</i> data, and use
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
PutActionInteractionsCommandInput,
|
|
4
7
|
PutActionInteractionsCommandOutput,
|
|
@@ -8,10 +11,13 @@ import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEve
|
|
|
8
11
|
import { PutItemsCommandInput, PutItemsCommandOutput } from "./commands/PutItemsCommand";
|
|
9
12
|
import { PutUsersCommandInput, PutUsersCommandOutput } from "./commands/PutUsersCommand";
|
|
10
13
|
import { PersonalizeEventsClient } from "./PersonalizeEventsClient";
|
|
14
|
+
export interface PersonalizeEventsRequestOptions extends __HttpHandlerOptions {
|
|
15
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
16
|
+
}
|
|
11
17
|
export interface PersonalizeEvents {
|
|
12
18
|
putActionInteractions(
|
|
13
19
|
args: PutActionInteractionsCommandInput,
|
|
14
|
-
options?:
|
|
20
|
+
options?: PersonalizeEventsRequestOptions,
|
|
15
21
|
): Promise<PutActionInteractionsCommandOutput>;
|
|
16
22
|
putActionInteractions(
|
|
17
23
|
args: PutActionInteractionsCommandInput,
|
|
@@ -19,12 +25,12 @@ export interface PersonalizeEvents {
|
|
|
19
25
|
): void;
|
|
20
26
|
putActionInteractions(
|
|
21
27
|
args: PutActionInteractionsCommandInput,
|
|
22
|
-
options:
|
|
28
|
+
options: PersonalizeEventsRequestOptions,
|
|
23
29
|
cb: (err: any, data?: PutActionInteractionsCommandOutput) => void,
|
|
24
30
|
): void;
|
|
25
31
|
putActions(
|
|
26
32
|
args: PutActionsCommandInput,
|
|
27
|
-
options?:
|
|
33
|
+
options?: PersonalizeEventsRequestOptions,
|
|
28
34
|
): Promise<PutActionsCommandOutput>;
|
|
29
35
|
putActions(
|
|
30
36
|
args: PutActionsCommandInput,
|
|
@@ -32,12 +38,12 @@ export interface PersonalizeEvents {
|
|
|
32
38
|
): void;
|
|
33
39
|
putActions(
|
|
34
40
|
args: PutActionsCommandInput,
|
|
35
|
-
options:
|
|
41
|
+
options: PersonalizeEventsRequestOptions,
|
|
36
42
|
cb: (err: any, data?: PutActionsCommandOutput) => void,
|
|
37
43
|
): void;
|
|
38
44
|
putEvents(
|
|
39
45
|
args: PutEventsCommandInput,
|
|
40
|
-
options?:
|
|
46
|
+
options?: PersonalizeEventsRequestOptions,
|
|
41
47
|
): Promise<PutEventsCommandOutput>;
|
|
42
48
|
putEvents(
|
|
43
49
|
args: PutEventsCommandInput,
|
|
@@ -45,27 +51,27 @@ export interface PersonalizeEvents {
|
|
|
45
51
|
): void;
|
|
46
52
|
putEvents(
|
|
47
53
|
args: PutEventsCommandInput,
|
|
48
|
-
options:
|
|
54
|
+
options: PersonalizeEventsRequestOptions,
|
|
49
55
|
cb: (err: any, data?: PutEventsCommandOutput) => void,
|
|
50
56
|
): void;
|
|
51
57
|
putItems(
|
|
52
58
|
args: PutItemsCommandInput,
|
|
53
|
-
options?:
|
|
59
|
+
options?: PersonalizeEventsRequestOptions,
|
|
54
60
|
): Promise<PutItemsCommandOutput>;
|
|
55
61
|
putItems(args: PutItemsCommandInput, cb: (err: any, data?: PutItemsCommandOutput) => void): void;
|
|
56
62
|
putItems(
|
|
57
63
|
args: PutItemsCommandInput,
|
|
58
|
-
options:
|
|
64
|
+
options: PersonalizeEventsRequestOptions,
|
|
59
65
|
cb: (err: any, data?: PutItemsCommandOutput) => void,
|
|
60
66
|
): void;
|
|
61
67
|
putUsers(
|
|
62
68
|
args: PutUsersCommandInput,
|
|
63
|
-
options?:
|
|
69
|
+
options?: PersonalizeEventsRequestOptions,
|
|
64
70
|
): Promise<PutUsersCommandOutput>;
|
|
65
71
|
putUsers(args: PutUsersCommandInput, cb: (err: any, data?: PutUsersCommandOutput) => void): void;
|
|
66
72
|
putUsers(
|
|
67
73
|
args: PutUsersCommandInput,
|
|
68
|
-
options:
|
|
74
|
+
options: PersonalizeEventsRequestOptions,
|
|
69
75
|
cb: (err: any, data?: PutUsersCommandOutput) => void,
|
|
70
76
|
): void;
|
|
71
77
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-personalize-events",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Personalize Events Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-personalize-events",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|