@aws-sdk/client-personalize-runtime 3.168.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 CHANGED
@@ -3,6 +3,22 @@
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
+
14
+ # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-personalize-runtime
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
7
23
 
8
24
  **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 { GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput } from "./commands/GetPersonalizedRankingCommand";
3
- import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
4
- import { PersonalizeRuntimeClient } from "./PersonalizeRuntimeClient";
5
-
6
- export declare class PersonalizeRuntime extends PersonalizeRuntimeClient {
7
-
8
- getPersonalizedRanking(args: GetPersonalizedRankingCommandInput, options?: __HttpHandlerOptions): Promise<GetPersonalizedRankingCommandOutput>;
9
- getPersonalizedRanking(args: GetPersonalizedRankingCommandInput, cb: (err: any, data?: GetPersonalizedRankingCommandOutput) => void): void;
10
- getPersonalizedRanking(args: GetPersonalizedRankingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPersonalizedRankingCommandOutput) => void): void;
11
-
12
- getRecommendations(args: GetRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationsCommandOutput>;
13
- getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
14
- getRecommendations(args: GetRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
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 { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput } from "./commands/GetPersonalizedRankingCommand";
10
- import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
11
- export declare type ServiceInputTypes = GetPersonalizedRankingCommandInput | GetRecommendationsCommandInput;
12
- export declare type ServiceOutputTypes = GetPersonalizedRankingCommandOutput | GetRecommendationsCommandOutput;
13
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
14
-
15
- requestHandler?: __HttpHandler;
16
-
17
- sha256?: __HashConstructor;
18
-
19
- urlParser?: __UrlParser;
20
-
21
- bodyLengthChecker?: __BodyLengthCalculator;
22
-
23
- streamCollector?: __StreamCollector;
24
-
25
- base64Decoder?: __Decoder;
26
-
27
- base64Encoder?: __Encoder;
28
-
29
- utf8Decoder?: __Decoder;
30
-
31
- utf8Encoder?: __Encoder;
32
-
33
- runtime?: string;
34
-
35
- disableHostPrefix?: boolean;
36
-
37
- maxAttempts?: number | __Provider<number>;
38
-
39
- retryMode?: string | __Provider<string>;
40
-
41
- logger?: __Logger;
42
-
43
- useDualstackEndpoint?: boolean | __Provider<boolean>;
44
-
45
- useFipsEndpoint?: boolean | __Provider<boolean>;
46
-
47
- serviceId?: string;
48
-
49
- region?: string | __Provider<string>;
50
-
51
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
52
-
53
- regionInfoProvider?: RegionInfoProvider;
54
-
55
- defaultUserAgentProvider?: Provider<__UserAgent>;
56
-
57
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
58
- }
59
- declare type PersonalizeRuntimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
60
-
61
- export interface PersonalizeRuntimeClientConfig extends PersonalizeRuntimeClientConfigType {
62
- }
63
- declare type PersonalizeRuntimeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
64
-
65
- export interface PersonalizeRuntimeClientResolvedConfig extends PersonalizeRuntimeClientResolvedConfigType {
66
- }
67
-
68
- export declare class PersonalizeRuntimeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PersonalizeRuntimeClientResolvedConfig> {
69
-
70
- readonly config: PersonalizeRuntimeClientResolvedConfig;
71
- constructor(configuration: PersonalizeRuntimeClientConfig);
72
-
73
- destroy(): void;
74
- }
75
- export {};
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { GetPersonalizedRankingRequest, GetPersonalizedRankingResponse } from "../models/models_0";
4
- import { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeRuntimeClient";
5
- export interface GetPersonalizedRankingCommandInput extends GetPersonalizedRankingRequest {
6
- }
7
- export interface GetPersonalizedRankingCommandOutput extends GetPersonalizedRankingResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class GetPersonalizedRankingCommand extends $Command<GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput, PersonalizeRuntimeClientResolvedConfig> {
11
- readonly input: GetPersonalizedRankingCommandInput;
12
- constructor(input: GetPersonalizedRankingCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { GetRecommendationsRequest, GetRecommendationsResponse } from "../models/models_0";
4
- import { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeRuntimeClient";
5
- export interface GetRecommendationsCommandInput extends GetRecommendationsRequest {
6
- }
7
- export interface GetRecommendationsCommandOutput extends GetRecommendationsResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class GetRecommendationsCommand extends $Command<GetRecommendationsCommandInput, GetRecommendationsCommandOutput, PersonalizeRuntimeClientResolvedConfig> {
11
- readonly input: GetRecommendationsCommandInput;
12
- constructor(input: GetRecommendationsCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRecommendationsCommandInput, GetRecommendationsCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
-
3
- export declare class PersonalizeRuntimeServiceException extends __ServiceException {
4
-
5
- constructor(options: __ServiceExceptionOptions);
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
- campaignArn: string | undefined;
6
-
7
- inputList: string[] | undefined;
8
-
9
- userId: string | undefined;
10
-
11
- context?: Record<string, string>;
12
-
13
- filterArn?: string;
14
-
15
- filterValues?: Record<string, string>;
16
- }
17
-
18
- export interface PredictedItem {
19
-
20
- itemId?: string;
21
-
22
- score?: number;
23
-
24
- promotionName?: string;
25
- }
26
- export interface GetPersonalizedRankingResponse {
27
-
28
- personalizedRanking?: PredictedItem[];
29
-
30
- recommendationId?: string;
31
- }
32
-
33
- export declare class InvalidInputException extends __BaseException {
34
- readonly name: "InvalidInputException";
35
- readonly $fault: "client";
36
-
37
- constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
38
- }
39
-
40
- export declare class ResourceNotFoundException extends __BaseException {
41
- readonly name: "ResourceNotFoundException";
42
- readonly $fault: "client";
43
-
44
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
45
- }
46
-
47
- export interface Promotion {
48
-
49
- name?: string;
50
-
51
- percentPromotedItems?: number;
52
-
53
- filterArn?: string;
54
-
55
- filterValues?: Record<string, string>;
56
- }
57
- export interface GetRecommendationsRequest {
58
-
59
- campaignArn?: string;
60
-
61
- itemId?: string;
62
-
63
- userId?: string;
64
-
65
- numResults?: number;
66
-
67
- context?: Record<string, string>;
68
-
69
- filterArn?: string;
70
-
71
- filterValues?: Record<string, string>;
72
-
73
- recommenderArn?: string;
74
-
75
- promotions?: Promotion[];
76
- }
77
- export interface GetRecommendationsResponse {
78
-
79
- itemList?: PredictedItem[];
80
-
81
- recommendationId?: string;
82
- }
83
-
84
- export declare const GetPersonalizedRankingRequestFilterSensitiveLog: (obj: GetPersonalizedRankingRequest) => any;
85
-
86
- export declare const PredictedItemFilterSensitiveLog: (obj: PredictedItem) => any;
87
-
88
- export declare const GetPersonalizedRankingResponseFilterSensitiveLog: (obj: GetPersonalizedRankingResponse) => any;
89
-
90
- export declare const PromotionFilterSensitiveLog: (obj: Promotion) => any;
91
-
92
- export declare const GetRecommendationsRequestFilterSensitiveLog: (obj: GetRecommendationsRequest) => any;
93
-
94
- export declare const GetRecommendationsResponseFilterSensitiveLog: (obj: GetRecommendationsResponse) => any;
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 { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
- import { GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput } from "../commands/GetPersonalizedRankingCommand";
4
- import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "../commands/GetRecommendationsCommand";
5
- export declare const serializeAws_restJson1GetPersonalizedRankingCommand: (input: GetPersonalizedRankingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
6
- export declare const serializeAws_restJson1GetRecommendationsCommand: (input: GetRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
- export declare const deserializeAws_restJson1GetPersonalizedRankingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPersonalizedRankingCommandOutput>;
8
- export declare const deserializeAws_restJson1GetRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecommendationsCommandOutput>;
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: (config: PersonalizeRuntimeClientConfig) => {
5
- runtime: string;
6
- defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
- base64Decoder: import("@aws-sdk/types").Decoder;
8
- base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
- region: string | import("@aws-sdk/types").Provider<any>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
16
- sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
- utf8Decoder: import("@aws-sdk/types").Decoder;
21
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
- apiVersion: string;
23
- urlParser: import("@aws-sdk/types").UrlParser;
24
- disableHostPrefix: boolean;
25
- logger: import("@aws-sdk/types").Logger;
26
- serviceId: string;
27
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
- tls?: boolean | undefined;
30
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
- signingEscapePath?: boolean | undefined;
34
- systemClockOffset?: number | undefined;
35
- signingRegion?: string | undefined;
36
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
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: (config: PersonalizeRuntimeClientConfig) => {
5
- runtime: string;
6
- defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
- base64Decoder: import("@aws-sdk/types").Decoder;
8
- base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
- region: string | import("@aws-sdk/types").Provider<string>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
16
- sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
- utf8Decoder: import("@aws-sdk/types").Decoder;
21
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
- apiVersion: string;
23
- urlParser: import("@aws-sdk/types").UrlParser;
24
- disableHostPrefix: boolean;
25
- logger: import("@aws-sdk/types").Logger;
26
- serviceId: string;
27
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
- tls?: boolean | undefined;
30
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
- signingEscapePath?: boolean | undefined;
34
- systemClockOffset?: number | undefined;
35
- signingRegion?: string | undefined;
36
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
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: (config: PersonalizeRuntimeClientConfig) => {
4
- runtime: string;
5
- sha256: import("@aws-sdk/types").HashConstructor;
6
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
- apiVersion: string;
8
- urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- streamCollector: import("@aws-sdk/types").StreamCollector;
11
- base64Decoder: import("@aws-sdk/types").Decoder;
12
- base64Encoder: import("@aws-sdk/types").Encoder;
13
- utf8Decoder: import("@aws-sdk/types").Decoder;
14
- utf8Encoder: import("@aws-sdk/types").Encoder;
15
- disableHostPrefix: boolean;
16
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
- retryMode: string | import("@aws-sdk/types").Provider<string>;
18
- logger: import("@aws-sdk/types").Logger;
19
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
- serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<any>;
23
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
- tls?: boolean | undefined;
29
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
- signingEscapePath?: boolean | undefined;
33
- systemClockOffset?: number | undefined;
34
- signingRegion?: string | undefined;
35
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
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: (config: PersonalizeRuntimeClientConfig) => {
5
- apiVersion: string;
6
- disableHostPrefix: boolean;
7
- logger: __Logger;
8
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
9
- serviceId: string;
10
- urlParser: import("@aws-sdk/types").UrlParser;
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.168.0",
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.168.0",
23
- "@aws-sdk/config-resolver": "3.168.0",
24
- "@aws-sdk/credential-provider-node": "3.168.0",
25
- "@aws-sdk/fetch-http-handler": "3.168.0",
26
- "@aws-sdk/hash-node": "3.168.0",
27
- "@aws-sdk/invalid-dependency": "3.168.0",
28
- "@aws-sdk/middleware-content-length": "3.168.0",
29
- "@aws-sdk/middleware-host-header": "3.168.0",
30
- "@aws-sdk/middleware-logger": "3.168.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.168.0",
32
- "@aws-sdk/middleware-retry": "3.168.0",
33
- "@aws-sdk/middleware-serde": "3.168.0",
34
- "@aws-sdk/middleware-signing": "3.168.0",
35
- "@aws-sdk/middleware-stack": "3.168.0",
36
- "@aws-sdk/middleware-user-agent": "3.168.0",
37
- "@aws-sdk/node-config-provider": "3.168.0",
38
- "@aws-sdk/node-http-handler": "3.168.0",
39
- "@aws-sdk/protocol-http": "3.168.0",
40
- "@aws-sdk/smithy-client": "3.168.0",
41
- "@aws-sdk/types": "3.168.0",
42
- "@aws-sdk/url-parser": "3.168.0",
43
- "@aws-sdk/util-base64-browser": "3.168.0",
44
- "@aws-sdk/util-base64-node": "3.168.0",
45
- "@aws-sdk/util-body-length-browser": "3.168.0",
46
- "@aws-sdk/util-body-length-node": "3.168.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.168.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.168.0",
49
- "@aws-sdk/util-user-agent-browser": "3.168.0",
50
- "@aws-sdk/util-user-agent-node": "3.168.0",
51
- "@aws-sdk/util-utf8-browser": "3.168.0",
52
- "@aws-sdk/util-utf8-node": "3.168.0",
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.168.0",
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.7.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"