@aws-sdk/client-elasticsearch-service 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 +13 -1
- package/dist-es/models/ElasticsearchServiceServiceException.js +1 -0
- package/dist-es/models/errors.js +11 -0
- package/dist-types/models/ElasticsearchServiceServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +11 -0
- package/dist-types/ts3.4/models/ElasticsearchServiceServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +11 -0
- package/package.json +4 -4
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.
|
|
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 ElasticsearchServiceServiceException extends ServiceException {
|
|
143
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.elasticsearchservice#ElasticsearchServiceServiceException";
|
|
143
144
|
constructor(options) {
|
|
144
145
|
super(options);
|
|
145
146
|
Object.setPrototypeOf(this, ElasticsearchServiceServiceException.prototype);
|
|
@@ -147,6 +148,7 @@ class ElasticsearchServiceServiceException extends ServiceException {
|
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
class DisabledOperationException extends ElasticsearchServiceServiceException {
|
|
151
|
+
static shapeId = "com.amazonaws.elasticsearchservice#DisabledOperationException";
|
|
150
152
|
name = "DisabledOperationException";
|
|
151
153
|
$fault = "client";
|
|
152
154
|
constructor(opts) {
|
|
@@ -159,6 +161,7 @@ class DisabledOperationException extends ElasticsearchServiceServiceException {
|
|
|
159
161
|
}
|
|
160
162
|
}
|
|
161
163
|
class LimitExceededException extends ElasticsearchServiceServiceException {
|
|
164
|
+
static shapeId = "com.amazonaws.elasticsearchservice#LimitExceededException";
|
|
162
165
|
name = "LimitExceededException";
|
|
163
166
|
$fault = "client";
|
|
164
167
|
constructor(opts) {
|
|
@@ -171,6 +174,7 @@ class LimitExceededException extends ElasticsearchServiceServiceException {
|
|
|
171
174
|
}
|
|
172
175
|
}
|
|
173
176
|
class ResourceNotFoundException extends ElasticsearchServiceServiceException {
|
|
177
|
+
static shapeId = "com.amazonaws.elasticsearchservice#ResourceNotFoundException";
|
|
174
178
|
name = "ResourceNotFoundException";
|
|
175
179
|
$fault = "client";
|
|
176
180
|
constructor(opts) {
|
|
@@ -183,6 +187,7 @@ class ResourceNotFoundException extends ElasticsearchServiceServiceException {
|
|
|
183
187
|
}
|
|
184
188
|
}
|
|
185
189
|
class AccessDeniedException extends ElasticsearchServiceServiceException {
|
|
190
|
+
static shapeId = "com.amazonaws.elasticsearchservice#AccessDeniedException";
|
|
186
191
|
name = "AccessDeniedException";
|
|
187
192
|
$fault = "client";
|
|
188
193
|
constructor(opts) {
|
|
@@ -195,6 +200,7 @@ class AccessDeniedException extends ElasticsearchServiceServiceException {
|
|
|
195
200
|
}
|
|
196
201
|
}
|
|
197
202
|
class BaseException extends ElasticsearchServiceServiceException {
|
|
203
|
+
static shapeId = "com.amazonaws.elasticsearchservice#BaseException";
|
|
198
204
|
name = "BaseException";
|
|
199
205
|
$fault = "client";
|
|
200
206
|
constructor(opts) {
|
|
@@ -207,6 +213,7 @@ class BaseException extends ElasticsearchServiceServiceException {
|
|
|
207
213
|
}
|
|
208
214
|
}
|
|
209
215
|
class InternalException extends ElasticsearchServiceServiceException {
|
|
216
|
+
static shapeId = "com.amazonaws.elasticsearchservice#InternalException";
|
|
210
217
|
name = "InternalException";
|
|
211
218
|
$fault = "server";
|
|
212
219
|
constructor(opts) {
|
|
@@ -219,6 +226,7 @@ class InternalException extends ElasticsearchServiceServiceException {
|
|
|
219
226
|
}
|
|
220
227
|
}
|
|
221
228
|
class ValidationException extends ElasticsearchServiceServiceException {
|
|
229
|
+
static shapeId = "com.amazonaws.elasticsearchservice#ValidationException";
|
|
222
230
|
name = "ValidationException";
|
|
223
231
|
$fault = "client";
|
|
224
232
|
constructor(opts) {
|
|
@@ -231,6 +239,7 @@ class ValidationException extends ElasticsearchServiceServiceException {
|
|
|
231
239
|
}
|
|
232
240
|
}
|
|
233
241
|
class ConflictException extends ElasticsearchServiceServiceException {
|
|
242
|
+
static shapeId = "com.amazonaws.elasticsearchservice#ConflictException";
|
|
234
243
|
name = "ConflictException";
|
|
235
244
|
$fault = "client";
|
|
236
245
|
constructor(opts) {
|
|
@@ -243,6 +252,7 @@ class ConflictException extends ElasticsearchServiceServiceException {
|
|
|
243
252
|
}
|
|
244
253
|
}
|
|
245
254
|
class InvalidTypeException extends ElasticsearchServiceServiceException {
|
|
255
|
+
static shapeId = "com.amazonaws.elasticsearchservice#InvalidTypeException";
|
|
246
256
|
name = "InvalidTypeException";
|
|
247
257
|
$fault = "client";
|
|
248
258
|
constructor(opts) {
|
|
@@ -255,6 +265,7 @@ class InvalidTypeException extends ElasticsearchServiceServiceException {
|
|
|
255
265
|
}
|
|
256
266
|
}
|
|
257
267
|
class ResourceAlreadyExistsException extends ElasticsearchServiceServiceException {
|
|
268
|
+
static shapeId = "com.amazonaws.elasticsearchservice#ResourceAlreadyExistsException";
|
|
258
269
|
name = "ResourceAlreadyExistsException";
|
|
259
270
|
$fault = "client";
|
|
260
271
|
constructor(opts) {
|
|
@@ -267,6 +278,7 @@ class ResourceAlreadyExistsException extends ElasticsearchServiceServiceExceptio
|
|
|
267
278
|
}
|
|
268
279
|
}
|
|
269
280
|
class InvalidPaginationTokenException extends ElasticsearchServiceServiceException {
|
|
281
|
+
static shapeId = "com.amazonaws.elasticsearchservice#InvalidPaginationTokenException";
|
|
270
282
|
name = "InvalidPaginationTokenException";
|
|
271
283
|
$fault = "client";
|
|
272
284
|
constructor(opts) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class ElasticsearchServiceServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.elasticsearchservice#ElasticsearchServiceServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, ElasticsearchServiceServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElasticsearchServiceServiceException as __BaseException } from "./ElasticsearchServiceServiceException";
|
|
2
2
|
export class DisabledOperationException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.elasticsearchservice#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.elasticsearchservice#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.elasticsearchservice#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.elasticsearchservice#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.elasticsearchservice#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 InternalException extends __BaseException {
|
|
68
|
+
static shapeId = "com.amazonaws.elasticsearchservice#InternalException";
|
|
63
69
|
name = "InternalException";
|
|
64
70
|
$fault = "server";
|
|
65
71
|
constructor(opts) {
|
|
@@ -72,6 +78,7 @@ export class InternalException extends __BaseException {
|
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
80
|
export class ValidationException extends __BaseException {
|
|
81
|
+
static shapeId = "com.amazonaws.elasticsearchservice#ValidationException";
|
|
75
82
|
name = "ValidationException";
|
|
76
83
|
$fault = "client";
|
|
77
84
|
constructor(opts) {
|
|
@@ -84,6 +91,7 @@ export class ValidationException extends __BaseException {
|
|
|
84
91
|
}
|
|
85
92
|
}
|
|
86
93
|
export class ConflictException extends __BaseException {
|
|
94
|
+
static shapeId = "com.amazonaws.elasticsearchservice#ConflictException";
|
|
87
95
|
name = "ConflictException";
|
|
88
96
|
$fault = "client";
|
|
89
97
|
constructor(opts) {
|
|
@@ -96,6 +104,7 @@ export class ConflictException extends __BaseException {
|
|
|
96
104
|
}
|
|
97
105
|
}
|
|
98
106
|
export class InvalidTypeException extends __BaseException {
|
|
107
|
+
static shapeId = "com.amazonaws.elasticsearchservice#InvalidTypeException";
|
|
99
108
|
name = "InvalidTypeException";
|
|
100
109
|
$fault = "client";
|
|
101
110
|
constructor(opts) {
|
|
@@ -108,6 +117,7 @@ export class InvalidTypeException extends __BaseException {
|
|
|
108
117
|
}
|
|
109
118
|
}
|
|
110
119
|
export class ResourceAlreadyExistsException extends __BaseException {
|
|
120
|
+
static shapeId = "com.amazonaws.elasticsearchservice#ResourceAlreadyExistsException";
|
|
111
121
|
name = "ResourceAlreadyExistsException";
|
|
112
122
|
$fault = "client";
|
|
113
123
|
constructor(opts) {
|
|
@@ -120,6 +130,7 @@ export class ResourceAlreadyExistsException extends __BaseException {
|
|
|
120
130
|
}
|
|
121
131
|
}
|
|
122
132
|
export class InvalidPaginationTokenException extends __BaseException {
|
|
133
|
+
static shapeId = "com.amazonaws.elasticsearchservice#InvalidPaginationTokenException";
|
|
123
134
|
name = "InvalidPaginationTokenException";
|
|
124
135
|
$fault = "client";
|
|
125
136
|
constructor(opts) {
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from ElasticsearchService service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class ElasticsearchServiceServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
12
13
|
*/
|
|
@@ -5,6 +5,7 @@ import { ElasticsearchServiceServiceException as __BaseException } from "./Elast
|
|
|
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 InternalException extends __BaseException {
|
|
73
|
+
static readonly shapeId: string;
|
|
68
74
|
readonly name: "InternalException";
|
|
69
75
|
readonly $fault: "server";
|
|
70
76
|
/**
|
|
@@ -77,6 +83,7 @@ export declare class InternalException extends __BaseException {
|
|
|
77
83
|
* @public
|
|
78
84
|
*/
|
|
79
85
|
export declare class ValidationException extends __BaseException {
|
|
86
|
+
static readonly shapeId: string;
|
|
80
87
|
readonly name: "ValidationException";
|
|
81
88
|
readonly $fault: "client";
|
|
82
89
|
/**
|
|
@@ -89,6 +96,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
89
96
|
* @public
|
|
90
97
|
*/
|
|
91
98
|
export declare class ConflictException extends __BaseException {
|
|
99
|
+
static readonly shapeId: string;
|
|
92
100
|
readonly name: "ConflictException";
|
|
93
101
|
readonly $fault: "client";
|
|
94
102
|
/**
|
|
@@ -101,6 +109,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
101
109
|
* @public
|
|
102
110
|
*/
|
|
103
111
|
export declare class InvalidTypeException extends __BaseException {
|
|
112
|
+
static readonly shapeId: string;
|
|
104
113
|
readonly name: "InvalidTypeException";
|
|
105
114
|
readonly $fault: "client";
|
|
106
115
|
/**
|
|
@@ -113,6 +122,7 @@ export declare class InvalidTypeException extends __BaseException {
|
|
|
113
122
|
* @public
|
|
114
123
|
*/
|
|
115
124
|
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
125
|
+
static readonly shapeId: string;
|
|
116
126
|
readonly name: "ResourceAlreadyExistsException";
|
|
117
127
|
readonly $fault: "client";
|
|
118
128
|
/**
|
|
@@ -125,6 +135,7 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
|
125
135
|
* @public
|
|
126
136
|
*/
|
|
127
137
|
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
138
|
+
static readonly shapeId: string;
|
|
128
139
|
readonly name: "InvalidPaginationTokenException";
|
|
129
140
|
readonly $fault: "client";
|
|
130
141
|
/**
|
|
@@ -1,56 +1,67 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { ElasticsearchServiceServiceException as __BaseException } from "./ElasticsearchServiceServiceException";
|
|
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 InternalException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
29
35
|
readonly name: "InternalException";
|
|
30
36
|
readonly $fault: "server";
|
|
31
37
|
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
32
38
|
}
|
|
33
39
|
export declare class ValidationException extends __BaseException {
|
|
40
|
+
static readonly shapeId: string;
|
|
34
41
|
readonly name: "ValidationException";
|
|
35
42
|
readonly $fault: "client";
|
|
36
43
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
37
44
|
}
|
|
38
45
|
export declare class ConflictException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
39
47
|
readonly name: "ConflictException";
|
|
40
48
|
readonly $fault: "client";
|
|
41
49
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
42
50
|
}
|
|
43
51
|
export declare class InvalidTypeException extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
44
53
|
readonly name: "InvalidTypeException";
|
|
45
54
|
readonly $fault: "client";
|
|
46
55
|
constructor(opts: __ExceptionOptionType<InvalidTypeException, __BaseException>);
|
|
47
56
|
}
|
|
48
57
|
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
58
|
+
static readonly shapeId: string;
|
|
49
59
|
readonly name: "ResourceAlreadyExistsException";
|
|
50
60
|
readonly $fault: "client";
|
|
51
61
|
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
52
62
|
}
|
|
53
63
|
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
64
|
+
static readonly shapeId: string;
|
|
54
65
|
readonly name: "InvalidPaginationTokenException";
|
|
55
66
|
readonly $fault: "client";
|
|
56
67
|
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elasticsearch-service",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Elasticsearch Service Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elasticsearch-service",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
+
"@aws-sdk/core": "^3.978.2",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
53
53
|
"@aws-sdk/types": "^3.974.6",
|
|
54
|
-
"@smithy/core": "^3.35.
|
|
54
|
+
"@smithy/core": "^3.35.2",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
56
56
|
"@smithy/node-http-handler": "^4.12.1",
|
|
57
57
|
"@smithy/types": "^4.19.0",
|