@aws-sdk/client-opensearchserverless 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
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class OpenSearchServerlessServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.opensearchserverless#OpenSearchServerlessServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, OpenSearchServerlessServiceException.prototype);
@@ -139,6 +140,7 @@ class OpenSearchServerlessServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class ConflictException extends OpenSearchServerlessServiceException {
143
+ static shapeId = "com.amazonaws.opensearchserverless#ConflictException";
142
144
  name = "ConflictException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class ConflictException extends OpenSearchServerlessServiceException {
151
153
  }
152
154
  }
153
155
  class InternalServerException extends OpenSearchServerlessServiceException {
156
+ static shapeId = "com.amazonaws.opensearchserverless#InternalServerException";
154
157
  name = "InternalServerException";
155
158
  $fault = "server";
156
159
  constructor(opts) {
@@ -163,6 +166,7 @@ class InternalServerException extends OpenSearchServerlessServiceException {
163
166
  }
164
167
  }
165
168
  class ServiceQuotaExceededException extends OpenSearchServerlessServiceException {
169
+ static shapeId = "com.amazonaws.opensearchserverless#ServiceQuotaExceededException";
166
170
  name = "ServiceQuotaExceededException";
167
171
  $fault = "client";
168
172
  resourceId;
@@ -183,6 +187,7 @@ class ServiceQuotaExceededException extends OpenSearchServerlessServiceException
183
187
  }
184
188
  }
