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