@aws-sdk/client-opensearch 3.50.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/OpenSearchServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +148 -4
- package/dist-cjs/protocols/Aws_restJson1.js +454 -1547
- package/dist-es/index.js +1 -0
- package/dist-es/models/OpenSearchServiceException.js +12 -0
- package/dist-es/models/models_0.js +134 -1
- package/dist-es/protocols/Aws_restJson1.js +927 -1719
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/OpenSearchServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +57 -56
- package/dist-types/ts3.4/OpenSearch.d.ts +204 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +113 -0
- package/dist-types/ts3.4/commands/AcceptInboundConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelServiceSoftwareUpdateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateOutboundConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteInboundConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteOutboundConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainChangeProgressCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeInboundConnectionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeInstanceTypeLimitsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOutboundConnectionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeReservedInstanceOfferingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DissociatePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCompatibleVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPackageVersionHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDomainsForPackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +40 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/OpenSearchServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2325 -0
- package/dist-types/ts3.4/pagination/DescribeDomainAutoTunesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeInboundConnectionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeOutboundConnectionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribePackagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeReservedInstanceOfferingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeReservedInstancesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetPackageVersionHistoryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetUpgradeHistoryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDomainsForPackagePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListInstanceTypeDetailsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPackagesForDomainPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +122 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-es/index.js
CHANGED
|
@@ -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)); };
|