@aws-sdk/client-personalize-runtime 3.169.0 → 3.170.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/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/PersonalizeRuntime.d.ts +40 -15
- package/dist-types/ts3.4/PersonalizeRuntimeClient.d.ts +142 -75
- package/dist-types/ts3.4/commands/GetPersonalizedRankingCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/index.d.ts +2 -2
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/PersonalizeRuntimeServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +102 -94
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +29 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +68 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +69 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -11
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-personalize-runtime
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-personalize-runtime
|
|
@@ -1,15 +1,40 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
GetPersonalizedRankingCommandInput,
|
|
4
|
+
GetPersonalizedRankingCommandOutput,
|
|
5
|
+
} from "./commands/GetPersonalizedRankingCommand";
|
|
6
|
+
import {
|
|
7
|
+
GetRecommendationsCommandInput,
|
|
8
|
+
GetRecommendationsCommandOutput,
|
|
9
|
+
} from "./commands/GetRecommendationsCommand";
|
|
10
|
+
import { PersonalizeRuntimeClient } from "./PersonalizeRuntimeClient";
|
|
11
|
+
|
|
12
|
+
export declare class PersonalizeRuntime extends PersonalizeRuntimeClient {
|
|
13
|
+
getPersonalizedRanking(
|
|
14
|
+
args: GetPersonalizedRankingCommandInput,
|
|
15
|
+
options?: __HttpHandlerOptions
|
|
16
|
+
): Promise<GetPersonalizedRankingCommandOutput>;
|
|
17
|
+
getPersonalizedRanking(
|
|
18
|
+
args: GetPersonalizedRankingCommandInput,
|
|
19
|
+
cb: (err: any, data?: GetPersonalizedRankingCommandOutput) => void
|
|
20
|
+
): void;
|
|
21
|
+
getPersonalizedRanking(
|
|
22
|
+
args: GetPersonalizedRankingCommandInput,
|
|
23
|
+
options: __HttpHandlerOptions,
|
|
24
|
+
cb: (err: any, data?: GetPersonalizedRankingCommandOutput) => void
|
|
25
|
+
): void;
|
|
26
|
+
|
|
27
|
+
getRecommendations(
|
|
28
|
+
args: GetRecommendationsCommandInput,
|
|
29
|
+
options?: __HttpHandlerOptions
|
|
30
|
+
): Promise<GetRecommendationsCommandOutput>;
|
|
31
|
+
getRecommendations(
|
|
32
|
+
args: GetRecommendationsCommandInput,
|
|
33
|
+
cb: (err: any, data?: GetRecommendationsCommandOutput) => void
|
|
34
|
+
): void;
|
|
35
|
+
getRecommendations(
|
|
36
|
+
args: GetRecommendationsCommandInput,
|
|
37
|
+
options: __HttpHandlerOptions,
|
|
38
|
+
cb: (err: any, data?: GetRecommendationsCommandOutput) => void
|
|
39
|
+
): void;
|
|
40
|
+
}
|
|
@@ -1,75 +1,142 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
import {
|
|
2
|
+
EndpointsInputConfig,
|
|
3
|
+
EndpointsResolvedConfig,
|
|
4
|
+
RegionInputConfig,
|
|
5
|
+
RegionResolvedConfig,
|
|
6
|
+
} from "@aws-sdk/config-resolver";
|
|
7
|
+
import {
|
|
8
|
+
HostHeaderInputConfig,
|
|
9
|
+
HostHeaderResolvedConfig,
|
|
10
|
+
} from "@aws-sdk/middleware-host-header";
|
|
11
|
+
import {
|
|
12
|
+
RetryInputConfig,
|
|
13
|
+
RetryResolvedConfig,
|
|
14
|
+
} from "@aws-sdk/middleware-retry";
|
|
15
|
+
import {
|
|
16
|
+
AwsAuthInputConfig,
|
|
17
|
+
AwsAuthResolvedConfig,
|
|
18
|
+
} from "@aws-sdk/middleware-signing";
|
|
19
|
+
import {
|
|
20
|
+
UserAgentInputConfig,
|
|
21
|
+
UserAgentResolvedConfig,
|
|
22
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
23
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
24
|
+
import {
|
|
25
|
+
Client as __Client,
|
|
26
|
+
DefaultsMode,
|
|
27
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
28
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
29
|
+
} from "@aws-sdk/smithy-client";
|
|
30
|
+
import {
|
|
31
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
32
|
+
Credentials as __Credentials,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
RegionInfoProvider,
|
|
41
|
+
StreamCollector as __StreamCollector,
|
|
42
|
+
UrlParser as __UrlParser,
|
|
43
|
+
UserAgent as __UserAgent,
|
|
44
|
+
} from "@aws-sdk/types";
|
|
45
|
+
import {
|
|
46
|
+
GetPersonalizedRankingCommandInput,
|
|
47
|
+
GetPersonalizedRankingCommandOutput,
|
|
48
|
+
} from "./commands/GetPersonalizedRankingCommand";
|
|
49
|
+
import {
|
|
50
|
+
GetRecommendationsCommandInput,
|
|
51
|
+
GetRecommendationsCommandOutput,
|
|
52
|
+
} from "./commands/GetRecommendationsCommand";
|
|
53
|
+
export declare type ServiceInputTypes =
|
|
54
|
+
| GetPersonalizedRankingCommandInput
|
|
55
|
+
| GetRecommendationsCommandInput;
|
|
56
|
+
export declare type ServiceOutputTypes =
|
|
57
|
+
| GetPersonalizedRankingCommandOutput
|
|
58
|
+
| GetRecommendationsCommandOutput;
|
|
59
|
+
export interface ClientDefaults
|
|
60
|
+
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
61
|
+
requestHandler?: __HttpHandler;
|
|
62
|
+
|
|
63
|
+
sha256?: __HashConstructor;
|
|
64
|
+
|
|
65
|
+
urlParser?: __UrlParser;
|
|
66
|
+
|
|
67
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
68
|
+
|
|
69
|
+
streamCollector?: __StreamCollector;
|
|
70
|
+
|
|
71
|
+
base64Decoder?: __Decoder;
|
|
72
|
+
|
|
73
|
+
base64Encoder?: __Encoder;
|
|
74
|
+
|
|
75
|
+
utf8Decoder?: __Decoder;
|
|
76
|
+
|
|
77
|
+
utf8Encoder?: __Encoder;
|
|
78
|
+
|
|
79
|
+
runtime?: string;
|
|
80
|
+
|
|
81
|
+
disableHostPrefix?: boolean;
|
|
82
|
+
|
|
83
|
+
maxAttempts?: number | __Provider<number>;
|
|
84
|
+
|
|
85
|
+
retryMode?: string | __Provider<string>;
|
|
86
|
+
|
|
87
|
+
logger?: __Logger;
|
|
88
|
+
|
|
89
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
90
|
+
|
|
91
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
92
|
+
|
|
93
|
+
serviceId?: string;
|
|
94
|
+
|
|
95
|
+
region?: string | __Provider<string>;
|
|
96
|
+
|
|
97
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
98
|
+
|
|
99
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
100
|
+
|
|
101
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
102
|
+
|
|
103
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
104
|
+
}
|
|
105
|
+
declare type PersonalizeRuntimeClientConfigType = Partial<
|
|
106
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
107
|
+
> &
|
|
108
|
+
ClientDefaults &
|
|
109
|
+
RegionInputConfig &
|
|
110
|
+
EndpointsInputConfig &
|
|
111
|
+
RetryInputConfig &
|
|
112
|
+
HostHeaderInputConfig &
|
|
113
|
+
AwsAuthInputConfig &
|
|
114
|
+
UserAgentInputConfig;
|
|
115
|
+
|
|
116
|
+
export interface PersonalizeRuntimeClientConfig
|
|
117
|
+
extends PersonalizeRuntimeClientConfigType {}
|
|
118
|
+
declare type PersonalizeRuntimeClientResolvedConfigType =
|
|
119
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
120
|
+
Required<ClientDefaults> &
|
|
121
|
+
RegionResolvedConfig &
|
|
122
|
+
EndpointsResolvedConfig &
|
|
123
|
+
RetryResolvedConfig &
|
|
124
|
+
HostHeaderResolvedConfig &
|
|
125
|
+
AwsAuthResolvedConfig &
|
|
126
|
+
UserAgentResolvedConfig;
|
|
127
|
+
|
|
128
|
+
export interface PersonalizeRuntimeClientResolvedConfig
|
|
129
|
+
extends PersonalizeRuntimeClientResolvedConfigType {}
|
|
130
|
+
|
|
131
|
+
export declare class PersonalizeRuntimeClient extends __Client<
|
|
132
|
+
__HttpHandlerOptions,
|
|
133
|
+
ServiceInputTypes,
|
|
134
|
+
ServiceOutputTypes,
|
|
135
|
+
PersonalizeRuntimeClientResolvedConfig
|
|
136
|
+
> {
|
|
137
|
+
readonly config: PersonalizeRuntimeClientResolvedConfig;
|
|
138
|
+
constructor(configuration: PersonalizeRuntimeClientConfig);
|
|
139
|
+
|
|
140
|
+
destroy(): void;
|
|
141
|
+
}
|
|
142
|
+
export {};
|
|
@@ -1,17 +1,41 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
GetPersonalizedRankingRequest,
|
|
10
|
+
GetPersonalizedRankingResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
PersonalizeRuntimeClientResolvedConfig,
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
} from "../PersonalizeRuntimeClient";
|
|
17
|
+
export interface GetPersonalizedRankingCommandInput
|
|
18
|
+
extends GetPersonalizedRankingRequest {}
|
|
19
|
+
export interface GetPersonalizedRankingCommandOutput
|
|
20
|
+
extends GetPersonalizedRankingResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
|
|
23
|
+
export declare class GetPersonalizedRankingCommand extends $Command<
|
|
24
|
+
GetPersonalizedRankingCommandInput,
|
|
25
|
+
GetPersonalizedRankingCommandOutput,
|
|
26
|
+
PersonalizeRuntimeClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetPersonalizedRankingCommandInput;
|
|
29
|
+
constructor(input: GetPersonalizedRankingCommandInput);
|
|
30
|
+
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: PersonalizeRuntimeClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
GetPersonalizedRankingCommandInput,
|
|
37
|
+
GetPersonalizedRankingCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,17 +1,38 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
GetRecommendationsRequest,
|
|
10
|
+
GetRecommendationsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
PersonalizeRuntimeClientResolvedConfig,
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
} from "../PersonalizeRuntimeClient";
|
|
17
|
+
export interface GetRecommendationsCommandInput
|
|
18
|
+
extends GetRecommendationsRequest {}
|
|
19
|
+
export interface GetRecommendationsCommandOutput
|
|
20
|
+
extends GetRecommendationsResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
|
|
23
|
+
export declare class GetRecommendationsCommand extends $Command<
|
|
24
|
+
GetRecommendationsCommandInput,
|
|
25
|
+
GetRecommendationsCommandOutput,
|
|
26
|
+
PersonalizeRuntimeClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetRecommendationsCommandInput;
|
|
29
|
+
constructor(input: GetRecommendationsCommandInput);
|
|
30
|
+
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: PersonalizeRuntimeClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetRecommendationsCommandInput, GetRecommendationsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./GetPersonalizedRankingCommand";
|
|
2
|
-
export * from "./GetRecommendationsCommand";
|
|
1
|
+
export * from "./GetPersonalizedRankingCommand";
|
|
2
|
+
export * from "./GetRecommendationsCommand";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
2
|
-
export declare const defaultRegionInfoProvider: RegionInfoProvider;
|
|
1
|
+
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
2
|
+
export declare const defaultRegionInfoProvider: RegionInfoProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./PersonalizeRuntime";
|
|
2
|
-
export * from "./PersonalizeRuntimeClient";
|
|
3
|
-
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
|
-
export { PersonalizeRuntimeServiceException } from "./models/PersonalizeRuntimeServiceException";
|
|
1
|
+
export * from "./PersonalizeRuntime";
|
|
2
|
+
export * from "./PersonalizeRuntimeClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export { PersonalizeRuntimeServiceException } from "./models/PersonalizeRuntimeServiceException";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@aws-sdk/smithy-client";
|
|
5
|
+
|
|
6
|
+
export declare class PersonalizeRuntimeServiceException extends __ServiceException {
|
|
7
|
+
constructor(options: __ServiceExceptionOptions);
|
|
8
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
1
|
+
export * from "./models_0";
|
|
@@ -1,94 +1,102 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { PersonalizeRuntimeServiceException as __BaseException } from "./PersonalizeRuntimeServiceException";
|
|
3
|
-
export interface GetPersonalizedRankingRequest {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
export interface GetRecommendationsRequest {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
export declare const PredictedItemFilterSensitiveLog: (
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
export declare const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
export declare const
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { PersonalizeRuntimeServiceException as __BaseException } from "./PersonalizeRuntimeServiceException";
|
|
3
|
+
export interface GetPersonalizedRankingRequest {
|
|
4
|
+
campaignArn: string | undefined;
|
|
5
|
+
|
|
6
|
+
inputList: string[] | undefined;
|
|
7
|
+
|
|
8
|
+
userId: string | undefined;
|
|
9
|
+
|
|
10
|
+
context?: Record<string, string>;
|
|
11
|
+
|
|
12
|
+
filterArn?: string;
|
|
13
|
+
|
|
14
|
+
filterValues?: Record<string, string>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface PredictedItem {
|
|
18
|
+
itemId?: string;
|
|
19
|
+
|
|
20
|
+
score?: number;
|
|
21
|
+
|
|
22
|
+
promotionName?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface GetPersonalizedRankingResponse {
|
|
25
|
+
personalizedRanking?: PredictedItem[];
|
|
26
|
+
|
|
27
|
+
recommendationId?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export declare class InvalidInputException extends __BaseException {
|
|
31
|
+
readonly name: "InvalidInputException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
40
|
+
readonly name: "ResourceNotFoundException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
|
|
43
|
+
constructor(
|
|
44
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface Promotion {
|
|
49
|
+
name?: string;
|
|
50
|
+
|
|
51
|
+
percentPromotedItems?: number;
|
|
52
|
+
|
|
53
|
+
filterArn?: string;
|
|
54
|
+
|
|
55
|
+
filterValues?: Record<string, string>;
|
|
56
|
+
}
|
|
57
|
+
export interface GetRecommendationsRequest {
|
|
58
|
+
campaignArn?: string;
|
|
59
|
+
|
|
60
|
+
itemId?: string;
|
|
61
|
+
|
|
62
|
+
userId?: string;
|
|
63
|
+
|
|
64
|
+
numResults?: number;
|
|
65
|
+
|
|
66
|
+
context?: Record<string, string>;
|
|
67
|
+
|
|
68
|
+
filterArn?: string;
|
|
69
|
+
|
|
70
|
+
filterValues?: Record<string, string>;
|
|
71
|
+
|
|
72
|
+
recommenderArn?: string;
|
|
73
|
+
|
|
74
|
+
promotions?: Promotion[];
|
|
75
|
+
}
|
|
76
|
+
export interface GetRecommendationsResponse {
|
|
77
|
+
itemList?: PredictedItem[];
|
|
78
|
+
|
|
79
|
+
recommendationId?: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export declare const GetPersonalizedRankingRequestFilterSensitiveLog: (
|
|
83
|
+
obj: GetPersonalizedRankingRequest
|
|
84
|
+
) => any;
|
|
85
|
+
|
|
86
|
+
export declare const PredictedItemFilterSensitiveLog: (
|
|
87
|
+
obj: PredictedItem
|
|
88
|
+
) => any;
|
|
89
|
+
|
|
90
|
+
export declare const GetPersonalizedRankingResponseFilterSensitiveLog: (
|
|
91
|
+
obj: GetPersonalizedRankingResponse
|
|
92
|
+
) => any;
|
|
93
|
+
|
|
94
|
+
export declare const PromotionFilterSensitiveLog: (obj: Promotion) => any;
|
|
95
|
+
|
|
96
|
+
export declare const GetRecommendationsRequestFilterSensitiveLog: (
|
|
97
|
+
obj: GetRecommendationsRequest
|
|
98
|
+
) => any;
|
|
99
|
+
|
|
100
|
+
export declare const GetRecommendationsResponseFilterSensitiveLog: (
|
|
101
|
+
obj: GetRecommendationsResponse
|
|
102
|
+
) => any;
|
|
@@ -1,8 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@aws-sdk/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
6
|
+
import {
|
|
7
|
+
GetPersonalizedRankingCommandInput,
|
|
8
|
+
GetPersonalizedRankingCommandOutput,
|
|
9
|
+
} from "../commands/GetPersonalizedRankingCommand";
|
|
10
|
+
import {
|
|
11
|
+
GetRecommendationsCommandInput,
|
|
12
|
+
GetRecommendationsCommandOutput,
|
|
13
|
+
} from "../commands/GetRecommendationsCommand";
|
|
14
|
+
export declare const serializeAws_restJson1GetPersonalizedRankingCommand: (
|
|
15
|
+
input: GetPersonalizedRankingCommandInput,
|
|
16
|
+
context: __SerdeContext
|
|
17
|
+
) => Promise<__HttpRequest>;
|
|
18
|
+
export declare const serializeAws_restJson1GetRecommendationsCommand: (
|
|
19
|
+
input: GetRecommendationsCommandInput,
|
|
20
|
+
context: __SerdeContext
|
|
21
|
+
) => Promise<__HttpRequest>;
|
|
22
|
+
export declare const deserializeAws_restJson1GetPersonalizedRankingCommand: (
|
|
23
|
+
output: __HttpResponse,
|
|
24
|
+
context: __SerdeContext
|
|
25
|
+
) => Promise<GetPersonalizedRankingCommandOutput>;
|
|
26
|
+
export declare const deserializeAws_restJson1GetRecommendationsCommand: (
|
|
27
|
+
output: __HttpResponse,
|
|
28
|
+
context: __SerdeContext
|
|
29
|
+
) => Promise<GetRecommendationsCommandOutput>;
|
|
@@ -1,38 +1,68 @@
|
|
|
1
|
-
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
-
import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient";
|
|
3
|
-
|
|
4
|
-
export declare const getRuntimeConfig: (
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (
|
|
5
|
+
config: PersonalizeRuntimeClientConfig
|
|
6
|
+
) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
9
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
10
|
+
>;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
14
|
+
credentialDefaultProvider: (
|
|
15
|
+
input: any
|
|
16
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
17
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
18
|
+
import("@aws-sdk/types").UserAgent
|
|
19
|
+
>;
|
|
20
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
21
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
22
|
+
requestHandler:
|
|
23
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
24
|
+
any,
|
|
25
|
+
any,
|
|
26
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
27
|
+
> &
|
|
28
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
29
|
+
| RequestHandler;
|
|
30
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
31
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
32
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
33
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
34
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
35
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
36
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
37
|
+
apiVersion: string;
|
|
38
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
39
|
+
disableHostPrefix: boolean;
|
|
40
|
+
logger: import("@aws-sdk/types").Logger;
|
|
41
|
+
serviceId: string;
|
|
42
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
43
|
+
endpoint?:
|
|
44
|
+
| string
|
|
45
|
+
| import("@aws-sdk/types").Endpoint
|
|
46
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
47
|
+
| undefined;
|
|
48
|
+
tls?: boolean | undefined;
|
|
49
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
50
|
+
credentials?:
|
|
51
|
+
| import("@aws-sdk/types").Credentials
|
|
52
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
53
|
+
| undefined;
|
|
54
|
+
signer?:
|
|
55
|
+
| import("@aws-sdk/types").RequestSigner
|
|
56
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
|
|
57
|
+
| undefined;
|
|
58
|
+
signingEscapePath?: boolean | undefined;
|
|
59
|
+
systemClockOffset?: number | undefined;
|
|
60
|
+
signingRegion?: string | undefined;
|
|
61
|
+
signerConstructor?:
|
|
62
|
+
| (new (
|
|
63
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
64
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
65
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
66
|
+
| undefined;
|
|
67
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
68
|
+
};
|
|
@@ -1,38 +1,68 @@
|
|
|
1
|
-
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient";
|
|
3
|
-
|
|
4
|
-
export declare const getRuntimeConfig: (
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (
|
|
5
|
+
config: PersonalizeRuntimeClientConfig
|
|
6
|
+
) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
9
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
10
|
+
>;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
14
|
+
credentialDefaultProvider: (
|
|
15
|
+
input: any
|
|
16
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
17
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
18
|
+
import("@aws-sdk/types").UserAgent
|
|
19
|
+
>;
|
|
20
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
21
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
22
|
+
requestHandler:
|
|
23
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
24
|
+
any,
|
|
25
|
+
any,
|
|
26
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
27
|
+
> &
|
|
28
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
29
|
+
| RequestHandler;
|
|
30
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
31
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
32
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
33
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
34
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
35
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
36
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
37
|
+
apiVersion: string;
|
|
38
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
39
|
+
disableHostPrefix: boolean;
|
|
40
|
+
logger: import("@aws-sdk/types").Logger;
|
|
41
|
+
serviceId: string;
|
|
42
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
43
|
+
endpoint?:
|
|
44
|
+
| string
|
|
45
|
+
| import("@aws-sdk/types").Endpoint
|
|
46
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
47
|
+
| undefined;
|
|
48
|
+
tls?: boolean | undefined;
|
|
49
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
50
|
+
credentials?:
|
|
51
|
+
| import("@aws-sdk/types").Credentials
|
|
52
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
53
|
+
| undefined;
|
|
54
|
+
signer?:
|
|
55
|
+
| import("@aws-sdk/types").RequestSigner
|
|
56
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
|
|
57
|
+
| undefined;
|
|
58
|
+
signingEscapePath?: boolean | undefined;
|
|
59
|
+
systemClockOffset?: number | undefined;
|
|
60
|
+
signingRegion?: string | undefined;
|
|
61
|
+
signerConstructor?:
|
|
62
|
+
| (new (
|
|
63
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
64
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
65
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
66
|
+
| undefined;
|
|
67
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
68
|
+
};
|
|
@@ -1,37 +1,69 @@
|
|
|
1
|
-
import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient";
|
|
2
|
-
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (
|
|
4
|
+
config: PersonalizeRuntimeClientConfig
|
|
5
|
+
) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
+
requestHandler:
|
|
9
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
10
|
+
any,
|
|
11
|
+
any,
|
|
12
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
13
|
+
> &
|
|
14
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
15
|
+
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
16
|
+
apiVersion: string;
|
|
17
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
18
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
19
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
20
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
23
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
26
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
27
|
+
logger: import("@aws-sdk/types").Logger;
|
|
28
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
+
serviceId: string;
|
|
31
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
32
|
+
credentialDefaultProvider: (
|
|
33
|
+
input: any
|
|
34
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
35
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
36
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
37
|
+
import("@aws-sdk/types").UserAgent
|
|
38
|
+
>;
|
|
39
|
+
defaultsMode:
|
|
40
|
+
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
41
|
+
| import("@aws-sdk/types").Provider<
|
|
42
|
+
import("@aws-sdk/smithy-client").DefaultsMode
|
|
43
|
+
>;
|
|
44
|
+
endpoint?:
|
|
45
|
+
| string
|
|
46
|
+
| import("@aws-sdk/types").Endpoint
|
|
47
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
48
|
+
| undefined;
|
|
49
|
+
tls?: boolean | undefined;
|
|
50
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
51
|
+
credentials?:
|
|
52
|
+
| import("@aws-sdk/types").Credentials
|
|
53
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
54
|
+
| undefined;
|
|
55
|
+
signer?:
|
|
56
|
+
| import("@aws-sdk/types").RequestSigner
|
|
57
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
|
|
58
|
+
| undefined;
|
|
59
|
+
signingEscapePath?: boolean | undefined;
|
|
60
|
+
systemClockOffset?: number | undefined;
|
|
61
|
+
signingRegion?: string | undefined;
|
|
62
|
+
signerConstructor?:
|
|
63
|
+
| (new (
|
|
64
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
65
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
66
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
67
|
+
| undefined;
|
|
68
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
69
|
+
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
-
import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient";
|
|
3
|
-
|
|
4
|
-
export declare const getRuntimeConfig: (
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (
|
|
5
|
+
config: PersonalizeRuntimeClientConfig
|
|
6
|
+
) => {
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
disableHostPrefix: boolean;
|
|
9
|
+
logger: __Logger;
|
|
10
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
11
|
+
serviceId: string;
|
|
12
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
13
|
+
};
|
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.170.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,45 +19,45 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.170.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.170.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.170.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.170.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.170.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.170.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.170.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.170.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.170.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.170.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.170.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.170.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.170.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.170.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.170.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.170.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.170.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.170.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.170.0",
|
|
41
|
+
"@aws-sdk/types": "3.170.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.170.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.170.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.170.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.170.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.170.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.170.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.170.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.170.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.170.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.170.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
53
53
|
"tslib": "^2.3.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.170.0",
|
|
57
57
|
"@tsconfig/recommended": "1.0.1",
|
|
58
58
|
"@types/node": "^12.7.5",
|
|
59
59
|
"concurrently": "7.0.0",
|
|
60
|
-
"downlevel-dts": "0.
|
|
60
|
+
"downlevel-dts": "0.10.1",
|
|
61
61
|
"rimraf": "3.0.2",
|
|
62
62
|
"typedoc": "0.19.2",
|
|
63
63
|
"typescript": "~4.6.2"
|