@aws-sdk/client-kendra-ranking 3.533.0 → 3.540.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 (29) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/KendraRanking.d.ts +2 -1
  6. package/dist-types/KendraRankingClient.d.ts +1 -1
  7. package/dist-types/commands/CreateRescoreExecutionPlanCommand.d.ts +2 -1
  8. package/dist-types/commands/DeleteRescoreExecutionPlanCommand.d.ts +2 -1
  9. package/dist-types/commands/DescribeRescoreExecutionPlanCommand.d.ts +2 -1
  10. package/dist-types/commands/ListRescoreExecutionPlansCommand.d.ts +2 -1
  11. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  12. package/dist-types/commands/RescoreCommand.d.ts +2 -1
  13. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  14. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  15. package/dist-types/commands/UpdateRescoreExecutionPlanCommand.d.ts +2 -1
  16. package/dist-types/index.d.ts +0 -1
  17. package/dist-types/models/models_0.d.ts +73 -73
  18. package/dist-types/ts3.4/KendraRanking.d.ts +1 -0
  19. package/dist-types/ts3.4/commands/CreateRescoreExecutionPlanCommand.d.ts +9 -0
  20. package/dist-types/ts3.4/commands/DeleteRescoreExecutionPlanCommand.d.ts +9 -0
  21. package/dist-types/ts3.4/commands/DescribeRescoreExecutionPlanCommand.d.ts +9 -0
  22. package/dist-types/ts3.4/commands/ListRescoreExecutionPlansCommand.d.ts +9 -0
  23. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  24. package/dist-types/ts3.4/commands/RescoreCommand.d.ts +7 -0
  25. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  26. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  27. package/dist-types/ts3.4/commands/UpdateRescoreExecutionPlanCommand.d.ts +9 -0
  28. package/dist-types/ts3.4/index.d.ts +0 -1
  29. package/package.json +40 -40
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -935,9 +935,6 @@ var KendraRanking = _KendraRanking;
935
935
  // src/pagination/ListRescoreExecutionPlansPaginator.ts
936
936
 
937
937
  var paginateListRescoreExecutionPlans = (0, import_core.createPaginator)(KendraRankingClient, ListRescoreExecutionPlansCommand, "NextToken", "NextToken", "MaxResults");
938
-
939
- // src/index.ts
940
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
941
938
  // Annotate the CommonJS export names for ESM import in node:
942
939
 
943
940
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./KendraRanking";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { KendraRankingServiceException } from "./models/KendraRankingServiceException";
@@ -31,6 +31,7 @@ export interface KendraRanking {
31
31
  /**
32
32
  * @see {@link ListRescoreExecutionPlansCommand}
33
33
  */
34
+ listRescoreExecutionPlans(): Promise<ListRescoreExecutionPlansCommandOutput>;
34
35
  listRescoreExecutionPlans(args: ListRescoreExecutionPlansCommandInput, options?: __HttpHandlerOptions): Promise<ListRescoreExecutionPlansCommandOutput>;
35
36
  listRescoreExecutionPlans(args: ListRescoreExecutionPlansCommandInput, cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void): void;
36
37
  listRescoreExecutionPlans(args: ListRescoreExecutionPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void): void;
@@ -66,10 +67,10 @@ export interface KendraRanking {
66
67
  updateRescoreExecutionPlan(args: UpdateRescoreExecutionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRescoreExecutionPlanCommandOutput) => void): void;
67
68
  }
68
69
  /**
69
- * @public
70
70
  * <p>Amazon Kendra Intelligent Ranking uses Amazon Kendra
71
71
  * semantic search capabilities to intelligently re-rank a search
72
72
  * service's results.</p>
73
+ * @public
73
74
  */
74
75
  export declare class KendraRanking extends KendraRankingClient implements KendraRanking {
75
76
  }
@@ -160,10 +160,10 @@ export type KendraRankingClientResolvedConfigType = __SmithyResolvedConfiguratio
160
160
  export interface KendraRankingClientResolvedConfig extends KendraRankingClientResolvedConfigType {
161
161
  }
162
162
  /**
163
- * @public
164
163
  * <p>Amazon Kendra Intelligent Ranking uses Amazon Kendra
165
164
  * semantic search capabilities to intelligently re-rank a search
166
165
  * service's results.</p>
166
+ * @public
167
167
  */
168
168
  export declare class KendraRankingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, KendraRankingClientResolvedConfig> {
169
169
  /**
@@ -22,10 +22,10 @@ export interface CreateRescoreExecutionPlanCommandOutput extends CreateRescoreEx
22
22
  }
23
23
  declare const CreateRescoreExecutionPlanCommand_base: {
24
24
  new (input: CreateRescoreExecutionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRescoreExecutionPlanCommandInput, CreateRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateRescoreExecutionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRescoreExecutionPlanCommandInput, CreateRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates a rescore execution plan. A rescore execution
30
30
  * plan is an Amazon Kendra Intelligent Ranking resource
31
31
  * used for provisioning the <code>Rescore</code> API. You set
@@ -106,6 +106,7 @@ declare const CreateRescoreExecutionPlanCommand_base: {
106
106
  * @throws {@link KendraRankingServiceException}
107
107
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
108
108
  *
109
+ * @public
109
110
  */
110
111
  export declare class CreateRescoreExecutionPlanCommand extends CreateRescoreExecutionPlanCommand_base {
111
112
  }
@@ -22,10 +22,10 @@ export interface DeleteRescoreExecutionPlanCommandOutput extends __MetadataBeare
22
22
  }
