@aws-sdk/client-kendra-ranking 3.934.0 → 3.935.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 CHANGED
@@ -213,13 +213,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Kendra
213
213
  this.Message = opts.Message;
214
214
  }
215
215
  };
216
- const RescoreExecutionPlanStatus = {
217
- ACTIVE: "ACTIVE",
218
- CREATING: "CREATING",
219
- DELETING: "DELETING",
220
- FAILED: "FAILED",
221
- UPDATING: "UPDATING",
222
- };
223
216
  let ResourceUnavailableException$1 = class ResourceUnavailableException extends KendraRankingServiceException$1 {
224
217
  name = "ResourceUnavailableException";
225
218
  $fault = "client";
@@ -709,6 +702,14 @@ smithyClient.createAggregatedClient(commands, KendraRanking);
709
702
 
710
703
  const paginateListRescoreExecutionPlans = core.createPaginator(KendraRankingClient, ListRescoreExecutionPlansCommand, "NextToken", "NextToken", "MaxResults");
711
704
 
705
+ const RescoreExecutionPlanStatus = {
706
+ ACTIVE: "ACTIVE",
707
+ CREATING: "CREATING",
708
+ DELETING: "DELETING",
709
+ FAILED: "FAILED",
710
+ UPDATING: "UPDATING",
711
+ };
712
+
712
713
  Object.defineProperty(exports, "$Command", {
713
714
  enumerable: true,
714
715
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./KendraRankingClient";
2
2
  export * from "./KendraRanking";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { KendraRankingServiceException } from "./models/KendraRankingServiceException";
@@ -0,0 +1,7 @@
1
+ export const RescoreExecutionPlanStatus = {
2
+ ACTIVE: "ACTIVE",
3
+ CREATING: "CREATING",
4
+ DELETING: "DELETING",
5
+ FAILED: "FAILED",
6
+ UPDATING: "UPDATING",
7
+ };
@@ -0,0 +1,113 @@
1
+ import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "ConflictException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, ConflictException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "InternalServerException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InternalServerException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class ServiceQuotaExceededException extends __BaseException {
45
+ name = "ServiceQuotaExceededException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ServiceQuotaExceededException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ThrottlingException extends __BaseException {
59
+ name = "ThrottlingException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ThrottlingException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class ValidationException extends __BaseException {
73
+ name = "ValidationException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ValidationException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ValidationException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ export class ResourceNotFoundException extends __BaseException {
87
+ name = "ResourceNotFoundException";
88
+ $fault = "client";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "ResourceNotFoundException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class ResourceUnavailableException extends __BaseException {
101
+ name = "ResourceUnavailableException";
102
+ $fault = "client";
103
+ Message;
104
+ constructor(opts) {
105
+ super({
106
+ name: "ResourceUnavailableException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
@@ -1,120 +1 @@
1
- import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export class ConflictException extends __BaseException {
17
- name = "ConflictException";
18
- $fault = "client";
19
- Message;
20
- constructor(opts) {
21
- super({
22
- name: "ConflictException",
23
- $fault: "client",
24
- ...opts,
25
- });
26
- Object.setPrototypeOf(this, ConflictException.prototype);
27
- this.Message = opts.Message;
28
- }
29
- }
30
- export class InternalServerException extends __BaseException {
31
- name = "InternalServerException";
32
- $fault = "server";
33
- Message;
34
- constructor(opts) {
35
- super({
36
- name: "InternalServerException",
37
- $fault: "server",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, InternalServerException.prototype);
41
- this.Message = opts.Message;
42
- }
43
- }
44
- export class ServiceQuotaExceededException extends __BaseException {
45
- name = "ServiceQuotaExceededException";
46
- $fault = "client";
47
- Message;
48
- constructor(opts) {
49
- super({
50
- name: "ServiceQuotaExceededException",
51
- $fault: "client",
52
- ...opts,
53
- });
54
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
55
- this.Message = opts.Message;
56
- }
57
- }
58
- export class ThrottlingException extends __BaseException {
59
- name = "ThrottlingException";
60
- $fault = "client";
61
- Message;
62
- constructor(opts) {
63
- super({
64
- name: "ThrottlingException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- Object.setPrototypeOf(this, ThrottlingException.prototype);
69
- this.Message = opts.Message;
70
- }
71
- }
72
- export class ValidationException extends __BaseException {
73
- name = "ValidationException";
74
- $fault = "client";
75
- Message;
76
- constructor(opts) {
77
- super({
78
- name: "ValidationException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- Object.setPrototypeOf(this, ValidationException.prototype);
83
- this.Message = opts.Message;
84
- }
85
- }
86
- export class ResourceNotFoundException extends __BaseException {
87
- name = "ResourceNotFoundException";
88
- $fault = "client";
89
- Message;
90
- constructor(opts) {
91
- super({
92
- name: "ResourceNotFoundException",
93
- $fault: "client",
94
- ...opts,
95
- });
96
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
97
- this.Message = opts.Message;
98
- }
99
- }
100
- export const RescoreExecutionPlanStatus = {
101
- ACTIVE: "ACTIVE",
102
- CREATING: "CREATING",
103
- DELETING: "DELETING",
104
- FAILED: "FAILED",
105
- UPDATING: "UPDATING",
106
- };
107
- export class ResourceUnavailableException extends __BaseException {
108
- name = "ResourceUnavailableException";
109
- $fault = "client";
110
- Message;
111
- constructor(opts) {
112
- super({
113
- name: "ResourceUnavailableException",
114
- $fault: "client",
115
- ...opts,
116
- });
117
- Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
118
- this.Message = opts.Message;
119
- }
120
- }
1
+ export {};
@@ -84,7 +84,7 @@ const _s = "server";
84
84
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kendraranking";
85
85
  const n0 = "com.amazonaws.kendraranking";
86
86
  import { TypeRegistry } from "@smithy/core/schema";
87
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ResourceUnavailableException as __ResourceUnavailableException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
87
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ResourceUnavailableException as __ResourceUnavailableException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
88
88
  import { KendraRankingServiceException as __KendraRankingServiceException } from "../models/KendraRankingServiceException";
89
89
  export var AccessDeniedException = [
90
90
  -3,
@@ -12,5 +12,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
12
12
  export type { KendraRankingExtensionConfiguration } from "./extensionConfiguration";
13
13
  export * from "./commands";
14
14
  export * from "./pagination";
15
- export * from "./models";
15
+ export * from "./models/enums";
16
+ export * from "./models/errors";
17
+ export type * from "./models/models_0";
16
18
  export { KendraRankingServiceException } from "./models/KendraRankingServiceException";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const RescoreExecutionPlanStatus: {
6
+ readonly ACTIVE: "ACTIVE";
7
+ readonly CREATING: "CREATING";
8
+ readonly DELETING: "DELETING";
9
+ readonly FAILED: "FAILED";
10
+ readonly UPDATING: "UPDATING";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type RescoreExecutionPlanStatus = (typeof RescoreExecutionPlanStatus)[keyof typeof RescoreExecutionPlanStatus];
@@ -0,0 +1,124 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
3
+ /**
4
+ * <p>You don’t have sufficient access to perform this action.
5
+ * Please ensure you have the required permission policies
6
+ * and user accounts and try again.</p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ Message?: string | undefined;
13
+ /**
14
+ * @internal
15
+ */
16
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
+ }
18
+ /**
19
+ * <p>A conflict occurred with the request. Please fix any
20
+ * inconsistencies with your resources and try again.</p>
21
+ * @public
22
+ */
23
+ export declare class ConflictException extends __BaseException {
24
+ readonly name: "ConflictException";
25
+ readonly $fault: "client";
26
+ Message?: string | undefined;
27
+ /**
28
+ * @internal
29
+ */
30
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
31
+ }
32
+ /**
33
+ * <p>An issue occurred with the internal server used for
34
+ * your Amazon Kendra Intelligent Ranking service.
35
+ * Please wait a few minutes and try again, or contact
36
+ * <a href="http://aws.amazon.com/contact-us/">Support</a>
37
+ * for help.</p>
38
+ * @public
39
+ */
40
+ export declare class InternalServerException extends __BaseException {
41
+ readonly name: "InternalServerException";
42
+ readonly $fault: "server";
43
+ Message?: string | undefined;
44
+ /**
45
+ * @internal
46
+ */
47
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
48
+ }
49
+ /**
50
+ * <p>You have exceeded the set limits for your
51
+ * Amazon Kendra Intelligent Ranking service. Please
52
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a>
53
+ * for more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
54
+ * an increase of limits.</p>
55
+ * @public
56
+ */
57
+ export declare class ServiceQuotaExceededException extends __BaseException {
58
+ readonly name: "ServiceQuotaExceededException";
59
+ readonly $fault: "client";
60
+ Message?: string | undefined;
61
+ /**
62
+ * @internal
63
+ */
64
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
65
+ }
66
+ /**
67
+ * <p>The request was denied due to request throttling.
68
+ * Please reduce the number of requests and try again.</p>
69
+ * @public
70
+ */
71
+ export declare class ThrottlingException extends __BaseException {
72
+ readonly name: "ThrottlingException";
73
+ readonly $fault: "client";
74
+ Message?: string | undefined;
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
79
+ }
80
+ /**
81
+ * <p>The input fails to satisfy the constraints set by
82
+ * the Amazon Kendra Intelligent Ranking service.
83
+ * Please provide the correct input and try again.</p>
84
+ * @public
85
+ */
86
+ export declare class ValidationException extends __BaseException {
87
+ readonly name: "ValidationException";
88
+ readonly $fault: "client";
89
+ Message?: string | undefined;
90
+ /**
91
+ * @internal
92
+ */
93
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
94
+ }
95
+ /**
96
+ * <p>The resource you want to use doesn't exist. Please
97
+ * check you have provided the correct resource and try
98
+ * again.</p>
99
+ * @public
100
+ */
101
+ export declare class ResourceNotFoundException extends __BaseException {
102
+ readonly name: "ResourceNotFoundException";
103
+ readonly $fault: "client";
104
+ Message?: string | undefined;
105
+ /**
106
+ * @internal
107
+ */
108
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
109
+ }
110
+ /**
111
+ * <p>The resource you want to use is unavailable. Please
112
+ * check you have provided the correct resource
113
+ * information and try again.</p>
114
+ * @public
115
+ */
116
+ export declare class ResourceUnavailableException extends __BaseException {
117
+ readonly name: "ResourceUnavailableException";
118
+ readonly $fault: "client";
119
+ Message?: string | undefined;
120
+ /**
121
+ * @internal
122
+ */
123
+ constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
124
+ }
@@ -1,34 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
3
- /**
4
- * <p>You don’t have sufficient access to perform this action.
5
- * Please ensure you have the required permission policies
6
- * and user accounts and try again.</p>
7
- * @public
8
- */
9
- export declare class AccessDeniedException extends __BaseException {
10
- readonly name: "AccessDeniedException";
11
- readonly $fault: "client";
12
- Message?: string | undefined;
13
- /**
14
- * @internal
15
- */
16
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
- }
18
- /**
19
- * <p>A conflict occurred with the request. Please fix any
20
- * inconsistencies with your resources and try again.</p>
21
- * @public
22
- */
23
- export declare class ConflictException extends __BaseException {
24
- readonly name: "ConflictException";
25
- readonly $fault: "client";
26
- Message?: string | undefined;
27
- /**
28
- * @internal
29
- */
30
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
31
- }
1
+ import { RescoreExecutionPlanStatus } from "./enums";
32
2
  /**
33
3
  * <p>Sets additional capacity units configured for your
34
4
  * rescore execution plan. A rescore execution plan is an
@@ -131,69 +101,6 @@ export interface CreateRescoreExecutionPlanResponse {
131
101
  */
132
102
  Arn: string | undefined;
133
103
  }
134
- /**
135
- * <p>An issue occurred with the internal server used for
136
- * your Amazon Kendra Intelligent Ranking service.
137
- * Please wait a few minutes and try again, or contact
138
- * <a href="http://aws.amazon.com/contact-us/">Support</a>
139
- * for help.</p>
140
- * @public
141
- */
142
- export declare class InternalServerException extends __BaseException {
143
- readonly name: "InternalServerException";
144
- readonly $fault: "server";
145
- Message?: string | undefined;
146
- /**
147
- * @internal
148
- */
149
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
150
- }
151
- /**
152
- * <p>You have exceeded the set limits for your
153
- * Amazon Kendra Intelligent Ranking service. Please
154
- * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a>
155
- * for more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
156
- * an increase of limits.</p>
157
- * @public
158
- */
159
- export declare class ServiceQuotaExceededException extends __BaseException {
160
- readonly name: "ServiceQuotaExceededException";
161
- readonly $fault: "client";
162
- Message?: string | undefined;
163
- /**
164
- * @internal
165
- */
166
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
167
- }
168
- /**
169
- * <p>The request was denied due to request throttling.
170
- * Please reduce the number of requests and try again.</p>
171
- * @public
172
- */
173
- export declare class ThrottlingException extends __BaseException {
174
- readonly name: "ThrottlingException";
175
- readonly $fault: "client";
176
- Message?: string | undefined;
177
- /**
178
- * @internal
179
- */
180
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
181
- }
182
- /**
183
- * <p>The input fails to satisfy the constraints set by
184
- * the Amazon Kendra Intelligent Ranking service.
185
- * Please provide the correct input and try again.</p>
186
- * @public
187
- */
188
- export declare class ValidationException extends __BaseException {
189
- readonly name: "ValidationException";
190
- readonly $fault: "client";
191
- Message?: string | undefined;
192
- /**
193
- * @internal
194
- */
195
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
196
- }
197
104
  /**
198
105
  * @public
199
106
  */
@@ -205,21 +112,6 @@ export interface DeleteRescoreExecutionPlanRequest {
205
112
  */
206
113
  Id: string | undefined;
207
114
  }
208
- /**
209
- * <p>The resource you want to use doesn't exist. Please
210
- * check you have provided the correct resource and try
211
- * again.</p>
212
- * @public
213
- */
214
- export declare class ResourceNotFoundException extends __BaseException {
215
- readonly name: "ResourceNotFoundException";
216
- readonly $fault: "client";
217
- Message?: string | undefined;
218
- /**
219
- * @internal
220
- */
221
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
222
- }
223
115
  /**
224
116
  * @public
225
117
  */
@@ -231,21 +123,6 @@ export interface DescribeRescoreExecutionPlanRequest {
231
123
  */
232
124
  Id: string | undefined;
233
125
  }
234
- /**
235
- * @public
236
- * @enum
237
- */
238
- export declare const RescoreExecutionPlanStatus: {
239
- readonly ACTIVE: "ACTIVE";
240
- readonly CREATING: "CREATING";
241
- readonly DELETING: "DELETING";
242
- readonly FAILED: "FAILED";
243
- readonly UPDATING: "UPDATING";
244
- };
245
- /**
246
- * @public
247
- */
248
- export type RescoreExecutionPlanStatus = (typeof RescoreExecutionPlanStatus)[keyof typeof RescoreExecutionPlanStatus];
249
126
  /**
250
127
  * @public
251
128
  */
@@ -409,21 +286,6 @@ export interface ListTagsForResourceResponse {
409
286
  */
410
287
  Tags?: Tag[] | undefined;
411
288
  }
412
- /**
413
- * <p>The resource you want to use is unavailable. Please
414
- * check you have provided the correct resource
415
- * information and try again.</p>
416
- * @public
417
- */
418
- export declare class ResourceUnavailableException extends __BaseException {
419
- readonly name: "ResourceUnavailableException";
420
- readonly $fault: "client";
421
- Message?: string | undefined;
422
- /**
423
- * @internal
424
- */
425
- constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
426
- }
427
289
  /**
428
290
  * <p>Information about a document from a search service such
429
291
  * as OpenSearch (self managed). Amazon Kendra Intelligent
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { KendraRankingExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { KendraRankingServiceException } from "./models/KendraRankingServiceException";
@@ -0,0 +1,9 @@
1
+ export declare const RescoreExecutionPlanStatus: {
2
+ readonly ACTIVE: "ACTIVE";
3
+ readonly CREATING: "CREATING";
4
+ readonly DELETING: "DELETING";
5
+ readonly FAILED: "FAILED";
6
+ readonly UPDATING: "UPDATING";
7
+ };
8
+ export type RescoreExecutionPlanStatus =
9
+ (typeof RescoreExecutionPlanStatus)[keyof typeof RescoreExecutionPlanStatus];
@@ -0,0 +1,64 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
+ }
17
+ export declare class InternalServerException extends __BaseException {
18
+ readonly name: "InternalServerException";
19
+ readonly $fault: "server";
20
+ Message?: string | undefined;
21
+ constructor(
22
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
23
+ );
24
+ }
25
+ export declare class ServiceQuotaExceededException extends __BaseException {
26
+ readonly name: "ServiceQuotaExceededException";
27
+ readonly $fault: "client";
28
+ Message?: string | undefined;
29
+ constructor(
30
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ThrottlingException extends __BaseException {
34
+ readonly name: "ThrottlingException";
35
+ readonly $fault: "client";
36
+ Message?: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ValidationException extends __BaseException {
42
+ readonly name: "ValidationException";
43
+ readonly $fault: "client";
44
+ Message?: string | undefined;
45
+ constructor(
46
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
47
+ );
48
+ }
49
+ export declare class ResourceNotFoundException extends __BaseException {
50
+ readonly name: "ResourceNotFoundException";
51
+ readonly $fault: "client";
52
+ Message?: string | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
55
+ );
56
+ }
57
+ export declare class ResourceUnavailableException extends __BaseException {
58
+ readonly name: "ResourceUnavailableException";
59
+ readonly $fault: "client";
60
+ Message?: string | undefined;
61
+ constructor(
62
+ opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
63
+ );
64
+ }
@@ -1,19 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare class ConflictException extends __BaseException {
12
- readonly name: "ConflictException";
13
- readonly $fault: "client";
14
- Message?: string | undefined;
15
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
- }
1
+ import { RescoreExecutionPlanStatus } from "./enums";
17
2
  export interface CapacityUnitsConfiguration {
18
3
  RescoreCapacityUnits: number | undefined;
19
4
  }
@@ -32,61 +17,12 @@ export interface CreateRescoreExecutionPlanResponse {
32
17
  Id: string | undefined;
33
18
  Arn: string | undefined;
34
19
  }
35
- export declare class InternalServerException extends __BaseException {
36
- readonly name: "InternalServerException";
37
- readonly $fault: "server";
38
- Message?: string | undefined;
39
- constructor(
40
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
41
- );
42
- }
43
- export declare class ServiceQuotaExceededException extends __BaseException {
44
- readonly name: "ServiceQuotaExceededException";
45
- readonly $fault: "client";
46
- Message?: string | undefined;
47
- constructor(
48
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
49
- );
50
- }
51
- export declare class ThrottlingException extends __BaseException {
52
- readonly name: "ThrottlingException";
53
- readonly $fault: "client";
54
- Message?: string | undefined;
55
- constructor(
56
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
57
- );
58
- }
59
- export declare class ValidationException extends __BaseException {
60
- readonly name: "ValidationException";
61
- readonly $fault: "client";
62
- Message?: string | undefined;
63
- constructor(
64
- opts: __ExceptionOptionType<ValidationException, __BaseException>
65
- );
66
- }
67
20
  export interface DeleteRescoreExecutionPlanRequest {
68
21
  Id: string | undefined;
69
22
  }
70
- export declare class ResourceNotFoundException extends __BaseException {
71
- readonly name: "ResourceNotFoundException";
72
- readonly $fault: "client";
73
- Message?: string | undefined;
74
- constructor(
75
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
76
- );
77
- }
78
23
  export interface DescribeRescoreExecutionPlanRequest {
79
24
  Id: string | undefined;
80
25
  }
81
- export declare const RescoreExecutionPlanStatus: {
82
- readonly ACTIVE: "ACTIVE";
83
- readonly CREATING: "CREATING";
84
- readonly DELETING: "DELETING";
85
- readonly FAILED: "FAILED";
86
- readonly UPDATING: "UPDATING";
87
- };
88
- export type RescoreExecutionPlanStatus =
89
- (typeof RescoreExecutionPlanStatus)[keyof typeof RescoreExecutionPlanStatus];
90
26
  export interface DescribeRescoreExecutionPlanResponse {
91
27
  Id?: string | undefined;
92
28
  Arn?: string | undefined;
@@ -119,14 +55,6 @@ export interface ListTagsForResourceRequest {
119
55
  export interface ListTagsForResourceResponse {
120
56
  Tags?: Tag[] | undefined;
121
57
  }
122
- export declare class ResourceUnavailableException extends __BaseException {
123
- readonly name: "ResourceUnavailableException";
124
- readonly $fault: "client";
125
- Message?: string | undefined;
126
- constructor(
127
- opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
128
- );
129
- }
130
58
  export interface Document {
131
59
  Id: string | undefined;
132
60
  GroupId?: string | undefined;
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.934.0",
4
+ "version": "3.935.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";