@aws-sdk/client-opensearch 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 "./OpenSearchClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { OpenSearchServiceException } from "./models/OpenSearchServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var OpenSearchServiceException = (function (_super) {
4
+ __extends(OpenSearchServiceException, _super);
5
+ function OpenSearchServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, OpenSearchServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return OpenSearchServiceException;
11
+ }(__ServiceException));
12
+ export { OpenSearchServiceException };
@@ -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 { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
3
4
  export var AcceptInboundConnectionRequest;
4
5
  (function (AcceptInboundConnectionRequest) {
5
6
  AcceptInboundConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -35,6 +36,54 @@ export var AcceptInboundConnectionResponse;
35
36
  (function (AcceptInboundConnectionResponse) {
36
37
  AcceptInboundConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
38
  })(AcceptInboundConnectionResponse || (AcceptInboundConnectionResponse = {}));
39
+ var DisabledOperationException = (function (_super) {
40
+ __extends(DisabledOperationException, _super);
41
+ function DisabledOperationException(opts) {
42
+ var _this = _super.call(this, __assign({ name: "DisabledOperationException", $fault: "client" }, opts)) || this;
43
+ _this.name = "DisabledOperationException";
44
+ _this.$fault = "client";
45
+ Object.setPrototypeOf(_this, DisabledOperationException.prototype);
46
+ return _this;
47
+ }
48
+ return DisabledOperationException;
49
+ }(__BaseException));
50
+ export { DisabledOperationException };
51
+ var LimitExceededException = (function (_super) {
52
+ __extends(LimitExceededException, _super);
53
+ function LimitExceededException(opts) {
54
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
55
+ _this.name = "LimitExceededException";
56
+ _this.$fault = "client";
57
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
58
+ return _this;
59
+ }
60
+ return LimitExceededException;
61
+ }(__BaseException));
62
+ export { LimitExceededException };
63
+ var ResourceNotFoundException = (function (_super) {
64
+ __extends(ResourceNotFoundException, _super);
65
+ function ResourceNotFoundException(opts) {
66
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
67
+ _this.name = "ResourceNotFoundException";
68
+ _this.$fault = "client";
69
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
70
+ return _this;
71
+ }
72
+ return ResourceNotFoundException;
73
+ }(__BaseException));
74
+ export { ResourceNotFoundException };
75
+ var AccessDeniedException = (function (_super) {
76
+ __extends(AccessDeniedException, _super);
77
+ function AccessDeniedException(opts) {
78
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
79
+ _this.name = "AccessDeniedException";
80
+ _this.$fault = "client";
81
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
82
+ return _this;
83
+ }
84
+ return AccessDeniedException;
85
+ }(__BaseException));
86
+ export { AccessDeniedException };
38
87
  export var OptionState;
39
88
  (function (OptionState) {
40
89
  OptionState["Active"] = "Active";
@@ -61,6 +110,42 @@ export var AddTagsRequest;
61
110
  (function (AddTagsRequest) {
62
111
  AddTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
63
112
  })(AddTagsRequest || (AddTagsRequest = {}));
113
+ var BaseException = (function (_super) {
114
+ __extends(BaseException, _super);
115
+ function BaseException(opts) {
116
+ var _this = _super.call(this, __assign({ name: "BaseException", $fault: "client" }, opts)) || this;
117
+ _this.name = "BaseException";
118
+ _this.$fault = "client";
119
+ Object.setPrototypeOf(_this, BaseException.prototype);
120
+ return _this;
121
+ }
122
+ return BaseException;
123
+ }(__BaseException));
124
+ export { BaseException };
125
+ var InternalException = (function (_super) {
126
+ __extends(InternalException, _super);
127
+ function InternalException(opts) {
128
+ var _this = _super.call(this, __assign({ name: "InternalException", $fault: "server" }, opts)) || this;
129
+ _this.name = "InternalException";
130
+ _this.$fault = "server";
131
+ Object.setPrototypeOf(_this, InternalException.prototype);
132
+ return _this;
133
+ }
134
+ return InternalException;
135
+ }(__BaseException));
136
+ export { InternalException };
137
+ var ValidationException = (function (_super) {
138
+ __extends(ValidationException, _super);
139
+ function ValidationException(opts) {
140
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
141
+ _this.name = "ValidationException";
142
+ _this.$fault = "client";
143
+ Object.setPrototypeOf(_this, ValidationException.prototype);
144
+ return _this;
145
+ }
146
+ return ValidationException;
147
+ }(__BaseException));
148
+ export { ValidationException };
64
149
  export var AdvancedOptionsStatus;
65
150
  (function (AdvancedOptionsStatus) {
66
151
  AdvancedOptionsStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -121,6 +206,18 @@ export var AssociatePackageResponse;
121
206
  (function (AssociatePackageResponse) {
122
207
  AssociatePackageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
123
208
  })(AssociatePackageResponse || (AssociatePackageResponse = {}));
209
+ var ConflictException = (function (_super) {
210
+ __extends(ConflictException, _super);
211
+ function ConflictException(opts) {
212
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
213
+ _this.name = "ConflictException";
214
+ _this.$fault = "client";
215
+ Object.setPrototypeOf(_this, ConflictException.prototype);
216
+ return _this;
217
+ }
218
+ return ConflictException;
219
+ }(__BaseException));
220
+ export { ConflictException };
124
221
  export var CancelServiceSoftwareUpdateRequest;
125
222
  (function (CancelServiceSoftwareUpdateRequest) {
126
223
  CancelServiceSoftwareUpdateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -366,6 +463,30 @@ export var CreateDomainResponse;
366
463
  (function (CreateDomainResponse) {
367
464
  CreateDomainResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
368
465
  })(CreateDomainResponse || (CreateDomainResponse = {}));
466
+ var InvalidTypeException = (function (_super) {
467
+ __extends(InvalidTypeException, _super);
468
+ function InvalidTypeException(opts) {
469
+ var _this = _super.call(this, __assign({ name: "InvalidTypeException", $fault: "client" }, opts)) || this;
470
+ _this.name = "InvalidTypeException";
471
+ _this.$fault = "client";
472
+ Object.setPrototypeOf(_this, InvalidTypeException.prototype);
473
+ return _this;
474
+ }
475
+ return InvalidTypeException;
476
+ }(__BaseException));
477
+ export { InvalidTypeException };
478
+ var ResourceAlreadyExistsException = (function (_super) {
479
+ __extends(ResourceAlreadyExistsException, _super);
480
+ function ResourceAlreadyExistsException(opts) {
481
+ var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistsException", $fault: "client" }, opts)) || this;
482
+ _this.name = "ResourceAlreadyExistsException";
483
+ _this.$fault = "client";
484
+ Object.setPrototypeOf(_this, ResourceAlreadyExistsException.prototype);
485
+ return _this;
486
+ }
487
+ return ResourceAlreadyExistsException;
488
+ }(__BaseException));
489
+ export { ResourceAlreadyExistsException };
369
490
  export var CreateOutboundConnectionRequest;
370
491
  (function (CreateOutboundConnectionRequest) {
371
492
  CreateOutboundConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -609,6 +730,18 @@ export var DescribeInboundConnectionsResponse;
609
730
  (function (DescribeInboundConnectionsResponse) {
610
731
  DescribeInboundConnectionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
611
732
  })(DescribeInboundConnectionsResponse || (DescribeInboundConnectionsResponse = {}));
733
+ var InvalidPaginationTokenException = (function (_super) {
734
+ __extends(InvalidPaginationTokenException, _super);
735
+ function InvalidPaginationTokenException(opts) {
736
+ var _this = _super.call(this, __assign({ name: "InvalidPaginationTokenException", $fault: "client" }, opts)) || this;
737
+ _this.name = "InvalidPaginationTokenException";
738
+ _this.$fault = "client";
739
+ Object.setPrototypeOf(_this, InvalidPaginationTokenException.prototype);
740
+ return _this;
741
+ }
742
+ return InvalidPaginationTokenException;
743
+ }(__BaseException));
744
+ export { InvalidPaginationTokenException };
612
745
  export var DescribeInstanceTypeLimitsRequest;
613
746
  (function (DescribeInstanceTypeLimitsRequest) {
614
747
  DescribeInstanceTypeLimitsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };