@aws-sdk/client-kendra 3.1148.0 → 3.1150.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1149.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class KendraServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.kendra#KendraServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, KendraServiceException.prototype);
@@ -139,6 +140,7 @@ class KendraServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends KendraServiceException {
143
+ static shapeId = "com.amazonaws.kendra#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  Message;
@@ -153,6 +155,7 @@ class AccessDeniedException extends KendraServiceException {
153
155
  }
154
156
  }
155
157
  class InternalServerException extends KendraServiceException {
158
+ static shapeId = "com.amazonaws.kendra#InternalServerException";
156
159
  name = "InternalServerException";
157
160
  $fault = "server";
158
161
  Message;
@@ -167,6 +170,7 @@ class InternalServerException extends KendraServiceException {
167
170
  }
168
171
  }
169
172
  class ResourceAlreadyExistException extends KendraServiceException {
173
+ static shapeId = "com.amazonaws.kendra#ResourceAlreadyExistException";
170
174
  name = "ResourceAlreadyExistException";
171
175
  $fault = "client";
172
176
  Message;
@@ -181,6 +185,7 @@ class ResourceAlreadyExistException extends KendraServiceException {
181
185
  }
182
186
  }
183
187
  class ResourceNotFoundException extends KendraServiceException {
188
+ static shapeId = "com.amazonaws.kendra#ResourceNotFoundException";
184
189
  name = "ResourceNotFoundException";
185
190
  $fault = "client";
186
191
  Message;
@@ -195,6 +200,7 @@ class ResourceNotFoundException extends KendraServiceException {
195
200
  }
196
201
  }
197
202
  class ThrottlingException extends KendraServiceException {
203
+ static shapeId = "com.amazonaws.kendra#ThrottlingException";
198
204
  name = "ThrottlingException";
199
205
  $fault = "client";
200
206
  Message;
@@ -209,6 +215,7 @@ class ThrottlingException extends KendraServiceException {
209
215
  }
210
216
  }
211
217
  class ValidationException extends KendraServiceException {
218
+ static shapeId = "com.amazonaws.kendra#ValidationException";
212
219
  name = "ValidationException";
213
220
  $fault = "client";
214
221
  Message;
@@ -223,6 +230,7 @@ class ValidationException extends KendraServiceException {
223
230
  }
224
231
  }
225
232
  class ConflictException extends KendraServiceException {
233
+ static shapeId = "com.amazonaws.kendra#ConflictException";
226
234
  name = "ConflictException";
227
235
  $fault = "client";
228
236
  Message;
@@ -237,6 +245,7 @@ class ConflictException extends KendraServiceException {
237
245
  }
238
246
  }
239
247
  class ServiceQuotaExceededException extends KendraServiceException {
248
+ static shapeId = "com.amazonaws.kendra#ServiceQuotaExceededException";
240
249
  name = "ServiceQuotaExceededException";
241
250
  $fault = "client";
242
251
  Message;
@@ -251,6 +260,7 @@ class ServiceQuotaExceededException extends KendraServiceException {
251
260
  }
252
261
  }
253
262
  class FeaturedResultsConflictException extends KendraServiceException {
263
+ static shapeId = "com.amazonaws.kendra#FeaturedResultsConflictException";
254
264
  name = "FeaturedResultsConflictException";
255
265
  $fault = "client";
256
266
  Message;
@@ -267,6 +277,7 @@ class FeaturedResultsConflictException extends KendraServiceException {
267
277
  }
268
278
  }
269
279
  class InvalidRequestException extends KendraServiceException {
280
+ static shapeId = "com.amazonaws.kendra#InvalidRequestException";
270
281
  name = "InvalidRequestException";
271
282
  $fault = "client";
272
283
  Message;
@@ -281,6 +292,7 @@ class InvalidRequestException extends KendraServiceException {
281
292
  }
282
293
  }
283
294
  class ResourceUnavailableException extends KendraServiceException {
295
+ static shapeId = "com.amazonaws.kendra#ResourceUnavailableException";
284
296
  name = "ResourceUnavailableException";
285
297
  $fault = "client";
286
298
  Message;
@@ -295,6 +307,7 @@ class ResourceUnavailableException extends KendraServiceException {
295
307
  }
296
308
  }
