@aws-sdk/client-elasticsearch-service 3.180.0 → 3.183.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 (66) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +47 -41
  3. package/dist-es/ElasticsearchService.js +166 -173
  4. package/dist-es/ElasticsearchServiceClient.js +22 -28
  5. package/dist-es/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +21 -28
  6. package/dist-es/commands/AddTagsCommand.js +22 -29
  7. package/dist-es/commands/AssociatePackageCommand.js +21 -28
  8. package/dist-es/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +21 -28
  9. package/dist-es/commands/CreateElasticsearchDomainCommand.js +21 -28
  10. package/dist-es/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +21 -28
  11. package/dist-es/commands/CreatePackageCommand.js +21 -28
  12. package/dist-es/commands/DeleteElasticsearchDomainCommand.js +21 -28
  13. package/dist-es/commands/DeleteElasticsearchServiceRoleCommand.js +23 -30
  14. package/dist-es/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +21 -28
  15. package/dist-es/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +21 -28
  16. package/dist-es/commands/DeletePackageCommand.js +21 -28
  17. package/dist-es/commands/DescribeDomainAutoTunesCommand.js +21 -28
  18. package/dist-es/commands/DescribeDomainChangeProgressCommand.js +21 -28
  19. package/dist-es/commands/DescribeElasticsearchDomainCommand.js +21 -28
  20. package/dist-es/commands/DescribeElasticsearchDomainConfigCommand.js +21 -28
  21. package/dist-es/commands/DescribeElasticsearchDomainsCommand.js +21 -28
  22. package/dist-es/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +21 -28
  23. package/dist-es/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +21 -28
  24. package/dist-es/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +21 -28
  25. package/dist-es/commands/DescribePackagesCommand.js +21 -28
  26. package/dist-es/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +21 -28
  27. package/dist-es/commands/DescribeReservedElasticsearchInstancesCommand.js +21 -28
  28. package/dist-es/commands/DissociatePackageCommand.js +21 -28
  29. package/dist-es/commands/GetCompatibleElasticsearchVersionsCommand.js +21 -28
  30. package/dist-es/commands/GetPackageVersionHistoryCommand.js +21 -28
  31. package/dist-es/commands/GetUpgradeHistoryCommand.js +21 -28
  32. package/dist-es/commands/GetUpgradeStatusCommand.js +21 -28
  33. package/dist-es/commands/ListDomainNamesCommand.js +21 -28
  34. package/dist-es/commands/ListDomainsForPackageCommand.js +21 -28
  35. package/dist-es/commands/ListElasticsearchInstanceTypesCommand.js +21 -28
  36. package/dist-es/commands/ListElasticsearchVersionsCommand.js +21 -28
  37. package/dist-es/commands/ListPackagesForDomainCommand.js +21 -28
  38. package/dist-es/commands/ListTagsCommand.js +21 -28
  39. package/dist-es/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +21 -28
  40. package/dist-es/commands/RejectInboundCrossClusterSearchConnectionCommand.js +21 -28
  41. package/dist-es/commands/RemoveTagsCommand.js +22 -29
  42. package/dist-es/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +21 -28
  43. package/dist-es/commands/UpdateElasticsearchDomainConfigCommand.js +21 -28
  44. package/dist-es/commands/UpdatePackageCommand.js +21 -28
  45. package/dist-es/commands/UpgradeElasticsearchDomainCommand.js +21 -28
  46. package/dist-es/endpoints.js +8 -8
  47. package/dist-es/models/ElasticsearchServiceServiceException.js +5 -10
  48. package/dist-es/models/models_0.js +591 -279
  49. package/dist-es/pagination/DescribeDomainAutoTunesPaginator.js +25 -68
  50. package/dist-es/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js +25 -68
  51. package/dist-es/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js +25 -68
  52. package/dist-es/pagination/DescribePackagesPaginator.js +25 -68
  53. package/dist-es/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js +25 -68
  54. package/dist-es/pagination/DescribeReservedElasticsearchInstancesPaginator.js +25 -68
  55. package/dist-es/pagination/GetPackageVersionHistoryPaginator.js +25 -68
  56. package/dist-es/pagination/GetUpgradeHistoryPaginator.js +25 -68
  57. package/dist-es/pagination/ListDomainsForPackagePaginator.js +25 -68
  58. package/dist-es/pagination/ListElasticsearchInstanceTypesPaginator.js +25 -68
  59. package/dist-es/pagination/ListElasticsearchVersionsPaginator.js +25 -68
  60. package/dist-es/pagination/ListPackagesForDomainPaginator.js +25 -68
  61. package/dist-es/protocols/Aws_restJson1.js +3228 -4369
  62. package/dist-es/runtimeConfig.browser.js +26 -12
  63. package/dist-es/runtimeConfig.js +30 -12
  64. package/dist-es/runtimeConfig.native.js +8 -5
  65. package/dist-es/runtimeConfig.shared.js +8 -11
  66. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteInboundCrossClusterSearchConnectionRequestFilterSensitiveLog, DeleteInboundCrossClusterSearchConnectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteInboundCrossClusterSearchConnectionCommand, serializeAws_restJson1DeleteInboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteInboundCrossClusterSearchConnectionCommand = (function (_super) {
7
- __extends(DeleteInboundCrossClusterSearchConnectionCommand, _super);
8
- function DeleteInboundCrossClusterSearchConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteInboundCrossClusterSearchConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteInboundCrossClusterSearchConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DeleteInboundCrossClusterSearchConnectionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DeleteInboundCrossClusterSearchConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteInboundCrossClusterSearchConnectionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteInboundCrossClusterSearchConnectionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteInboundCrossClusterSearchConnectionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteInboundCrossClusterSearchConnectionCommand(input, context);
33
- };
34
- DeleteInboundCrossClusterSearchConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteInboundCrossClusterSearchConnectionCommand(output, context);
36
- };
37
- return DeleteInboundCrossClusterSearchConnectionCommand;
38
- }($Command));
39
- export { DeleteInboundCrossClusterSearchConnectionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteOutboundCrossClusterSearchConnectionRequestFilterSensitiveLog, DeleteOutboundCrossClusterSearchConnectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand, serializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteOutboundCrossClusterSearchConnectionCommand = (function (_super) {
7
- __extends(DeleteOutboundCrossClusterSearchConnectionCommand, _super);
8
- function DeleteOutboundCrossClusterSearchConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteOutboundCrossClusterSearchConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteOutboundCrossClusterSearchConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DeleteOutboundCrossClusterSearchConnectionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DeleteOutboundCrossClusterSearchConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteOutboundCrossClusterSearchConnectionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteOutboundCrossClusterSearchConnectionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteOutboundCrossClusterSearchConnectionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand(input, context);
33
- };
34
- DeleteOutboundCrossClusterSearchConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand(output, context);
36
- };
37
- return DeleteOutboundCrossClusterSearchConnectionCommand;
38
- }($Command));
39
- export { DeleteOutboundCrossClusterSearchConnectionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeletePackageRequestFilterSensitiveLog, DeletePackageResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeletePackageCommand, serializeAws_restJson1DeletePackageCommand, } from "../protocols/Aws_restJson1";
6
- var DeletePackageCommand = (function (_super) {
7
- __extends(DeletePackageCommand, _super);
8
- function DeletePackageCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeletePackageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePackageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DeletePackageCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DeletePackageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePackageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePackageResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeletePackageCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeletePackageCommand(input, context);
33
- };
34
- DeletePackageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeletePackageCommand(output, context);
36
- };
37
- return DeletePackageCommand;
38
- }($Command));
39
- export { DeletePackageCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeDomainAutoTunesRequestFilterSensitiveLog, DescribeDomainAutoTunesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeDomainAutoTunesCommand, serializeAws_restJson1DescribeDomainAutoTunesCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeDomainAutoTunesCommand = (function (_super) {
7
- __extends(DescribeDomainAutoTunesCommand, _super);
8
- function DescribeDomainAutoTunesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDomainAutoTunesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDomainAutoTunesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DescribeDomainAutoTunesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DescribeDomainAutoTunesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDomainAutoTunesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDomainAutoTunesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDomainAutoTunesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeDomainAutoTunesCommand(input, context);
33
- };
34
- DescribeDomainAutoTunesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeDomainAutoTunesCommand(output, context);
36
- };
37
- return DescribeDomainAutoTunesCommand;
38
- }($Command));
39
- export { DescribeDomainAutoTunesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeDomainChangeProgressRequestFilterSensitiveLog, DescribeDomainChangeProgressResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeDomainChangeProgressCommand, serializeAws_restJson1DescribeDomainChangeProgressCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeDomainChangeProgressCommand = (function (_super) {
7
- __extends(DescribeDomainChangeProgressCommand, _super);
8
- function DescribeDomainChangeProgressCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDomainChangeProgressCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDomainChangeProgressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DescribeDomainChangeProgressCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DescribeDomainChangeProgressCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDomainChangeProgressRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDomainChangeProgressResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDomainChangeProgressCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeDomainChangeProgressCommand(input, context);
33
- };
34
- DescribeDomainChangeProgressCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeDomainChangeProgressCommand(output, context);
36
- };
37
- return DescribeDomainChangeProgressCommand;
38
- }($Command));
39
- export { DescribeDomainChangeProgressCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeElasticsearchDomainRequestFilterSensitiveLog, DescribeElasticsearchDomainResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeElasticsearchDomainCommand, serializeAws_restJson1DescribeElasticsearchDomainCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeElasticsearchDomainCommand = (function (_super) {
7
- __extends(DescribeElasticsearchDomainCommand, _super);
8
- function DescribeElasticsearchDomainCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeElasticsearchDomainCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeElasticsearchDomainCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DescribeElasticsearchDomainCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DescribeElasticsearchDomainCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeElasticsearchDomainRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeElasticsearchDomainResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeElasticsearchDomainCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeElasticsearchDomainCommand(input, context);
33
- };
34
- DescribeElasticsearchDomainCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeElasticsearchDomainCommand(output, context);
36
- };
37
- return DescribeElasticsearchDomainCommand;
38
- }($Command));
39
- export { DescribeElasticsearchDomainCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeElasticsearchDomainConfigRequestFilterSensitiveLog, DescribeElasticsearchDomainConfigResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeElasticsearchDomainConfigCommand, serializeAws_restJson1DescribeElasticsearchDomainConfigCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeElasticsearchDomainConfigCommand = (function (_super) {
7
- __extends(DescribeElasticsearchDomainConfigCommand, _super);
8
- function DescribeElasticsearchDomainConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeElasticsearchDomainConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeElasticsearchDomainConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DescribeElasticsearchDomainConfigCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DescribeElasticsearchDomainConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeElasticsearchDomainConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeElasticsearchDomainConfigResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeElasticsearchDomainConfigCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeElasticsearchDomainConfigCommand(input, context);
33
- };
34
- DescribeElasticsearchDomainConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeElasticsearchDomainConfigCommand(output, context);
36
- };
37
- return DescribeElasticsearchDomainConfigCommand;
38
- }($Command));
39
- export { DescribeElasticsearchDomainConfigCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeElasticsearchDomainsRequestFilterSensitiveLog, DescribeElasticsearchDomainsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeElasticsearchDomainsCommand, serializeAws_restJson1DescribeElasticsearchDomainsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeElasticsearchDomainsCommand = (function (_super) {
7
- __extends(DescribeElasticsearchDomainsCommand, _super);
8
- function DescribeElasticsearchDomainsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeElasticsearchDomainsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeElasticsearchDomainsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DescribeElasticsearchDomainsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DescribeElasticsearchDomainsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeElasticsearchDomainsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeElasticsearchDomainsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeElasticsearchDomainsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeElasticsearchDomainsCommand(input, context);
33
- };
34
- DescribeElasticsearchDomainsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeElasticsearchDomainsCommand(output, context);
36
- };
37
- return DescribeElasticsearchDomainsCommand;
38
- }($Command));
39
- export { DescribeElasticsearchDomainsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeElasticsearchInstanceTypeLimitsRequestFilterSensitiveLog, DescribeElasticsearchInstanceTypeLimitsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand, serializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeElasticsearchInstanceTypeLimitsCommand = (function (_super) {
7
- __extends(DescribeElasticsearchInstanceTypeLimitsCommand, _super);
8
- function DescribeElasticsearchInstanceTypeLimitsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeElasticsearchInstanceTypeLimitsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeElasticsearchInstanceTypeLimitsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DescribeElasticsearchInstanceTypeLimitsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DescribeElasticsearchInstanceTypeLimitsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeElasticsearchInstanceTypeLimitsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeElasticsearchInstanceTypeLimitsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeElasticsearchInstanceTypeLimitsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand(input, context);
33
- };
34
- DescribeElasticsearchInstanceTypeLimitsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand(output, context);
36
- };
37
- return DescribeElasticsearchInstanceTypeLimitsCommand;
38
- }($Command));
39
- export { DescribeElasticsearchInstanceTypeLimitsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeInboundCrossClusterSearchConnectionsRequestFilterSensitiveLog, DescribeInboundCrossClusterSearchConnectionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCommand, serializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeInboundCrossClusterSearchConnectionsCommand = (function (_super) {
7
- __extends(DescribeInboundCrossClusterSearchConnectionsCommand, _super);
8
- function DescribeInboundCrossClusterSearchConnectionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInboundCrossClusterSearchConnectionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInboundCrossClusterSearchConnectionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticsearchServiceClient";
18
- var commandName = "DescribeInboundCrossClusterSearchConnectionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticsearchServiceClient";
15
+ const commandName = "DescribeInboundCrossClusterSearchConnectionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInboundCrossClusterSearchConnectionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInboundCrossClusterSearchConnectionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInboundCrossClusterSearchConnectionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCommand(input, context);
33
- };
34
- DescribeInboundCrossClusterSearchConnectionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCommand(output, context);
36
- };
37
- return DescribeInboundCrossClusterSearchConnectionsCommand;
38
- }($Command));
39
- export { DescribeInboundCrossClusterSearchConnectionsCommand };
31
+ }
32
+ }