@aws-sdk/client-kendra-ranking 3.1087.0 → 3.1088.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/KendraRanking.d.ts +31 -45
- package/dist-types/ts3.4/KendraRankingClient.d.ts +8 -24
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateRescoreExecutionPlanCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteRescoreExecutionPlanCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeRescoreExecutionPlanCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListRescoreExecutionPlansCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RescoreCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateRescoreExecutionPlanCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +7 -21
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -23,14 +23,8 @@ import {
|
|
|
23
23
|
ListTagsForResourceCommandInput,
|
|
24
24
|
ListTagsForResourceCommandOutput,
|
|
25
25
|
} from "./commands/ListTagsForResourceCommand";
|
|
26
|
-
import {
|
|
27
|
-
|
|
28
|
-
RescoreCommandOutput,
|
|
29
|
-
} from "./commands/RescoreCommand";
|
|
30
|
-
import {
|
|
31
|
-
TagResourceCommandInput,
|
|
32
|
-
TagResourceCommandOutput,
|
|
33
|
-
} from "./commands/TagResourceCommand";
|
|
26
|
+
import { RescoreCommandInput, RescoreCommandOutput } from "./commands/RescoreCommand";
|
|
27
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
28
|
import {
|
|
35
29
|
UntagResourceCommandInput,
|
|
36
30
|
UntagResourceCommandOutput,
|
|
@@ -43,130 +37,122 @@ import { KendraRankingClient } from "./KendraRankingClient";
|
|
|
43
37
|
export interface KendraRanking {
|
|
44
38
|
createRescoreExecutionPlan(
|
|
45
39
|
args: CreateRescoreExecutionPlanCommandInput,
|
|
46
|
-
options?: __HttpHandlerOptions
|
|
40
|
+
options?: __HttpHandlerOptions,
|
|
47
41
|
): Promise<CreateRescoreExecutionPlanCommandOutput>;
|
|
48
42
|
createRescoreExecutionPlan(
|
|
49
43
|
args: CreateRescoreExecutionPlanCommandInput,
|
|
50
|
-
cb: (err: any, data?: CreateRescoreExecutionPlanCommandOutput) => void
|
|
44
|
+
cb: (err: any, data?: CreateRescoreExecutionPlanCommandOutput) => void,
|
|
51
45
|
): void;
|
|
52
46
|
createRescoreExecutionPlan(
|
|
53
47
|
args: CreateRescoreExecutionPlanCommandInput,
|
|
54
48
|
options: __HttpHandlerOptions,
|
|
55
|
-
cb: (err: any, data?: CreateRescoreExecutionPlanCommandOutput) => void
|
|
49
|
+
cb: (err: any, data?: CreateRescoreExecutionPlanCommandOutput) => void,
|
|
56
50
|
): void;
|
|
57
51
|
deleteRescoreExecutionPlan(
|
|
58
52
|
args: DeleteRescoreExecutionPlanCommandInput,
|
|
59
|
-
options?: __HttpHandlerOptions
|
|
53
|
+
options?: __HttpHandlerOptions,
|
|
60
54
|
): Promise<DeleteRescoreExecutionPlanCommandOutput>;
|
|
61
55
|
deleteRescoreExecutionPlan(
|
|
62
56
|
args: DeleteRescoreExecutionPlanCommandInput,
|
|
63
|
-
cb: (err: any, data?: DeleteRescoreExecutionPlanCommandOutput) => void
|
|
57
|
+
cb: (err: any, data?: DeleteRescoreExecutionPlanCommandOutput) => void,
|
|
64
58
|
): void;
|
|
65
59
|
deleteRescoreExecutionPlan(
|
|
66
60
|
args: DeleteRescoreExecutionPlanCommandInput,
|
|
67
61
|
options: __HttpHandlerOptions,
|
|
68
|
-
cb: (err: any, data?: DeleteRescoreExecutionPlanCommandOutput) => void
|
|
62
|
+
cb: (err: any, data?: DeleteRescoreExecutionPlanCommandOutput) => void,
|
|
69
63
|
): void;
|
|
70
64
|
describeRescoreExecutionPlan(
|
|
71
65
|
args: DescribeRescoreExecutionPlanCommandInput,
|
|
72
|
-
options?: __HttpHandlerOptions
|
|
66
|
+
options?: __HttpHandlerOptions,
|
|
73
67
|
): Promise<DescribeRescoreExecutionPlanCommandOutput>;
|
|
74
68
|
describeRescoreExecutionPlan(
|
|
75
69
|
args: DescribeRescoreExecutionPlanCommandInput,
|
|
76
|
-
cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void
|
|
70
|
+
cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void,
|
|
77
71
|
): void;
|
|
78
72
|
describeRescoreExecutionPlan(
|
|
79
73
|
args: DescribeRescoreExecutionPlanCommandInput,
|
|
80
74
|
options: __HttpHandlerOptions,
|
|
81
|
-
cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void
|
|
75
|
+
cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void,
|
|
82
76
|
): void;
|
|
83
77
|
listRescoreExecutionPlans(): Promise<ListRescoreExecutionPlansCommandOutput>;
|
|
84
78
|
listRescoreExecutionPlans(
|
|
85
79
|
args: ListRescoreExecutionPlansCommandInput,
|
|
86
|
-
options?: __HttpHandlerOptions
|
|
80
|
+
options?: __HttpHandlerOptions,
|
|
87
81
|
): Promise<ListRescoreExecutionPlansCommandOutput>;
|
|
88
82
|
listRescoreExecutionPlans(
|
|
89
83
|
args: ListRescoreExecutionPlansCommandInput,
|
|
90
|
-
cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void
|
|
84
|
+
cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void,
|
|
91
85
|
): void;
|
|
92
86
|
listRescoreExecutionPlans(
|
|
93
87
|
args: ListRescoreExecutionPlansCommandInput,
|
|
94
88
|
options: __HttpHandlerOptions,
|
|
95
|
-
cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void
|
|
89
|
+
cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void,
|
|
96
90
|
): void;
|
|
97
91
|
listTagsForResource(
|
|
98
92
|
args: ListTagsForResourceCommandInput,
|
|
99
|
-
options?: __HttpHandlerOptions
|
|
93
|
+
options?: __HttpHandlerOptions,
|
|
100
94
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
101
95
|
listTagsForResource(
|
|
102
96
|
args: ListTagsForResourceCommandInput,
|
|
103
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
97
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
104
98
|
): void;
|
|
105
99
|
listTagsForResource(
|
|
106
100
|
args: ListTagsForResourceCommandInput,
|
|
107
101
|
options: __HttpHandlerOptions,
|
|
108
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
109
|
-
): void;
|
|
110
|
-
rescore(
|
|
111
|
-
args: RescoreCommandInput,
|
|
112
|
-
options?: __HttpHandlerOptions
|
|
113
|
-
): Promise<RescoreCommandOutput>;
|
|
114
|
-
rescore(
|
|
115
|
-
args: RescoreCommandInput,
|
|
116
|
-
cb: (err: any, data?: RescoreCommandOutput) => void
|
|
102
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
117
103
|
): void;
|
|
104
|
+
rescore(args: RescoreCommandInput, options?: __HttpHandlerOptions): Promise<RescoreCommandOutput>;
|
|
105
|
+
rescore(args: RescoreCommandInput, cb: (err: any, data?: RescoreCommandOutput) => void): void;
|
|
118
106
|
rescore(
|
|
119
107
|
args: RescoreCommandInput,
|
|
120
108
|
options: __HttpHandlerOptions,
|
|
121
|
-
cb: (err: any, data?: RescoreCommandOutput) => void
|
|
109
|
+
cb: (err: any, data?: RescoreCommandOutput) => void,
|
|
122
110
|
): void;
|
|
123
111
|
tagResource(
|
|
124
112
|
args: TagResourceCommandInput,
|
|
125
|
-
options?: __HttpHandlerOptions
|
|
113
|
+
options?: __HttpHandlerOptions,
|
|
126
114
|
): Promise<TagResourceCommandOutput>;
|
|
127
115
|
tagResource(
|
|
128
116
|
args: TagResourceCommandInput,
|
|
129
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
117
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
130
118
|
): void;
|
|
131
119
|
tagResource(
|
|
132
120
|
args: TagResourceCommandInput,
|
|
133
121
|
options: __HttpHandlerOptions,
|
|
134
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
122
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
135
123
|
): void;
|
|
136
124
|
untagResource(
|
|
137
125
|
args: UntagResourceCommandInput,
|
|
138
|
-
options?: __HttpHandlerOptions
|
|
126
|
+
options?: __HttpHandlerOptions,
|
|
139
127
|
): Promise<UntagResourceCommandOutput>;
|
|
140
128
|
untagResource(
|
|
141
129
|
args: UntagResourceCommandInput,
|
|
142
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
130
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
143
131
|
): void;
|
|
144
132
|
untagResource(
|
|
145
133
|
args: UntagResourceCommandInput,
|
|
146
134
|
options: __HttpHandlerOptions,
|
|
147
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
135
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
148
136
|
): void;
|
|
149
137
|
updateRescoreExecutionPlan(
|
|
150
138
|
args: UpdateRescoreExecutionPlanCommandInput,
|
|
151
|
-
options?: __HttpHandlerOptions
|
|
139
|
+
options?: __HttpHandlerOptions,
|
|
152
140
|
): Promise<UpdateRescoreExecutionPlanCommandOutput>;
|
|
153
141
|
updateRescoreExecutionPlan(
|
|
154
142
|
args: UpdateRescoreExecutionPlanCommandInput,
|
|
155
|
-
cb: (err: any, data?: UpdateRescoreExecutionPlanCommandOutput) => void
|
|
143
|
+
cb: (err: any, data?: UpdateRescoreExecutionPlanCommandOutput) => void,
|
|
156
144
|
): void;
|
|
157
145
|
updateRescoreExecutionPlan(
|
|
158
146
|
args: UpdateRescoreExecutionPlanCommandInput,
|
|
159
147
|
options: __HttpHandlerOptions,
|
|
160
|
-
cb: (err: any, data?: UpdateRescoreExecutionPlanCommandOutput) => void
|
|
148
|
+
cb: (err: any, data?: UpdateRescoreExecutionPlanCommandOutput) => void,
|
|
161
149
|
): void;
|
|
162
150
|
paginateListRescoreExecutionPlans(
|
|
163
151
|
args?: ListRescoreExecutionPlansCommandInput,
|
|
164
152
|
paginationConfig?: Pick<
|
|
165
153
|
PaginationConfiguration,
|
|
166
154
|
Exclude<keyof PaginationConfiguration, "client">
|
|
167
|
-
|
|
155
|
+
>,
|
|
168
156
|
): Paginator<ListRescoreExecutionPlansCommandOutput>;
|
|
169
157
|
}
|
|
170
|
-
export declare class KendraRanking
|
|
171
|
-
extends KendraRankingClient
|
|
172
|
-
implements KendraRanking {}
|
|
158
|
+
export declare class KendraRanking extends KendraRankingClient implements KendraRanking {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -56,14 +53,8 @@ import {
|
|
|
56
53
|
ListTagsForResourceCommandInput,
|
|
57
54
|
ListTagsForResourceCommandOutput,
|
|
58
55
|
} from "./commands/ListTagsForResourceCommand";
|
|
59
|
-
import {
|
|
60
|
-
|
|
61
|
-
RescoreCommandOutput,
|
|
62
|
-
} from "./commands/RescoreCommand";
|
|
63
|
-
import {
|
|
64
|
-
TagResourceCommandInput,
|
|
65
|
-
TagResourceCommandOutput,
|
|
66
|
-
} from "./commands/TagResourceCommand";
|
|
56
|
+
import { RescoreCommandInput, RescoreCommandOutput } from "./commands/RescoreCommand";
|
|
57
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
67
58
|
import {
|
|
68
59
|
UntagResourceCommandInput,
|
|
69
60
|
UntagResourceCommandOutput,
|
|
@@ -99,8 +90,7 @@ export type ServiceOutputTypes =
|
|
|
99
90
|
| TagResourceCommandOutput
|
|
100
91
|
| UntagResourceCommandOutput
|
|
101
92
|
| UpdateRescoreExecutionPlanCommandOutput;
|
|
102
|
-
export interface ClientDefaults
|
|
103
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
93
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
104
94
|
requestHandler?: __HttpHandlerUserInput;
|
|
105
95
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
106
96
|
urlParser?: __UrlParser;
|
|
@@ -125,9 +115,7 @@ export interface ClientDefaults
|
|
|
125
115
|
extensions?: RuntimeExtension[];
|
|
126
116
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
127
117
|
}
|
|
128
|
-
export type KendraRankingClientConfigType = Partial<
|
|
129
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
130
|
-
> &
|
|
118
|
+
export type KendraRankingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
131
119
|
ClientDefaults &
|
|
132
120
|
UserAgentInputConfig &
|
|
133
121
|
RetryInputConfig &
|
|
@@ -136,8 +124,7 @@ export type KendraRankingClientConfigType = Partial<
|
|
|
136
124
|
EndpointInputConfig<EndpointParameters> &
|
|
137
125
|
HttpAuthSchemeInputConfig &
|
|
138
126
|
ClientInputEndpointParameters;
|
|
139
|
-
export interface KendraRankingClientConfig
|
|
140
|
-
extends KendraRankingClientConfigType {}
|
|
127
|
+
export interface KendraRankingClientConfig extends KendraRankingClientConfigType {}
|
|
141
128
|
export type KendraRankingClientResolvedConfigType =
|
|
142
129
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
143
130
|
Required<ClientDefaults> &
|
|
@@ -149,8 +136,7 @@ export type KendraRankingClientResolvedConfigType =
|
|
|
149
136
|
EndpointResolvedConfig<EndpointParameters> &
|
|
150
137
|
HttpAuthSchemeResolvedConfig &
|
|
151
138
|
ClientResolvedEndpointParameters;
|
|
152
|
-
export interface KendraRankingClientResolvedConfig
|
|
153
|
-
extends KendraRankingClientResolvedConfigType {}
|
|
139
|
+
export interface KendraRankingClientResolvedConfig extends KendraRankingClientResolvedConfigType {}
|
|
154
140
|
export declare class KendraRankingClient extends __Client<
|
|
155
141
|
__HttpHandlerOptions,
|
|
156
142
|
ServiceInputTypes,
|
|
@@ -158,8 +144,6 @@ export declare class KendraRankingClient extends __Client<
|
|
|
158
144
|
KendraRankingClientResolvedConfig
|
|
159
145
|
> {
|
|
160
146
|
readonly config: KendraRankingClientResolvedConfig;
|
|
161
|
-
constructor(
|
|
162
|
-
...[configuration]: __CheckOptionalClientConfig<KendraRankingClientConfig>
|
|
163
|
-
);
|
|
147
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<KendraRankingClientConfig>);
|
|
164
148
|
destroy(): void;
|
|
165
149
|
}
|
|
@@ -7,17 +7,10 @@ import { KendraRankingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: KendraRankingHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: KendraRankingHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): KendraRankingHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { KendraRankingClientResolvedConfig } from "../KendraRankingClient";
|
|
15
|
-
export interface KendraRankingHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface KendraRankingHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface KendraRankingHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface KendraRankingHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
KendraRankingClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
KendraRankingHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultKendraRankingHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: KendraRankingClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<KendraRankingHttpAuthSchemeParameters>;
|
|
31
|
-
export interface KendraRankingHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<KendraRankingHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface KendraRankingHttpAuthSchemeProvider extends HttpAuthSchemeProvider<KendraRankingHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultKendraRankingHttpAuthSchemeProvider: KendraRankingHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: KendraRankingHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: KendraRankingHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./KendraRankingClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
KendraRankingClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
CreateRescoreExecutionPlanResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface CreateRescoreExecutionPlanCommandInput
|
|
8
|
-
extends CreateRescoreExecutionPlanRequest {}
|
|
7
|
+
export interface CreateRescoreExecutionPlanCommandInput extends CreateRescoreExecutionPlanRequest {}
|
|
9
8
|
export interface CreateRescoreExecutionPlanCommandOutput
|
|
10
|
-
extends CreateRescoreExecutionPlanResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends CreateRescoreExecutionPlanResponse, __MetadataBearer {}
|
|
12
10
|
declare const CreateRescoreExecutionPlanCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: CreateRescoreExecutionPlanCommandInput
|
|
12
|
+
input: CreateRescoreExecutionPlanCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
CreateRescoreExecutionPlanCommandInput,
|
|
17
15
|
CreateRescoreExecutionPlanCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const CreateRescoreExecutionPlanCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: CreateRescoreExecutionPlanCommandInput
|
|
21
|
+
input: CreateRescoreExecutionPlanCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
CreateRescoreExecutionPlanCommandInput,
|
|
26
24
|
CreateRescoreExecutionPlanCommandOutput,
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
2
|
import { DeleteRescoreExecutionPlanRequest } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
|
-
export interface DeleteRescoreExecutionPlanCommandInput
|
|
5
|
-
|
|
6
|
-
export interface DeleteRescoreExecutionPlanCommandOutput
|
|
7
|
-
extends __MetadataBearer {}
|
|
4
|
+
export interface DeleteRescoreExecutionPlanCommandInput extends DeleteRescoreExecutionPlanRequest {}
|
|
5
|
+
export interface DeleteRescoreExecutionPlanCommandOutput extends __MetadataBearer {}
|
|
8
6
|
declare const DeleteRescoreExecutionPlanCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: DeleteRescoreExecutionPlanCommandInput
|
|
8
|
+
input: DeleteRescoreExecutionPlanCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
DeleteRescoreExecutionPlanCommandInput,
|
|
13
11
|
DeleteRescoreExecutionPlanCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const DeleteRescoreExecutionPlanCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: DeleteRescoreExecutionPlanCommandInput
|
|
17
|
+
input: DeleteRescoreExecutionPlanCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
DeleteRescoreExecutionPlanCommandInput,
|
|
22
20
|
DeleteRescoreExecutionPlanCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
DescribeRescoreExecutionPlanResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface DescribeRescoreExecutionPlanCommandInput
|
|
8
|
-
extends DescribeRescoreExecutionPlanRequest {}
|
|
7
|
+
export interface DescribeRescoreExecutionPlanCommandInput extends DescribeRescoreExecutionPlanRequest {}
|
|
9
8
|
export interface DescribeRescoreExecutionPlanCommandOutput
|
|
10
|
-
extends DescribeRescoreExecutionPlanResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends DescribeRescoreExecutionPlanResponse, __MetadataBearer {}
|
|
12
10
|
declare const DescribeRescoreExecutionPlanCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: DescribeRescoreExecutionPlanCommandInput
|
|
12
|
+
input: DescribeRescoreExecutionPlanCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
DescribeRescoreExecutionPlanCommandInput,
|
|
17
15
|
DescribeRescoreExecutionPlanCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const DescribeRescoreExecutionPlanCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: DescribeRescoreExecutionPlanCommandInput
|
|
21
|
+
input: DescribeRescoreExecutionPlanCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
DescribeRescoreExecutionPlanCommandInput,
|
|
26
24
|
DescribeRescoreExecutionPlanCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
ListRescoreExecutionPlansResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListRescoreExecutionPlansCommandInput
|
|
8
|
-
extends ListRescoreExecutionPlansRequest {}
|
|
7
|
+
export interface ListRescoreExecutionPlansCommandInput extends ListRescoreExecutionPlansRequest {}
|
|
9
8
|
export interface ListRescoreExecutionPlansCommandOutput
|
|
10
|
-
extends ListRescoreExecutionPlansResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends ListRescoreExecutionPlansResponse, __MetadataBearer {}
|
|
12
10
|
declare const ListRescoreExecutionPlansCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: ListRescoreExecutionPlansCommandInput
|
|
12
|
+
input: ListRescoreExecutionPlansCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
ListRescoreExecutionPlansCommandInput,
|
|
17
15
|
ListRescoreExecutionPlansCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListTagsForResourceRequest,
|
|
4
|
-
ListTagsForResourceResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListTagsForResourceCommandInput
|
|
8
|
-
extends ListTagsForResourceRequest {}
|
|
4
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
9
5
|
export interface ListTagsForResourceCommandOutput
|
|
10
|
-
extends ListTagsForResourceResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
12
7
|
declare const ListTagsForResourceCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListTagsForResourceCommandInput
|
|
9
|
+
input: ListTagsForResourceCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListTagsForResourceCommandInput,
|
|
17
12
|
ListTagsForResourceCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: ListTagsForResourceCommandInput
|
|
18
|
+
input: ListTagsForResourceCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
ListTagsForResourceCommandInput,
|
|
26
21
|
ListTagsForResourceCommandOutput,
|
|
@@ -4,14 +4,18 @@ export { __MetadataBearer };
|
|
|
4
4
|
export interface RescoreCommandInput extends RescoreRequest {}
|
|
5
5
|
export interface RescoreCommandOutput extends RescoreResult, __MetadataBearer {}
|
|
6
6
|
declare const RescoreCommand_base: {
|
|
7
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: RescoreCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
8
10
|
RescoreCommandInput,
|
|
9
11
|
RescoreCommandOutput,
|
|
10
12
|
import("..").KendraRankingClientResolvedConfig,
|
|
11
13
|
import("..").ServiceInputTypes,
|
|
12
14
|
import("..").ServiceOutputTypes
|
|
13
15
|
>;
|
|
14
|
-
new (
|
|
16
|
+
new (
|
|
17
|
+
input: RescoreCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
15
19
|
RescoreCommandInput,
|
|
16
20
|
RescoreCommandOutput,
|
|
17
21
|
import("..").KendraRankingClientResolvedConfig,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
5
|
-
export interface TagResourceCommandOutput
|
|
6
|
-
extends TagResourceResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
8
6
|
declare const TagResourceCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: TagResourceCommandInput
|
|
8
|
+
input: TagResourceCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
TagResourceCommandInput,
|
|
13
11
|
TagResourceCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const TagResourceCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: TagResourceCommandInput
|
|
17
|
+
input: TagResourceCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
TagResourceCommandInput,
|
|
22
20
|
TagResourceCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
UntagResourceRequest,
|
|
4
|
-
UntagResourceResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
8
|
-
export interface UntagResourceCommandOutput
|
|
9
|
-
extends UntagResourceResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
11
6
|
declare const UntagResourceCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: UntagResourceCommandInput
|
|
8
|
+
input: UntagResourceCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
UntagResourceCommandInput,
|
|
16
11
|
UntagResourceCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const UntagResourceCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: UntagResourceCommandInput
|
|
17
|
+
input: UntagResourceCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
UntagResourceCommandInput,
|
|
25
20
|
UntagResourceCommandOutput,
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
2
|
import { UpdateRescoreExecutionPlanRequest } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
|
-
export interface UpdateRescoreExecutionPlanCommandInput
|
|
5
|
-
|
|
6
|
-
export interface UpdateRescoreExecutionPlanCommandOutput
|
|
7
|
-
extends __MetadataBearer {}
|
|
4
|
+
export interface UpdateRescoreExecutionPlanCommandInput extends UpdateRescoreExecutionPlanRequest {}
|
|
5
|
+
export interface UpdateRescoreExecutionPlanCommandOutput extends __MetadataBearer {}
|
|
8
6
|
declare const UpdateRescoreExecutionPlanCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: UpdateRescoreExecutionPlanCommandInput
|
|
8
|
+
input: UpdateRescoreExecutionPlanCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
UpdateRescoreExecutionPlanCommandInput,
|
|
13
11
|
UpdateRescoreExecutionPlanCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const UpdateRescoreExecutionPlanCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: UpdateRescoreExecutionPlanCommandInput
|
|
17
|
+
input: UpdateRescoreExecutionPlanCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
UpdateRescoreExecutionPlanCommandInput,
|
|
22
20
|
UpdateRescoreExecutionPlanCommandOutput,
|
|
@@ -22,7 +22,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
22
22
|
defaultSigningName: string;
|
|
23
23
|
};
|
|
24
24
|
export declare const resolveClientEndpointParameters: <T>(
|
|
25
|
-
options: T & ClientInputEndpointParameters
|
|
25
|
+
options: T & ClientInputEndpointParameters,
|
|
26
26
|
) => T & ClientResolvedEndpointParameters;
|
|
27
27
|
export declare const commonParams: {
|
|
28
28
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface KendraRankingExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -4,9 +4,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
6
|
Message?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
8
|
}
|
|
11
9
|
export declare class ConflictException extends __BaseException {
|
|
12
10
|
readonly name: "ConflictException";
|
|
@@ -18,47 +16,35 @@ export declare class InternalServerException extends __BaseException {
|
|
|
18
16
|
readonly name: "InternalServerException";
|
|
19
17
|
readonly $fault: "server";
|
|
20
18
|
Message?: string | undefined;
|
|
21
|
-
constructor(
|
|
22
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
23
|
-
);
|
|
19
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
24
20
|
}
|
|
25
21
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
26
22
|
readonly name: "ServiceQuotaExceededException";
|
|
27
23
|
readonly $fault: "client";
|
|
28
24
|
Message?: string | undefined;
|
|
29
|
-
constructor(
|
|
30
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
31
|
-
);
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
32
26
|
}
|
|
33
27
|
export declare class ThrottlingException extends __BaseException {
|
|
34
28
|
readonly name: "ThrottlingException";
|
|
35
29
|
readonly $fault: "client";
|
|
36
30
|
Message?: string | undefined;
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
39
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
40
32
|
}
|
|
41
33
|
export declare class ValidationException extends __BaseException {
|
|
42
34
|
readonly name: "ValidationException";
|
|
43
35
|
readonly $fault: "client";
|
|
44
36
|
Message?: string | undefined;
|
|
45
|
-
constructor(
|
|
46
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
47
|
-
);
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
48
38
|
}
|
|
49
39
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
50
40
|
readonly name: "ResourceNotFoundException";
|
|
51
41
|
readonly $fault: "client";
|
|
52
42
|
Message?: string | undefined;
|
|
53
|
-
constructor(
|
|
54
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
55
|
-
);
|
|
43
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
56
44
|
}
|
|
57
45
|
export declare class ResourceUnavailableException extends __BaseException {
|
|
58
46
|
readonly name: "ResourceUnavailableException";
|
|
59
47
|
readonly $fault: "client";
|
|
60
48
|
Message?: string | undefined;
|
|
61
|
-
constructor(
|
|
62
|
-
opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
|
|
63
|
-
);
|
|
49
|
+
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
64
50
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { KendraRankingClient } from "../KendraRankingClient";
|
|
3
|
-
export interface KendraRankingPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface KendraRankingPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: KendraRankingClient;
|
|
6
5
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KendraRankingHttpAuthSchemeProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var KendraRankingServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var ConflictException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kendra-ranking",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Kendra Ranking Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kendra-ranking",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-kendra-ranking"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kendra-ranking",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-kendra-ranking"
|
|
68
68
|
}
|
|
69
69
|
}
|