297
309
  class ResourceInUseException extends KendraServiceException {
310
+ static shapeId = "com.amazonaws.kendra#ResourceInUseException";
298
311
  name = "ResourceInUseException";
299
312
  $fault = "client";
300
313
  Message;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class KendraServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.kendra#KendraServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, KendraServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { KendraServiceException as __BaseException } from "./KendraServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.kendra#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  Message;
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
14
15
  }
15
16
  }
16
17
  export class InternalServerException extends __BaseException {
18
+ static shapeId = "com.amazonaws.kendra#InternalServerException";
17
19
  name = "InternalServerException";
18
20
  $fault = "server";
19
21
  Message;
@@ -28,6 +30,7 @@ export class InternalServerException extends __BaseException {
28
30
  }
29
31
  }
30
32
  export class ResourceAlreadyExistException extends __BaseException {
33
+ static shapeId = "com.amazonaws.kendra#ResourceAlreadyExistException";
31
34
  name = "ResourceAlreadyExistException";
32
35
  $fault = "client";
33
36
  Message;
@@ -42,6 +45,7 @@ export class ResourceAlreadyExistException extends __BaseException {
42
45
  }
43
46
  }
44
47
  export class ResourceNotFoundException extends __BaseException {
48
+ static shapeId = "com.amazonaws.kendra#ResourceNotFoundException";
45
49
  name = "ResourceNotFoundException";
46
50
  $fault = "client";
47
51
  Message;
@@ -56,6 +60,7 @@ export class ResourceNotFoundException extends __BaseException {
56
60
  }
57
61
  }
58
62
  export class ThrottlingException extends __BaseException {
63
+ static shapeId = "com.amazonaws.kendra#ThrottlingException";
59
64
  name = "ThrottlingException";
60
65
  $fault = "client";
61
66
  Message;
@@ -70,6 +75,7 @@ export class ThrottlingException extends __BaseException {
70
75
  }
71
76
  }
72
77
  export class ValidationException extends __BaseException {
78
+ static shapeId = "com.amazonaws.kendra#ValidationException";
73
79
  name = "ValidationException";
74
80
  $fault = "client";
75
81
  Message;
@@ -84,6 +90,7 @@ export class ValidationException extends __BaseException {
84
90
  }
85
91
  }
86
92
  export class ConflictException extends __BaseException {
93
+ static shapeId = "com.amazonaws.kendra#ConflictException";
87
94
  name = "ConflictException";
88
95
  $fault = "client";
89
96
  Message;
@@ -98,6 +105,7 @@ export class ConflictException extends __BaseException {
98
105
  }
99
106
  }
100
107
  export class ServiceQuotaExceededException extends __BaseException {
108
+ static shapeId = "com.amazonaws.kendra#ServiceQuotaExceededException";
101
109
  name = "ServiceQuotaExceededException";
102
110
  $fault = "client";
103
111
  Message;
@@ -112,6 +120,7 @@ export class ServiceQuotaExceededException extends __BaseException {
112
120
  }
113
121
  }
114
122
  export class FeaturedResultsConflictException extends __BaseException {
123
+ static shapeId = "com.amazonaws.kendra#FeaturedResultsConflictException";
115
124
  name = "FeaturedResultsConflictException";
116
125
  $fault = "client";
117
126
  Message;
@@ -128,6 +137,7 @@ export class FeaturedResultsConflictException extends __BaseException {
128
137
  }
129
138
  }
130
139
  export class InvalidRequestException extends __BaseException {
140
+ static shapeId = "com.amazonaws.kendra#InvalidRequestException";
131
141
  name = "InvalidRequestException";
132
142
  $fault = "client";
133
143
  Message;
@@ -142,6 +152,7 @@ export class InvalidRequestException extends __BaseException {
142
152
  }
143
153
  }
144
154
  export class ResourceUnavailableException extends __BaseException {
155
+ static shapeId = "com.amazonaws.kendra#ResourceUnavailableException";
145
156
  name = "ResourceUnavailableException";
146
157
  $fault = "client";
147
158
  Message;
@@ -156,6 +167,7 @@ export class ResourceUnavailableException extends __BaseException {
156
167
  }
157
168
  }
158
169
  export class ResourceInUseException extends __BaseException {
170
+ static shapeId = "com.amazonaws.kendra#ResourceInUseException";
159
171
  name = "ResourceInUseException";
160
172
  $fault = "client";
161
173
  Message;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Kendra service.
8
8
  */
9
9
  export declare class KendraServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import type { ConflictingItem } from "./models_0";
7
7
  * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  Message?: string | undefined;
@@ -21,6 +22,7 @@ export declare class AccessDeniedException extends __BaseException {
21
22
  * @public
22
23
  */
23
24
  export declare class InternalServerException extends __BaseException {
25
+ static readonly shapeId: string;
24
26
  readonly name: "InternalServerException";
25
27
  readonly $fault: "server";
26
28
  Message?: string | undefined;
@@ -35,6 +37,7 @@ export declare class InternalServerException extends __BaseException {
35
37
  * @public
36
38
  */
37
39
  export declare class ResourceAlreadyExistException extends __BaseException {
40
+ static readonly shapeId: string;
38
41
  readonly name: "ResourceAlreadyExistException";
39
42
  readonly $fault: "client";
40
43
  Message?: string | undefined;
@@ -49,6 +52,7 @@ export declare class ResourceAlreadyExistException extends __BaseException {
49
52
  * @public
50
53
  */
51
54
  export declare class ResourceNotFoundException extends __BaseException {
55
+ static readonly shapeId: string;
52
56
  readonly name: "ResourceNotFoundException";
53
57
  readonly $fault: "client";
54
58
  Message?: string | undefined;
@@ -63,6 +67,7 @@ export declare class ResourceNotFoundException extends __BaseException {
63
67
  * @public
64
68
  */
65
69
  export declare class ThrottlingException extends __BaseException {
70
+ static readonly shapeId: string;
66
71
  readonly name: "ThrottlingException";
67
72
  readonly $fault: "client";
68
73
  Message?: string | undefined;
@@ -77,6 +82,7 @@ export declare class ThrottlingException extends __BaseException {
77
82
  * @public
78
83
  */
79
84
  export declare class ValidationException extends __BaseException {
85
+ static readonly shapeId: string;
80
86
  readonly name: "ValidationException";
81
87
  readonly $fault: "client";
82
88
  Message?: string | undefined;
@@ -91,6 +97,7 @@ export declare class ValidationException extends __BaseException {
91
97
  * @public
92
98
  */
93
99
  export declare class ConflictException extends __BaseException {
100
+ static readonly shapeId: string;
94
101
  readonly name: "ConflictException";
95
102
  readonly $fault: "client";
96
103
  Message?: string | undefined;
@@ -107,6 +114,7 @@ export declare class ConflictException extends __BaseException {
107
114
  * @public
108
115
  */
109
116
  export declare class ServiceQuotaExceededException extends __BaseException {
117
+ static readonly shapeId: string;
110
118
  readonly name: "ServiceQuotaExceededException";
111
119
  readonly $fault: "client";
112
120
  Message?: string | undefined;
@@ -123,6 +131,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
123
131
  * @public
124
132
  */
125
133
  export declare class FeaturedResultsConflictException extends __BaseException {
134
+ static readonly shapeId: string;
126
135
  readonly name: "FeaturedResultsConflictException";
127
136
  readonly $fault: "client";
128
137
  /**
@@ -147,6 +156,7 @@ export declare class FeaturedResultsConflictException extends __BaseException {
147
156
  * @public
148
157
  */
149
158
  export declare class InvalidRequestException extends __BaseException {
159
+ static readonly shapeId: string;
150
160
  readonly name: "InvalidRequestException";
151
161
  readonly $fault: "client";
152
162
  Message?: string | undefined;
@@ -161,6 +171,7 @@ export declare class InvalidRequestException extends __BaseException {
161
171
  * @public
162
172
  */
163
173
  export declare class ResourceUnavailableException extends __BaseException {
174
+ static readonly shapeId: string;
164
175
  readonly name: "ResourceUnavailableException";
165
176
  readonly $fault: "client";
166
177
  Message?: string | undefined;
@@ -175,6 +186,7 @@ export declare class ResourceUnavailableException extends __BaseException {
175
186
  * @public
176
187
  */
177
188
  export declare class ResourceInUseException extends __BaseException {
189
+ static readonly shapeId: string;
178
190
  readonly name: "ResourceInUseException";
179
191
  readonly $fault: "client";
180
192
  Message?: string | undefined;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class KendraServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -2,54 +2,63 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
2
2
  import { KendraServiceException as __BaseException } from "./KendraServiceException";
3
3
  import { ConflictingItem } from "./models_0";
4
4
  export declare class AccessDeniedException extends __BaseException {
5
+ static readonly shapeId: string;
5
6
  readonly name: "AccessDeniedException";
6
7
  readonly $fault: "client";
7
8
  Message?: string | undefined;
8
9
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
10
  }
10
11
  export declare class InternalServerException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "InternalServerException";
12
14
  readonly $fault: "server";
13
15
  Message?: string | undefined;
14
16
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
15
17
  }
16
18
  export declare class ResourceAlreadyExistException extends __BaseException {
19
+ static readonly shapeId: string;
17
20
  readonly name: "ResourceAlreadyExistException";
18
21
  readonly $fault: "client";
19
22
  Message?: string | undefined;
20
23
  constructor(opts: __ExceptionOptionType<ResourceAlreadyExistException, __BaseException>);
21
24
  }
22
25
  export declare class ResourceNotFoundException extends __BaseException {
26
+ static readonly shapeId: string;
23
27
  readonly name: "ResourceNotFoundException";
24
28
  readonly $fault: "client";
25
29
  Message?: string | undefined;
26
30
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
27
31
  }
28
32
  export declare class ThrottlingException extends __BaseException {
33
+ static readonly shapeId: string;
29
34
  readonly name: "ThrottlingException";
30
35
  readonly $fault: "client";
31
36
  Message?: string | undefined;
32
37
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
33
38
  }
34
39
  export declare class ValidationException extends __BaseException {
40
+ static readonly shapeId: string;
35
41
  readonly name: "ValidationException";
36
42
  readonly $fault: "client";
37
43
  Message?: string | undefined;
38
44
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
39
45
  }
40
46
  export declare class ConflictException extends __BaseException {
47
+ static readonly shapeId: string;
41
48
  readonly name: "ConflictException";
42
49
  readonly $fault: "client";
43
50
  Message?: string | undefined;
44
51
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
45
52
  }
46
53
  export declare class ServiceQuotaExceededException extends __BaseException {
54
+ static readonly shapeId: string;
47
55
  readonly name: "ServiceQuotaExceededException";
48
56
  readonly $fault: "client";
49
57
  Message?: string | undefined;
50
58
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
51
59
  }
52
60
  export declare class FeaturedResultsConflictException extends __BaseException {
61
+ static readonly shapeId: string;
53
62
  readonly name: "FeaturedResultsConflictException";
54
63
  readonly $fault: "client";
55
64
  Message?: string | undefined;
@@ -57,18 +66,21 @@ export declare class FeaturedResultsConflictException extends __BaseException {
57
66
  constructor(opts: __ExceptionOptionType<FeaturedResultsConflictException, __BaseException>);
58
67
  }
59
68
  export declare class InvalidRequestException extends __BaseException {
69
+ static readonly shapeId: string;
60
70
  readonly name: "InvalidRequestException";
61
71
  readonly $fault: "client";
62
72
  Message?: string | undefined;
63
73
  constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
64
74
  }
65
75
  export declare class ResourceUnavailableException extends __BaseException {
76
+ static readonly shapeId: string;
66
77
  readonly name: "ResourceUnavailableException";
67
78
  readonly $fault: "client";
68
79
  Message?: string | undefined;
69
80
  constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
70
81
  }
71
82
  export declare class ResourceInUseException extends __BaseException {
83
+ static readonly shapeId: string;
72
84
  readonly name: "ResourceInUseException";
73
85
  readonly $fault: "client";
74
86
  Message?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kendra",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Kendra Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kendra",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",