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