@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,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class ElasticsearchServiceClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var ElasticsearchServiceClient = (function (_super) {
13
+ __extends(ElasticsearchServiceClient, _super);
14
+ function ElasticsearchServiceClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ ElasticsearchServiceClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return ElasticsearchServiceClient;
38
+ }(__Client));
39
+ export { ElasticsearchServiceClient };
@@ -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 { AcceptInboundCrossClusterSearchConnectionRequestFilterSensitiveLog, AcceptInboundCrossClusterSearchConnectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand, serializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
5
- export class AcceptInboundCrossClusterSearchConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AcceptInboundCrossClusterSearchConnectionCommand = (function (_super) {
7
+ __extends(AcceptInboundCrossClusterSearchConnectionCommand, _super);
8
+ function AcceptInboundCrossClusterSearchConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AcceptInboundCrossClusterSearchConnectionCommand.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 = "AcceptInboundCrossClusterSearchConnectionCommand";
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 = "AcceptInboundCrossClusterSearchConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AcceptInboundCrossClusterSearchConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AcceptInboundCrossClusterSearchConnectionResponseFilterSensitiveLog,
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
+ AcceptInboundCrossClusterSearchConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AcceptInboundCrossClusterSearchConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AcceptInboundCrossClusterSearchConnectionCommand;
38
+ }($Command));
39
+ export { AcceptInboundCrossClusterSearchConnectionCommand };
@@ -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 { AddTagsRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AddTagsCommand, serializeAws_restJson1AddTagsCommand, } from "../protocols/Aws_restJson1";
5
- export class AddTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddTagsCommand = (function (_super) {
7
+ __extends(AddTagsCommand, _super);
8
+ function AddTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddTagsCommand.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 = "AddTagsCommand";
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 = "AddTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddTagsRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ AddTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AddTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddTagsCommand;
38
+ }($Command));
39
+ export { AddTagsCommand };
@@ -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 { AssociatePackageRequestFilterSensitiveLog, AssociatePackageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociatePackageCommand, serializeAws_restJson1AssociatePackageCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociatePackageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociatePackageCommand = (function (_super) {
7
+ __extends(AssociatePackageCommand, _super);
8
+ function AssociatePackageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociatePackageCommand.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 = "AssociatePackageCommand";
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 = "AssociatePackageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociatePackageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociatePackageResponseFilterSensitiveLog,
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
+ AssociatePackageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociatePackageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociatePackageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociatePackageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociatePackageCommand;
38
+ }($Command));
39
+ export { AssociatePackageCommand };
@@ -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 { CancelElasticsearchServiceSoftwareUpdateRequestFilterSensitiveLog, CancelElasticsearchServiceSoftwareUpdateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand, serializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand, } from "../protocols/Aws_restJson1";
5
- export class CancelElasticsearchServiceSoftwareUpdateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelElasticsearchServiceSoftwareUpdateCommand = (function (_super) {
7
+ __extends(CancelElasticsearchServiceSoftwareUpdateCommand, _super);
8
+ function CancelElasticsearchServiceSoftwareUpdateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelElasticsearchServiceSoftwareUpdateCommand.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 = "CancelElasticsearchServiceSoftwareUpdateCommand";
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 = "CancelElasticsearchServiceSoftwareUpdateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelElasticsearchServiceSoftwareUpdateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelElasticsearchServiceSoftwareUpdateResponseFilterSensitiveLog,
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
+ CancelElasticsearchServiceSoftwareUpdateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelElasticsearchServiceSoftwareUpdateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelElasticsearchServiceSoftwareUpdateCommand;
38
+ }($Command));
39
+ export { CancelElasticsearchServiceSoftwareUpdateCommand };
@@ -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 { CreateElasticsearchDomainRequestFilterSensitiveLog, CreateElasticsearchDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateElasticsearchDomainCommand, serializeAws_restJson1CreateElasticsearchDomainCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateElasticsearchDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateElasticsearchDomainCommand = (function (_super) {
7
+ __extends(CreateElasticsearchDomainCommand, _super);
8
+ function CreateElasticsearchDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateElasticsearchDomainCommand.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 = "CreateElasticsearchDomainCommand";
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 = "CreateElasticsearchDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateElasticsearchDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateElasticsearchDomainResponseFilterSensitiveLog,
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
+ CreateElasticsearchDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateElasticsearchDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateElasticsearchDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateElasticsearchDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateElasticsearchDomainCommand;
38
+ }($Command));
39
+ export { CreateElasticsearchDomainCommand };
@@ -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 { CreateOutboundCrossClusterSearchConnectionRequestFilterSensitiveLog, CreateOutboundCrossClusterSearchConnectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand, serializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateOutboundCrossClusterSearchConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateOutboundCrossClusterSearchConnectionCommand = (function (_super) {
7
+ __extends(CreateOutboundCrossClusterSearchConnectionCommand, _super);
8
+ function CreateOutboundCrossClusterSearchConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateOutboundCrossClusterSearchConnectionCommand.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 = "CreateOutboundCrossClusterSearchConnectionCommand";
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 = "CreateOutboundCrossClusterSearchConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateOutboundCrossClusterSearchConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateOutboundCrossClusterSearchConnectionResponseFilterSensitiveLog,
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
+ CreateOutboundCrossClusterSearchConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateOutboundCrossClusterSearchConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateOutboundCrossClusterSearchConnectionCommand;
38
+ }($Command));
39
+ export { CreateOutboundCrossClusterSearchConnectionCommand };
@@ -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 { CreatePackageRequestFilterSensitiveLog, CreatePackageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreatePackageCommand, serializeAws_restJson1CreatePackageCommand, } from "../protocols/Aws_restJson1";
5
- export class CreatePackageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreatePackageCommand = (function (_super) {
7
+ __extends(CreatePackageCommand, _super);
8
+ function CreatePackageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePackageCommand.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 = "CreatePackageCommand";
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 = "CreatePackageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePackageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePackageResponseFilterSensitiveLog,
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
+ CreatePackageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreatePackageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePackageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreatePackageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePackageCommand;
38
+ }($Command));
39
+ export { CreatePackageCommand };
@@ -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 { DeleteElasticsearchDomainRequestFilterSensitiveLog, DeleteElasticsearchDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteElasticsearchDomainCommand, serializeAws_restJson1DeleteElasticsearchDomainCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteElasticsearchDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteElasticsearchDomainCommand = (function (_super) {
7
+ __extends(DeleteElasticsearchDomainCommand, _super);
8
+ function DeleteElasticsearchDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteElasticsearchDomainCommand.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 = "DeleteElasticsearchDomainCommand";
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 = "DeleteElasticsearchDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteElasticsearchDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteElasticsearchDomainResponseFilterSensitiveLog,
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
+ DeleteElasticsearchDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteElasticsearchDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteElasticsearchDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteElasticsearchDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteElasticsearchDomainCommand;
38
+ }($Command));
39
+ export { DeleteElasticsearchDomainCommand };
@@ -1,31 +1,38 @@
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 { deserializeAws_restJson1DeleteElasticsearchServiceRoleCommand, serializeAws_restJson1DeleteElasticsearchServiceRoleCommand, } from "../protocols/Aws_restJson1";
4
- export class DeleteElasticsearchServiceRoleCommand extends $Command {
5
- constructor(input) {
6
- super();
7
- this.input = input;
5
+ var DeleteElasticsearchServiceRoleCommand = (function (_super) {
6
+ __extends(DeleteElasticsearchServiceRoleCommand, _super);
7
+ function DeleteElasticsearchServiceRoleCommand(input) {
8
+ var _this = _super.call(this) || this;
9
+ _this.input = input;
10
+ return _this;
8
11
  }
9
- resolveMiddleware(clientStack, configuration, options) {
12
+ DeleteElasticsearchServiceRoleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
13
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
11
- const stack = clientStack.concat(this.middlewareStack);
12
- const { logger } = configuration;
13
- const clientName = "ElasticsearchServiceClient";
14
- const commandName = "DeleteElasticsearchServiceRoleCommand";
15
- const handlerExecutionContext = {
16
- logger,
17
- clientName,
18
- commandName,
19
- inputFilterSensitiveLog: (input) => input,
20
- outputFilterSensitiveLog: (output) => output,
14
+ var stack = clientStack.concat(this.middlewareStack);
15
+ var logger = configuration.logger;
16
+ var clientName = "ElasticsearchServiceClient";
17
+ var commandName = "DeleteElasticsearchServiceRoleCommand";
18
+ var handlerExecutionContext = {
19
+ logger: logger,
20
+ clientName: clientName,
21
+ commandName: commandName,
22
+ inputFilterSensitiveLog: function (input) { return input; },
23
+ outputFilterSensitiveLog: function (output) { return output; },
21
24
  };
22
- const { requestHandler } = configuration;
23
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
24
- }
25
- serialize(input, context) {
25
+ var requestHandler = configuration.requestHandler;
26
+ return stack.resolve(function (request) {
27
+ return requestHandler.handle(request.request, options || {});
28
+ }, handlerExecutionContext);
29
+ };
30
+ DeleteElasticsearchServiceRoleCommand.prototype.serialize = function (input, context) {
26
31
  return serializeAws_restJson1DeleteElasticsearchServiceRoleCommand(input, context);
27
- }
28
- deserialize(output, context) {
32
+ };
33
+ DeleteElasticsearchServiceRoleCommand.prototype.deserialize = function (output, context) {
29
34
  return deserializeAws_restJson1DeleteElasticsearchServiceRoleCommand(output, context);
30
- }
31
- }
35
+ };
36
+ return DeleteElasticsearchServiceRoleCommand;
37
+ }($Command));
38
+ export { DeleteElasticsearchServiceRoleCommand };