@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.
Files changed (75) hide show
  1. package/dist-cjs/index.js +2542 -2459
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ElasticsearchServiceClient.js +2 -0
  4. package/dist-es/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +3 -9
  5. package/dist-es/commands/AddTagsCommand.js +3 -9
  6. package/dist-es/commands/AssociatePackageCommand.js +3 -9
  7. package/dist-es/commands/AuthorizeVpcEndpointAccessCommand.js +3 -9
  8. package/dist-es/commands/CancelDomainConfigChangeCommand.js +3 -9
  9. package/dist-es/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +3 -9
  10. package/dist-es/commands/CreateElasticsearchDomainCommand.js +3 -10
  11. package/dist-es/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +3 -9
  12. package/dist-es/commands/CreatePackageCommand.js +3 -9
  13. package/dist-es/commands/CreateVpcEndpointCommand.js +3 -9
  14. package/dist-es/commands/DeleteElasticsearchDomainCommand.js +3 -9
  15. package/dist-es/commands/DeleteElasticsearchServiceRoleCommand.js +3 -9
  16. package/dist-es/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +3 -9
  17. package/dist-es/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +3 -9
  18. package/dist-es/commands/DeletePackageCommand.js +3 -9
  19. package/dist-es/commands/DeleteVpcEndpointCommand.js +3 -9
  20. package/dist-es/commands/DescribeDomainAutoTunesCommand.js +3 -9
  21. package/dist-es/commands/DescribeDomainChangeProgressCommand.js +3 -9
  22. package/dist-es/commands/DescribeElasticsearchDomainCommand.js +3 -9
  23. package/dist-es/commands/DescribeElasticsearchDomainConfigCommand.js +3 -9
  24. package/dist-es/commands/DescribeElasticsearchDomainsCommand.js +3 -9
  25. package/dist-es/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +3 -9
  26. package/dist-es/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +3 -9
  27. package/dist-es/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +3 -9
  28. package/dist-es/commands/DescribePackagesCommand.js +3 -9
  29. package/dist-es/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +3 -9
  30. package/dist-es/commands/DescribeReservedElasticsearchInstancesCommand.js +3 -9
  31. package/dist-es/commands/DescribeVpcEndpointsCommand.js +3 -9
  32. package/dist-es/commands/DissociatePackageCommand.js +3 -9
  33. package/dist-es/commands/GetCompatibleElasticsearchVersionsCommand.js +3 -9
  34. package/dist-es/commands/GetPackageVersionHistoryCommand.js +3 -9
  35. package/dist-es/commands/GetUpgradeHistoryCommand.js +3 -9
  36. package/dist-es/commands/GetUpgradeStatusCommand.js +3 -9
  37. package/dist-es/commands/ListDomainNamesCommand.js +3 -9
  38. package/dist-es/commands/ListDomainsForPackageCommand.js +3 -9
  39. package/dist-es/commands/ListElasticsearchInstanceTypesCommand.js +3 -9
  40. package/dist-es/commands/ListElasticsearchVersionsCommand.js +3 -9
  41. package/dist-es/commands/ListPackagesForDomainCommand.js +3 -9
  42. package/dist-es/commands/ListTagsCommand.js +3 -9
  43. package/dist-es/commands/ListVpcEndpointAccessCommand.js +3 -9
  44. package/dist-es/commands/ListVpcEndpointsCommand.js +3 -9
  45. package/dist-es/commands/ListVpcEndpointsForDomainCommand.js +3 -9
  46. package/dist-es/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +3 -9
  47. package/dist-es/commands/RejectInboundCrossClusterSearchConnectionCommand.js +3 -9
  48. package/dist-es/commands/RemoveTagsCommand.js +3 -9
  49. package/dist-es/commands/RevokeVpcEndpointAccessCommand.js +3 -9
  50. package/dist-es/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +3 -9
  51. package/dist-es/commands/UpdateElasticsearchDomainConfigCommand.js +3 -10
  52. package/dist-es/commands/UpdatePackageCommand.js +3 -9
  53. package/dist-es/commands/UpdateVpcEndpointCommand.js +3 -9
  54. package/dist-es/commands/UpgradeElasticsearchDomainCommand.js +3 -9
  55. package/dist-es/models/models_0.js +0 -27
  56. package/dist-es/runtimeConfig.shared.js +2 -0
  57. package/dist-es/schemas/schemas_0.js +2432 -0
  58. package/dist-types/ElasticsearchServiceClient.d.ts +10 -1
  59. package/dist-types/models/models_0.d.ts +0 -20
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  61. package/dist-types/runtimeConfig.d.ts +1 -0
  62. package/dist-types/runtimeConfig.native.d.ts +1 -0
  63. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/schemas/schemas_0.d.ts +288 -0
  65. package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +4 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +0 -15
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  71. package/dist-types/ts3.4/schemas/schemas_0.d.ts +295 -0
  72. package/package.json +5 -5
  73. package/dist-es/protocols/Aws_restJson1.js +0 -2054
  74. package/dist-types/protocols/Aws_restJson1.d.ts +0 -461
  75. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -617
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.elasticsearchservice" }),
28
30
  serviceId: config?.serviceId ?? "Elasticsearch Service",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ElasticsearchServiceClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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 { de_AcceptInboundCrossClusterSearchConnectionCommand, se_AcceptInboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
4
+ import { AcceptInboundCrossClusterSearchConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AcceptInboundCrossClusterSearchConnectionCommand 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", "AcceptInboundCrossClusterSearchConnection", {})
17
13
  .n("ElasticsearchServiceClient", "AcceptInboundCrossClusterSearchConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AcceptInboundCrossClusterSearchConnectionCommand)
20
- .de(de_AcceptInboundCrossClusterSearchConnectionCommand)
14
+ .sc(AcceptInboundCrossClusterSearchConnection)
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 { de_AddTagsCommand, se_AddTagsCommand } from "../protocols/Aws_restJson1";
4
+ import { AddTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddTagsCommand 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", "AddTags", {})
17
13
  .n("ElasticsearchServiceClient", "AddTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddTagsCommand)
20
- .de(de_AddTagsCommand)
14
+ .sc(AddTags)
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 { de_AssociatePackageCommand, se_AssociatePackageCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociatePackage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociatePackageCommand 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", "AssociatePackage", {})
17
13
  .n("ElasticsearchServiceClient", "AssociatePackageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociatePackageCommand)
20
- .de(de_AssociatePackageCommand)
14
+ .sc(AssociatePackage)
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 { de_AuthorizeVpcEndpointAccessCommand, se_AuthorizeVpcEndpointAccessCommand } from "../protocols/Aws_restJson1";
4
+ import { AuthorizeVpcEndpointAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AuthorizeVpcEndpointAccessCommand 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", "AuthorizeVpcEndpointAccess", {})
17
13
  .n("ElasticsearchServiceClient", "AuthorizeVpcEndpointAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AuthorizeVpcEndpointAccessCommand)
20
- .de(de_AuthorizeVpcEndpointAccessCommand)
14
+ .sc(AuthorizeVpcEndpointAccess)
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 { de_CancelDomainConfigChangeCommand, se_CancelDomainConfigChangeCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelDomainConfigChange } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelDomainConfigChangeCommand 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", "CancelDomainConfigChange", {})
17
13
  .n("ElasticsearchServiceClient", "CancelDomainConfigChangeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelDomainConfigChangeCommand)
20
- .de(de_CancelDomainConfigChangeCommand)
14
+ .sc(CancelDomainConfigChange)
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 { de_CancelElasticsearchServiceSoftwareUpdateCommand, se_CancelElasticsearchServiceSoftwareUpdateCommand, } from "../protocols/Aws_restJson1";
4
+ import { CancelElasticsearchServiceSoftwareUpdate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelElasticsearchServiceSoftwareUpdateCommand 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", "CancelElasticsearchServiceSoftwareUpdate", {})
17
13
  .n("ElasticsearchServiceClient", "CancelElasticsearchServiceSoftwareUpdateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelElasticsearchServiceSoftwareUpdateCommand)
20
- .de(de_CancelElasticsearchServiceSoftwareUpdateCommand)
14
+ .sc(CancelElasticsearchServiceSoftwareUpdate)
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 { CreateElasticsearchDomainRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateElasticsearchDomainCommand, se_CreateElasticsearchDomainCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateElasticsearchDomain } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateElasticsearchDomainCommand 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", "CreateElasticsearchDomain", {})
18
13
  .n("ElasticsearchServiceClient", "CreateElasticsearchDomainCommand")
19
- .f(CreateElasticsearchDomainRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateElasticsearchDomainCommand)
21
- .de(de_CreateElasticsearchDomainCommand)
14
+ .sc(CreateElasticsearchDomain)
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 { de_CreateOutboundCrossClusterSearchConnectionCommand, se_CreateOutboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateOutboundCrossClusterSearchConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateOutboundCrossClusterSearchConnectionCommand 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", "CreateOutboundCrossClusterSearchConnection", {})
17
13
  .n("ElasticsearchServiceClient", "CreateOutboundCrossClusterSearchConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateOutboundCrossClusterSearchConnectionCommand)
20
- .de(de_CreateOutboundCrossClusterSearchConnectionCommand)
14
+ .sc(CreateOutboundCrossClusterSearchConnection)
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 { de_CreatePackageCommand, se_CreatePackageCommand } from "../protocols/Aws_restJson1";
4
+ import { CreatePackage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePackageCommand 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", "CreatePackage", {})
17
13
  .n("ElasticsearchServiceClient", "CreatePackageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePackageCommand)
20
- .de(de_CreatePackageCommand)
14
+ .sc(CreatePackage)
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 { de_CreateVpcEndpointCommand, se_CreateVpcEndpointCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateVpcEndpoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateVpcEndpointCommand 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", "CreateVpcEndpoint", {})
17
13
  .n("ElasticsearchServiceClient", "CreateVpcEndpointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateVpcEndpointCommand)
20
- .de(de_CreateVpcEndpointCommand)
14
+ .sc(CreateVpcEndpoint)
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 { de_DeleteElasticsearchDomainCommand, se_DeleteElasticsearchDomainCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteElasticsearchDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteElasticsearchDomainCommand 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", "DeleteElasticsearchDomain", {})
17
13
  .n("ElasticsearchServiceClient", "DeleteElasticsearchDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteElasticsearchDomainCommand)
20
- .de(de_DeleteElasticsearchDomainCommand)
14
+ .sc(DeleteElasticsearchDomain)
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 { de_DeleteElasticsearchServiceRoleCommand, se_DeleteElasticsearchServiceRoleCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteElasticsearchServiceRole } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteElasticsearchServiceRoleCommand 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", "DeleteElasticsearchServiceRole", {})
17
13
  .n("ElasticsearchServiceClient", "DeleteElasticsearchServiceRoleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteElasticsearchServiceRoleCommand)
20
- .de(de_DeleteElasticsearchServiceRoleCommand)
14
+ .sc(DeleteElasticsearchServiceRole)
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 { de_DeleteInboundCrossClusterSearchConnectionCommand, se_DeleteInboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteInboundCrossClusterSearchConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteInboundCrossClusterSearchConnectionCommand 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", "DeleteInboundCrossClusterSearchConnection", {})
17
13
  .n("ElasticsearchServiceClient", "DeleteInboundCrossClusterSearchConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteInboundCrossClusterSearchConnectionCommand)
20
- .de(de_DeleteInboundCrossClusterSearchConnectionCommand)
14
+ .sc(DeleteInboundCrossClusterSearchConnection)
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 { de_DeleteOutboundCrossClusterSearchConnectionCommand, se_DeleteOutboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteOutboundCrossClusterSearchConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteOutboundCrossClusterSearchConnectionCommand 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", "DeleteOutboundCrossClusterSearchConnection", {})
17
13
  .n("ElasticsearchServiceClient", "DeleteOutboundCrossClusterSearchConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteOutboundCrossClusterSearchConnectionCommand)
20
- .de(de_DeleteOutboundCrossClusterSearchConnectionCommand)
14
+ .sc(DeleteOutboundCrossClusterSearchConnection)
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 { de_DeletePackageCommand, se_DeletePackageCommand } from "../protocols/Aws_restJson1";
4
+ import { DeletePackage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePackageCommand 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", "DeletePackage", {})
17
13
  .n("ElasticsearchServiceClient", "DeletePackageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePackageCommand)
20
- .de(de_DeletePackageCommand)
14
+ .sc(DeletePackage)
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 { de_DeleteVpcEndpointCommand, se_DeleteVpcEndpointCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteVpcEndpoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteVpcEndpointCommand 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", "DeleteVpcEndpoint", {})
17
13
  .n("ElasticsearchServiceClient", "DeleteVpcEndpointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteVpcEndpointCommand)
20
- .de(de_DeleteVpcEndpointCommand)
14
+ .sc(DeleteVpcEndpoint)
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 { de_DescribeDomainAutoTunesCommand, se_DescribeDomainAutoTunesCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeDomainAutoTunes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeDomainAutoTunesCommand 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", "DescribeDomainAutoTunes", {})
17
13
  .n("ElasticsearchServiceClient", "DescribeDomainAutoTunesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeDomainAutoTunesCommand)
20
- .de(de_DescribeDomainAutoTunesCommand)
14
+ .sc(DescribeDomainAutoTunes)
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 { de_DescribeDomainChangeProgressCommand, se_DescribeDomainChangeProgressCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeDomainChangeProgress } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeDomainChangeProgressCommand 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", "DescribeDomainChangeProgress", {})
17
13
  .n("ElasticsearchServiceClient", "DescribeDomainChangeProgressCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeDomainChangeProgressCommand)
20
- .de(de_DescribeDomainChangeProgressCommand)
14
+ .sc(DescribeDomainChangeProgress)
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 { de_DescribeElasticsearchDomainCommand, se_DescribeElasticsearchDomainCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeElasticsearchDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeElasticsearchDomainCommand 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", "DescribeElasticsearchDomain", {})
17
13
  .n("ElasticsearchServiceClient", "DescribeElasticsearchDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeElasticsearchDomainCommand)
20
- .de(de_DescribeElasticsearchDomainCommand)
14
+ .sc(DescribeElasticsearchDomain)
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 { de_DescribeElasticsearchDomainConfigCommand, se_DescribeElasticsearchDomainConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeElasticsearchDomainConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeElasticsearchDomainConfigCommand 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", "DescribeElasticsearchDomainConfig", {})
17
13
  .n("ElasticsearchServiceClient", "DescribeElasticsearchDomainConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeElasticsearchDomainConfigCommand)
20
- .de(de_DescribeElasticsearchDomainConfigCommand)
14
+ .sc(DescribeElasticsearchDomainConfig)
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 { de_DescribeElasticsearchDomainsCommand, se_DescribeElasticsearchDomainsCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeElasticsearchDomains } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeElasticsearchDomainsCommand 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", "DescribeElasticsearchDomains", {})
17
13
  .n("ElasticsearchServiceClient", "DescribeElasticsearchDomainsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeElasticsearchDomainsCommand)
20
- .de(de_DescribeElasticsearchDomainsCommand)
14
+ .sc(DescribeElasticsearchDomains)
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 { de_DescribeElasticsearchInstanceTypeLimitsCommand, se_DescribeElasticsearchInstanceTypeLimitsCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeElasticsearchInstanceTypeLimits } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeElasticsearchInstanceTypeLimitsCommand 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", "DescribeElasticsearchInstanceTypeLimits", {})
17
13
  .n("ElasticsearchServiceClient", "DescribeElasticsearchInstanceTypeLimitsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeElasticsearchInstanceTypeLimitsCommand)
20
- .de(de_DescribeElasticsearchInstanceTypeLimitsCommand)
14
+ .sc(DescribeElasticsearchInstanceTypeLimits)
21
15
  .build() {
22
16
  }