@aws-sdk/client-elasticsearch-service 3.52.0 → 3.53.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-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./ElasticsearchServiceClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ElasticsearchServiceServiceException } from "./models/ElasticsearchServiceServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ElasticsearchServiceServiceException = (function (_super) {
4
+ __extends(ElasticsearchServiceServiceException, _super);
5
+ function ElasticsearchServiceServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ElasticsearchServiceServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ElasticsearchServiceServiceException;
11
+ }(__ServiceException));
12
+ export { ElasticsearchServiceServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { ElasticsearchServiceServiceException as __BaseException } from "./ElasticsearchServiceServiceException";
3
4
  export var AcceptInboundCrossClusterSearchConnectionRequest;
4
5
  (function (AcceptInboundCrossClusterSearchConnectionRequest) {
5
6
  AcceptInboundCrossClusterSearchConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -29,6 +30,54 @@ export var AcceptInboundCrossClusterSearchConnectionResponse;
29
30
  (function (AcceptInboundCrossClusterSearchConnectionResponse) {
30
31
  AcceptInboundCrossClusterSearchConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
31
32
  })(AcceptInboundCrossClusterSearchConnectionResponse || (AcceptInboundCrossClusterSearchConnectionResponse = {}));
33
+ var DisabledOperationException = (function (_super) {
34
+ __extends(DisabledOperationException, _super);
35
+ function DisabledOperationException(opts) {
36
+ var _this = _super.call(this, __assign({ name: "DisabledOperationException", $fault: "client" }, opts)) || this;
37
+ _this.name = "DisabledOperationException";
38
+ _this.$fault = "client";
39
+ Object.setPrototypeOf(_this, DisabledOperationException.prototype);
40
+ return _this;
41
+ }
42
+ return DisabledOperationException;
43
+ }(__BaseException));
44
+ export { DisabledOperationException };
45
+ var LimitExceededException = (function (_super) {
46
+ __extends(LimitExceededException, _super);
47
+ function LimitExceededException(opts) {
48
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
49
+ _this.name = "LimitExceededException";
50
+ _this.$fault = "client";
51
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
52
+ return _this;
53
+ }
54
+ return LimitExceededException;
55
+ }(__BaseException));
56
+ export { LimitExceededException };
57
+ var ResourceNotFoundException = (function (_super) {
58
+ __extends(ResourceNotFoundException, _super);
59
+ function ResourceNotFoundException(opts) {
60
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
61
+ _this.name = "ResourceNotFoundException";
62
+ _this.$fault = "client";
63
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
64
+ return _this;
65
+ }
66
+ return ResourceNotFoundException;
67
+ }(__BaseException));
68
+ export { ResourceNotFoundException };
69
+ var AccessDeniedException = (function (_super) {
70
+ __extends(AccessDeniedException, _super);
71
+ function AccessDeniedException(opts) {
72
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
73
+ _this.name = "AccessDeniedException";
74
+ _this.$fault = "client";
75
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
76
+ return _this;
77
+ }
78
+ return AccessDeniedException;
79
+ }(__BaseException));
80
+ export { AccessDeniedException };
32
81
  export var OptionStatus;
33
82
  (function (OptionStatus) {
34
83
  OptionStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -49,6 +98,42 @@ export var AddTagsRequest;
49
98
  (function (AddTagsRequest) {
50
99
  AddTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
51
100
  })(AddTagsRequest || (AddTagsRequest = {}));
101
+ var BaseException = (function (_super) {
102
+ __extends(BaseException, _super);
103
+ function BaseException(opts) {
104
+ var _this = _super.call(this, __assign({ name: "BaseException", $fault: "client" }, opts)) || this;
105
+ _this.name = "BaseException";
106
+ _this.$fault = "client";
107
+ Object.setPrototypeOf(_this, BaseException.prototype);
108
+ return _this;
109
+ }
110
+ return BaseException;
111
+ }(__BaseException));
112
+ export { BaseException };
113
+ var InternalException = (function (_super) {
114
+ __extends(InternalException, _super);
115
+ function InternalException(opts) {
116
+ var _this = _super.call(this, __assign({ name: "InternalException", $fault: "server" }, opts)) || this;
117
+ _this.name = "InternalException";
118
+ _this.$fault = "server";
119
+ Object.setPrototypeOf(_this, InternalException.prototype);
120
+ return _this;
121
+ }
122
+ return InternalException;
123
+ }(__BaseException));
124
+ export { InternalException };
125
+ var ValidationException = (function (_super) {
126
+ __extends(ValidationException, _super);
127
+ function ValidationException(opts) {
128
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
129
+ _this.name = "ValidationException";
130
+ _this.$fault = "client";
131
+ Object.setPrototypeOf(_this, ValidationException.prototype);
132
+ return _this;
133
+ }
134
+ return ValidationException;
135
+ }(__BaseException));
136
+ export { ValidationException };
52
137
  export var AdvancedOptionsStatus;
53
138
  (function (AdvancedOptionsStatus) {
54
139
  AdvancedOptionsStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -97,6 +182,18 @@ export var AssociatePackageResponse;
97
182
  (function (AssociatePackageResponse) {
98
183
  AssociatePackageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
99
184
  })(AssociatePackageResponse || (AssociatePackageResponse = {}));
185
+ var ConflictException = (function (_super) {
186
+ __extends(ConflictException, _super);
187
+ function ConflictException(opts) {
188
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
189
+ _this.name = "ConflictException";
190
+ _this.$fault = "client";
191
+ Object.setPrototypeOf(_this, ConflictException.prototype);
192
+ return _this;
193
+ }
194
+ return ConflictException;
195
+ }(__BaseException));
196
+ export { ConflictException };
100
197
  export var CancelElasticsearchServiceSoftwareUpdateRequest;
101
198
  (function (CancelElasticsearchServiceSoftwareUpdateRequest) {
102
199
  CancelElasticsearchServiceSoftwareUpdateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -217,6 +314,30 @@ export var CreateElasticsearchDomainResponse;
217
314
  (function (CreateElasticsearchDomainResponse) {
218
315
  CreateElasticsearchDomainResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
219
316
  })(CreateElasticsearchDomainResponse || (CreateElasticsearchDomainResponse = {}));
317
+ var InvalidTypeException = (function (_super) {
318
+ __extends(InvalidTypeException, _super);
319
+ function InvalidTypeException(opts) {
320
+ var _this = _super.call(this, __assign({ name: "InvalidTypeException", $fault: "client" }, opts)) || this;
321
+ _this.name = "InvalidTypeException";
322
+ _this.$fault = "client";
323
+ Object.setPrototypeOf(_this, InvalidTypeException.prototype);
324
+ return _this;
325
+ }
326
+ return InvalidTypeException;
327
+ }(__BaseException));
328
+ export { InvalidTypeException };
329
+ var ResourceAlreadyExistsException = (function (_super) {
330
+ __extends(ResourceAlreadyExistsException, _super);
331
+ function ResourceAlreadyExistsException(opts) {
332
+ var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistsException", $fault: "client" }, opts)) || this;
333
+ _this.name = "ResourceAlreadyExistsException";
334
+ _this.$fault = "client";
335
+ Object.setPrototypeOf(_this, ResourceAlreadyExistsException.prototype);
336
+ return _this;
337
+ }
338
+ return ResourceAlreadyExistsException;
339
+ }(__BaseException));
340
+ export { ResourceAlreadyExistsException };
220
341
  export var CreateOutboundCrossClusterSearchConnectionRequest;
221
342
  (function (CreateOutboundCrossClusterSearchConnectionRequest) {
222
343
  CreateOutboundCrossClusterSearchConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -475,6 +596,18 @@ export var DescribeInboundCrossClusterSearchConnectionsResponse;
475
596
  (function (DescribeInboundCrossClusterSearchConnectionsResponse) {
476
597
  DescribeInboundCrossClusterSearchConnectionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
477
598
  })(DescribeInboundCrossClusterSearchConnectionsResponse || (DescribeInboundCrossClusterSearchConnectionsResponse = {}));
599
+ var InvalidPaginationTokenException = (function (_super) {
600
+ __extends(InvalidPaginationTokenException, _super);
601
+ function InvalidPaginationTokenException(opts) {
602
+ var _this = _super.call(this, __assign({ name: "InvalidPaginationTokenException", $fault: "client" }, opts)) || this;
603
+ _this.name = "InvalidPaginationTokenException";
604
+ _this.$fault = "client";
605
+ Object.setPrototypeOf(_this, InvalidPaginationTokenException.prototype);
606
+ return _this;
607
+ }
608
+ return InvalidPaginationTokenException;
609
+ }(__BaseException));
610
+ export { InvalidPaginationTokenException };
478
611
  export var DescribeOutboundCrossClusterSearchConnectionsRequest;
479
612
  (function (DescribeOutboundCrossClusterSearchConnectionsRequest) {
480
613
  DescribeOutboundCrossClusterSearchConnectionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };