@aws-sdk/client-kendra-ranking 3.247.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.
Files changed (111) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +207 -0
  3. package/dist-cjs/KendraRanking.js +142 -0
  4. package/dist-cjs/KendraRankingClient.js +40 -0
  5. package/dist-cjs/commands/CreateRescoreExecutionPlanCommand.js +45 -0
  6. package/dist-cjs/commands/DeleteRescoreExecutionPlanCommand.js +45 -0
  7. package/dist-cjs/commands/DescribeRescoreExecutionPlanCommand.js +45 -0
  8. package/dist-cjs/commands/ListRescoreExecutionPlansCommand.js +45 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  10. package/dist-cjs/commands/RescoreCommand.js +45 -0
  11. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  12. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  13. package/dist-cjs/commands/UpdateRescoreExecutionPlanCommand.js +45 -0
  14. package/dist-cjs/commands/index.js +12 -0
  15. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  16. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  17. package/dist-cjs/endpoint/ruleset.js +7 -0
  18. package/dist-cjs/index.js +11 -0
  19. package/dist-cjs/models/KendraRankingServiceException.js +11 -0
  20. package/dist-cjs/models/index.js +4 -0
  21. package/dist-cjs/models/models_0.js +208 -0
  22. package/dist-cjs/pagination/Interfaces.js +2 -0
  23. package/dist-cjs/pagination/ListRescoreExecutionPlansPaginator.js +36 -0
  24. package/dist-cjs/pagination/index.js +5 -0
  25. package/dist-cjs/protocols/Aws_json1_0.js +928 -0
  26. package/dist-cjs/runtimeConfig.browser.js +42 -0
  27. package/dist-cjs/runtimeConfig.js +51 -0
  28. package/dist-cjs/runtimeConfig.native.js +15 -0
  29. package/dist-cjs/runtimeConfig.shared.js +18 -0
  30. package/dist-es/KendraRanking.js +138 -0
  31. package/dist-es/KendraRankingClient.js +36 -0
  32. package/dist-es/commands/CreateRescoreExecutionPlanCommand.js +41 -0
  33. package/dist-es/commands/DeleteRescoreExecutionPlanCommand.js +41 -0
  34. package/dist-es/commands/DescribeRescoreExecutionPlanCommand.js +41 -0
  35. package/dist-es/commands/ListRescoreExecutionPlansCommand.js +41 -0
  36. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  37. package/dist-es/commands/RescoreCommand.js +41 -0
  38. package/dist-es/commands/TagResourceCommand.js +41 -0
  39. package/dist-es/commands/UntagResourceCommand.js +41 -0
  40. package/dist-es/commands/UpdateRescoreExecutionPlanCommand.js +41 -0
  41. package/dist-es/commands/index.js +9 -0
  42. package/dist-es/endpoint/EndpointParameters.js +7 -0
  43. package/dist-es/endpoint/endpointResolver.js +8 -0
  44. package/dist-es/endpoint/ruleset.js +4 -0
  45. package/dist-es/index.js +6 -0
  46. package/dist-es/models/KendraRankingServiceException.js +7 -0
  47. package/dist-es/models/index.js +1 -0
  48. package/dist-es/models/models_0.js +176 -0
  49. package/dist-es/pagination/Interfaces.js +1 -0
  50. package/dist-es/pagination/ListRescoreExecutionPlansPaginator.js +32 -0
  51. package/dist-es/pagination/index.js +2 -0
  52. package/dist-es/protocols/Aws_json1_0.js +907 -0
  53. package/dist-es/runtimeConfig.browser.js +37 -0
  54. package/dist-es/runtimeConfig.js +46 -0
  55. package/dist-es/runtimeConfig.native.js +11 -0
  56. package/dist-es/runtimeConfig.shared.js +14 -0
  57. package/dist-types/KendraRanking.d.ts +104 -0
  58. package/dist-types/KendraRankingClient.d.ts +152 -0
  59. package/dist-types/commands/CreateRescoreExecutionPlanCommand.d.ts +46 -0
  60. package/dist-types/commands/DeleteRescoreExecutionPlanCommand.d.ts +39 -0
  61. package/dist-types/commands/DescribeRescoreExecutionPlanCommand.d.ts +39 -0
  62. package/dist-types/commands/ListRescoreExecutionPlansCommand.d.ts +39 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +39 -0
  64. package/dist-types/commands/RescoreCommand.d.ts +40 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +41 -0
  66. package/dist-types/commands/UntagResourceCommand.d.ts +40 -0
  67. package/dist-types/commands/UpdateRescoreExecutionPlanCommand.d.ts +42 -0
  68. package/dist-types/commands/index.d.ts +9 -0
  69. package/dist-types/endpoint/EndpointParameters.d.ts +17 -0
  70. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  71. package/dist-types/endpoint/ruleset.d.ts +2 -0
  72. package/dist-types/index.d.ts +6 -0
  73. package/dist-types/models/KendraRankingServiceException.d.ts +10 -0
  74. package/dist-types/models/index.d.ts +1 -0
  75. package/dist-types/models/models_0.d.ts +600 -0
  76. package/dist-types/pagination/Interfaces.d.ts +6 -0
  77. package/dist-types/pagination/ListRescoreExecutionPlansPaginator.d.ts +4 -0
  78. package/dist-types/pagination/index.d.ts +2 -0
  79. package/dist-types/protocols/Aws_json1_0.d.ts +29 -0
  80. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  81. package/dist-types/runtimeConfig.d.ts +42 -0
  82. package/dist-types/runtimeConfig.native.d.ts +41 -0
  83. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  84. package/dist-types/ts3.4/KendraRanking.d.ts +157 -0
  85. package/dist-types/ts3.4/KendraRankingClient.d.ts +166 -0
  86. package/dist-types/ts3.4/commands/CreateRescoreExecutionPlanCommand.d.ts +41 -0
  87. package/dist-types/ts3.4/commands/DeleteRescoreExecutionPlanCommand.d.ts +37 -0
  88. package/dist-types/ts3.4/commands/DescribeRescoreExecutionPlanCommand.d.ts +41 -0
  89. package/dist-types/ts3.4/commands/ListRescoreExecutionPlansCommand.d.ts +41 -0
  90. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/RescoreCommand.d.ts +32 -0
  92. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  93. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  94. package/dist-types/ts3.4/commands/UpdateRescoreExecutionPlanCommand.d.ts +37 -0
  95. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  96. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  97. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  98. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  99. package/dist-types/ts3.4/index.d.ts +6 -0
  100. package/dist-types/ts3.4/models/KendraRankingServiceException.d.ts +7 -0
  101. package/dist-types/ts3.4/models/index.d.ts +1 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +224 -0
  103. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  104. package/dist-types/ts3.4/pagination/ListRescoreExecutionPlansPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  106. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +113 -0
  107. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  108. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  109. package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
  110. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  111. package/package.json +105 -0
@@ -0,0 +1,42 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { KendraRankingClientConfig } from "./KendraRankingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
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
+ base64Decoder: import("@aws-sdk/types").Decoder;
25
+ base64Encoder: import("@aws-sdk/types").Encoder;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@aws-sdk/types").Logger;
28
+ serviceId: string;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
+ signingEscapePath?: boolean | undefined;
38
+ systemClockOffset?: number | undefined;
39
+ signingRegion?: string | undefined;
40
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
42
+ };
@@ -0,0 +1,42 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { KendraRankingClientConfig } from "./KendraRankingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
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
+ base64Decoder: import("@aws-sdk/types").Decoder;
25
+ base64Encoder: import("@aws-sdk/types").Encoder;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@aws-sdk/types").Logger;
28
+ serviceId: string;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
+ signingEscapePath?: boolean | undefined;
38
+ systemClockOffset?: number | undefined;
39
+ signingRegion?: string | undefined;
40
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
42
+ };
@@ -0,0 +1,41 @@
1
+ import { KendraRankingClientConfig } from "./KendraRankingClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@aws-sdk/types").HashConstructor;
8
+ 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;
9
+ apiVersion: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
+ streamCollector: import("@aws-sdk/types").StreamCollector;
13
+ base64Decoder: import("@aws-sdk/types").Decoder;
14
+ base64Encoder: import("@aws-sdk/types").Encoder;
15
+ utf8Decoder: import("@aws-sdk/types").Decoder;
16
+ utf8Encoder: import("@aws-sdk/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
20
+ logger: import("@aws-sdk/types").Logger;
21
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
+ serviceId: string;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
27
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
32
+ tls?: boolean | undefined;
33
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
34
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
35
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
36
+ signingEscapePath?: boolean | undefined;
37
+ systemClockOffset?: number | undefined;
38
+ signingRegion?: string | undefined;
39
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
40
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
41
+ };
@@ -0,0 +1,16 @@
1
+ import { KendraRankingClientConfig } from "./KendraRankingClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@aws-sdk/types").Logger | undefined;
12
+ }) => import("@aws-sdk/types").EndpointV2;
13
+ logger: import("@aws-sdk/types").Logger;
14
+ serviceId: string;
15
+ urlParser: import("@aws-sdk/types").UrlParser;
16
+ };
@@ -0,0 +1,157 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ CreateRescoreExecutionPlanCommandInput,
4
+ CreateRescoreExecutionPlanCommandOutput,
5
+ } from "./commands/CreateRescoreExecutionPlanCommand";
6
+ import {
7
+ DeleteRescoreExecutionPlanCommandInput,
8
+ DeleteRescoreExecutionPlanCommandOutput,
9
+ } from "./commands/DeleteRescoreExecutionPlanCommand";
10
+ import {
11
+ DescribeRescoreExecutionPlanCommandInput,
12
+ DescribeRescoreExecutionPlanCommandOutput,
13
+ } from "./commands/DescribeRescoreExecutionPlanCommand";
14
+ import {
15
+ ListRescoreExecutionPlansCommandInput,
16
+ ListRescoreExecutionPlansCommandOutput,
17
+ } from "./commands/ListRescoreExecutionPlansCommand";
18
+ import {
19
+ ListTagsForResourceCommandInput,
20
+ ListTagsForResourceCommandOutput,
21
+ } from "./commands/ListTagsForResourceCommand";
22
+ import {
23
+ RescoreCommandInput,
24
+ RescoreCommandOutput,
25
+ } from "./commands/RescoreCommand";
26
+ import {
27
+ TagResourceCommandInput,
28
+ TagResourceCommandOutput,
29
+ } from "./commands/TagResourceCommand";
30
+ import {
31
+ UntagResourceCommandInput,
32
+ UntagResourceCommandOutput,
33
+ } from "./commands/UntagResourceCommand";
34
+ import {
35
+ UpdateRescoreExecutionPlanCommandInput,
36
+ UpdateRescoreExecutionPlanCommandOutput,
37
+ } from "./commands/UpdateRescoreExecutionPlanCommand";
38
+ import { KendraRankingClient } from "./KendraRankingClient";
39
+ export declare class KendraRanking extends KendraRankingClient {
40
+ createRescoreExecutionPlan(
41
+ args: CreateRescoreExecutionPlanCommandInput,
42
+ options?: __HttpHandlerOptions
43
+ ): Promise<CreateRescoreExecutionPlanCommandOutput>;
44
+ createRescoreExecutionPlan(
45
+ args: CreateRescoreExecutionPlanCommandInput,
46
+ cb: (err: any, data?: CreateRescoreExecutionPlanCommandOutput) => void
47
+ ): void;
48
+ createRescoreExecutionPlan(
49
+ args: CreateRescoreExecutionPlanCommandInput,
50
+ options: __HttpHandlerOptions,
51
+ cb: (err: any, data?: CreateRescoreExecutionPlanCommandOutput) => void
52
+ ): void;
53
+ deleteRescoreExecutionPlan(
54
+ args: DeleteRescoreExecutionPlanCommandInput,
55
+ options?: __HttpHandlerOptions
56
+ ): Promise<DeleteRescoreExecutionPlanCommandOutput>;
57
+ deleteRescoreExecutionPlan(
58
+ args: DeleteRescoreExecutionPlanCommandInput,
59
+ cb: (err: any, data?: DeleteRescoreExecutionPlanCommandOutput) => void
60
+ ): void;
61
+ deleteRescoreExecutionPlan(
62
+ args: DeleteRescoreExecutionPlanCommandInput,
63
+ options: __HttpHandlerOptions,
64
+ cb: (err: any, data?: DeleteRescoreExecutionPlanCommandOutput) => void
65
+ ): void;
66
+ describeRescoreExecutionPlan(
67
+ args: DescribeRescoreExecutionPlanCommandInput,
68
+ options?: __HttpHandlerOptions
69
+ ): Promise<DescribeRescoreExecutionPlanCommandOutput>;
70
+ describeRescoreExecutionPlan(
71
+ args: DescribeRescoreExecutionPlanCommandInput,
72
+ cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void
73
+ ): void;
74
+ describeRescoreExecutionPlan(
75
+ args: DescribeRescoreExecutionPlanCommandInput,
76
+ options: __HttpHandlerOptions,
77
+ cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void
78
+ ): void;
79
+ listRescoreExecutionPlans(
80
+ args: ListRescoreExecutionPlansCommandInput,
81
+ options?: __HttpHandlerOptions
82
+ ): Promise<ListRescoreExecutionPlansCommandOutput>;
83
+ listRescoreExecutionPlans(
84
+ args: ListRescoreExecutionPlansCommandInput,
85
+ cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void
86
+ ): void;
87
+ listRescoreExecutionPlans(
88
+ args: ListRescoreExecutionPlansCommandInput,
89
+ options: __HttpHandlerOptions,
90
+ cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void
91
+ ): void;
92
+ listTagsForResource(
93
+ args: ListTagsForResourceCommandInput,
94
+ options?: __HttpHandlerOptions
95
+ ): Promise<ListTagsForResourceCommandOutput>;
96
+ listTagsForResource(
97
+ args: ListTagsForResourceCommandInput,
98
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
99
+ ): void;
100
+ listTagsForResource(
101
+ args: ListTagsForResourceCommandInput,
102
+ options: __HttpHandlerOptions,
103
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
104
+ ): void;
105
+ rescore(
106
+ args: RescoreCommandInput,
107
+ options?: __HttpHandlerOptions
108
+ ): Promise<RescoreCommandOutput>;
109
+ rescore(
110
+ args: RescoreCommandInput,
111
+ cb: (err: any, data?: RescoreCommandOutput) => void
112
+ ): void;
113
+ rescore(
114
+ args: RescoreCommandInput,
115
+ options: __HttpHandlerOptions,
116
+ cb: (err: any, data?: RescoreCommandOutput) => void
117
+ ): void;
118
+ tagResource(
119
+ args: TagResourceCommandInput,
120
+ options?: __HttpHandlerOptions
121
+ ): Promise<TagResourceCommandOutput>;
122
+ tagResource(
123
+ args: TagResourceCommandInput,
124
+ cb: (err: any, data?: TagResourceCommandOutput) => void
125
+ ): void;
126
+ tagResource(
127
+ args: TagResourceCommandInput,
128
+ options: __HttpHandlerOptions,
129
+ cb: (err: any, data?: TagResourceCommandOutput) => void
130
+ ): void;
131
+ untagResource(
132
+ args: UntagResourceCommandInput,
133
+ options?: __HttpHandlerOptions
134
+ ): Promise<UntagResourceCommandOutput>;
135
+ untagResource(
136
+ args: UntagResourceCommandInput,
137
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
138
+ ): void;
139
+ untagResource(
140
+ args: UntagResourceCommandInput,
141
+ options: __HttpHandlerOptions,
142
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
143
+ ): void;
144
+ updateRescoreExecutionPlan(
145
+ args: UpdateRescoreExecutionPlanCommandInput,
146
+ options?: __HttpHandlerOptions
147
+ ): Promise<UpdateRescoreExecutionPlanCommandOutput>;
148
+ updateRescoreExecutionPlan(
149
+ args: UpdateRescoreExecutionPlanCommandInput,
150
+ cb: (err: any, data?: UpdateRescoreExecutionPlanCommandOutput) => void
151
+ ): void;
152
+ updateRescoreExecutionPlan(
153
+ args: UpdateRescoreExecutionPlanCommandInput,
154
+ options: __HttpHandlerOptions,
155
+ cb: (err: any, data?: UpdateRescoreExecutionPlanCommandOutput) => void
156
+ ): void;
157
+ }
@@ -0,0 +1,166 @@
1
+ import {
2
+ RegionInputConfig,
3
+ RegionResolvedConfig,
4
+ } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
9
+ import {
10
+ HostHeaderInputConfig,
11
+ HostHeaderResolvedConfig,
12
+ } from "@aws-sdk/middleware-host-header";
13
+ import {
14
+ RetryInputConfig,
15
+ RetryResolvedConfig,
16
+ } from "@aws-sdk/middleware-retry";
17
+ import {
18
+ AwsAuthInputConfig,
19
+ AwsAuthResolvedConfig,
20
+ } from "@aws-sdk/middleware-signing";
21
+ import {
22
+ UserAgentInputConfig,
23
+ UserAgentResolvedConfig,
24
+ } from "@aws-sdk/middleware-user-agent";
25
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
+ import {
27
+ Client as __Client,
28
+ DefaultsMode,
29
+ SmithyConfiguration as __SmithyConfiguration,
30
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
31
+ } from "@aws-sdk/smithy-client";
32
+ import {
33
+ BodyLengthCalculator as __BodyLengthCalculator,
34
+ Credentials as __Credentials,
35
+ Decoder as __Decoder,
36
+ Encoder as __Encoder,
37
+ HashConstructor as __HashConstructor,
38
+ HttpHandlerOptions as __HttpHandlerOptions,
39
+ Logger as __Logger,
40
+ Provider as __Provider,
41
+ Provider,
42
+ StreamCollector as __StreamCollector,
43
+ UrlParser as __UrlParser,
44
+ UserAgent as __UserAgent,
45
+ } from "@aws-sdk/types";
46
+ import {
47
+ CreateRescoreExecutionPlanCommandInput,
48
+ CreateRescoreExecutionPlanCommandOutput,
49
+ } from "./commands/CreateRescoreExecutionPlanCommand";
50
+ import {
51
+ DeleteRescoreExecutionPlanCommandInput,
52
+ DeleteRescoreExecutionPlanCommandOutput,
53
+ } from "./commands/DeleteRescoreExecutionPlanCommand";
54
+ import {
55
+ DescribeRescoreExecutionPlanCommandInput,
56
+ DescribeRescoreExecutionPlanCommandOutput,
57
+ } from "./commands/DescribeRescoreExecutionPlanCommand";
58
+ import {
59
+ ListRescoreExecutionPlansCommandInput,
60
+ ListRescoreExecutionPlansCommandOutput,
61
+ } from "./commands/ListRescoreExecutionPlansCommand";
62
+ import {
63
+ ListTagsForResourceCommandInput,
64
+ ListTagsForResourceCommandOutput,
65
+ } from "./commands/ListTagsForResourceCommand";
66
+ import {
67
+ RescoreCommandInput,
68
+ RescoreCommandOutput,
69
+ } from "./commands/RescoreCommand";
70
+ import {
71
+ TagResourceCommandInput,
72
+ TagResourceCommandOutput,
73
+ } from "./commands/TagResourceCommand";
74
+ import {
75
+ UntagResourceCommandInput,
76
+ UntagResourceCommandOutput,
77
+ } from "./commands/UntagResourceCommand";
78
+ import {
79
+ UpdateRescoreExecutionPlanCommandInput,
80
+ UpdateRescoreExecutionPlanCommandOutput,
81
+ } from "./commands/UpdateRescoreExecutionPlanCommand";
82
+ import {
83
+ ClientInputEndpointParameters,
84
+ ClientResolvedEndpointParameters,
85
+ EndpointParameters,
86
+ } from "./endpoint/EndpointParameters";
87
+ export declare type ServiceInputTypes =
88
+ | CreateRescoreExecutionPlanCommandInput
89
+ | DeleteRescoreExecutionPlanCommandInput
90
+ | DescribeRescoreExecutionPlanCommandInput
91
+ | ListRescoreExecutionPlansCommandInput
92
+ | ListTagsForResourceCommandInput
93
+ | RescoreCommandInput
94
+ | TagResourceCommandInput
95
+ | UntagResourceCommandInput
96
+ | UpdateRescoreExecutionPlanCommandInput;
97
+ export declare type ServiceOutputTypes =
98
+ | CreateRescoreExecutionPlanCommandOutput
99
+ | DeleteRescoreExecutionPlanCommandOutput
100
+ | DescribeRescoreExecutionPlanCommandOutput
101
+ | ListRescoreExecutionPlansCommandOutput
102
+ | ListTagsForResourceCommandOutput
103
+ | RescoreCommandOutput
104
+ | TagResourceCommandOutput
105
+ | UntagResourceCommandOutput
106
+ | UpdateRescoreExecutionPlanCommandOutput;
107
+ export interface ClientDefaults
108
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
109
+ requestHandler?: __HttpHandler;
110
+ sha256?: __HashConstructor;
111
+ urlParser?: __UrlParser;
112
+ bodyLengthChecker?: __BodyLengthCalculator;
113
+ streamCollector?: __StreamCollector;
114
+ base64Decoder?: __Decoder;
115
+ base64Encoder?: __Encoder;
116
+ utf8Decoder?: __Decoder;
117
+ utf8Encoder?: __Encoder;
118
+ runtime?: string;
119
+ disableHostPrefix?: boolean;
120
+ maxAttempts?: number | __Provider<number>;
121
+ retryMode?: string | __Provider<string>;
122
+ logger?: __Logger;
123
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
124
+ useFipsEndpoint?: boolean | __Provider<boolean>;
125
+ serviceId?: string;
126
+ region?: string | __Provider<string>;
127
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
128
+ defaultUserAgentProvider?: Provider<__UserAgent>;
129
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
130
+ }
131
+ declare type KendraRankingClientConfigType = Partial<
132
+ __SmithyConfiguration<__HttpHandlerOptions>
133
+ > &
134
+ ClientDefaults &
135
+ RegionInputConfig &
136
+ EndpointInputConfig<EndpointParameters> &
137
+ RetryInputConfig &
138
+ HostHeaderInputConfig &
139
+ AwsAuthInputConfig &
140
+ UserAgentInputConfig &
141
+ ClientInputEndpointParameters;
142
+ export interface KendraRankingClientConfig
143
+ extends KendraRankingClientConfigType {}
144
+ declare type KendraRankingClientResolvedConfigType =
145
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
146
+ Required<ClientDefaults> &
147
+ RegionResolvedConfig &
148
+ EndpointResolvedConfig<EndpointParameters> &
149
+ RetryResolvedConfig &
150
+ HostHeaderResolvedConfig &
151
+ AwsAuthResolvedConfig &
152
+ UserAgentResolvedConfig &
153
+ ClientResolvedEndpointParameters;
154
+ export interface KendraRankingClientResolvedConfig
155
+ extends KendraRankingClientResolvedConfigType {}
156
+ export declare class KendraRankingClient extends __Client<
157
+ __HttpHandlerOptions,
158
+ ServiceInputTypes,
159
+ ServiceOutputTypes,
160
+ KendraRankingClientResolvedConfig
161
+ > {
162
+ readonly config: KendraRankingClientResolvedConfig;
163
+ constructor(configuration: KendraRankingClientConfig);
164
+ destroy(): void;
165
+ }
166
+ export {};
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import {
15
+ CreateRescoreExecutionPlanRequest,
16
+ CreateRescoreExecutionPlanResponse,
17
+ } from "../models/models_0";
18
+ export interface CreateRescoreExecutionPlanCommandInput
19
+ extends CreateRescoreExecutionPlanRequest {}
20
+ export interface CreateRescoreExecutionPlanCommandOutput
21
+ extends CreateRescoreExecutionPlanResponse,
22
+ __MetadataBearer {}
23
+ export declare class CreateRescoreExecutionPlanCommand extends $Command<
24
+ CreateRescoreExecutionPlanCommandInput,
25
+ CreateRescoreExecutionPlanCommandOutput,
26
+ KendraRankingClientResolvedConfig
27
+ > {
28
+ readonly input: CreateRescoreExecutionPlanCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateRescoreExecutionPlanCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KendraRankingClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ CreateRescoreExecutionPlanCommandInput,
37
+ CreateRescoreExecutionPlanCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import { DeleteRescoreExecutionPlanRequest } from "../models/models_0";
15
+ export interface DeleteRescoreExecutionPlanCommandInput
16
+ extends DeleteRescoreExecutionPlanRequest {}
17
+ export interface DeleteRescoreExecutionPlanCommandOutput
18
+ extends __MetadataBearer {}
19
+ export declare class DeleteRescoreExecutionPlanCommand extends $Command<
20
+ DeleteRescoreExecutionPlanCommandInput,
21
+ DeleteRescoreExecutionPlanCommandOutput,
22
+ KendraRankingClientResolvedConfig
23
+ > {
24
+ readonly input: DeleteRescoreExecutionPlanCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: DeleteRescoreExecutionPlanCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: KendraRankingClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<
32
+ DeleteRescoreExecutionPlanCommandInput,
33
+ DeleteRescoreExecutionPlanCommandOutput
34
+ >;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import {
15
+ DescribeRescoreExecutionPlanRequest,
16
+ DescribeRescoreExecutionPlanResponse,
17
+ } from "../models/models_0";
18
+ export interface DescribeRescoreExecutionPlanCommandInput
19
+ extends DescribeRescoreExecutionPlanRequest {}
20
+ export interface DescribeRescoreExecutionPlanCommandOutput
21
+ extends DescribeRescoreExecutionPlanResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeRescoreExecutionPlanCommand extends $Command<
24
+ DescribeRescoreExecutionPlanCommandInput,
25
+ DescribeRescoreExecutionPlanCommandOutput,
26
+ KendraRankingClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeRescoreExecutionPlanCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeRescoreExecutionPlanCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KendraRankingClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeRescoreExecutionPlanCommandInput,
37
+ DescribeRescoreExecutionPlanCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import {
15
+ ListRescoreExecutionPlansRequest,
16
+ ListRescoreExecutionPlansResponse,
17
+ } from "../models/models_0";
18
+ export interface ListRescoreExecutionPlansCommandInput
19
+ extends ListRescoreExecutionPlansRequest {}
20
+ export interface ListRescoreExecutionPlansCommandOutput
21
+ extends ListRescoreExecutionPlansResponse,
22
+ __MetadataBearer {}
23
+ export declare class ListRescoreExecutionPlansCommand extends $Command<
24
+ ListRescoreExecutionPlansCommandInput,
25
+ ListRescoreExecutionPlansCommandOutput,
26
+ KendraRankingClientResolvedConfig
27
+ > {
28
+ readonly input: ListRescoreExecutionPlansCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListRescoreExecutionPlansCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KendraRankingClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ ListRescoreExecutionPlansCommandInput,
37
+ ListRescoreExecutionPlansCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import {
15
+ ListTagsForResourceRequest,
16
+ ListTagsForResourceResponse,
17
+ } from "../models/models_0";
18
+ export interface ListTagsForResourceCommandInput
19
+ extends ListTagsForResourceRequest {}
20
+ export interface ListTagsForResourceCommandOutput
21
+ extends ListTagsForResourceResponse,
22
+ __MetadataBearer {}
23
+ export declare class ListTagsForResourceCommand extends $Command<
24
+ ListTagsForResourceCommandInput,
25
+ ListTagsForResourceCommandOutput,
26
+ KendraRankingClientResolvedConfig
27
+ > {
28
+ readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListTagsForResourceCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KendraRankingClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }