@aws-sdk/client-opensearch 3.183.0 → 3.186.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 (65) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/OpenSearch.js +169 -162
  4. package/dist-es/OpenSearchClient.js +28 -22
  5. package/dist-es/commands/AcceptInboundConnectionCommand.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/CancelServiceSoftwareUpdateCommand.js +28 -21
  9. package/dist-es/commands/CreateDomainCommand.js +28 -21
  10. package/dist-es/commands/CreateOutboundConnectionCommand.js +28 -21
  11. package/dist-es/commands/CreatePackageCommand.js +28 -21
  12. package/dist-es/commands/DeleteDomainCommand.js +28 -21
  13. package/dist-es/commands/DeleteInboundConnectionCommand.js +28 -21
  14. package/dist-es/commands/DeleteOutboundConnectionCommand.js +28 -21
  15. package/dist-es/commands/DeletePackageCommand.js +28 -21
  16. package/dist-es/commands/DescribeDomainAutoTunesCommand.js +28 -21
  17. package/dist-es/commands/DescribeDomainChangeProgressCommand.js +28 -21
  18. package/dist-es/commands/DescribeDomainCommand.js +28 -21
  19. package/dist-es/commands/DescribeDomainConfigCommand.js +28 -21
  20. package/dist-es/commands/DescribeDomainsCommand.js +28 -21
  21. package/dist-es/commands/DescribeInboundConnectionsCommand.js +28 -21
  22. package/dist-es/commands/DescribeInstanceTypeLimitsCommand.js +28 -21
  23. package/dist-es/commands/DescribeOutboundConnectionsCommand.js +28 -21
  24. package/dist-es/commands/DescribePackagesCommand.js +28 -21
  25. package/dist-es/commands/DescribeReservedInstanceOfferingsCommand.js +28 -21
  26. package/dist-es/commands/DescribeReservedInstancesCommand.js +28 -21
  27. package/dist-es/commands/DissociatePackageCommand.js +28 -21
  28. package/dist-es/commands/GetCompatibleVersionsCommand.js +28 -21
  29. package/dist-es/commands/GetPackageVersionHistoryCommand.js +28 -21
  30. package/dist-es/commands/GetUpgradeHistoryCommand.js +28 -21
  31. package/dist-es/commands/GetUpgradeStatusCommand.js +28 -21
  32. package/dist-es/commands/ListDomainNamesCommand.js +28 -21
  33. package/dist-es/commands/ListDomainsForPackageCommand.js +28 -21
  34. package/dist-es/commands/ListInstanceTypeDetailsCommand.js +28 -21
  35. package/dist-es/commands/ListPackagesForDomainCommand.js +28 -21
  36. package/dist-es/commands/ListTagsCommand.js +28 -21
  37. package/dist-es/commands/ListVersionsCommand.js +28 -21
  38. package/dist-es/commands/PurchaseReservedInstanceOfferingCommand.js +28 -21
  39. package/dist-es/commands/RejectInboundConnectionCommand.js +28 -21
  40. package/dist-es/commands/RemoveTagsCommand.js +29 -22
  41. package/dist-es/commands/StartServiceSoftwareUpdateCommand.js +28 -21
  42. package/dist-es/commands/UpdateDomainConfigCommand.js +28 -21
  43. package/dist-es/commands/UpdatePackageCommand.js +28 -21
  44. package/dist-es/commands/UpgradeDomainCommand.js +28 -21
  45. package/dist-es/endpoints.js +8 -8
  46. package/dist-es/models/OpenSearchServiceException.js +10 -5
  47. package/dist-es/models/models_0.js +281 -597
  48. package/dist-es/pagination/DescribeDomainAutoTunesPaginator.js +68 -25
  49. package/dist-es/pagination/DescribeInboundConnectionsPaginator.js +68 -25
  50. package/dist-es/pagination/DescribeOutboundConnectionsPaginator.js +68 -25
  51. package/dist-es/pagination/DescribePackagesPaginator.js +68 -25
  52. package/dist-es/pagination/DescribeReservedInstanceOfferingsPaginator.js +68 -25
  53. package/dist-es/pagination/DescribeReservedInstancesPaginator.js +68 -25
  54. package/dist-es/pagination/GetPackageVersionHistoryPaginator.js +68 -25
  55. package/dist-es/pagination/GetUpgradeHistoryPaginator.js +68 -25
  56. package/dist-es/pagination/ListDomainsForPackagePaginator.js +68 -25
  57. package/dist-es/pagination/ListInstanceTypeDetailsPaginator.js +68 -25
  58. package/dist-es/pagination/ListPackagesForDomainPaginator.js +68 -25
  59. package/dist-es/pagination/ListVersionsPaginator.js +68 -25
  60. package/dist-es/protocols/Aws_restJson1.js +4322 -3200
  61. package/dist-es/runtimeConfig.browser.js +12 -26
  62. package/dist-es/runtimeConfig.js +12 -30
  63. package/dist-es/runtimeConfig.native.js +5 -8
  64. package/dist-es/runtimeConfig.shared.js +11 -8
  65. package/package.json +33 -33
@@ -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 { DeleteOutboundConnectionRequestFilterSensitiveLog, DeleteOutboundConnectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteOutboundConnectionCommand, serializeAws_restJson1DeleteOutboundConnectionCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteOutboundConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteOutboundConnectionCommand = (function (_super) {
7
+ __extends(DeleteOutboundConnectionCommand, _super);
8
+ function DeleteOutboundConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteOutboundConnectionCommand.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 = "OpenSearchClient";
15
- const commandName = "DeleteOutboundConnectionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OpenSearchClient";
18
+ var commandName = "DeleteOutboundConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteOutboundConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteOutboundConnectionResponseFilterSensitiveLog,
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
+ DeleteOutboundConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteOutboundConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteOutboundConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteOutboundConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteOutboundConnectionCommand;
38
+ }($Command));
39
+ export { DeleteOutboundConnectionCommand };
@@ -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 = "OpenSearchClient";
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 = "OpenSearchClient";
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 = "OpenSearchClient";
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 = "OpenSearchClient";
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 = "OpenSearchClient";
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 = "OpenSearchClient";
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 { DescribeDomainRequestFilterSensitiveLog, DescribeDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeDomainCommand, serializeAws_restJson1DescribeDomainCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDomainCommand = (function (_super) {
7
+ __extends(DescribeDomainCommand, _super);
8
+ function DescribeDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDomainCommand.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 = "OpenSearchClient";
15
- const commandName = "DescribeDomainCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OpenSearchClient";
18
+ var commandName = "DescribeDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDomainResponseFilterSensitiveLog,
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
+ DescribeDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDomainCommand;
38
+ }($Command));
39
+ export { DescribeDomainCommand };
@@ -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 { DescribeDomainConfigRequestFilterSensitiveLog, DescribeDomainConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeDomainConfigCommand, serializeAws_restJson1DescribeDomainConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeDomainConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDomainConfigCommand = (function (_super) {
7
+ __extends(DescribeDomainConfigCommand, _super);
8
+ function DescribeDomainConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDomainConfigCommand.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 = "OpenSearchClient";
15
- const commandName = "DescribeDomainConfigCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OpenSearchClient";
18
+ var commandName = "DescribeDomainConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDomainConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDomainConfigResponseFilterSensitiveLog,
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
+ DescribeDomainConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeDomainConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDomainConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeDomainConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDomainConfigCommand;
38
+ }($Command));
39
+ export { DescribeDomainConfigCommand };
@@ -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 { DescribeDomainsRequestFilterSensitiveLog, DescribeDomainsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeDomainsCommand, serializeAws_restJson1DescribeDomainsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeDomainsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDomainsCommand = (function (_super) {
7
+ __extends(DescribeDomainsCommand, _super);
8
+ function DescribeDomainsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDomainsCommand.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 = "OpenSearchClient";
15
- const commandName = "DescribeDomainsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OpenSearchClient";
18
+ var commandName = "DescribeDomainsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDomainsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDomainsResponseFilterSensitiveLog,
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
+ DescribeDomainsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeDomainsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDomainsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeDomainsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDomainsCommand;
38
+ }($Command));
39
+ export { DescribeDomainsCommand };
@@ -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 { DescribeInboundConnectionsRequestFilterSensitiveLog, DescribeInboundConnectionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeInboundConnectionsCommand, serializeAws_restJson1DescribeInboundConnectionsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeInboundConnectionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeInboundConnectionsCommand = (function (_super) {
7
+ __extends(DescribeInboundConnectionsCommand, _super);
8
+ function DescribeInboundConnectionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeInboundConnectionsCommand.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 = "OpenSearchClient";
15
- const commandName = "DescribeInboundConnectionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OpenSearchClient";
18
+ var commandName = "DescribeInboundConnectionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeInboundConnectionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeInboundConnectionsResponseFilterSensitiveLog,
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
+ DescribeInboundConnectionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeInboundConnectionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeInboundConnectionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeInboundConnectionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeInboundConnectionsCommand;
38
+ }($Command));
39
+ export { DescribeInboundConnectionsCommand };
@@ -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 { DescribeInstanceTypeLimitsRequestFilterSensitiveLog, DescribeInstanceTypeLimitsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeInstanceTypeLimitsCommand, serializeAws_restJson1DescribeInstanceTypeLimitsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeInstanceTypeLimitsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeInstanceTypeLimitsCommand = (function (_super) {
7
+ __extends(DescribeInstanceTypeLimitsCommand, _super);
8
+ function DescribeInstanceTypeLimitsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeInstanceTypeLimitsCommand.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 = "OpenSearchClient";
15
- const commandName = "DescribeInstanceTypeLimitsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OpenSearchClient";
18
+ var commandName = "DescribeInstanceTypeLimitsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeInstanceTypeLimitsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeInstanceTypeLimitsResponseFilterSensitiveLog,
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
+ DescribeInstanceTypeLimitsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeInstanceTypeLimitsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeInstanceTypeLimitsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeInstanceTypeLimitsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeInstanceTypeLimitsCommand;
38
+ }($Command));
39
+ export { DescribeInstanceTypeLimitsCommand };
@@ -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 { DescribeOutboundConnectionsRequestFilterSensitiveLog, DescribeOutboundConnectionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeOutboundConnectionsCommand, serializeAws_restJson1DescribeOutboundConnectionsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeOutboundConnectionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeOutboundConnectionsCommand = (function (_super) {
7
+ __extends(DescribeOutboundConnectionsCommand, _super);
8
+ function DescribeOutboundConnectionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeOutboundConnectionsCommand.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 = "OpenSearchClient";
15
- const commandName = "DescribeOutboundConnectionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OpenSearchClient";
18
+ var commandName = "DescribeOutboundConnectionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeOutboundConnectionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeOutboundConnectionsResponseFilterSensitiveLog,
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
+ DescribeOutboundConnectionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeOutboundConnectionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeOutboundConnectionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeOutboundConnectionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeOutboundConnectionsCommand;
38
+ }($Command));
39
+ export { DescribeOutboundConnectionsCommand };