@aws-sdk/client-elasticsearch-service 3.927.0 → 3.929.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 +2542 -2459
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ElasticsearchServiceClient.js +2 -0
- package/dist-es/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +3 -9
- package/dist-es/commands/AddTagsCommand.js +3 -9
- package/dist-es/commands/AssociatePackageCommand.js +3 -9
- package/dist-es/commands/AuthorizeVpcEndpointAccessCommand.js +3 -9
- package/dist-es/commands/CancelDomainConfigChangeCommand.js +3 -9
- package/dist-es/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +3 -9
- package/dist-es/commands/CreateElasticsearchDomainCommand.js +3 -10
- package/dist-es/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +3 -9
- package/dist-es/commands/CreatePackageCommand.js +3 -9
- package/dist-es/commands/CreateVpcEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteElasticsearchDomainCommand.js +3 -9
- package/dist-es/commands/DeleteElasticsearchServiceRoleCommand.js +3 -9
- package/dist-es/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +3 -9
- package/dist-es/commands/DeletePackageCommand.js +3 -9
- package/dist-es/commands/DeleteVpcEndpointCommand.js +3 -9
- package/dist-es/commands/DescribeDomainAutoTunesCommand.js +3 -9
- package/dist-es/commands/DescribeDomainChangeProgressCommand.js +3 -9
- package/dist-es/commands/DescribeElasticsearchDomainCommand.js +3 -9
- package/dist-es/commands/DescribeElasticsearchDomainConfigCommand.js +3 -9
- package/dist-es/commands/DescribeElasticsearchDomainsCommand.js +3 -9
- package/dist-es/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +3 -9
- package/dist-es/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +3 -9
- package/dist-es/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +3 -9
- package/dist-es/commands/DescribePackagesCommand.js +3 -9
- package/dist-es/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +3 -9
- package/dist-es/commands/DescribeReservedElasticsearchInstancesCommand.js +3 -9
- package/dist-es/commands/DescribeVpcEndpointsCommand.js +3 -9
- package/dist-es/commands/DissociatePackageCommand.js +3 -9
- package/dist-es/commands/GetCompatibleElasticsearchVersionsCommand.js +3 -9
- package/dist-es/commands/GetPackageVersionHistoryCommand.js +3 -9
- package/dist-es/commands/GetUpgradeHistoryCommand.js +3 -9
- package/dist-es/commands/GetUpgradeStatusCommand.js +3 -9
- package/dist-es/commands/ListDomainNamesCommand.js +3 -9
- package/dist-es/commands/ListDomainsForPackageCommand.js +3 -9
- package/dist-es/commands/ListElasticsearchInstanceTypesCommand.js +3 -9
- package/dist-es/commands/ListElasticsearchVersionsCommand.js +3 -9
- package/dist-es/commands/ListPackagesForDomainCommand.js +3 -9
- package/dist-es/commands/ListTagsCommand.js +3 -9
- package/dist-es/commands/ListVpcEndpointAccessCommand.js +3 -9
- package/dist-es/commands/ListVpcEndpointsCommand.js +3 -9
- package/dist-es/commands/ListVpcEndpointsForDomainCommand.js +3 -9
- package/dist-es/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +3 -9
- package/dist-es/commands/RejectInboundCrossClusterSearchConnectionCommand.js +3 -9
- package/dist-es/commands/RemoveTagsCommand.js +3 -9
- package/dist-es/commands/RevokeVpcEndpointAccessCommand.js +3 -9
- package/dist-es/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +3 -9
- package/dist-es/commands/UpdateElasticsearchDomainConfigCommand.js +3 -10
- package/dist-es/commands/UpdatePackageCommand.js +3 -9
- package/dist-es/commands/UpdateVpcEndpointCommand.js +3 -9
- package/dist-es/commands/UpgradeElasticsearchDomainCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -27
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2432 -0
- package/dist-types/ElasticsearchServiceClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +288 -0
- package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -15
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +295 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -2054
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -461
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -617
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RevokeVpcEndpointAccess } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RevokeVpcEndpointAccessCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonElasticsearchService2015", "RevokeVpcEndpointAccess", {})
|
|
17
13
|
.n("ElasticsearchServiceClient", "RevokeVpcEndpointAccessCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RevokeVpcEndpointAccessCommand)
|
|
20
|
-
.de(de_RevokeVpcEndpointAccessCommand)
|
|
14
|
+
.sc(RevokeVpcEndpointAccess)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartElasticsearchServiceSoftwareUpdate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartElasticsearchServiceSoftwareUpdateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonElasticsearchService2015", "StartElasticsearchServiceSoftwareUpdate", {})
|
|
17
13
|
.n("ElasticsearchServiceClient", "StartElasticsearchServiceSoftwareUpdateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartElasticsearchServiceSoftwareUpdateCommand)
|
|
20
|
-
.de(de_StartElasticsearchServiceSoftwareUpdateCommand)
|
|
14
|
+
.sc(StartElasticsearchServiceSoftwareUpdate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateElasticsearchDomainConfigCommand, se_UpdateElasticsearchDomainConfigCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateElasticsearchDomainConfig } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateElasticsearchDomainConfigCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonElasticsearchService2015", "UpdateElasticsearchDomainConfig", {})
|
|
18
13
|
.n("ElasticsearchServiceClient", "UpdateElasticsearchDomainConfigCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateElasticsearchDomainConfigCommand)
|
|
21
|
-
.de(de_UpdateElasticsearchDomainConfigCommand)
|
|
14
|
+
.sc(UpdateElasticsearchDomainConfig)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePackage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePackageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonElasticsearchService2015", "UpdatePackage", {})
|
|
17
13
|
.n("ElasticsearchServiceClient", "UpdatePackageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePackageCommand)
|
|
20
|
-
.de(de_UpdatePackageCommand)
|
|
14
|
+
.sc(UpdatePackage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateVpcEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateVpcEndpointCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonElasticsearchService2015", "UpdateVpcEndpoint", {})
|
|
17
13
|
.n("ElasticsearchServiceClient", "UpdateVpcEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateVpcEndpointCommand)
|
|
20
|
-
.de(de_UpdateVpcEndpointCommand)
|
|
14
|
+
.sc(UpdateVpcEndpoint)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpgradeElasticsearchDomain } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpgradeElasticsearchDomainCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonElasticsearchService2015", "UpgradeElasticsearchDomain", {})
|
|
17
13
|
.n("ElasticsearchServiceClient", "UpgradeElasticsearchDomainCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpgradeElasticsearchDomainCommand)
|
|
20
|
-
.de(de_UpgradeElasticsearchDomainCommand)
|
|
14
|
+
.sc(UpgradeElasticsearchDomain)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ElasticsearchServiceServiceException as __BaseException } from "./ElasticsearchServiceServiceException";
|
|
3
2
|
export const InboundCrossClusterSearchConnectionStatusCode = {
|
|
4
3
|
APPROVED: "APPROVED",
|
|
@@ -372,29 +371,3 @@ export const EngineType = {
|
|
|
372
371
|
Elasticsearch: "Elasticsearch",
|
|
373
372
|
OpenSearch: "OpenSearch",
|
|
374
373
|
};
|
|
375
|
-
export const MasterUserOptionsFilterSensitiveLog = (obj) => ({
|
|
376
|
-
...obj,
|
|
377
|
-
...(obj.MasterUserName && { MasterUserName: SENSITIVE_STRING }),
|
|
378
|
-
...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
|
|
379
|
-
});
|
|
380
|
-
export const SAMLOptionsInputFilterSensitiveLog = (obj) => ({
|
|
381
|
-
...obj,
|
|
382
|
-
...(obj.MasterUserName && { MasterUserName: SENSITIVE_STRING }),
|
|
383
|
-
});
|
|
384
|
-
export const AdvancedSecurityOptionsInputFilterSensitiveLog = (obj) => ({
|
|
385
|
-
...obj,
|
|
386
|
-
...(obj.MasterUserOptions && { MasterUserOptions: MasterUserOptionsFilterSensitiveLog(obj.MasterUserOptions) }),
|
|
387
|
-
...(obj.SAMLOptions && { SAMLOptions: SAMLOptionsInputFilterSensitiveLog(obj.SAMLOptions) }),
|
|
388
|
-
});
|
|
389
|
-
export const CreateElasticsearchDomainRequestFilterSensitiveLog = (obj) => ({
|
|
390
|
-
...obj,
|
|
391
|
-
...(obj.AdvancedSecurityOptions && {
|
|
392
|
-
AdvancedSecurityOptions: AdvancedSecurityOptionsInputFilterSensitiveLog(obj.AdvancedSecurityOptions),
|
|
393
|
-
}),
|
|
394
|
-
});
|
|
395
|
-
export const UpdateElasticsearchDomainConfigRequestFilterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
...(obj.AdvancedSecurityOptions && {
|
|
398
|
-
AdvancedSecurityOptions: AdvancedSecurityOptionsInputFilterSensitiveLog(obj.AdvancedSecurityOptions),
|
|
399
|
-
}),
|
|
400
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.elasticsearchservice" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Elasticsearch Service",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|