@aws-sdk/client-personalize-runtime 3.1077.0 → 3.1078.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 +11 -33
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/GetActionRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetPersonalizedRankingCommand.js +2 -14
- package/dist-es/commands/GetRecommendationsCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/GetActionRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetPersonalizedRankingCommand.d.ts +3 -8
- package/dist-types/commands/GetRecommendationsCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetActionRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPersonalizedRankingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -463,40 +464,17 @@ class PersonalizeRuntimeClient extends Client {
|
|
|
463
464
|
}
|
|
464
465
|
}
|
|
465
466
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
})
|
|
472
|
-
.s("AmazonPersonalizeRuntime", "GetActionRecommendations", {})
|
|
473
|
-
.n("PersonalizeRuntimeClient", "GetActionRecommendationsCommand")
|
|
474
|
-
.sc(GetActionRecommendations$)
|
|
475
|
-
.build() {
|
|
467
|
+
const command = makeBuilder(commonParams, "AmazonPersonalizeRuntime", "PersonalizeRuntimeClient", getEndpointPlugin);
|
|
468
|
+
const _ep0 = {};
|
|
469
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
470
|
+
|
|
471
|
+
class GetActionRecommendationsCommand extends command(_ep0, _mw0, "GetActionRecommendations", GetActionRecommendations$) {
|
|
476
472
|
}
|
|
477
473
|
|
|
478
|
-
class GetPersonalizedRankingCommand extends
|
|
479
|
-
.classBuilder()
|
|
480
|
-
.ep(commonParams)
|
|
481
|
-
.m(function (Command, cs, config, o) {
|
|
482
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
483
|
-
})
|
|
484
|
-
.s("AmazonPersonalizeRuntime", "GetPersonalizedRanking", {})
|
|
485
|
-
.n("PersonalizeRuntimeClient", "GetPersonalizedRankingCommand")
|
|
486
|
-
.sc(GetPersonalizedRanking$)
|
|
487
|
-
.build() {
|
|
474
|
+
class GetPersonalizedRankingCommand extends command(_ep0, _mw0, "GetPersonalizedRanking", GetPersonalizedRanking$) {
|
|
488
475
|
}
|
|
489
476
|
|
|
490
|
-
class GetRecommendationsCommand extends
|
|
491
|
-
.classBuilder()
|
|
492
|
-
.ep(commonParams)
|
|
493
|
-
.m(function (Command, cs, config, o) {
|
|
494
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
495
|
-
})
|
|
496
|
-
.s("AmazonPersonalizeRuntime", "GetRecommendations", {})
|
|
497
|
-
.n("PersonalizeRuntimeClient", "GetRecommendationsCommand")
|
|
498
|
-
.sc(GetRecommendations$)
|
|
499
|
-
.build() {
|
|
477
|
+
class GetRecommendationsCommand extends command(_ep0, _mw0, "GetRecommendations", GetRecommendations$) {
|
|
500
478
|
}
|
|
501
479
|
|
|
502
480
|
const commands = {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AmazonPersonalizeRuntime", "PersonalizeRuntimeClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetActionRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetActionRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonPersonalizeRuntime", "GetActionRecommendations", {})
|
|
13
|
-
.n("PersonalizeRuntimeClient", "GetActionRecommendationsCommand")
|
|
14
|
-
.sc(GetActionRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetActionRecommendationsCommand extends command(_ep0, _mw0, "GetActionRecommendations", GetActionRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetPersonalizedRanking$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPersonalizedRankingCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonPersonalizeRuntime", "GetPersonalizedRanking", {})
|
|
13
|
-
.n("PersonalizeRuntimeClient", "GetPersonalizedRankingCommand")
|
|
14
|
-
.sc(GetPersonalizedRanking$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPersonalizedRankingCommand extends command(_ep0, _mw0, "GetPersonalizedRanking", GetPersonalizedRanking$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonPersonalizeRuntime", "GetRecommendations", {})
|
|
13
|
-
.n("PersonalizeRuntimeClient", "GetRecommendationsCommand")
|
|
14
|
-
.sc(GetRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetRecommendationsCommand extends command(_ep0, _mw0, "GetRecommendations", GetRecommendations$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./PersonalizeRuntimeClient";
|
|
2
2
|
export * from "./PersonalizeRuntime";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export * from "./models/models_0";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./PersonalizeRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetActionRecommendationsRequest, GetActionRecommendationsResponse } from "../models/models_0";
|
|
4
|
-
import type { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeRuntimeClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetActionRecommendationsCommandInput extends GetActionRecommend
|
|
|
22
19
|
export interface GetActionRecommendationsCommandOutput extends GetActionRecommendationsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetActionRecommendationsCommand_base: {
|
|
25
|
-
new (input: GetActionRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<GetActionRecommendationsCommandInput, GetActionRecommendationsCommandOutput, PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [GetActionRecommendationsCommandInput]): import("@smithy/core/client").CommandImpl<GetActionRecommendationsCommandInput, GetActionRecommendationsCommandOutput, PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetActionRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<GetActionRecommendationsCommandInput, GetActionRecommendationsCommandOutput, import("..").PersonalizeRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetActionRecommendationsCommandInput]): import("@smithy/core/client").CommandImpl<GetActionRecommendationsCommandInput, GetActionRecommendationsCommandOutput, import("..").PersonalizeRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns a list of recommended actions in sorted in descending order by prediction score.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetPersonalizedRankingRequest, GetPersonalizedRankingResponse } from "../models/models_0";
|
|
4
|
-
import type { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeRuntimeClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetPersonalizedRankingCommandInput extends GetPersonalizedRanki
|
|
|
22
19
|
export interface GetPersonalizedRankingCommandOutput extends GetPersonalizedRankingResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetPersonalizedRankingCommand_base: {
|
|
25
|
-
new (input: GetPersonalizedRankingCommandInput): import("@smithy/core/client").CommandImpl<GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput, PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetPersonalizedRankingCommandInput): import("@smithy/core/client").CommandImpl<GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput, PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetPersonalizedRankingCommandInput): import("@smithy/core/client").CommandImpl<GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput, import("..").PersonalizeRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetPersonalizedRankingCommandInput): import("@smithy/core/client").CommandImpl<GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput, import("..").PersonalizeRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Re-ranks a list of recommended items for the given user. The first item in the list is
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetRecommendationsRequest, GetRecommendationsResponse } from "../models/models_0";
|
|
4
|
-
import type { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeRuntimeClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetRecommendationsCommandInput extends GetRecommendationsReques
|
|
|
22
19
|
export interface GetRecommendationsCommandOutput extends GetRecommendationsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetRecommendationsCommand_base: {
|
|
25
|
-
new (input: GetRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationsCommandInput, GetRecommendationsCommandOutput, PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [GetRecommendationsCommandInput]): import("@smithy/core/client").CommandImpl<GetRecommendationsCommandInput, GetRecommendationsCommandOutput, PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationsCommandInput, GetRecommendationsCommandOutput, import("..").PersonalizeRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetRecommendationsCommandInput]): import("@smithy/core/client").CommandImpl<GetRecommendationsCommandInput, GetRecommendationsCommandOutput, import("..").PersonalizeRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns a list of recommended items. For campaigns, the campaign's Amazon Resource Name (ARN) is required and the required user and item input depends on the recipe type used to
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { PersonalizeRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
12
13
|
export * from "./schemas/schemas_0";
|
|
13
14
|
export * from "./models/errors";
|
|
14
15
|
export * from "./models/models_0";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
PersonalizeRuntimeClientResolvedConfig,
|
|
4
|
+
ServiceInputTypes,
|
|
5
|
+
ServiceOutputTypes,
|
|
6
|
+
} from "./PersonalizeRuntimeClient";
|
|
7
|
+
export declare const command: <
|
|
8
|
+
I extends ServiceInputTypes,
|
|
9
|
+
O extends ServiceOutputTypes
|
|
10
|
+
>(
|
|
11
|
+
added: EndpointParameterInstructions,
|
|
12
|
+
plugins: (
|
|
13
|
+
CommandCtor: any,
|
|
14
|
+
clientStack: any,
|
|
15
|
+
config: any,
|
|
16
|
+
options: any
|
|
17
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
|
+
op: string,
|
|
19
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
+
smithyContext?: Record<string, unknown>
|
|
21
|
+
) => {
|
|
22
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
I,
|
|
24
|
+
O,
|
|
25
|
+
PersonalizeRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
I,
|
|
33
|
+
O,
|
|
34
|
+
PersonalizeRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
+
export declare const _mw0: (
|
|
42
|
+
Command: any,
|
|
43
|
+
cs: any,
|
|
44
|
+
config: any,
|
|
45
|
+
o: any
|
|
46
|
+
) => never[];
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetActionRecommendationsRequest,
|
|
5
4
|
GetActionRecommendationsResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
9
|
-
ServiceInputTypes,
|
|
10
|
-
ServiceOutputTypes,
|
|
11
|
-
} from "../PersonalizeRuntimeClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetActionRecommendationsCommandInput
|
|
15
8
|
extends GetActionRecommendationsRequest {}
|
|
16
9
|
export interface GetActionRecommendationsCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetActionRecommendationsCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetActionRecommendationsCommandInput,
|
|
24
17
|
GetActionRecommendationsCommandOutput,
|
|
25
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").PersonalizeRuntimeClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
...[input]: [] | [GetActionRecommendationsCommandInput]
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetActionRecommendationsCommandInput,
|
|
33
26
|
GetActionRecommendationsCommandOutput,
|
|
34
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").PersonalizeRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetActionRecommendationsCommand extends GetActionRecommendationsCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetPersonalizedRankingRequest,
|
|
5
4
|
GetPersonalizedRankingResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
9
|
-
ServiceInputTypes,
|
|
10
|
-
ServiceOutputTypes,
|
|
11
|
-
} from "../PersonalizeRuntimeClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetPersonalizedRankingCommandInput
|
|
15
8
|
extends GetPersonalizedRankingRequest {}
|
|
16
9
|
export interface GetPersonalizedRankingCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetPersonalizedRankingCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetPersonalizedRankingCommandInput,
|
|
24
17
|
GetPersonalizedRankingCommandOutput,
|
|
25
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").PersonalizeRuntimeClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: GetPersonalizedRankingCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetPersonalizedRankingCommandInput,
|
|
33
26
|
GetPersonalizedRankingCommandOutput,
|
|
34
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").PersonalizeRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetPersonalizedRankingCommand extends GetPersonalizedRankingCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetRecommendationsRequest,
|
|
5
4
|
GetRecommendationsResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
9
|
-
ServiceInputTypes,
|
|
10
|
-
ServiceOutputTypes,
|
|
11
|
-
} from "../PersonalizeRuntimeClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetRecommendationsCommandInput
|
|
15
8
|
extends GetRecommendationsRequest {}
|
|
16
9
|
export interface GetRecommendationsCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetRecommendationsCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetRecommendationsCommandInput,
|
|
24
17
|
GetRecommendationsCommandOutput,
|
|
25
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").PersonalizeRuntimeClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
...[input]: [] | [GetRecommendationsCommandInput]
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetRecommendationsCommandInput,
|
|
33
26
|
GetRecommendationsCommandOutput,
|
|
34
|
-
PersonalizeRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").PersonalizeRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetRecommendationsCommand extends GetRecommendationsCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { PersonalizeRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-personalize-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Personalize Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.974.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.973.
|
|
25
|
-
"@smithy/core": "^3.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.15.
|
|
22
|
+
"@aws-sdk/core": "^3.974.26",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
24
|
+
"@aws-sdk/types": "^3.973.15",
|
|
25
|
+
"@smithy/core": "^3.29.0",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
28
|
+
"@smithy/types": "^4.15.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|