@aws-sdk/client-opensearch 3.1147.0 → 3.1149.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.1146.0";
72
+ var version = "3.1148.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;
@@ -677,6 +693,7 @@ const _EInt = "EntityId";
677
693
  const _EM = "ErrorMessage";
678
694
  const _EMS = "EngineModeStatus";
679
695
  const _EMn = "EngineMode";
696
+ const _EMnc = "EncryptionMode";
680
697
  const _EO = "ExportOptions";
681
698
  const _ET = "EndTime";
682
699
  const _ETn = "EngineType";
@@ -2102,8 +2119,8 @@ var EBSOptionsStatus$ = [3, n0, _EBSOS,
2102
2119
  ];
2103
2120
  var EncryptionAtRestOptions$ = [3, n0, _EARO,
2104
2121
  0,
2105
- [_E, _KKI],
2106
- [2, 0]
2122
+ [_E, _KKI, _EMnc],
2123
+ [2, 0, 0]
2107
2124
  ];
2108
2125
  var EncryptionAtRestOptionsStatus$ = [3, n0, _EAROS,
2109
2126
  0,
@@ -4358,6 +4375,10 @@ const VolumeType = {
4358
4375
  io1: "io1",
4359
4376
  standard: "standard",
4360
4377
  };
4378
+ const EncryptionMode = {
4379
+ Disk: "DISK",
4380
+ Native: "NATIVE",
4381
+ };
4361
4382
  const EngineMode = {
4362
4383
  GENERAL: "GENERAL",
4363
4384
  OPTIMIZED: "OPTIMIZED",
@@ -4941,6 +4962,7 @@ exports.EBSOptions$ = EBSOptions$;
4941
4962
  exports.EBSOptionsStatus$ = EBSOptionsStatus$;
4942
4963
  exports.EncryptionAtRestOptions$ = EncryptionAtRestOptions$;
4943
4964
  exports.EncryptionAtRestOptionsStatus$ = EncryptionAtRestOptionsStatus$;
4965
+ exports.EncryptionMode = EncryptionMode;
4944
4966
  exports.EngineMode = EngineMode;
4945
4967
  exports.EngineModeStatus$ = EngineModeStatus$;
4946
4968
  exports.EngineType = EngineType;
@@ -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);
@@ -220,6 +220,10 @@ export const VolumeType = {
220
220
  io1: "io1",
221
221
  standard: "standard",
222
222
  };
223
+ export const EncryptionMode = {
224
+ Disk: "DISK",
225
+ Native: "NATIVE",
226
+ };
223
227
  export const EngineMode = {
224
228
  GENERAL: "GENERAL",
225
229
  OPTIMIZED: "OPTIMIZED",
@@ -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;
@@ -346,6 +346,7 @@ const _EInt = "EntityId";
346
346
  const _EM = "ErrorMessage";
347
347
  const _EMS = "EngineModeStatus";
348
348
  const _EMn = "EngineMode";
349
+ const _EMnc = "EncryptionMode";
349
350
  const _EO = "ExportOptions";
350
351
  const _ET = "EndTime";
351
352
  const _ETn = "EngineType";
@@ -1774,8 +1775,8 @@ export var EBSOptionsStatus$ = [3, n0, _EBSOS,
1774
1775
  ];
1775
1776
  export var EncryptionAtRestOptions$ = [3, n0, _EARO,
1776
1777
  0,
1777
- [_E, _KKI],
1778
- [2, 0]
1778
+ [_E, _KKI, _EMnc],
1779
+ [2, 0, 0]
1779
1780
  ];
1780
1781
  export var EncryptionAtRestOptionsStatus$ = [3, n0, _EAROS,
1781
1782
  0,
@@ -95,6 +95,7 @@ declare const CreateDomainCommand_base: {
95
95
  * EncryptionAtRestOptions: { // EncryptionAtRestOptions
96
96
  * Enabled: true || false,
97
97
  * KmsKeyId: "STRING_VALUE",
98
+ * EncryptionMode: "DISK" || "NATIVE",
98
99
  * },
99
100
  * NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
100
101
  * Enabled: true || false,
@@ -291,6 +292,7 @@ declare const CreateDomainCommand_base: {
291
292
  * // EncryptionAtRestOptions: { // EncryptionAtRestOptions
292
293
  * // Enabled: true || false,
293
294
  * // KmsKeyId: "STRING_VALUE",
295
+ * // EncryptionMode: "DISK" || "NATIVE",
294
296
  * // },
295
297
  * // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
296
298
  * // Enabled: true || false,
@@ -117,6 +117,7 @@ declare const DeleteDomainCommand_base: {
117
117
  * // EncryptionAtRestOptions: { // EncryptionAtRestOptions
118
118
  * // Enabled: true || false,
119
119
  * // KmsKeyId: "STRING_VALUE",
120
+ * // EncryptionMode: "DISK" || "NATIVE",
120
121
  * // },
121
122
  * // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
122
123
  * // Enabled: true || false,
@@ -117,6 +117,7 @@ declare const DescribeDomainCommand_base: {
117
117
  * // EncryptionAtRestOptions: { // EncryptionAtRestOptions
118
118
  * // Enabled: true || false,
119
119
  * // KmsKeyId: "STRING_VALUE",
120
+ * // EncryptionMode: "DISK" || "NATIVE",
120
121
  * // },
121
122
  * // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
122
123
  * // Enabled: true || false,
@@ -158,6 +158,7 @@ declare const DescribeDomainConfigCommand_base: {
158
158
  * // Options: { // EncryptionAtRestOptions
159
159
  * // Enabled: true || false,
160
160
  * // KmsKeyId: "STRING_VALUE",
161
+ * // EncryptionMode: "DISK" || "NATIVE",
161
162
  * // },
162
163
  * // Status: "<OptionStatus>", // required
163
164
  * // },
@@ -120,6 +120,7 @@ declare const DescribeDomainsCommand_base: {
120
120
  * // EncryptionAtRestOptions: { // EncryptionAtRestOptions
121
121
  * // Enabled: true || false,
122
122
  * // KmsKeyId: "STRING_VALUE",
123
+ * // EncryptionMode: "DISK" || "NATIVE",
123
124
  * // },
124
125
  * // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
125
126
  * // Enabled: true || false,
@@ -135,6 +135,7 @@ declare const DescribeDryRunProgressCommand_base: {
135
135
  * // EncryptionAtRestOptions: { // EncryptionAtRestOptions
136
136
  * // Enabled: true || false,
137
137
  * // KmsKeyId: "STRING_VALUE",
138
+ * // EncryptionMode: "DISK" || "NATIVE",
138
139
  * // },
139
140
  * // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
140
141
  * // Enabled: true || false,
@@ -103,6 +103,7 @@ declare const UpdateDomainConfigCommand_base: {
103
103
  * EncryptionAtRestOptions: { // EncryptionAtRestOptions
104
104
  * Enabled: true || false,
105
105
  * KmsKeyId: "STRING_VALUE",
106
+ * EncryptionMode: "DISK" || "NATIVE",
106
107
  * },
107
108
  * DomainEndpointOptions: { // DomainEndpointOptions
108
109
  * EnforceHTTPS: true || false,
@@ -332,6 +333,7 @@ declare const UpdateDomainConfigCommand_base: {
332
333
  * // Options: { // EncryptionAtRestOptions
333
334
  * // Enabled: true || false,
334
335
  * // KmsKeyId: "STRING_VALUE",
336
+ * // EncryptionMode: "DISK" || "NATIVE",
335
337
  * // },
336
338
  * // Status: "<OptionStatus>", // required
337
339
  * // },
@@ -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
  */
@@ -404,6 +404,18 @@ export declare const VolumeType: {
404
404
  * @public
405
405
  */
406
406
  export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType];
407
+ /**
408
+ * @public
409
+ * @enum
410
+ */
411
+ export declare const EncryptionMode: {
412
+ readonly Disk: "DISK";
413
+ readonly Native: "NATIVE";
414
+ };
415
+ /**
416
+ * @public
417
+ */
418
+ export type EncryptionMode = (typeof EncryptionMode)[keyof typeof EncryptionMode];
407
419
  /**
408
420
  * @public
409
421
  * @enum
@@ -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
  /**
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { ActionSeverity, ActionStatus, ActionType, AppConfigType, ApplicationStatus, AutoTuneDesiredState, AutoTuneState, AutoTuneType, AWSServicePrincipal, CapabilityFailureReason, CapabilityStatus, ConfigChangeStatus, ConnectionMode, DataSourceAttachmentStatus, DataSourceStatus, DeploymentStatus, DeploymentStrategy, DescribePackagesFilterName, DomainHealth, DomainPackageStatus, DomainProcessingStatusType, DomainState, DomainUseCase, EngineMode, EngineType, InboundConnectionStatusCode, IndexStatus, InitiatedBy, InsightEntityType, InsightFeedbackEntityType, InsightFeedbackThumbs, InsightFieldType, InsightPriorityLevel, InsightResponseStatus, InsightSortOrder, InsightStatus, InsightType, IPAddressType, LogType, MaintenanceStatus, MaintenanceType, MasterNodeStatus, NaturalLanguageQueryGenerationCurrentState, NaturalLanguageQueryGenerationDesiredState, NodeOptionsNodeType, NodeStatus, NodeType, OpenSearchPartitionInstanceType, OpenSearchWarmPartitionInstanceType, OptionState, OutboundConnectionStatusCode, OverallChangeStatus, PackageStatus, PackageType, PauseState, PrincipalType, PropertyValueType, RequirementLevel, ReservedInstancePaymentOption, RolesKeyIdCOption, RollbackOnDisable, ScheduledAutoTuneActionType, ScheduledAutoTuneSeverityType, ScheduledBy, SkipUnavailableStatus, SubjectKeyIdCOption, TimeUnit, TLSSecurityPolicy, UpgradeStatus, UpgradeStep, ValidationFailureSeverity, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus, ZoneStatus } from "./enums";
2
+ import type { ActionSeverity, ActionStatus, ActionType, AppConfigType, ApplicationStatus, AutoTuneDesiredState, AutoTuneState, AutoTuneType, AWSServicePrincipal, CapabilityFailureReason, CapabilityStatus, ConfigChangeStatus, ConnectionMode, DataSourceAttachmentStatus, DataSourceStatus, DeploymentStatus, DeploymentStrategy, DescribePackagesFilterName, DomainHealth, DomainPackageStatus, DomainProcessingStatusType, DomainState, DomainUseCase, EncryptionMode, EngineMode, EngineType, InboundConnectionStatusCode, IndexStatus, InitiatedBy, InsightEntityType, InsightFeedbackEntityType, InsightFeedbackThumbs, InsightFieldType, InsightPriorityLevel, InsightResponseStatus, InsightSortOrder, InsightStatus, InsightType, IPAddressType, LogType, MaintenanceStatus, MaintenanceType, MasterNodeStatus, NaturalLanguageQueryGenerationCurrentState, NaturalLanguageQueryGenerationDesiredState, NodeOptionsNodeType, NodeStatus, NodeType, OpenSearchPartitionInstanceType, OpenSearchWarmPartitionInstanceType, OptionState, OutboundConnectionStatusCode, OverallChangeStatus, PackageStatus, PackageType, PauseState, PrincipalType, PropertyValueType, RequirementLevel, ReservedInstancePaymentOption, RolesKeyIdCOption, RollbackOnDisable, ScheduledAutoTuneActionType, ScheduledAutoTuneSeverityType, ScheduledBy, SkipUnavailableStatus, SubjectKeyIdCOption, TimeUnit, TLSSecurityPolicy, UpgradeStatus, UpgradeStep, ValidationFailureSeverity, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus, ZoneStatus } from "./enums";
3
3
  /**
4
4
  * <p>Container for the parameters to the <code>AcceptInboundConnection</code>
5
5
  * operation.</p>
@@ -2079,6 +2079,16 @@ export interface EncryptionAtRestOptions {
2079
2079
  * @public
2080
2080
  */
2081
2081
  KmsKeyId?: string | undefined;
2082
+ /**
2083
+ * <p>The type of encryption at rest applied to the domain's data. Valid values are
2084
+ * <code>DISK</code> and <code>NATIVE</code>. <code>DISK</code> is the default and uses
2085
+ * volume-level encryption. <code>NATIVE</code> uses engine-native, index-level encryption
2086
+ * and requires encryption at rest to be enabled and OpenSearch version 3.3 or later. After
2087
+ * the mode is set to <code>NATIVE</code>, it can't be changed back to
2088
+ * <code>DISK</code>.</p>
2089
+ * @public
2090
+ */
2091
+ EncryptionMode?: EncryptionMode | undefined;
2082
2092
  }
2083
2093
  /**
2084
2094
  * <p>Configuration settings for enabling and managing IAM Identity Center.</p>
@@ -968,7 +968,7 @@ export interface UpdateDomainConfigRequest {
968
968
  */
969
969
  EngineMode?: EngineMode | undefined;
970
970
  /**
971
- * <p>A list of advisory warning codes to accept for this configuration change. By default, any advisory warning blocks the change. Include the code of each warning you want to accept so the change can proceed. You can find warning codes in the<code>ValidationFailures</code> list returned by <code>DescribeDomainChangeProgress</code>and <code>DescribeDryRunProgress</code>. Critical validation failures cannot be accepted and always block the change. If you omit this parameter or pass an empty list, all warnings block the change. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check">Validating a domain update</a>.</p>
971
+ * <p>A list of advisory warning codes to accept for this configuration change. By default, any advisory warning blocks the change. Include the code of each warning you want to accept so the change can proceed. You can find warning codes in the <code>ValidationFailures</code> list returned by <code>DescribeDomainChangeProgress</code> and <code>DescribeDryRunProgress</code>. Critical validation failures cannot be accepted and always block the change. If you omit this parameter or pass an empty list, all warnings block the change. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check">Validating a domain update</a>.</p>
972
972
  * @public
973
973
  */
974
974
  AcceptedWarnings?: string[] | undefined;
@@ -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
  }
@@ -249,6 +249,11 @@ export declare const VolumeType: {
249
249
  readonly standard: "standard";
250
250
  };
251
251
  export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType];
252
+ export declare const EncryptionMode: {
253
+ readonly Disk: "DISK";
254
+ readonly Native: "NATIVE";
255
+ };
256
+ export type EncryptionMode = (typeof EncryptionMode)[keyof typeof EncryptionMode];
252
257
  export declare const EngineMode: {
253
258
  readonly GENERAL: "GENERAL";
254
259
  readonly OPTIMIZED: "OPTIMIZED";
@@ -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;
@@ -23,6 +23,7 @@ import {
23
23
  DomainProcessingStatusType,
24
24
  DomainState,
25
25
  DomainUseCase,
26
+ EncryptionMode,
26
27
  EngineMode,
27
28
  EngineType,
28
29
  InboundConnectionStatusCode,
@@ -537,6 +538,7 @@ export interface EBSOptions {
537
538
  export interface EncryptionAtRestOptions {
538
539
  Enabled?: boolean | undefined;
539
540
  KmsKeyId?: string | undefined;
541
+ EncryptionMode?: EncryptionMode | undefined;
540
542
  }
541
543
  export interface IdentityCenterOptionsInput {
542
544
  EnabledAPIAccess?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.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.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
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",