185
189
  class ValidationException extends OpenSearchServerlessServiceException {
190
+ static shapeId = "com.amazonaws.opensearchserverless#ValidationException";
186
191
  name = "ValidationException";
187
192
  $fault = "client";
188
193
  constructor(opts) {
@@ -195,6 +200,7 @@ class ValidationException extends OpenSearchServerlessServiceException {
195
200
  }
196
201
  }
197
202
  class ResourceNotFoundException extends OpenSearchServerlessServiceException {
203
+ static shapeId = "com.amazonaws.opensearchserverless#ResourceNotFoundException";
198
204
  name = "ResourceNotFoundException";
199
205
  $fault = "client";
200
206
  constructor(opts) {
@@ -207,6 +213,7 @@ class ResourceNotFoundException extends OpenSearchServerlessServiceException {
207
213
  }
208
214
  }
209
215
  class OcuLimitExceededException extends OpenSearchServerlessServiceException {
216
+ static shapeId = "com.amazonaws.opensearchserverless#OcuLimitExceededException";
210
217
  name = "OcuLimitExceededException";
211
218
  $fault = "client";
212
219
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class OpenSearchServerlessServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.opensearchserverless#OpenSearchServerlessServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, OpenSearchServerlessServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
2
2
  export class ConflictException extends __BaseException {
3
+ static shapeId = "com.amazonaws.opensearchserverless#ConflictException";
3
4
  name = "ConflictException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class ConflictException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class InternalServerException extends __BaseException {
16
+ static shapeId = "com.amazonaws.opensearchserverless#InternalServerException";
15
17
  name = "InternalServerException";
16
18
  $fault = "server";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class InternalServerException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ServiceQuotaExceededException extends __BaseException {
29
+ static shapeId = "com.amazonaws.opensearchserverless#ServiceQuotaExceededException";
27
30
  name = "ServiceQuotaExceededException";
28
31
  $fault = "client";
29
32
  resourceId;
@@ -44,6 +47,7 @@ export class ServiceQuotaExceededException extends __BaseException {
44
47
  }
45
48
  }
46
49
  export class ValidationException extends __BaseException {
50
+ static shapeId = "com.amazonaws.opensearchserverless#ValidationException";
47
51
  name = "ValidationException";
48
52
  $fault = "client";
49
53
  constructor(opts) {
@@ -56,6 +60,7 @@ export class ValidationException extends __BaseException {
56
60
  }
57
61
  }
58
62
  export class ResourceNotFoundException extends __BaseException {
63
+ static shapeId = "com.amazonaws.opensearchserverless#ResourceNotFoundException";
59
64
  name = "ResourceNotFoundException";
60
65
  $fault = "client";
61
66
  constructor(opts) {
@@ -68,6 +73,7 @@ export class ResourceNotFoundException extends __BaseException {
68
73
  }
69
74
  }
70
75
  export class OcuLimitExceededException extends __BaseException {
76
+ static shapeId = "com.amazonaws.opensearchserverless#OcuLimitExceededException";
71
77
  name = "OcuLimitExceededException";
72
78
  $fault = "client";
73
79
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from OpenSearchServerless service.
8
8
  */
9
9
  export declare class OpenSearchServerlessServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { OpenSearchServerlessServiceException as __BaseException } from "./OpenS
5
5
  * @public
6
6
  */
7
7
  export declare class ConflictException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "ConflictException";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -17,6 +18,7 @@ export declare class ConflictException extends __BaseException {
17
18
  * @public
18
19
  */
19
20
  export declare class InternalServerException extends __BaseException {
21
+ static readonly shapeId: string;
20
22
  readonly name: "InternalServerException";
21
23
  readonly $fault: "server";
22
24
  /**
@@ -29,6 +31,7 @@ export declare class InternalServerException extends __BaseException {
29
31
  * @public
30
32
  */
31
33
  export declare class ServiceQuotaExceededException extends __BaseException {
34
+ static readonly shapeId: string;
32
35
  readonly name: "ServiceQuotaExceededException";
33
36
  readonly $fault: "client";
34
37
  /**
@@ -61,6 +64,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
61
64
  * @public
62
65
  */
63
66
  export declare class ValidationException extends __BaseException {
67
+ static readonly shapeId: string;
64
68
  readonly name: "ValidationException";
65
69
  readonly $fault: "client";
66
70
  /**
@@ -73,6 +77,7 @@ export declare class ValidationException extends __BaseException {
73
77
  * @public
74
78
  */
75
79
  export declare class ResourceNotFoundException extends __BaseException {
80
+ static readonly shapeId: string;
76
81
  readonly name: "ResourceNotFoundException";
77
82
  readonly $fault: "client";
78
83
  /**
@@ -85,6 +90,7 @@ export declare class ResourceNotFoundException extends __BaseException {
85
90
  * @public
86
91
  */
87
92
  export declare class OcuLimitExceededException extends __BaseException {
93
+ static readonly shapeId: string;
88
94
  readonly name: "OcuLimitExceededException";
89
95
  readonly $fault: "client";
90
96
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class OpenSearchServerlessServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,16 +1,19 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
3
3
  export declare class ConflictException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "ConflictException";
5
6
  readonly $fault: "client";
6
7
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
7
8
  }
8
9
  export declare class InternalServerException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "InternalServerException";
10
12
  readonly $fault: "server";
11
13
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
12
14
  }
13
15
  export declare class ServiceQuotaExceededException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "ServiceQuotaExceededException";
15
18
  readonly $fault: "client";
16
19
  resourceId?: string | undefined;
@@ -20,16 +23,19 @@ export declare class ServiceQuotaExceededException extends __BaseException {
20
23
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
21
24
  }
22
25
  export declare class ValidationException extends __BaseException {
26
+ static readonly shapeId: string;
23
27
  readonly name: "ValidationException";
24
28
  readonly $fault: "client";
25
29
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
26
30
  }
27
31
  export declare class ResourceNotFoundException extends __BaseException {
32
+ static readonly shapeId: string;
28
33
  readonly name: "ResourceNotFoundException";
29
34
  readonly $fault: "client";
30
35
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
31
36
  }
32
37
  export declare class OcuLimitExceededException extends __BaseException {
38
+ static readonly shapeId: string;
33
39
  readonly name: "OcuLimitExceededException";
34
40
  readonly $fault: "client";
35
41
  constructor(opts: __ExceptionOptionType<OcuLimitExceededException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearchserverless",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Opensearchserverless Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearchserverless",
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",