@aws-sdk/client-opensearch 3.929.0 → 3.930.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
@@ -202,14 +202,6 @@ const ActionType = {
202
202
  JVM_YOUNG_GEN_TUNING: "JVM_YOUNG_GEN_TUNING",
203
203
  SERVICE_SOFTWARE_UPDATE: "SERVICE_SOFTWARE_UPDATE",
204
204
  };
205
- exports.DataSourceType = void 0;
206
- (function (DataSourceType) {
207
- DataSourceType.visit = (value, visitor) => {
208
- if (value.S3GlueDataCatalog !== undefined)
209
- return visitor.S3GlueDataCatalog(value.S3GlueDataCatalog);
210
- return visitor._(value.$unknown[0], value.$unknown[1]);
211
- };
212
- })(exports.DataSourceType || (exports.DataSourceType = {}));
213
205
  let BaseException$1 = class BaseException extends OpenSearchServiceException$1 {
214
206
  name = "BaseException";
215
207
  $fault = "client";
@@ -258,16 +250,6 @@ let ValidationException$1 = class ValidationException extends OpenSearchServiceE
258
250
  Object.setPrototypeOf(this, ValidationException.prototype);
259
251
  }
260
252
  };
261
- exports.DirectQueryDataSourceType = void 0;
262
- (function (DirectQueryDataSourceType) {
263
- DirectQueryDataSourceType.visit = (value, visitor) => {
264
- if (value.CloudWatchLog !== undefined)
265
- return visitor.CloudWatchLog(value.CloudWatchLog);
266
- if (value.SecurityLake !== undefined)
267
- return visitor.SecurityLake(value.SecurityLake);
268
- return visitor._(value.$unknown[0], value.$unknown[1]);
269
- };
270
- })(exports.DirectQueryDataSourceType || (exports.DirectQueryDataSourceType = {}));
271
253
  const NaturalLanguageQueryGenerationDesiredState = {
272
254
  Disabled: "DISABLED",
273
255
  Enabled: "ENABLED",
@@ -84,14 +84,6 @@ export const ActionType = {
84
84
  JVM_YOUNG_GEN_TUNING: "JVM_YOUNG_GEN_TUNING",
85
85
  SERVICE_SOFTWARE_UPDATE: "SERVICE_SOFTWARE_UPDATE",
86
86
  };
87
- export var DataSourceType;
88
- (function (DataSourceType) {
89
- DataSourceType.visit = (value, visitor) => {
90
- if (value.S3GlueDataCatalog !== undefined)
91
- return visitor.S3GlueDataCatalog(value.S3GlueDataCatalog);
92
- return visitor._(value.$unknown[0], value.$unknown[1]);
93
- };
94
- })(DataSourceType || (DataSourceType = {}));
95
87
  export class BaseException extends __BaseException {
96
88
  name = "BaseException";
97
89
  $fault = "client";
@@ -140,16 +132,6 @@ export class ValidationException extends __BaseException {
140
132
  Object.setPrototypeOf(this, ValidationException.prototype);
141
133
  }
142
134
  }
143
- export var DirectQueryDataSourceType;
144
- (function (DirectQueryDataSourceType) {
145
- DirectQueryDataSourceType.visit = (value, visitor) => {
146
- if (value.CloudWatchLog !== undefined)
147
- return visitor.CloudWatchLog(value.CloudWatchLog);
148
- if (value.SecurityLake !== undefined)
149
- return visitor.SecurityLake(value.SecurityLake);
150
- return visitor._(value.$unknown[0], value.$unknown[1]);
151
- };
152
- })(DirectQueryDataSourceType || (DirectQueryDataSourceType = {}));
153
135
  export const NaturalLanguageQueryGenerationDesiredState = {
154
136
  Disabled: "DISABLED",
155
137
  Enabled: "ENABLED",
@@ -362,11 +362,14 @@ export declare namespace DataSourceType {
362
362
  S3GlueDataCatalog?: never;
363
363
  $unknown: [string, any];
364
364
  }
365
+ /**
366
+ * @deprecated unused in schema-serde mode.
367
+ *
368
+ */
365
369
  interface Visitor<T> {
366
370
  S3GlueDataCatalog: (value: S3GlueDataCatalog) => T;
367
371
  _: (name: string, value: any) => T;
368
372
  }
369
- const visit: <T>(value: DataSourceType, visitor: Visitor<T>) => T;
370
373
  }
371
374
  /**
372
375
  * <p>Container for the parameters to the <code>AddDataSource</code> operation.</p>
@@ -514,12 +517,15 @@ export declare namespace DirectQueryDataSourceType {
514
517
  SecurityLake?: never;
515
518
  $unknown: [string, any];
516
519
  }
520
+ /**
521
+ * @deprecated unused in schema-serde mode.
522
+ *
523
+ */
517
524
  interface Visitor<T> {
518
525
  CloudWatchLog: (value: CloudWatchDirectQueryDataSource) => T;
519
526
  SecurityLake: (value: SecurityLakeDirectQueryDataSource) => T;
520
527
  _: (name: string, value: any) => T;
521
528
  }
522
- const visit: <T>(value: DirectQueryDataSourceType, visitor: Visitor<T>) => T;
523
529
  }
524
530
  /**
525
531
  * <p>A tag (key-value pair) for an Amazon OpenSearch Service resource.</p>
@@ -129,7 +129,6 @@ export declare namespace DataSourceType {
129
129
  S3GlueDataCatalog: (value: S3GlueDataCatalog) => T;
130
130
  _: (name: string, value: any) => T;
131
131
  }
132
- const visit: <T>(value: DataSourceType, visitor: Visitor<T>) => T;
133
132
  }
134
133
  export interface AddDataSourceRequest {
135
134
  DomainName: string | undefined;
@@ -195,7 +194,6 @@ export declare namespace DirectQueryDataSourceType {
195
194
  SecurityLake: (value: SecurityLakeDirectQueryDataSource) => T;
196
195
  _: (name: string, value: any) => T;
197
196
  }
198
- const visit: <T>(value: DirectQueryDataSourceType, visitor: Visitor<T>) => T;
199
197
  }
200
198
  export interface Tag {
201
199
  Key: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
3
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.930.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-opensearch",
@@ -20,41 +20,41 @@
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.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
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",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
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.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },