@aws-sdk/client-elasticsearch-service 3.42.0 → 3.47.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 +51 -0
- package/dist-cjs/endpoints.js +1 -24
- package/dist-cjs/models/models_0.js +10 -70
- package/dist-cjs/protocols/Aws_restJson1.js +17 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -24
- package/dist-es/models/models_0.js +4 -44
- package/dist-es/protocols/Aws_restJson1.js +18 -3
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/ElasticsearchServiceClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +47 -66
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +20 -44
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,57 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
28
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
29
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
6
57
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
58
|
|
|
8
59
|
**Note:** Version bump only for package @aws-sdk/client-elasticsearch-service
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "es.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "es-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "es.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "es-fips.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-gov-east-1": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "es.us-gov-east-1.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "es-fips.us-gov-east-1.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-gov-west-1": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "es.us-gov-west-1.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "es-fips.us-gov-west-1.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"us-west-1": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "es.us-west-1.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "es-fips.us-west-1.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -65,10 +45,6 @@ const regionHash = {
|
|
|
65
45
|
},
|
|
66
46
|
"us-west-2": {
|
|
67
47
|
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "es.us-west-2.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
48
|
{
|
|
73
49
|
hostname: "es-fips.us-west-2.amazonaws.com",
|
|
74
50
|
tags: ["fips"],
|
|
@@ -87,6 +63,7 @@ const partitionHash = {
|
|
|
87
63
|
"ap-south-1",
|
|
88
64
|
"ap-southeast-1",
|
|
89
65
|
"ap-southeast-2",
|
|
66
|
+
"ap-southeast-3",
|
|
90
67
|
"ca-central-1",
|
|
91
68
|
"eu-central-1",
|
|
92
69
|
"eu-north-1",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpgradeElasticsearchDomainResponse = exports.UpgradeElasticsearchDomainRequest = exports.UpdatePackageResponse = exports.UpdatePackageRequest = exports.UpdateElasticsearchDomainConfigResponse = exports.
|
|
3
|
+
exports.CreateOutboundCrossClusterSearchConnectionRequest = exports.CreateElasticsearchDomainResponse = exports.ElasticsearchDomainStatus = exports.VPCDerivedInfo = exports.AutoTuneOptionsOutput = exports.AutoTuneState = exports.CreateElasticsearchDomainRequest = exports.VPCOptions = exports.SnapshotOptions = exports.NodeToNodeEncryptionOptions = exports.LogPublishingOption = exports.EncryptionAtRestOptions = exports.ElasticsearchClusterConfig = exports.ZoneAwarenessConfig = exports.ColdStorageOptions = exports.EBSOptions = exports.DomainEndpointOptions = exports.TLSSecurityPolicy = exports.CognitoOptions = exports.AutoTuneOptionsInput = exports.AutoTuneMaintenanceSchedule = exports.Duration = exports.TimeUnit = exports.AutoTuneDesiredState = exports.CancelElasticsearchServiceSoftwareUpdateResponse = exports.ServiceSoftwareOptions = exports.CancelElasticsearchServiceSoftwareUpdateRequest = exports.AssociatePackageResponse = exports.DomainPackageDetails = exports.ErrorDetails = exports.AssociatePackageRequest = exports.AdvancedSecurityOptionsStatus = exports.AdvancedSecurityOptionsInput = exports.SAMLOptionsInput = exports.MasterUserOptions = exports.AdvancedSecurityOptions = exports.SAMLOptionsOutput = exports.SAMLIdp = exports.AdvancedOptionsStatus = exports.AddTagsRequest = exports.Tag = exports.AdditionalLimit = exports.AccessPoliciesStatus = exports.OptionStatus = exports.AcceptInboundCrossClusterSearchConnectionResponse = exports.InboundCrossClusterSearchConnection = exports.DomainInformation = exports.InboundCrossClusterSearchConnectionStatus = exports.InboundCrossClusterSearchConnectionStatusCode = exports.AcceptInboundCrossClusterSearchConnectionRequest = void 0;
|
|
4
|
+
exports.StorageType = exports.StorageTypeLimit = exports.InstanceLimits = exports.InstanceCountLimits = exports.DescribeElasticsearchInstanceTypeLimitsRequest = exports.DescribeElasticsearchDomainsResponse = exports.DescribeElasticsearchDomainsRequest = exports.DescribeElasticsearchDomainConfigResponse = exports.ElasticsearchDomainConfig = exports.VPCDerivedInfoStatus = exports.SnapshotOptionsStatus = exports.NodeToNodeEncryptionOptionsStatus = exports.LogPublishingOptionsStatus = exports.EncryptionAtRestOptionsStatus = exports.ElasticsearchVersionStatus = exports.ElasticsearchClusterConfigStatus = exports.EBSOptionsStatus = exports.DomainEndpointOptionsStatus = exports.CognitoOptionsStatus = exports.AutoTuneOptionsStatus = exports.AutoTuneStatus = exports.AutoTuneOptions = exports.RollbackOnDisable = exports.DescribeElasticsearchDomainConfigRequest = exports.DescribeElasticsearchDomainResponse = exports.DescribeElasticsearchDomainRequest = exports.DescribeDomainAutoTunesResponse = exports.AutoTune = exports.AutoTuneType = exports.AutoTuneDetails = exports.ScheduledAutoTuneDetails = exports.ScheduledAutoTuneSeverityType = exports.ScheduledAutoTuneActionType = exports.DescribeDomainAutoTunesRequest = exports.DeletePackageResponse = exports.DeletePackageRequest = exports.DeleteOutboundCrossClusterSearchConnectionResponse = exports.OutboundCrossClusterSearchConnection = exports.DeleteOutboundCrossClusterSearchConnectionRequest = exports.DeleteInboundCrossClusterSearchConnectionResponse = exports.DeleteInboundCrossClusterSearchConnectionRequest = exports.DeleteElasticsearchDomainResponse = exports.DeleteElasticsearchDomainRequest = exports.CreatePackageResponse = exports.PackageDetails = exports.CreatePackageRequest = exports.PackageSource = exports.CreateOutboundCrossClusterSearchConnectionResponse = exports.OutboundCrossClusterSearchConnectionStatus = exports.OutboundCrossClusterSearchConnectionStatusCode = void 0;
|
|
5
|
+
exports.RejectInboundCrossClusterSearchConnectionResponse = exports.RejectInboundCrossClusterSearchConnectionRequest = exports.PurchaseReservedElasticsearchInstanceOfferingResponse = exports.PurchaseReservedElasticsearchInstanceOfferingRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListPackagesForDomainResponse = exports.ListPackagesForDomainRequest = exports.ListElasticsearchVersionsResponse = exports.ListElasticsearchVersionsRequest = exports.ListElasticsearchInstanceTypesResponse = exports.ListElasticsearchInstanceTypesRequest = exports.ListDomainsForPackageResponse = exports.ListDomainsForPackageRequest = exports.ListDomainNamesResponse = exports.DomainInfo = exports.ListDomainNamesRequest = exports.EngineType = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusRequest = exports.GetUpgradeHistoryResponse = exports.UpgradeHistory = exports.UpgradeStepItem = exports.GetUpgradeHistoryRequest = exports.GetPackageVersionHistoryResponse = exports.PackageVersionHistory = exports.GetPackageVersionHistoryRequest = exports.GetCompatibleElasticsearchVersionsResponse = exports.CompatibleVersionsMap = exports.GetCompatibleElasticsearchVersionsRequest = exports.DissociatePackageResponse = exports.DissociatePackageRequest = exports.DescribeReservedElasticsearchInstancesResponse = exports.ReservedElasticsearchInstance = exports.DescribeReservedElasticsearchInstancesRequest = exports.DescribeReservedElasticsearchInstanceOfferingsResponse = exports.ReservedElasticsearchInstanceOffering = exports.RecurringCharge = exports.DescribeReservedElasticsearchInstanceOfferingsRequest = exports.DescribePackagesResponse = exports.DescribePackagesRequest = exports.DescribePackagesFilter = exports.DescribePackagesFilterName = exports.DescribeOutboundCrossClusterSearchConnectionsResponse = exports.DescribeOutboundCrossClusterSearchConnectionsRequest = exports.DescribeInboundCrossClusterSearchConnectionsResponse = exports.DescribeInboundCrossClusterSearchConnectionsRequest = exports.Filter = exports.DescribeElasticsearchInstanceTypeLimitsResponse = exports.Limits = void 0;
|
|
6
|
+
exports.UpgradeElasticsearchDomainResponse = exports.UpgradeElasticsearchDomainRequest = exports.UpdatePackageResponse = exports.UpdatePackageRequest = exports.UpdateElasticsearchDomainConfigResponse = exports.DryRunResults = exports.UpdateElasticsearchDomainConfigRequest = exports.StartElasticsearchServiceSoftwareUpdateResponse = exports.StartElasticsearchServiceSoftwareUpdateRequest = exports.RemoveTagsRequest = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
var AcceptInboundCrossClusterSearchConnectionRequest;
|
|
9
9
|
(function (AcceptInboundCrossClusterSearchConnectionRequest) {
|
|
@@ -44,30 +44,6 @@ var AcceptInboundCrossClusterSearchConnectionResponse;
|
|
|
44
44
|
...obj,
|
|
45
45
|
});
|
|
46
46
|
})(AcceptInboundCrossClusterSearchConnectionResponse = exports.AcceptInboundCrossClusterSearchConnectionResponse || (exports.AcceptInboundCrossClusterSearchConnectionResponse = {}));
|
|
47
|
-
var DisabledOperationException;
|
|
48
|
-
(function (DisabledOperationException) {
|
|
49
|
-
DisabledOperationException.filterSensitiveLog = (obj) => ({
|
|
50
|
-
...obj,
|
|
51
|
-
});
|
|
52
|
-
})(DisabledOperationException = exports.DisabledOperationException || (exports.DisabledOperationException = {}));
|
|
53
|
-
var LimitExceededException;
|
|
54
|
-
(function (LimitExceededException) {
|
|
55
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
56
|
-
...obj,
|
|
57
|
-
});
|
|
58
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
59
|
-
var ResourceNotFoundException;
|
|
60
|
-
(function (ResourceNotFoundException) {
|
|
61
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
62
|
-
...obj,
|
|
63
|
-
});
|
|
64
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
65
|
-
var AccessDeniedException;
|
|
66
|
-
(function (AccessDeniedException) {
|
|
67
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
68
|
-
...obj,
|
|
69
|
-
});
|
|
70
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
71
47
|
var OptionStatus;
|
|
72
48
|
(function (OptionStatus) {
|
|
73
49
|
OptionStatus.filterSensitiveLog = (obj) => ({
|
|
@@ -98,24 +74,6 @@ var AddTagsRequest;
|
|
|
98
74
|
...obj,
|
|
99
75
|
});
|
|
100
76
|
})(AddTagsRequest = exports.AddTagsRequest || (exports.AddTagsRequest = {}));
|
|
101
|
-
var BaseException;
|
|
102
|
-
(function (BaseException) {
|
|
103
|
-
BaseException.filterSensitiveLog = (obj) => ({
|
|
104
|
-
...obj,
|
|
105
|
-
});
|
|
106
|
-
})(BaseException = exports.BaseException || (exports.BaseException = {}));
|
|
107
|
-
var InternalException;
|
|
108
|
-
(function (InternalException) {
|
|
109
|
-
InternalException.filterSensitiveLog = (obj) => ({
|
|
110
|
-
...obj,
|
|
111
|
-
});
|
|
112
|
-
})(InternalException = exports.InternalException || (exports.InternalException = {}));
|
|
113
|
-
var ValidationException;
|
|
114
|
-
(function (ValidationException) {
|
|
115
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
116
|
-
...obj,
|
|
117
|
-
});
|
|
118
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
119
77
|
var AdvancedOptionsStatus;
|
|
120
78
|
(function (AdvancedOptionsStatus) {
|
|
121
79
|
AdvancedOptionsStatus.filterSensitiveLog = (obj) => ({
|
|
@@ -193,12 +151,6 @@ var AssociatePackageResponse;
|
|
|
193
151
|
...obj,
|
|
194
152
|
});
|
|
195
153
|
})(AssociatePackageResponse = exports.AssociatePackageResponse || (exports.AssociatePackageResponse = {}));
|
|
196
|
-
var ConflictException;
|
|
197
|
-
(function (ConflictException) {
|
|
198
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
199
|
-
...obj,
|
|
200
|
-
});
|
|
201
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
202
154
|
var CancelElasticsearchServiceSoftwareUpdateRequest;
|
|
203
155
|
(function (CancelElasticsearchServiceSoftwareUpdateRequest) {
|
|
204
156
|
CancelElasticsearchServiceSoftwareUpdateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -360,18 +312,6 @@ var CreateElasticsearchDomainResponse;
|
|
|
360
312
|
...obj,
|
|
361
313
|
});
|
|
362
314
|
})(CreateElasticsearchDomainResponse = exports.CreateElasticsearchDomainResponse || (exports.CreateElasticsearchDomainResponse = {}));
|
|
363
|
-
var InvalidTypeException;
|
|
364
|
-
(function (InvalidTypeException) {
|
|
365
|
-
InvalidTypeException.filterSensitiveLog = (obj) => ({
|
|
366
|
-
...obj,
|
|
367
|
-
});
|
|
368
|
-
})(InvalidTypeException = exports.InvalidTypeException || (exports.InvalidTypeException = {}));
|
|
369
|
-
var ResourceAlreadyExistsException;
|
|
370
|
-
(function (ResourceAlreadyExistsException) {
|
|
371
|
-
ResourceAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
372
|
-
...obj,
|
|
373
|
-
});
|
|
374
|
-
})(ResourceAlreadyExistsException = exports.ResourceAlreadyExistsException || (exports.ResourceAlreadyExistsException = {}));
|
|
375
315
|
var CreateOutboundCrossClusterSearchConnectionRequest;
|
|
376
316
|
(function (CreateOutboundCrossClusterSearchConnectionRequest) {
|
|
377
317
|
CreateOutboundCrossClusterSearchConnectionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -709,12 +649,6 @@ var DescribeInboundCrossClusterSearchConnectionsResponse;
|
|
|
709
649
|
...obj,
|
|
710
650
|
});
|
|
711
651
|
})(DescribeInboundCrossClusterSearchConnectionsResponse = exports.DescribeInboundCrossClusterSearchConnectionsResponse || (exports.DescribeInboundCrossClusterSearchConnectionsResponse = {}));
|
|
712
|
-
var InvalidPaginationTokenException;
|
|
713
|
-
(function (InvalidPaginationTokenException) {
|
|
714
|
-
InvalidPaginationTokenException.filterSensitiveLog = (obj) => ({
|
|
715
|
-
...obj,
|
|
716
|
-
});
|
|
717
|
-
})(InvalidPaginationTokenException = exports.InvalidPaginationTokenException || (exports.InvalidPaginationTokenException = {}));
|
|
718
652
|
var DescribeOutboundCrossClusterSearchConnectionsRequest;
|
|
719
653
|
(function (DescribeOutboundCrossClusterSearchConnectionsRequest) {
|
|
720
654
|
DescribeOutboundCrossClusterSearchConnectionsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1011,6 +945,12 @@ var UpdateElasticsearchDomainConfigRequest;
|
|
|
1011
945
|
}),
|
|
1012
946
|
});
|
|
1013
947
|
})(UpdateElasticsearchDomainConfigRequest = exports.UpdateElasticsearchDomainConfigRequest || (exports.UpdateElasticsearchDomainConfigRequest = {}));
|
|
948
|
+
var DryRunResults;
|
|
949
|
+
(function (DryRunResults) {
|
|
950
|
+
DryRunResults.filterSensitiveLog = (obj) => ({
|
|
951
|
+
...obj,
|
|
952
|
+
});
|
|
953
|
+
})(DryRunResults = exports.DryRunResults || (exports.DryRunResults = {}));
|
|
1014
954
|
var UpdateElasticsearchDomainConfigResponse;
|
|
1015
955
|
(function (UpdateElasticsearchDomainConfigResponse) {
|
|
1016
956
|
UpdateElasticsearchDomainConfigResponse.filterSensitiveLog = (obj) => ({
|
|
@@ -1080,6 +1080,7 @@ const serializeAws_restJson1UpdateElasticsearchDomainConfigCommand = async (inpu
|
|
|
1080
1080
|
input.DomainEndpointOptions !== null && {
|
|
1081
1081
|
DomainEndpointOptions: serializeAws_restJson1DomainEndpointOptions(input.DomainEndpointOptions, context),
|
|
1082
1082
|
}),
|
|
1083
|
+
...(input.DryRun !== undefined && input.DryRun !== null && { DryRun: input.DryRun }),
|
|
1083
1084
|
...(input.EBSOptions !== undefined &&
|
|
1084
1085
|
input.EBSOptions !== null && { EBSOptions: serializeAws_restJson1EBSOptions(input.EBSOptions, context) }),
|
|
1085
1086
|
...(input.ElasticsearchClusterConfig !== undefined &&
|
|
@@ -3964,11 +3965,15 @@ const deserializeAws_restJson1UpdateElasticsearchDomainConfigCommand = async (ou
|
|
|
3964
3965
|
const contents = {
|
|
3965
3966
|
$metadata: deserializeMetadata(output),
|
|
3966
3967
|
DomainConfig: undefined,
|
|
3968
|
+
DryRunResults: undefined,
|
|
3967
3969
|
};
|
|
3968
3970
|
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3969
3971
|
if (data.DomainConfig !== undefined && data.DomainConfig !== null) {
|
|
3970
3972
|
contents.DomainConfig = deserializeAws_restJson1ElasticsearchDomainConfig(data.DomainConfig, context);
|
|
3971
3973
|
}
|
|
3974
|
+
if (data.DryRunResults !== undefined && data.DryRunResults !== null) {
|
|
3975
|
+
contents.DryRunResults = deserializeAws_restJson1DryRunResults(data.DryRunResults, context);
|
|
3976
|
+
}
|
|
3972
3977
|
return Promise.resolve(contents);
|
|
3973
3978
|
};
|
|
3974
3979
|
exports.deserializeAws_restJson1UpdateElasticsearchDomainConfigCommand = deserializeAws_restJson1UpdateElasticsearchDomainConfigCommand;
|
|
@@ -4385,6 +4390,8 @@ const serializeAws_restJson1AdvancedOptions = (input, context) => {
|
|
|
4385
4390
|
};
|
|
4386
4391
|
const serializeAws_restJson1AdvancedSecurityOptionsInput = (input, context) => {
|
|
4387
4392
|
return {
|
|
4393
|
+
...(input.AnonymousAuthEnabled !== undefined &&
|
|
4394
|
+
input.AnonymousAuthEnabled !== null && { AnonymousAuthEnabled: input.AnonymousAuthEnabled }),
|
|
4388
4395
|
...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
|
|
4389
4396
|
...(input.InternalUserDatabaseEnabled !== undefined &&
|
|
4390
4397
|
input.InternalUserDatabaseEnabled !== null && { InternalUserDatabaseEnabled: input.InternalUserDatabaseEnabled }),
|
|
@@ -4739,6 +4746,10 @@ const deserializeAws_restJson1AdvancedOptionsStatus = (output, context) => {
|
|
|
4739
4746
|
};
|
|
4740
4747
|
const deserializeAws_restJson1AdvancedSecurityOptions = (output, context) => {
|
|
4741
4748
|
return {
|
|
4749
|
+
AnonymousAuthDisableDate: output.AnonymousAuthDisableDate !== undefined && output.AnonymousAuthDisableDate !== null
|
|
4750
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AnonymousAuthDisableDate)))
|
|
4751
|
+
: undefined,
|
|
4752
|
+
AnonymousAuthEnabled: smithy_client_1.expectBoolean(output.AnonymousAuthEnabled),
|
|
4742
4753
|
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
4743
4754
|
InternalUserDatabaseEnabled: smithy_client_1.expectBoolean(output.InternalUserDatabaseEnabled),
|
|
4744
4755
|
SAMLOptions: output.SAMLOptions !== undefined && output.SAMLOptions !== null
|
|
@@ -4951,6 +4962,12 @@ const deserializeAws_restJson1DomainPackageDetailsList = (output, context) => {
|
|
|
4951
4962
|
return deserializeAws_restJson1DomainPackageDetails(entry, context);
|
|
4952
4963
|
});
|
|
4953
4964
|
};
|
|
4965
|
+
const deserializeAws_restJson1DryRunResults = (output, context) => {
|
|
4966
|
+
return {
|
|
4967
|
+
DeploymentType: smithy_client_1.expectString(output.DeploymentType),
|
|
4968
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
4969
|
+
};
|
|
4970
|
+
};
|
|
4954
4971
|
const deserializeAws_restJson1Duration = (output, context) => {
|
|
4955
4972
|
return {
|
|
4956
4973
|
Unit: smithy_client_1.expectString(output.Unit),
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "es.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "es-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "es.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "es-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-gov-east-1": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "es.us-gov-east-1.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "es-fips.us-gov-east-1.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-gov-west-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "es.us-gov-west-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "es-fips.us-gov-west-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-west-1": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "es.us-west-1.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "es-fips.us-west-1.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -63,10 +43,6 @@ var regionHash = {
|
|
|
63
43
|
},
|
|
64
44
|
"us-west-2": {
|
|
65
45
|
variants: [
|
|
66
|
-
{
|
|
67
|
-
hostname: "es.us-west-2.amazonaws.com",
|
|
68
|
-
tags: [],
|
|
69
|
-
},
|
|
70
46
|
{
|
|
71
47
|
hostname: "es-fips.us-west-2.amazonaws.com",
|
|
72
48
|
tags: ["fips"],
|
|
@@ -85,6 +61,7 @@ var partitionHash = {
|
|
|
85
61
|
"ap-south-1",
|
|
86
62
|
"ap-southeast-1",
|
|
87
63
|
"ap-southeast-2",
|
|
64
|
+
"ap-southeast-3",
|
|
88
65
|
"ca-central-1",
|
|
89
66
|
"eu-central-1",
|
|
90
67
|
"eu-north-1",
|
|
@@ -29,22 +29,6 @@ export var AcceptInboundCrossClusterSearchConnectionResponse;
|
|
|
29
29
|
(function (AcceptInboundCrossClusterSearchConnectionResponse) {
|
|
30
30
|
AcceptInboundCrossClusterSearchConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
31
|
})(AcceptInboundCrossClusterSearchConnectionResponse || (AcceptInboundCrossClusterSearchConnectionResponse = {}));
|
|
32
|
-
export var DisabledOperationException;
|
|
33
|
-
(function (DisabledOperationException) {
|
|
34
|
-
DisabledOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
-
})(DisabledOperationException || (DisabledOperationException = {}));
|
|
36
|
-
export var LimitExceededException;
|
|
37
|
-
(function (LimitExceededException) {
|
|
38
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
40
|
-
export var ResourceNotFoundException;
|
|
41
|
-
(function (ResourceNotFoundException) {
|
|
42
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
44
|
-
export var AccessDeniedException;
|
|
45
|
-
(function (AccessDeniedException) {
|
|
46
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
47
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
48
32
|
export var OptionStatus;
|
|
49
33
|
(function (OptionStatus) {
|
|
50
34
|
OptionStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -65,18 +49,6 @@ export var AddTagsRequest;
|
|
|
65
49
|
(function (AddTagsRequest) {
|
|
66
50
|
AddTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
67
51
|
})(AddTagsRequest || (AddTagsRequest = {}));
|
|
68
|
-
export var BaseException;
|
|
69
|
-
(function (BaseException) {
|
|
70
|
-
BaseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
71
|
-
})(BaseException || (BaseException = {}));
|
|
72
|
-
export var InternalException;
|
|
73
|
-
(function (InternalException) {
|
|
74
|
-
InternalException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
75
|
-
})(InternalException || (InternalException = {}));
|
|
76
|
-
export var ValidationException;
|
|
77
|
-
(function (ValidationException) {
|
|
78
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
|
-
})(ValidationException || (ValidationException = {}));
|
|
80
52
|
export var AdvancedOptionsStatus;
|
|
81
53
|
(function (AdvancedOptionsStatus) {
|
|
82
54
|
AdvancedOptionsStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -125,10 +97,6 @@ export var AssociatePackageResponse;
|
|
|
125
97
|
(function (AssociatePackageResponse) {
|
|
126
98
|
AssociatePackageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
99
|
})(AssociatePackageResponse || (AssociatePackageResponse = {}));
|
|
128
|
-
export var ConflictException;
|
|
129
|
-
(function (ConflictException) {
|
|
130
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
-
})(ConflictException || (ConflictException = {}));
|
|
132
100
|
export var CancelElasticsearchServiceSoftwareUpdateRequest;
|
|
133
101
|
(function (CancelElasticsearchServiceSoftwareUpdateRequest) {
|
|
134
102
|
CancelElasticsearchServiceSoftwareUpdateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -245,14 +213,6 @@ export var CreateElasticsearchDomainResponse;
|
|
|
245
213
|
(function (CreateElasticsearchDomainResponse) {
|
|
246
214
|
CreateElasticsearchDomainResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
247
215
|
})(CreateElasticsearchDomainResponse || (CreateElasticsearchDomainResponse = {}));
|
|
248
|
-
export var InvalidTypeException;
|
|
249
|
-
(function (InvalidTypeException) {
|
|
250
|
-
InvalidTypeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
251
|
-
})(InvalidTypeException || (InvalidTypeException = {}));
|
|
252
|
-
export var ResourceAlreadyExistsException;
|
|
253
|
-
(function (ResourceAlreadyExistsException) {
|
|
254
|
-
ResourceAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
255
|
-
})(ResourceAlreadyExistsException || (ResourceAlreadyExistsException = {}));
|
|
256
216
|
export var CreateOutboundCrossClusterSearchConnectionRequest;
|
|
257
217
|
(function (CreateOutboundCrossClusterSearchConnectionRequest) {
|
|
258
218
|
CreateOutboundCrossClusterSearchConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -488,10 +448,6 @@ export var DescribeInboundCrossClusterSearchConnectionsResponse;
|
|
|
488
448
|
(function (DescribeInboundCrossClusterSearchConnectionsResponse) {
|
|
489
449
|
DescribeInboundCrossClusterSearchConnectionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
490
450
|
})(DescribeInboundCrossClusterSearchConnectionsResponse || (DescribeInboundCrossClusterSearchConnectionsResponse = {}));
|
|
491
|
-
export var InvalidPaginationTokenException;
|
|
492
|
-
(function (InvalidPaginationTokenException) {
|
|
493
|
-
InvalidPaginationTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
494
|
-
})(InvalidPaginationTokenException || (InvalidPaginationTokenException = {}));
|
|
495
451
|
export var DescribeOutboundCrossClusterSearchConnectionsRequest;
|
|
496
452
|
(function (DescribeOutboundCrossClusterSearchConnectionsRequest) {
|
|
497
453
|
DescribeOutboundCrossClusterSearchConnectionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -693,6 +649,10 @@ export var UpdateElasticsearchDomainConfigRequest;
|
|
|
693
649
|
AdvancedSecurityOptions: AdvancedSecurityOptionsInput.filterSensitiveLog(obj.AdvancedSecurityOptions),
|
|
694
650
|
}))); };
|
|
695
651
|
})(UpdateElasticsearchDomainConfigRequest || (UpdateElasticsearchDomainConfigRequest = {}));
|
|
652
|
+
export var DryRunResults;
|
|
653
|
+
(function (DryRunResults) {
|
|
654
|
+
DryRunResults.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
655
|
+
})(DryRunResults || (DryRunResults = {}));
|
|
696
656
|
export var UpdateElasticsearchDomainConfigResponse;
|
|
697
657
|
(function (UpdateElasticsearchDomainConfigResponse) {
|
|
698
658
|
UpdateElasticsearchDomainConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1151,7 +1151,7 @@ export var serializeAws_restJson1UpdateElasticsearchDomainConfigCommand = functi
|
|
|
1151
1151
|
else {
|
|
1152
1152
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
1153
1153
|
}
|
|
1154
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies !== undefined &&
|
|
1154
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies !== undefined &&
|
|
1155
1155
|
input.AccessPolicies !== null && { AccessPolicies: input.AccessPolicies })), (input.AdvancedOptions !== undefined &&
|
|
1156
1156
|
input.AdvancedOptions !== null && {
|
|
1157
1157
|
AdvancedOptions: serializeAws_restJson1AdvancedOptions(input.AdvancedOptions, context),
|
|
@@ -1167,7 +1167,7 @@ export var serializeAws_restJson1UpdateElasticsearchDomainConfigCommand = functi
|
|
|
1167
1167
|
})), (input.DomainEndpointOptions !== undefined &&
|
|
1168
1168
|
input.DomainEndpointOptions !== null && {
|
|
1169
1169
|
DomainEndpointOptions: serializeAws_restJson1DomainEndpointOptions(input.DomainEndpointOptions, context),
|
|
1170
|
-
})), (input.EBSOptions !== undefined &&
|
|
1170
|
+
})), (input.DryRun !== undefined && input.DryRun !== null && { DryRun: input.DryRun })), (input.EBSOptions !== undefined &&
|
|
1171
1171
|
input.EBSOptions !== null && { EBSOptions: serializeAws_restJson1EBSOptions(input.EBSOptions, context) })), (input.ElasticsearchClusterConfig !== undefined &&
|
|
1172
1172
|
input.ElasticsearchClusterConfig !== null && {
|
|
1173
1173
|
ElasticsearchClusterConfig: serializeAws_restJson1ElasticsearchClusterConfig(input.ElasticsearchClusterConfig, context),
|
|
@@ -4562,6 +4562,7 @@ export var deserializeAws_restJson1UpdateElasticsearchDomainConfigCommand = func
|
|
|
4562
4562
|
contents = {
|
|
4563
4563
|
$metadata: deserializeMetadata(output),
|
|
4564
4564
|
DomainConfig: undefined,
|
|
4565
|
+
DryRunResults: undefined,
|
|
4565
4566
|
};
|
|
4566
4567
|
_a = __expectNonNull;
|
|
4567
4568
|
_b = __expectObject;
|
|
@@ -4571,6 +4572,9 @@ export var deserializeAws_restJson1UpdateElasticsearchDomainConfigCommand = func
|
|
|
4571
4572
|
if (data.DomainConfig !== undefined && data.DomainConfig !== null) {
|
|
4572
4573
|
contents.DomainConfig = deserializeAws_restJson1ElasticsearchDomainConfig(data.DomainConfig, context);
|
|
4573
4574
|
}
|
|
4575
|
+
if (data.DryRunResults !== undefined && data.DryRunResults !== null) {
|
|
4576
|
+
contents.DryRunResults = deserializeAws_restJson1DryRunResults(data.DryRunResults, context);
|
|
4577
|
+
}
|
|
4574
4578
|
return [2, Promise.resolve(contents)];
|
|
4575
4579
|
}
|
|
4576
4580
|
});
|
|
@@ -5052,7 +5056,8 @@ var serializeAws_restJson1AdvancedOptions = function (input, context) {
|
|
|
5052
5056
|
}, {});
|
|
5053
5057
|
};
|
|
5054
5058
|
var serializeAws_restJson1AdvancedSecurityOptionsInput = function (input, context) {
|
|
5055
|
-
return __assign(__assign(__assign(__assign(
|
|
5059
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AnonymousAuthEnabled !== undefined &&
|
|
5060
|
+
input.AnonymousAuthEnabled !== null && { AnonymousAuthEnabled: input.AnonymousAuthEnabled })), (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled })), (input.InternalUserDatabaseEnabled !== undefined &&
|
|
5056
5061
|
input.InternalUserDatabaseEnabled !== null && { InternalUserDatabaseEnabled: input.InternalUserDatabaseEnabled })), (input.MasterUserOptions !== undefined &&
|
|
5057
5062
|
input.MasterUserOptions !== null && {
|
|
5058
5063
|
MasterUserOptions: serializeAws_restJson1MasterUserOptions(input.MasterUserOptions, context),
|
|
@@ -5310,6 +5315,10 @@ var deserializeAws_restJson1AdvancedOptionsStatus = function (output, context) {
|
|
|
5310
5315
|
};
|
|
5311
5316
|
var deserializeAws_restJson1AdvancedSecurityOptions = function (output, context) {
|
|
5312
5317
|
return {
|
|
5318
|
+
AnonymousAuthDisableDate: output.AnonymousAuthDisableDate !== undefined && output.AnonymousAuthDisableDate !== null
|
|
5319
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AnonymousAuthDisableDate)))
|
|
5320
|
+
: undefined,
|
|
5321
|
+
AnonymousAuthEnabled: __expectBoolean(output.AnonymousAuthEnabled),
|
|
5313
5322
|
Enabled: __expectBoolean(output.Enabled),
|
|
5314
5323
|
InternalUserDatabaseEnabled: __expectBoolean(output.InternalUserDatabaseEnabled),
|
|
5315
5324
|
SAMLOptions: output.SAMLOptions !== undefined && output.SAMLOptions !== null
|
|
@@ -5522,6 +5531,12 @@ var deserializeAws_restJson1DomainPackageDetailsList = function (output, context
|
|
|
5522
5531
|
return deserializeAws_restJson1DomainPackageDetails(entry, context);
|
|
5523
5532
|
});
|
|
5524
5533
|
};
|
|
5534
|
+
var deserializeAws_restJson1DryRunResults = function (output, context) {
|
|
5535
|
+
return {
|
|
5536
|
+
DeploymentType: __expectString(output.DeploymentType),
|
|
5537
|
+
Message: __expectString(output.Message),
|
|
5538
|
+
};
|
|
5539
|
+
};
|
|
5525
5540
|
var deserializeAws_restJson1Duration = function (output, context) {
|
|
5526
5541
|
return {
|
|
5527
5542
|
Unit: __expectString(output.Unit),
|