@aws-sdk/client-opensearch 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
 
@@ -140,6 +140,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
140
140
  customEndpointFunctions.aws = awsEndpointFunctions;
141
141
 
142
142
  class OpenSearchServiceException extends ServiceException {
143
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.opensearch#OpenSearchServiceException";
143
144
  constructor(options) {
144
145
  super(options);
145
146
  Object.setPrototypeOf(this, OpenSearchServiceException.prototype);
@@ -147,6 +148,7 @@ class OpenSearchServiceException extends ServiceException {
147
148
  }
148
149
 
149
150
  class DisabledOperationException extends OpenSearchServiceException {
151
+ static shapeId = "com.amazonaws.opensearch#DisabledOperationException";
150
152
  name = "DisabledOperationException";
151
153
  $fault = "client";
152
154
  constructor(opts) {
@@ -159,6 +161,7 @@ class DisabledOperationException extends OpenSearchServiceException {
159
161
  }
160
162
  }
161
163
  class LimitExceededException extends OpenSearchServiceException {
164
+ static shapeId = "com.amazonaws.opensearch#LimitExceededException";
162
165
  name = "LimitExceededException";
163
166
  $fault = "client";
164
167
  constructor(opts) {
@@ -171,6 +174,7 @@ class LimitExceededException extends OpenSearchServiceException {
171
174
  }
172
175
  }
173
176
  class ResourceNotFoundException extends OpenSearchServiceException {
177
+ static shapeId = "com.amazonaws.opensearch#ResourceNotFoundException";
174
178
  name = "ResourceNotFoundException";
175
179
  $fault = "client";
176
180
  constructor(opts) {
@@ -183,6 +187,7 @@ class ResourceNotFoundException extends OpenSearchServiceException {
183
187
  }
184
188
  }
185
189
  class AccessDeniedException extends OpenSearchServiceException {
190
+ static shapeId = "com.amazonaws.opensearch#AccessDeniedException";
186
191
  name = "AccessDeniedException";
187
192
  $fault = "client";
188
193
  constructor(opts) {
@@ -195,6 +200,7 @@ class AccessDeniedException extends OpenSearchServiceException {
195
200
  }
196
201
  }
197
202
  class BaseException extends OpenSearchServiceException {
203
+ static shapeId = "com.amazonaws.opensearch#BaseException";
198
204
  name = "BaseException";
199
205
  $fault = "client";
200
206
  constructor(opts) {
@@ -207,6 +213,7 @@ class BaseException extends OpenSearchServiceException {
207
213
  }
208
214
  }
209
215
  class DependencyFailureException extends OpenSearchServiceException {
216
+ static shapeId = "com.amazonaws.opensearch#DependencyFailureException";
210
217
  name = "DependencyFailureException";
211
218
  $fault = "client";
212
219
  constructor(opts) {
@@ -219,6 +226,7 @@ class DependencyFailureException extends OpenSearchServiceException {
219
226
  }
220
227
  }
221
228
  class InternalException extends OpenSearchServiceException {
229
+ static shapeId = "com.amazonaws.opensearch#InternalException";
222
230
  name = "InternalException";
223
231
  $fault = "server";
224
232
  constructor(opts) {
@@ -231,6 +239,7 @@ class InternalException extends OpenSearchServiceException {
231
239
  }
232
240
  }
233
241
  class ValidationException extends OpenSearchServiceException {
242
+ static shapeId = "com.amazonaws.opensearch#ValidationException";
234
243
  name = "ValidationException";
235
244
  $fault = "client";
236
245
  constructor(opts) {
@@ -243,6 +252,7 @@ class ValidationException extends OpenSearchServiceException {
243
252
  }
244
253
  }
245
254
  class ConflictException extends OpenSearchServiceException {
255
+ static shapeId = "com.amazonaws.opensearch#ConflictException";
246
256
  name = "ConflictException";
247
257
  $fault = "client";
248
258
  constructor(opts) {
@@ -255,6 +265,7 @@ class ConflictException extends OpenSearchServiceException {
255
265
  }
256
266
  }
257
267
  class InvalidTypeException extends OpenSearchServiceException {
268
+ static shapeId = "com.amazonaws.opensearch#InvalidTypeException";
258
269
  name = "InvalidTypeException";
259
270
  $fault = "client";
260
271
  constructor(opts) {
@@ -267,6 +278,7 @@ class InvalidTypeException extends OpenSearchServiceException {
267
278
  }
268
279
  }
269
280
  class ResourceAlreadyExistsException extends OpenSearchServiceException {
281
+ static shapeId = "com.amazonaws.opensearch#ResourceAlreadyExistsException";
270
282
  name = "ResourceAlreadyExistsException";
271
283
  $fault = "client";
272
284
  constructor(opts) {
@@ -279,6 +291,7 @@ class ResourceAlreadyExistsException extends OpenSearchServiceException {
279
291
  }
280
292
  }
281
293
  class ThrottlingException extends OpenSearchServiceException {
294
+ static shapeId = "com.amazonaws.opensearch#ThrottlingException";
282
295
  name = "ThrottlingException";
283
296
  $fault = "client";
284
297
  constructor(opts) {
@@ -291,6 +304,7 @@ class ThrottlingException extends OpenSearchServiceException {
291
304
  }
292
305
  }
293
306
  class InvalidPaginationTokenException extends OpenSearchServiceException {
307
+ static shapeId = "com.amazonaws.opensearch#InvalidPaginationTokenException";
294
308
  name = "InvalidPaginationTokenException";
295
309
  $fault = "client";
296
310
  constructor(opts) {
@@ -303,6 +317,7 @@ class InvalidPaginationTokenException extends OpenSearchServiceException {
303
317
  }
304
318
  }
305
319
  class ServiceQuotaExceededException extends OpenSearchServiceException {
320
+ static shapeId = "com.amazonaws.opensearch#ServiceQuotaExceededException";
306
321
  name = "ServiceQuotaExceededException";
307
322
  $fault = "client";
308
323
  constructor(opts) {
@@ -315,6 +330,7 @@ class ServiceQuotaExceededException extends OpenSearchServiceException {
315
330
  }
316
331
  }
317
332
  class SlotNotAvailableException extends OpenSearchServiceException {
333
+ static shapeId = "com.amazonaws.opensearch#SlotNotAvailableException";
318
334
  name = "SlotNotAvailableException";
319
335
  $fault = "client";
320
336
  SlotSuggestions;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class OpenSearchServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.opensearch#OpenSearchServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, OpenSearchServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
2
2
  export class DisabledOperationException extends __BaseException {
3
+ static shapeId = "com.amazonaws.opensearch#DisabledOperationException";
3
4
  name = "DisabledOperationException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class DisabledOperationException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class LimitExceededException extends __BaseException {
16
+ static shapeId = "com.amazonaws.opensearch#LimitExceededException";
15
17
  name = "LimitExceededException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class LimitExceededException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ResourceNotFoundException extends __BaseException {
29
+ static shapeId = "com.amazonaws.opensearch#ResourceNotFoundException";
27
30
  name = "ResourceNotFoundException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class ResourceNotFoundException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class AccessDeniedException extends __BaseException {
42
+ static shapeId = "com.amazonaws.opensearch#AccessDeniedException";
39
43
  name = "AccessDeniedException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class AccessDeniedException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class BaseException extends __BaseException {
55
+ static shapeId = "com.amazonaws.opensearch#BaseException";
51
56
  name = "BaseException";
52
57
  $fault = "client";
53
58
  constructor(opts) {
@@ -60,6 +65,7 @@ export class BaseException extends __BaseException {
60
65
  }
61
66
  }
62
67
  export class DependencyFailureException extends __BaseException {
68
+ static shapeId = "com.amazonaws.opensearch#DependencyFailureException";
63
69
  name = "DependencyFailureException";
64
70
  $fault = "client";
65
71
  constructor(opts) {
@@ -72,6 +78,7 @@ export class DependencyFailureException extends __BaseException {
72
78
  }
73
79
  }
74
80
  export class InternalException extends __BaseException {
81
+ static shapeId = "com.amazonaws.opensearch#InternalException";
75
82
  name = "InternalException";
76
83
  $fault = "server";
77
84
  constructor(opts) {
@@ -84,6 +91,7 @@ export class InternalException extends __BaseException {
84
91
  }
85
92
  }
86
93
  export class ValidationException extends __BaseException {
94
+ static shapeId = "com.amazonaws.opensearch#ValidationException";
87
95
  name = "ValidationException";
88
96
  $fault = "client";
89
97
  constructor(opts) {
@@ -96,6 +104,7 @@ export class ValidationException extends __BaseException {
96
104
  }
97
105
  }
98
106
  export class ConflictException extends __BaseException {
107
+ static shapeId = "com.amazonaws.opensearch#ConflictException";
99
108
  name = "ConflictException";
100
109
  $fault = "client";
101
110
  constructor(opts) {
@@ -108,6 +117,7 @@ export class ConflictException extends __BaseException {
108
117
  }
109
118
  }
110
119
  export class InvalidTypeException extends __BaseException {
120
+ static shapeId = "com.amazonaws.opensearch#InvalidTypeException";
111
121
  name = "InvalidTypeException";
112
122
  $fault = "client";
113
123
  constructor(opts) {
@@ -120,6 +130,7 @@ export class InvalidTypeException extends __BaseException {
120
130
  }
121
131
  }
122
132
  export class ResourceAlreadyExistsException extends __BaseException {
133
+ static shapeId = "com.amazonaws.opensearch#ResourceAlreadyExistsException";
123
134
  name = "ResourceAlreadyExistsException";
124
135
  $fault = "client";
125
136
  constructor(opts) {
@@ -132,6 +143,7 @@ export class ResourceAlreadyExistsException extends __BaseException {
132
143
  }
133
144
  }
134
145
  export class ThrottlingException extends __BaseException {
146
+ static shapeId = "com.amazonaws.opensearch#ThrottlingException";
135
147
  name = "ThrottlingException";
136
148
  $fault = "client";
137
149
  constructor(opts) {
@@ -144,6 +156,7 @@ export class ThrottlingException extends __BaseException {
144
156
  }
145
157
  }
146
158
  export class InvalidPaginationTokenException extends __BaseException {
159
+ static shapeId = "com.amazonaws.opensearch#InvalidPaginationTokenException";
147
160
  name = "InvalidPaginationTokenException";
148
161
  $fault = "client";
149
162
  constructor(opts) {
@@ -156,6 +169,7 @@ export class InvalidPaginationTokenException extends __BaseException {
156
169
  }
157
170
  }
158
171
  export class ServiceQuotaExceededException extends __BaseException {
172
+ static shapeId = "com.amazonaws.opensearch#ServiceQuotaExceededException";
159
173
  name = "ServiceQuotaExceededException";
160
174
  $fault = "client";
161
175
  constructor(opts) {
@@ -168,6 +182,7 @@ export class ServiceQuotaExceededException extends __BaseException {
168
182
  }
169
183
  }
170
184
  export class SlotNotAvailableException extends __BaseException {
185
+ static shapeId = "com.amazonaws.opensearch#SlotNotAvailableException";
171
186
  name = "SlotNotAvailableException";
172
187
  $fault = "client";
173
188
  SlotSuggestions;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from OpenSearch service.
8
8
  */
9
9
  export declare class OpenSearchServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { OpenSearchServiceException as __BaseException } from "./OpenSearchServi
5
5
  * @public
6
6
  */
7
7
  export declare class DisabledOperationException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "DisabledOperationException";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -17,6 +18,7 @@ export declare class DisabledOperationException extends __BaseException {
17
18
  * @public
18
19
  */
19
20
  export declare class LimitExceededException extends __BaseException {
21
+ static readonly shapeId: string;
20
22
  readonly name: "LimitExceededException";
21
23
  readonly $fault: "client";
22
24
  /**
@@ -29,6 +31,7 @@ export declare class LimitExceededException extends __BaseException {
29
31
  * @public
30
32
  */
31
33
  export declare class ResourceNotFoundException extends __BaseException {
34
+ static readonly shapeId: string;
32
35
  readonly name: "ResourceNotFoundException";
33
36
  readonly $fault: "client";
34
37
  /**
@@ -41,6 +44,7 @@ export declare class ResourceNotFoundException extends __BaseException {
41
44
  * @public
42
45
  */
43
46
  export declare class AccessDeniedException extends __BaseException {
47
+ static readonly shapeId: string;
44
48
  readonly name: "AccessDeniedException";
45
49
  readonly $fault: "client";
46
50
  /**
@@ -53,6 +57,7 @@ export declare class AccessDeniedException extends __BaseException {
53
57
  * @public
54
58
  */
55
59
  export declare class BaseException extends __BaseException {
60
+ static readonly shapeId: string;
56
61
  readonly name: "BaseException";
57
62
  readonly $fault: "client";
58
63
  /**
@@ -65,6 +70,7 @@ export declare class BaseException extends __BaseException {
65
70
  * @public
66
71
  */
67
72
  export declare class DependencyFailureException extends __BaseException {
73
+ static readonly shapeId: string;
68
74
  readonly name: "DependencyFailureException";
69
75
  readonly $fault: "client";
70
76
  /**
@@ -77,6 +83,7 @@ export declare class DependencyFailureException extends __BaseException {
77
83
  * @public
78
84
  */
79
85
  export declare class InternalException extends __BaseException {
86
+ static readonly shapeId: string;
80
87
  readonly name: "InternalException";
81
88
  readonly $fault: "server";
82
89
  /**
@@ -89,6 +96,7 @@ export declare class InternalException extends __BaseException {
89
96
  * @public
90
97
  */
91
98
  export declare class ValidationException extends __BaseException {
99
+ static readonly shapeId: string;
92
100
  readonly name: "ValidationException";
93
101
  readonly $fault: "client";
94
102
  /**
@@ -101,6 +109,7 @@ export declare class ValidationException extends __BaseException {
101
109
  * @public
102
110
  */
103
111
  export declare class ConflictException extends __BaseException {
112
+ static readonly shapeId: string;
104
113
  readonly name: "ConflictException";
105
114
  readonly $fault: "client";
106
115
  /**
@@ -113,6 +122,7 @@ export declare class ConflictException extends __BaseException {
113
122
  * @public
114
123
  */
115
124
  export declare class InvalidTypeException extends __BaseException {
125
+ static readonly shapeId: string;
116
126
  readonly name: "InvalidTypeException";
117
127
  readonly $fault: "client";
118
128
  /**
@@ -125,6 +135,7 @@ export declare class InvalidTypeException extends __BaseException {
125
135
  * @public
126
136
  */
127
137
  export declare class ResourceAlreadyExistsException extends __BaseException {
138
+ static readonly shapeId: string;
128
139
  readonly name: "ResourceAlreadyExistsException";
129
140
  readonly $fault: "client";
130
141
  /**
@@ -137,6 +148,7 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
137
148
  * @public
138
149
  */
139
150
  export declare class ThrottlingException extends __BaseException {
151
+ static readonly shapeId: string;
140
152
  readonly name: "ThrottlingException";
141
153
  readonly $fault: "client";
142
154
  /**
@@ -149,6 +161,7 @@ export declare class ThrottlingException extends __BaseException {
149
161
  * @public
150
162
  */
151
163
  export declare class InvalidPaginationTokenException extends __BaseException {
164
+ static readonly shapeId: string;
152
165
  readonly name: "InvalidPaginationTokenException";
153
166
  readonly $fault: "client";
154
167
  /**
@@ -161,6 +174,7 @@ export declare class InvalidPaginationTokenException extends __BaseException {
161
174
  * @public
162
175
  */
163
176
  export declare class ServiceQuotaExceededException extends __BaseException {
177
+ static readonly shapeId: string;
164
178
  readonly name: "ServiceQuotaExceededException";
165
179
  readonly $fault: "client";
166
180
  /**
@@ -173,6 +187,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
173
187
  * @public
174
188
  */
175
189
  export declare class SlotNotAvailableException extends __BaseException {
190
+ static readonly shapeId: string;
176
191
  readonly name: "SlotNotAvailableException";
177
192
  readonly $fault: "client";
178
193
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class OpenSearchServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,76 +1,91 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
3
3
  export declare class DisabledOperationException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "DisabledOperationException";
5
6
  readonly $fault: "client";
6
7
  constructor(opts: __ExceptionOptionType<DisabledOperationException, __BaseException>);
7
8
  }
8
9
  export declare class LimitExceededException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "LimitExceededException";
10
12
  readonly $fault: "client";
11
13
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
12
14
  }
13
15
  export declare class ResourceNotFoundException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "ResourceNotFoundException";
15
18
  readonly $fault: "client";
16
19
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
17
20
  }
18
21
  export declare class AccessDeniedException extends __BaseException {
22
+ static readonly shapeId: string;
19
23
  readonly name: "AccessDeniedException";
20
24
  readonly $fault: "client";
21
25
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
22
26
  }
23
27
  export declare class BaseException extends __BaseException {
28
+ static readonly shapeId: string;
24
29
  readonly name: "BaseException";
25
30
  readonly $fault: "client";
26
31
  constructor(opts: __ExceptionOptionType<BaseException, __BaseException>);
27
32
  }
28
33
  export declare class DependencyFailureException extends __BaseException {
34
+ static readonly shapeId: string;
29
35
  readonly name: "DependencyFailureException";
30
36
  readonly $fault: "client";
31
37
  constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
32
38
  }
33
39
  export declare class InternalException extends __BaseException {
40
+ static readonly shapeId: string;
34
41
  readonly name: "InternalException";
35
42
  readonly $fault: "server";
36
43
  constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
37
44
  }
38
45
  export declare class ValidationException extends __BaseException {
46
+ static readonly shapeId: string;
39
47
  readonly name: "ValidationException";
40
48
  readonly $fault: "client";
41
49
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
42
50
  }
43
51
  export declare class ConflictException extends __BaseException {
52
+ static readonly shapeId: string;
44
53
  readonly name: "ConflictException";
45
54
  readonly $fault: "client";
46
55
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
47
56
  }
48
57
  export declare class InvalidTypeException extends __BaseException {
58
+ static readonly shapeId: string;
49
59
  readonly name: "InvalidTypeException";
50
60
  readonly $fault: "client";
51
61
  constructor(opts: __ExceptionOptionType<InvalidTypeException, __BaseException>);
52
62
  }
53
63
  export declare class ResourceAlreadyExistsException extends __BaseException {
64
+ static readonly shapeId: string;
54
65
  readonly name: "ResourceAlreadyExistsException";
55
66
  readonly $fault: "client";
56
67
  constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
57
68
  }
58
69
  export declare class ThrottlingException extends __BaseException {
70
+ static readonly shapeId: string;
59
71
  readonly name: "ThrottlingException";
60
72
  readonly $fault: "client";
61
73
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
62
74
  }
63
75
  export declare class InvalidPaginationTokenException extends __BaseException {
76
+ static readonly shapeId: string;
64
77
  readonly name: "InvalidPaginationTokenException";
65
78
  readonly $fault: "client";
66
79
  constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
67
80
  }
68
81
  export declare class ServiceQuotaExceededException extends __BaseException {
82
+ static readonly shapeId: string;
69
83
  readonly name: "ServiceQuotaExceededException";
70
84
  readonly $fault: "client";
71
85
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
72
86
  }
73
87
  export declare class SlotNotAvailableException extends __BaseException {
88
+ static readonly shapeId: string;
74
89
  readonly name: "SlotNotAvailableException";
75
90
  readonly $fault: "client";
76
91
  SlotSuggestions?: number[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearch",
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",