@aws-sdk/client-personalize-runtime 3.1137.0 → 3.1139.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.1138.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -215,10 +215,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.personalizeruntime";
|
|
|
215
215
|
const _sc = "score";
|
|
216
216
|
const _uI = "userId";
|
|
217
217
|
const n0 = "com.amazonaws.personalizeruntime";
|
|
218
|
-
const _s_registry = TypeRegistry
|
|
218
|
+
const _s_registry = new TypeRegistry(_s);
|
|
219
219
|
var PersonalizeRuntimeServiceException$ = [-3, _s, "PersonalizeRuntimeServiceException", 0, [], []];
|
|
220
220
|
_s_registry.registerError(PersonalizeRuntimeServiceException$, PersonalizeRuntimeServiceException);
|
|
221
|
-
const n0_registry = TypeRegistry
|
|
221
|
+
const n0_registry = new TypeRegistry(n0);
|
|
222
222
|
var InvalidInputException$ = [-3, n0, _IIE,
|
|
223
223
|
{ [_e]: _c, [_hE]: 400 },
|
|
224
224
|
[_m],
|
|
@@ -53,10 +53,10 @@ const n0 = "com.amazonaws.personalizeruntime";
|
|
|
53
53
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
54
54
|
import { InvalidInputException, ResourceNotFoundException } from "../models/errors";
|
|
55
55
|
import { PersonalizeRuntimeServiceException } from "../models/PersonalizeRuntimeServiceException";
|
|
56
|
-
const _s_registry = TypeRegistry
|
|
56
|
+
const _s_registry = new TypeRegistry(_s);
|
|
57
57
|
export var PersonalizeRuntimeServiceException$ = [-3, _s, "PersonalizeRuntimeServiceException", 0, [], []];
|
|
58
58
|
_s_registry.registerError(PersonalizeRuntimeServiceException$, PersonalizeRuntimeServiceException);
|
|
59
|
-
const n0_registry = TypeRegistry
|
|
59
|
+
const n0_registry = new TypeRegistry(n0);
|
|
60
60
|
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
61
61
|
{ [_e]: _c, [_hE]: 400 },
|
|
62
62
|
[_m],
|
|
@@ -1,29 +1,35 @@
|
|
|
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 GetActionRecommendationsCommandInput, type GetActionRecommendationsCommandOutput } from "./commands/GetActionRecommendationsCommand";
|
|
3
3
|
import { type GetPersonalizedRankingCommandInput, type GetPersonalizedRankingCommandOutput } from "./commands/GetPersonalizedRankingCommand";
|
|
4
4
|
import { type GetRecommendationsCommandInput, type GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
|
|
5
5
|
import { PersonalizeRuntimeClient } from "./PersonalizeRuntimeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface PersonalizeRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
10
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
11
|
+
}
|
|
6
12
|
export interface PersonalizeRuntime {
|
|
7
13
|
/**
|
|
8
14
|
* @see {@link GetActionRecommendationsCommand}
|
|
9
15
|
*/
|
|
10
16
|
getActionRecommendations(): Promise<GetActionRecommendationsCommandOutput>;
|
|
11
|
-
getActionRecommendations(args: GetActionRecommendationsCommandInput, options?:
|
|
17
|
+
getActionRecommendations(args: GetActionRecommendationsCommandInput, options?: PersonalizeRuntimeRequestOptions): Promise<GetActionRecommendationsCommandOutput>;
|
|
12
18
|
getActionRecommendations(args: GetActionRecommendationsCommandInput, cb: (err: any, data?: GetActionRecommendationsCommandOutput) => void): void;
|
|
13
|
-
getActionRecommendations(args: GetActionRecommendationsCommandInput, options:
|
|
19
|
+
getActionRecommendations(args: GetActionRecommendationsCommandInput, options: PersonalizeRuntimeRequestOptions, cb: (err: any, data?: GetActionRecommendationsCommandOutput) => void): void;
|
|
14
20
|
/**
|
|
15
21
|
* @see {@link GetPersonalizedRankingCommand}
|
|
16
22
|
*/
|
|
17
|
-
getPersonalizedRanking(args: GetPersonalizedRankingCommandInput, options?:
|
|
23
|
+
getPersonalizedRanking(args: GetPersonalizedRankingCommandInput, options?: PersonalizeRuntimeRequestOptions): Promise<GetPersonalizedRankingCommandOutput>;
|
|
18
24
|
getPersonalizedRanking(args: GetPersonalizedRankingCommandInput, cb: (err: any, data?: GetPersonalizedRankingCommandOutput) => void): void;
|
|
19
|
-
getPersonalizedRanking(args: GetPersonalizedRankingCommandInput, options:
|
|
25
|
+
getPersonalizedRanking(args: GetPersonalizedRankingCommandInput, options: PersonalizeRuntimeRequestOptions, cb: (err: any, data?: GetPersonalizedRankingCommandOutput) => void): void;
|
|
20
26
|
/**
|
|
21
27
|
* @see {@link GetRecommendationsCommand}
|
|
22
28
|
*/
|
|
23
29
|
getRecommendations(): Promise<GetRecommendationsCommandOutput>;
|
|
24
|
-
getRecommendations(args: GetRecommendationsCommandInput, options?:
|
|
30
|
+
getRecommendations(args: GetRecommendationsCommandInput, options?: PersonalizeRuntimeRequestOptions): Promise<GetRecommendationsCommandOutput>;
|
|
25
31
|
getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
26
|
-
getRecommendations(args: GetRecommendationsCommandInput, options:
|
|
32
|
+
getRecommendations(args: GetRecommendationsCommandInput, options: PersonalizeRuntimeRequestOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
27
33
|
}
|
|
28
34
|
/**
|
|
29
35
|
* <p></p>
|
|
@@ -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
|
GetActionRecommendationsCommandInput,
|
|
4
7
|
GetActionRecommendationsCommandOutput,
|
|
@@ -12,11 +15,14 @@ import {
|
|
|
12
15
|
GetRecommendationsCommandOutput,
|
|
13
16
|
} from "./commands/GetRecommendationsCommand";
|
|
14
17
|
import { PersonalizeRuntimeClient } from "./PersonalizeRuntimeClient";
|
|
18
|
+
export interface PersonalizeRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
19
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
20
|
+
}
|
|
15
21
|
export interface PersonalizeRuntime {
|
|
16
22
|
getActionRecommendations(): Promise<GetActionRecommendationsCommandOutput>;
|
|
17
23
|
getActionRecommendations(
|
|
18
24
|
args: GetActionRecommendationsCommandInput,
|
|
19
|
-
options?:
|
|
25
|
+
options?: PersonalizeRuntimeRequestOptions,
|
|
20
26
|
): Promise<GetActionRecommendationsCommandOutput>;
|
|
21
27
|
getActionRecommendations(
|
|
22
28
|
args: GetActionRecommendationsCommandInput,
|
|
@@ -24,12 +30,12 @@ export interface PersonalizeRuntime {
|
|
|
24
30
|
): void;
|
|
25
31
|
getActionRecommendations(
|
|
26
32
|
args: GetActionRecommendationsCommandInput,
|
|
27
|
-
options:
|
|
33
|
+
options: PersonalizeRuntimeRequestOptions,
|
|
28
34
|
cb: (err: any, data?: GetActionRecommendationsCommandOutput) => void,
|
|
29
35
|
): void;
|
|
30
36
|
getPersonalizedRanking(
|
|
31
37
|
args: GetPersonalizedRankingCommandInput,
|
|
32
|
-
options?:
|
|
38
|
+
options?: PersonalizeRuntimeRequestOptions,
|
|
33
39
|
): Promise<GetPersonalizedRankingCommandOutput>;
|
|
34
40
|
getPersonalizedRanking(
|
|
35
41
|
args: GetPersonalizedRankingCommandInput,
|
|
@@ -37,13 +43,13 @@ export interface PersonalizeRuntime {
|
|
|
37
43
|
): void;
|
|
38
44
|
getPersonalizedRanking(
|
|
39
45
|
args: GetPersonalizedRankingCommandInput,
|
|
40
|
-
options:
|
|
46
|
+
options: PersonalizeRuntimeRequestOptions,
|
|
41
47
|
cb: (err: any, data?: GetPersonalizedRankingCommandOutput) => void,
|
|
42
48
|
): void;
|
|
43
49
|
getRecommendations(): Promise<GetRecommendationsCommandOutput>;
|
|
44
50
|
getRecommendations(
|
|
45
51
|
args: GetRecommendationsCommandInput,
|
|
46
|
-
options?:
|
|
52
|
+
options?: PersonalizeRuntimeRequestOptions,
|
|
47
53
|
): Promise<GetRecommendationsCommandOutput>;
|
|
48
54
|
getRecommendations(
|
|
49
55
|
args: GetRecommendationsCommandInput,
|
|
@@ -51,7 +57,7 @@ export interface PersonalizeRuntime {
|
|
|
51
57
|
): void;
|
|
52
58
|
getRecommendations(
|
|
53
59
|
args: GetRecommendationsCommandInput,
|
|
54
|
-
options:
|
|
60
|
+
options: PersonalizeRuntimeRequestOptions,
|
|
55
61
|
cb: (err: any, data?: GetRecommendationsCommandOutput) => void,
|
|
56
62
|
): void;
|
|
57
63
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-personalize-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Personalize Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-personalize-runtime",
|
|
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": {
|