23
23
  declare const DeleteRescoreExecutionPlanCommand_base: {
24
24
  new (input: DeleteRescoreExecutionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRescoreExecutionPlanCommandInput, DeleteRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteRescoreExecutionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRescoreExecutionPlanCommandInput, DeleteRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes a rescore execution plan. A rescore execution
30
30
  * plan is an Amazon Kendra Intelligent Ranking resource
31
31
  * used for provisioning the <code>Rescore</code> API.</p>
@@ -83,6 +83,7 @@ declare const DeleteRescoreExecutionPlanCommand_base: {
83
83
  * @throws {@link KendraRankingServiceException}
84
84
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
85
85
  *
86
+ * @public
86
87
  */
87
88
  export declare class DeleteRescoreExecutionPlanCommand extends DeleteRescoreExecutionPlanCommand_base {
88
89
  }
@@ -22,10 +22,10 @@ export interface DescribeRescoreExecutionPlanCommandOutput extends DescribeResco
22
22
  }
23
23
  declare const DescribeRescoreExecutionPlanCommand_base: {
24
24
  new (input: DescribeRescoreExecutionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeRescoreExecutionPlanCommandInput, DescribeRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeRescoreExecutionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeRescoreExecutionPlanCommandInput, DescribeRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets information about a rescore execution plan. A rescore
30
30
  * execution plan is an Amazon Kendra Intelligent Ranking
31
31
  * resource used for provisioning the <code>Rescore</code> API.</p>
@@ -91,6 +91,7 @@ declare const DescribeRescoreExecutionPlanCommand_base: {
91
91
  * @throws {@link KendraRankingServiceException}
92
92
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
93
93
  *
94
+ * @public
94
95
  */
95
96
  export declare class DescribeRescoreExecutionPlanCommand extends DescribeRescoreExecutionPlanCommand_base {
96
97
  }
@@ -22,10 +22,10 @@ export interface ListRescoreExecutionPlansCommandOutput extends ListRescoreExecu
22
22
  }
23
23
  declare const ListRescoreExecutionPlansCommand_base: {
24
24
  new (input: ListRescoreExecutionPlansCommandInput): import("@smithy/smithy-client").CommandImpl<ListRescoreExecutionPlansCommandInput, ListRescoreExecutionPlansCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListRescoreExecutionPlansCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRescoreExecutionPlansCommandInput, ListRescoreExecutionPlansCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists your rescore execution plans. A rescore execution plan
30
30
  * is an Amazon Kendra Intelligent Ranking resource used for
31
31
  * provisioning the <code>Rescore</code> API.</p>
@@ -86,6 +86,7 @@ declare const ListRescoreExecutionPlansCommand_base: {
86
86
  * @throws {@link KendraRankingServiceException}
87
87
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
88
88
  *
89
+ * @public
89
90
  */
90
91
  export declare class ListRescoreExecutionPlansCommand extends ListRescoreExecutionPlansCommand_base {
91
92
  }
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
22
22
  }
23
23
  declare const ListTagsForResourceCommand_base: {
24
24
  new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets a list of tags associated with a specified resource.
30
30
  * A rescore execution plan is an example of a resource that
31
31
  * can have tags associated with it.</p>
@@ -86,6 +86,7 @@ declare const ListTagsForResourceCommand_base: {
86
86
  * @throws {@link KendraRankingServiceException}
87
87
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
88
88
  *
89
+ * @public
89
90
  */
90
91
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
91
92
  }
@@ -22,10 +22,10 @@ export interface RescoreCommandOutput extends RescoreResult, __MetadataBearer {
22
22
  }
23
23
  declare const RescoreCommand_base: {
24
24
  new (input: RescoreCommandInput): import("@smithy/smithy-client").CommandImpl<RescoreCommandInput, RescoreCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: RescoreCommandInput): import("@smithy/smithy-client").CommandImpl<RescoreCommandInput, RescoreCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Rescores or re-ranks search results from a search service
30
30
  * such as OpenSearch (self managed). You use the semantic search
31
31
  * capabilities of Amazon Kendra Intelligent Ranking to
@@ -108,6 +108,7 @@ declare const RescoreCommand_base: {
108
108
  * @throws {@link KendraRankingServiceException}
109
109
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
110
110
  *
111
+ * @public
111
112
  */
112
113
  export declare class RescoreCommand extends RescoreCommand_base {
113
114
  }
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
22
22
  }
23
23
  declare const TagResourceCommand_base: {
24
24
  new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Adds a specified tag to a specified rescore execution
30
30
  * plan. A rescore execution plan is an Amazon Kendra
31
31
  * Intelligent Ranking resource used for provisioning the
@@ -87,6 +87,7 @@ declare const TagResourceCommand_base: {
87
87
  * @throws {@link KendraRankingServiceException}
88
88
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
89
89
  *
90
+ * @public
90
91
  */
91
92
  export declare class TagResourceCommand extends TagResourceCommand_base {
92
93
  }
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
22
22
  }
23
23
  declare const UntagResourceCommand_base: {
24
24
  new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Removes a tag from a rescore execution plan. A rescore
30
30
  * execution plan is an Amazon Kendra Intelligent
31
31
  * Ranking resource used for provisioning the
@@ -83,6 +83,7 @@ declare const UntagResourceCommand_base: {
83
83
  * @throws {@link KendraRankingServiceException}
84
84
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
85
85
  *
86
+ * @public
86
87
  */
87
88
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
88
89
  }
@@ -22,10 +22,10 @@ export interface UpdateRescoreExecutionPlanCommandOutput extends __MetadataBeare
22
22
  }
23
23
  declare const UpdateRescoreExecutionPlanCommand_base: {
24
24
  new (input: UpdateRescoreExecutionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRescoreExecutionPlanCommandInput, UpdateRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateRescoreExecutionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRescoreExecutionPlanCommandInput, UpdateRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Updates a rescore execution plan. A rescore execution plan
30
30
  * is an Amazon Kendra Intelligent Ranking resource used for
31
31
  * provisioning the <code>Rescore</code> API. You can update the
@@ -98,6 +98,7 @@ declare const UpdateRescoreExecutionPlanCommand_base: {
98
98
  * @throws {@link KendraRankingServiceException}
99
99
  * <p>Base exception class for all service exceptions from KendraRanking service.</p>
100
100
  *
101
+ * @public
101
102
  */
102
103
  export declare class UpdateRescoreExecutionPlanCommand extends UpdateRescoreExecutionPlanCommand_base {
103
104
  }
@@ -13,5 +13,4 @@ export { KendraRankingExtensionConfiguration } from "./extensionConfiguration";
13
13
  export * from "./commands";
14
14
  export * from "./pagination";
15
15
  export * from "./models";
16
- import "@aws-sdk/util-endpoints";
17
16
  export { KendraRankingServiceException } from "./models/KendraRankingServiceException";
@@ -1,10 +1,10 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>You don’t have sufficient access to perform this action.
6
5
  * Please ensure you have the required permission policies
7
6
  * and user accounts and try again.</p>
7
+ * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
10
  readonly name: "AccessDeniedException";
@@ -16,9 +16,9 @@ export declare class AccessDeniedException extends __BaseException {
16
16
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
17
  }
18
18
  /**
19
- * @public
20
19
  * <p>A conflict occurred with the request. Please fix any
21
20
  * inconsistencies with your resources and try again.</p>
21
+ * @public
22
22
  */
23
23
  export declare class ConflictException extends __BaseException {
24
24
  readonly name: "ConflictException";
@@ -30,26 +30,25 @@ export declare class ConflictException extends __BaseException {
30
30
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
31
31
  }
32
32
  /**
33
- * @public
34
33
  * <p>Sets additional capacity units configured for your
35
34
  * rescore execution plan. A rescore execution plan is an
36
35
  * Amazon Kendra Intelligent Ranking resource used for
37
36
  * provisioning the <code>Rescore</code> API. You can add and
38
37
  * remove capacity units to fit your usage requirements.</p>
38
+ * @public
39
39
  */
40
40
  export interface CapacityUnitsConfiguration {
41
41
  /**
42
- * @public
43
42
  * <p>The amount of extra capacity for your rescore execution
44
43
  * plan.</p>
45
44
  * <p>A single extra capacity unit for a rescore execution
46
45
  * plan provides 0.01 rescore requests per second. You can add
47
46
  * up to 1000 extra capacity units.</p>
47
+ * @public
48
48
  */
49
49
  RescoreCapacityUnits: number | undefined;
50
50
  }
51
51
  /**
52
- * @public
53
52
  * <p>A key-value pair that identifies or categorizes a rescore
54
53
  * execution plan. A rescore execution plan is an
55
54
  * Amazon Kendra Intelligent Ranking resource used for
@@ -57,18 +56,19 @@ export interface CapacityUnitsConfiguration {
57
56
  * a tag to help control access to a rescore execution plan.
58
57
  * A tag key and value can consist of Unicode letters, digits,
59
58
  * white space, and any of the following symbols: _ . : / = + - @.</p>
59
+ * @public
60
60
  */
61
61
  export interface Tag {
62
62
  /**
63
- * @public
64
63
  * <p>The key for the tag. Keys are not case sensitive and must
65
64
  * be unique.</p>
65
+ * @public
66
66
  */
67
67
  Key: string | undefined;
68
68
  /**
69
- * @public
70
69
  * <p>The value associated with the tag. The value can be an
71
70
  * empty string but it can't be null.</p>
71
+ * @public
72
72
  */
73
73
  Value: string | undefined;
74
74
  }
@@ -77,17 +77,16 @@ export interface Tag {
77
77
  */
78
78
  export interface CreateRescoreExecutionPlanRequest {
79
79
  /**
80
- * @public
81
80
  * <p>A name for the rescore execution plan.</p>
81
+ * @public
82
82
  */
83
83
  Name: string | undefined;
84
84
  /**
85
- * @public
86
85
  * <p>A description for the rescore execution plan.</p>
86
+ * @public
87
87
  */
88
88
  Description?: string;
89
89
  /**
90
- * @public
91
90
  * <p>You can set additional capacity units to meet the
92
91
  * needs of your rescore execution plan. You are given a single
93
92
  * capacity unit by default. If you want to use the default
@@ -95,23 +94,24 @@ export interface CreateRescoreExecutionPlanRequest {
95
94
  * information on the default capacity and additional capacity
96
95
  * units, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html">Adjusting
97
96
  * capacity</a>.</p>
97
+ * @public
98
98
  */
99
99
  CapacityUnits?: CapacityUnitsConfiguration;
100
100
  /**
101
- * @public
102
101
  * <p>A list of key-value pairs that identify or categorize your
103
102
  * rescore execution plan. You can also use tags to help control
104
103
  * access to the rescore execution plan. Tag keys and values can
105
104
  * consist of Unicode letters, digits, white space, and any of
106
105
  * the following symbols: _ . : / = + - @.</p>
106
+ * @public
107
107
  */
108
108
  Tags?: Tag[];
109
109
  /**
110
- * @public
111
110
  * <p>A token that you provide to identify the request to create
112
111
  * a rescore execution plan. Multiple calls to the
113
112
  * <code>CreateRescoreExecutionPlanRequest</code> API with the
114
113
  * same client token will create only one rescore execution plan.</p>
114
+ * @public
115
115
  */
116
116
  ClientToken?: string;
117
117
  }
@@ -120,24 +120,24 @@ export interface CreateRescoreExecutionPlanRequest {
120
120
  */
121
121
  export interface CreateRescoreExecutionPlanResponse {
122
122
  /**
123
- * @public
124
123
  * <p>The identifier of the rescore execution plan.</p>
124
+ * @public
125
125
  */
126
126
  Id: string | undefined;
127
127
  /**
128
- * @public
129
128
  * <p>The Amazon Resource Name (ARN) of the rescore
130
129
  * execution plan.</p>
130
+ * @public
131
131
  */
132
132
  Arn: string | undefined;
133
133
  }
134
134
  /**
135
- * @public
136
135
  * <p>An issue occurred with the internal server used for
137
136
  * your Amazon Kendra Intelligent Ranking service.
138
137
  * Please wait a few minutes and try again, or contact
139
138
  * <a href="http://aws.amazon.com/contact-us/">Support</a>
140
139
  * for help.</p>
140
+ * @public
141
141
  */
142
142
  export declare class InternalServerException extends __BaseException {
143
143
  readonly name: "InternalServerException";
@@ -149,12 +149,12 @@ export declare class InternalServerException extends __BaseException {
149
149
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
150
150
  }
151
151
  /**
152
- * @public
153
152
  * <p>You have exceeded the set limits for your
154
153
  * Amazon Kendra Intelligent Ranking service. Please
155
154
  * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a>
156
155
  * for more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
157
156
  * an increase of limits.</p>
157
+ * @public
158
158
  */
159
159
  export declare class ServiceQuotaExceededException extends __BaseException {
160
160
  readonly name: "ServiceQuotaExceededException";
@@ -166,9 +166,9 @@ export declare class ServiceQuotaExceededException extends __BaseException {
166
166
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
167
167
  }
168
168
  /**
169
- * @public
170
169
  * <p>The request was denied due to request throttling.
171
170
  * Please reduce the number of requests and try again.</p>
171
+ * @public
172
172
  */
173
173
  export declare class ThrottlingException extends __BaseException {
174
174
  readonly name: "ThrottlingException";
@@ -180,10 +180,10 @@ export declare class ThrottlingException extends __BaseException {
180
180
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
181
181
  }
182
182
  /**
183
- * @public
184
183
  * <p>The input fails to satisfy the constraints set by
185
184
  * the Amazon Kendra Intelligent Ranking service.
186
185
  * Please provide the correct input and try again.</p>
186
+ * @public
187
187
  */
188
188
  export declare class ValidationException extends __BaseException {
189
189
  readonly name: "ValidationException";
@@ -199,17 +199,17 @@ export declare class ValidationException extends __BaseException {
199
199
  */
200
200
  export interface DeleteRescoreExecutionPlanRequest {
201
201
  /**
202
- * @public
203
202
  * <p>The identifier of the rescore execution plan that you
204
203
  * want to delete.</p>
204
+ * @public
205
205
  */
206
206
  Id: string | undefined;
207
207
  }
208
208
  /**
209
- * @public
210
209
  * <p>The resource you want to use doesn't exist. Please
211
210
  * check you have provided the correct resource and try
212
211
  * again.</p>
212
+ * @public
213
213
  */
214
214
  export declare class ResourceNotFoundException extends __BaseException {
215
215
  readonly name: "ResourceNotFoundException";
@@ -225,9 +225,9 @@ export declare class ResourceNotFoundException extends __BaseException {
225
225
  */
226
226
  export interface DescribeRescoreExecutionPlanRequest {
227
227
  /**
228
- * @public
229
228
  * <p>The identifier of the rescore execution plan that you want
230
229
  * to get information on.</p>
230
+ * @public
231
231
  */
232
232
  Id: string | undefined;
233
233
  }
@@ -251,61 +251,61 @@ export type RescoreExecutionPlanStatus = (typeof RescoreExecutionPlanStatus)[key
251
251
  */
252
252
  export interface DescribeRescoreExecutionPlanResponse {
253
253
  /**
254
- * @public
255
254
  * <p>The identifier of the rescore execution plan.</p>
255
+ * @public
256
256
  */
257
257
  Id?: string;
258
258
  /**
259
- * @public
260
259
  * <p>The Amazon Resource Name (ARN) of the rescore execution
261
260
  * plan.</p>
261
+ * @public
262
262
  */
263
263
  Arn?: string;
264
264
  /**
265
- * @public
266
265
  * <p>The name for the rescore execution plan.</p>
266
+ * @public
267
267
  */
268
268
  Name?: string;
269
269
  /**
270
- * @public
271
270
  * <p>The description for the rescore execution plan.</p>
271
+ * @public
272
272
  */
273
273
  Description?: string;
274
274
  /**
275
- * @public
276
275
  * <p>The capacity units set for the rescore execution plan.
277
276
  * A capacity of zero indicates that the rescore execution
278
277
  * plan is using the default capacity. For more information on the
279
278
  * default capacity and additional capacity units, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html">Adjusting
280
279
  * capacity</a>.</p>
280
+ * @public
281
281
  */
282
282
  CapacityUnits?: CapacityUnitsConfiguration;
283
283
  /**
284
- * @public
285
284
  * <p>The Unix timestamp of when the rescore execution plan was
286
285
  * created.</p>
286
+ * @public
287
287
  */
288
288
  CreatedAt?: Date;
289
289
  /**
290
- * @public
291
290
  * <p>The Unix timestamp of when the rescore execution plan was
292
291
  * last updated.</p>
292
+ * @public
293
293
  */
294
294
  UpdatedAt?: Date;
295
295
  /**
296
- * @public
297
296
  * <p>The current status of the rescore execution plan. When the
298
297
  * value is <code>ACTIVE</code>, the rescore execution plan is
299
298
  * ready for use. If the <code>Status</code> field value is
300
299
  * <code>FAILED</code>, the <code>ErrorMessage</code> field
301
300
  * contains a message that explains why.</p>
301
+ * @public
302
302
  */
303
303
  Status?: RescoreExecutionPlanStatus;
304
304
  /**
305
- * @public
306
305
  * <p>When the <code>Status</code> field value is
307
306
  * <code>FAILED</code>, the <code>ErrorMessage</code> field
308
307
  * contains a message that explains why.</p>
308
+ * @public
309
309
  */
310
310
  ErrorMessage?: string;
311
311
  }
@@ -314,53 +314,53 @@ export interface DescribeRescoreExecutionPlanResponse {
314
314
  */
315
315
  export interface ListRescoreExecutionPlansRequest {
316
316
  /**
317
- * @public
318
317
  * <p>If the response is truncated, Amazon Kendra Intelligent
319
318
  * Ranking returns a pagination token in the response. You can use
320
319
  * this pagination token to retrieve the next set of rescore
321
320
  * execution plans.</p>
321
+ * @public
322
322
  */
323
323
  NextToken?: string;
324
324
  /**
325
- * @public
326
325
  * <p>The maximum number of rescore execution plans to return.</p>
326
+ * @public
327
327
  */
328
328
  MaxResults?: number;
329
329
  }
330
330
  /**
331
- * @public
332
331
  * <p>Summary information for a rescore execution plan. A rescore
333
332
  * execution plan is an Amazon Kendra Intelligent Ranking
334
333
  * resource used for provisioning the <code>Rescore</code> API.</p>
334
+ * @public
335
335
  */
336
336
  export interface RescoreExecutionPlanSummary {
337
337
  /**
338
- * @public
339
338
  * <p>The name of the rescore execution plan.</p>
339
+ * @public
340
340
  */
341
341
  Name?: string;
342
342
  /**
343
- * @public
344
343
  * <p>The identifier of the rescore execution plan.</p>
344
+ * @public
345
345
  */
346
346
  Id?: string;
347
347
  /**
348
- * @public
349
348
  * <p>The Unix timestamp when the rescore execution plan
350
349
  * was created.</p>
350
+ * @public
351
351
  */
352
352
  CreatedAt?: Date;
353
353
  /**
354
- * @public
355
354
  * <p>The Unix timestamp when the rescore execution plan
356
355
  * was last updated.</p>
356
+ * @public
357
357
  */
358
358
  UpdatedAt?: Date;
359
359
  /**
360
- * @public
361
360
  * <p>The current status of the rescore execution plan. When
362
361
  * the value is <code>ACTIVE</code>, the rescore execution
363
362
  * plan is ready for use.</p>
363
+ * @public
364
364
  */
365
365
  Status?: RescoreExecutionPlanStatus;
366
366
  }
@@ -369,51 +369,51 @@ export interface RescoreExecutionPlanSummary {
369
369
  */
370
370
  export interface ListRescoreExecutionPlansResponse {
371
371
  /**
372
- * @public
373
372
  * <p>An array of summary information for one or more rescore
374
373
  * execution plans.</p>
374
+ * @public
375
375
  */
376
376
  SummaryItems?: RescoreExecutionPlanSummary[];
377
377
  /**
378
- * @public
379
378
  * <p>If the response is truncated, Amazon Kendra Intelligent
380
379
  * Ranking returns a pagination token in the response.</p>
380
+ * @public
381
381
  */
382
382
  NextToken?: string;
383
383
  }
384
384
  /**
385
- * @public
386
385
  * <p>The request information for listing tags associated with
387
386
  * a rescore execution plan. A rescore execution plan is an
388
387
  * Amazon Kendra Intelligent Ranking resource used for
389
388
  * provisioning the <code>Rescore</code> API.</p>
389
+ * @public
390
390
  */
391
391
  export interface ListTagsForResourceRequest {
392
392
  /**
393
- * @public
394
393
  * <p>The Amazon Resource Name (ARN) of the rescore execution
395
394
  * plan to get a list of tags for.</p>
395
+ * @public
396
396
  */
397
397
  ResourceARN: string | undefined;
398
398
  }
399
399
  /**
400
- * @public
401
400
  * <p>If the action is successful, the service sends back an
402
401
  * HTTP 200 response.</p>
402
+ * @public
403
403
  */
404
404
  export interface ListTagsForResourceResponse {
405
405
  /**
406
- * @public
407
406
  * <p>A list of tags associated with the rescore execution
408
407
  * plan.</p>
408
+ * @public
409
409
  */
410
410
  Tags?: Tag[];
411
411
  }
412
412
  /**
413
- * @public
414
413
  * <p>The resource you want to use is unavailable. Please
415
414
  * check you have provided the correct resource
416
415
  * information and try again.</p>
416
+ * @public
417
417
  */
418
418
  export declare class ResourceUnavailableException extends __BaseException {
419
419
  readonly name: "ResourceUnavailableException";
@@ -425,55 +425,55 @@ export declare class ResourceUnavailableException extends __BaseException {
425
425
  constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
426
426
  }
427
427
  /**
428
- * @public
429
428
  * <p>Information about a document from a search service such
430
429
  * as OpenSearch (self managed). Amazon Kendra Intelligent
431
430
  * Ranking uses this information to rank and score on.</p>
431
+ * @public
432
432
  */
433
433
  export interface Document {
434
434
  /**
435
- * @public
436
435
  * <p>The identifier of the document from the search service.</p>
436
+ * @public
437
437
  */
438
438
  Id: string | undefined;
439
439
  /**
440
- * @public
441
440
  * <p>The optional group identifier of the document from the search
442
441
  * service. Documents with the same group identifier are grouped
443
442
  * together and processed as one document within the service.</p>
443
+ * @public
444
444
  */
445
445
  GroupId?: string;
446
446
  /**
447
- * @public
448
447
  * <p>The title of the search service's document.</p>
448
+ * @public
449
449
  */
450
450
  Title?: string;
451
451
  /**
452
- * @public
453
452
  * <p>The body text of the search service's document.</p>
453
+ * @public
454
454
  */
455
455
  Body?: string;
456
456
  /**
457
- * @public
458
457
  * <p>The title of the search service's document represented as
459
458
  * a list of tokens or words. You must choose to provide
460
459
  * <code>Title</code> or <code>TokenizedTitle</code>. You cannot
461
460
  * provide both.</p>
461
+ * @public
462
462
  */
463
463
  TokenizedTitle?: string[];
464
464
  /**
465
- * @public
466
465
  * <p>The body text of the search service's document represented
467
466
  * as a list of tokens or words. You must choose to provide
468
467
  * <code>Body</code> or <code>TokenizedBody</code>. You cannot
469
468
  * provide both.</p>
469
+ * @public
470
470
  */
471
471
  TokenizedBody?: string[];
472
472
  /**
473
- * @public
474
473
  * <p>The original document score or rank from the search service.
475
474
  * Amazon Kendra Intelligent Ranking gives the document a new
476
475
  * score or rank based on its intelligent search algorithms.</p>
476
+ * @public
477
477
  */
478
478
  OriginalScore: number | undefined;
479
479
  }
@@ -482,38 +482,38 @@ export interface Document {
482
482
  */
483
483
  export interface RescoreRequest {
484
484
  /**
485
- * @public
486
485
  * <p>The identifier of the rescore execution plan. A rescore
487
486
  * execution plan is an Amazon Kendra Intelligent Ranking
488
487
  * resource used for provisioning the <code>Rescore</code> API.</p>
488
+ * @public
489
489
  */
490
490
  RescoreExecutionPlanId: string | undefined;
491
491
  /**
492
- * @public
493
492
  * <p>The input query from the search service.</p>
493
+ * @public
494
494
  */
495
495
  SearchQuery: string | undefined;
496
496
  /**
497
- * @public
498
497
  * <p>The list of documents for Amazon Kendra Intelligent
499
498
  * Ranking to rescore or rank on.</p>
499
+ * @public
500
500
  */
501
501
  Documents: Document[] | undefined;
502
502
  }
503
503
  /**
504
- * @public
505
504
  * <p>A result item for a document with a new relevancy score.</p>
505
+ * @public
506
506
  */
507
507
  export interface RescoreResultItem {
508
508
  /**
509
- * @public
510
509
  * <p>The identifier of the document from the search service.</p>
510
+ * @public
511
511
  */
512
512
  DocumentId?: string;
513
513
  /**
514
- * @public
515
514
  * <p>The relevancy score or rank that Amazon Kendra
516
515
  * Intelligent Ranking gives to the result.</p>
516
+ * @public
517
517
  */
518
518
  Score?: number;
519
519
  }
@@ -522,75 +522,75 @@ export interface RescoreResultItem {
522
522
  */
523
523
  export interface RescoreResult {
524
524
  /**
525
- * @public
526
525
  * <p>The identifier associated with the scores that
527
526
  * Amazon Kendra Intelligent Ranking gives to the
528
527
  * results. Amazon Kendra Intelligent Ranking
529
528
  * rescores or re-ranks the results for the search service.</p>
529
+ * @public
530
530
  */
531
531
  RescoreId?: string;
532
532
  /**
533
- * @public
534
533
  * <p>A list of result items for documents with new relevancy
535
534
  * scores. The results are in descending order.</p>
535
+ * @public
536
536
  */
537
537
  ResultItems?: RescoreResultItem[];
538
538
  }
539
539
  /**
540
- * @public
541
540
  * <p>The request information for tagging a rescore execution
542
541
  * plan. A rescore execution plan is an Amazon Kendra
543
542
  * Intelligent Ranking resource used for provisioning the
544
543
  * <code>Rescore</code> API.</p>
544
+ * @public
545
545
  */
546
546
  export interface TagResourceRequest {
547
547
  /**
548
- * @public
549
548
  * <p>The Amazon Resource Name (ARN) of the rescore execution
550
549
  * plan to tag.</p>
550
+ * @public
551
551
  */
552
552
  ResourceARN: string | undefined;
553
553
  /**
554
- * @public
555
554
  * <p>A list of tag keys to add to a rescore execution plan.
556
555
  * If a tag already exists, the existing value is replaced
557
556
  * with the new value.</p>
557
+ * @public
558
558
  */
559
559
  Tags: Tag[] | undefined;
560
560
  }
561
561
  /**
562
- * @public
563
562
  * <p>If the action is successful, the service sends back an
564
563
  * HTTP 200 response with an empty HTTP body.</p>
564
+ * @public
565
565
  */
566
566
  export interface TagResourceResponse {
567
567
  }
568
568
  /**
569
- * @public
570
569
  * <p>The request information to remove a tag from a rescore
571
570
  * execution plan. A rescore execution plan is an
572
571
  * Amazon Kendra Intelligent Ranking resource used for
573
572
  * provisioning the <code>Rescore</code> API.</p>
573
+ * @public
574
574
  */
575
575
  export interface UntagResourceRequest {
576
576
  /**
577
- * @public
578
577
  * <p>The Amazon Resource Name (ARN) of the rescore execution
579
578
  * plan to remove the tag.</p>
579
+ * @public
580
580
  */
581
581
  ResourceARN: string | undefined;
582
582
  /**
583
- * @public
584
583
  * <p>A list of tag keys to remove from the rescore execution
585
584
  * plan. If a tag key does not exist on the resource, it is
586
585
  * ignored.</p>
586
+ * @public
587
587
  */
588
588
  TagKeys: string[] | undefined;
589
589
  }
590
590
  /**
591
- * @public
592
591
  * <p>If the action is successful, the service sends back an
593
592
  * HTTP 200 response with an empty HTTP body.</p>
593
+ * @public
594
594
  */
595
595
  export interface UntagResourceResponse {
596
596
  }
@@ -599,29 +599,29 @@ export interface UntagResourceResponse {
599
599
  */
600
600
  export interface UpdateRescoreExecutionPlanRequest {
601
601
  /**
602
- * @public
603
602
  * <p>The identifier of the rescore execution plan that you want
604
603
  * to update.</p>
604
+ * @public
605
605
  */
606
606
  Id: string | undefined;
607
607
  /**
608
- * @public
609
608
  * <p>A new name for the rescore execution plan.</p>
609
+ * @public
610
610
  */
611
611
  Name?: string;
612
612
  /**
613
- * @public
614
613
  * <p>A new description for the rescore execution plan.</p>
614
+ * @public
615
615
  */
616
616
  Description?: string;
617
617
  /**
618
- * @public
619
618
  * <p>You can set additional capacity units to meet the needs
620
619
  * of your rescore execution plan. You are given a single capacity
621
620
  * unit by default. If you want to use the default capacity, you
622
621
  * don't set additional capacity units. For more information on the
623
622
  * default capacity and additional capacity units, see
624
623
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html">Adjusting capacity</a>.</p>
624
+ * @public
625
625
  */
626
626
  CapacityUnits?: CapacityUnitsConfiguration;
627
627
  }
@@ -76,6 +76,7 @@ export interface KendraRanking {
76
76
  options: __HttpHandlerOptions,
77
77
  cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void
78
78
  ): void;
79
+ listRescoreExecutionPlans(): Promise<ListRescoreExecutionPlansCommandOutput>;
79
80
  listRescoreExecutionPlans(
80
81
  args: ListRescoreExecutionPlansCommandInput,
81
82
  options?: __HttpHandlerOptions
@@ -25,6 +25,15 @@ declare const CreateRescoreExecutionPlanCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: CreateRescoreExecutionPlanCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ CreateRescoreExecutionPlanCommandInput,
32
+ CreateRescoreExecutionPlanCommandOutput,
33
+ KendraRankingClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class CreateRescoreExecutionPlanCommand extends CreateRescoreExecutionPlanCommand_base {}
@@ -21,6 +21,15 @@ declare const DeleteRescoreExecutionPlanCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DeleteRescoreExecutionPlanCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DeleteRescoreExecutionPlanCommandInput,
28
+ DeleteRescoreExecutionPlanCommandOutput,
29
+ KendraRankingClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DeleteRescoreExecutionPlanCommand extends DeleteRescoreExecutionPlanCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeRescoreExecutionPlanCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeRescoreExecutionPlanCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeRescoreExecutionPlanCommandInput,
32
+ DescribeRescoreExecutionPlanCommandOutput,
33
+ KendraRankingClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeRescoreExecutionPlanCommand extends DescribeRescoreExecutionPlanCommand_base {}
@@ -25,6 +25,15 @@ declare const ListRescoreExecutionPlansCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [ListRescoreExecutionPlansCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListRescoreExecutionPlansCommandInput,
32
+ ListRescoreExecutionPlansCommandOutput,
33
+ KendraRankingClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListRescoreExecutionPlansCommand extends ListRescoreExecutionPlansCommand_base {}
@@ -25,6 +25,15 @@ declare const ListTagsForResourceCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: ListTagsForResourceCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListTagsForResourceCommandInput,
32
+ ListTagsForResourceCommandOutput,
33
+ KendraRankingClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {}
@@ -17,6 +17,13 @@ declare const RescoreCommand_base: {
17
17
  ServiceInputTypes,
18
18
  ServiceOutputTypes
19
19
  >;
20
+ new (__0_0: RescoreCommandInput): import("@smithy/smithy-client").CommandImpl<
21
+ RescoreCommandInput,
22
+ RescoreCommandOutput,
23
+ KendraRankingClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
20
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
21
28
  };
22
29
  export declare class RescoreCommand extends RescoreCommand_base {}
@@ -21,6 +21,15 @@ declare const TagResourceCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: TagResourceCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ TagResourceCommandInput,
28
+ TagResourceCommandOutput,
29
+ KendraRankingClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class TagResourceCommand extends TagResourceCommand_base {}
@@ -24,6 +24,15 @@ declare const UntagResourceCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: UntagResourceCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ UntagResourceCommandInput,
31
+ UntagResourceCommandOutput,
32
+ KendraRankingClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class UntagResourceCommand extends UntagResourceCommand_base {}
@@ -21,6 +21,15 @@ declare const UpdateRescoreExecutionPlanCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: UpdateRescoreExecutionPlanCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ UpdateRescoreExecutionPlanCommandInput,
28
+ UpdateRescoreExecutionPlanCommandOutput,
29
+ KendraRankingClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class UpdateRescoreExecutionPlanCommand extends UpdateRescoreExecutionPlanCommand_base {}
@@ -6,5 +6,4 @@ export { KendraRankingExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { KendraRankingServiceException } from "./models/KendraRankingServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kendra-ranking",
3
3
  "description": "AWS SDK for JavaScript Kendra Ranking Client for Node.js, Browser and React Native",
4
- "version": "3.533.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kendra-ranking",
@@ -20,48 +20,48 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2",
61
61
  "uuid": "^9.0.1"
62
62
  },
63
63
  "devDependencies": {
64
- "@smithy/service-client-documentation-generator": "^2.1.1",
64
+ "@smithy/service-client-documentation-generator": "^2.2.0",
65
65
  "@tsconfig/node14": "1.0.3",
66
66
  "@types/node": "^14.14.31",
67
67
  "@types/uuid": "^9.0.4",