@aws-sdk/client-opensearch 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 (65) hide show
  1. package/CHANGELOG.md +11 -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 +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 { ListInstanceTypeDetailsRequestFilterSensitiveLog, ListInstanceTypeDetailsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListInstanceTypeDetailsCommand, serializeAws_restJson1ListInstanceTypeDetailsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListInstanceTypeDetailsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInstanceTypeDetailsCommand = (function (_super) {
7
+ __extends(ListInstanceTypeDetailsCommand, _super);
8
+ function ListInstanceTypeDetailsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInstanceTypeDetailsCommand.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 = "ListInstanceTypeDetailsCommand";
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 = "ListInstanceTypeDetailsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInstanceTypeDetailsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInstanceTypeDetailsResponseFilterSensitiveLog,
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
+ ListInstanceTypeDetailsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListInstanceTypeDetailsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInstanceTypeDetailsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListInstanceTypeDetailsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInstanceTypeDetailsCommand;
38
+ }($Command));
39
+ export { ListInstanceTypeDetailsCommand };
@@ -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 { ListPackagesForDomainRequestFilterSensitiveLog, ListPackagesForDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPackagesForDomainCommand, serializeAws_restJson1ListPackagesForDomainCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPackagesForDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPackagesForDomainCommand = (function (_super) {
7
+ __extends(ListPackagesForDomainCommand, _super);
8
+ function ListPackagesForDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPackagesForDomainCommand.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 = "ListPackagesForDomainCommand";
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 = "ListPackagesForDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPackagesForDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPackagesForDomainResponseFilterSensitiveLog,
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
+ ListPackagesForDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPackagesForDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPackagesForDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPackagesForDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPackagesForDomainCommand;
38
+ }($Command));
39
+ export { ListPackagesForDomainCommand };
@@ -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 { ListTagsRequestFilterSensitiveLog, ListTagsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsCommand, serializeAws_restJson1ListTagsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsCommand = (function (_super) {
7
+ __extends(ListTagsCommand, _super);
8
+ function ListTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsCommand.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 = "ListTagsCommand";
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 = "ListTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsResponseFilterSensitiveLog,
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
+ ListTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsCommand;
38
+ }($Command));
39
+ export { ListTagsCommand };
@@ -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 { ListVersionsRequestFilterSensitiveLog, ListVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListVersionsCommand, serializeAws_restJson1ListVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVersionsCommand = (function (_super) {
7
+ __extends(ListVersionsCommand, _super);
8
+ function ListVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVersionsCommand.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 = "ListVersionsCommand";
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 = "ListVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVersionsResponseFilterSensitiveLog,
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
+ ListVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVersionsCommand;
38
+ }($Command));
39
+ export { ListVersionsCommand };
@@ -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 { PurchaseReservedInstanceOfferingRequestFilterSensitiveLog, PurchaseReservedInstanceOfferingResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PurchaseReservedInstanceOfferingCommand, serializeAws_restJson1PurchaseReservedInstanceOfferingCommand, } from "../protocols/Aws_restJson1";
5
- export class PurchaseReservedInstanceOfferingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PurchaseReservedInstanceOfferingCommand = (function (_super) {
7
+ __extends(PurchaseReservedInstanceOfferingCommand, _super);
8
+ function PurchaseReservedInstanceOfferingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PurchaseReservedInstanceOfferingCommand.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 = "PurchaseReservedInstanceOfferingCommand";
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 = "PurchaseReservedInstanceOfferingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PurchaseReservedInstanceOfferingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PurchaseReservedInstanceOfferingResponseFilterSensitiveLog,
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
+ PurchaseReservedInstanceOfferingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PurchaseReservedInstanceOfferingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PurchaseReservedInstanceOfferingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PurchaseReservedInstanceOfferingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PurchaseReservedInstanceOfferingCommand;
38
+ }($Command));
39
+ export { PurchaseReservedInstanceOfferingCommand };
@@ -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 { RejectInboundConnectionRequestFilterSensitiveLog, RejectInboundConnectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RejectInboundConnectionCommand, serializeAws_restJson1RejectInboundConnectionCommand, } from "../protocols/Aws_restJson1";
5
- export class RejectInboundConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RejectInboundConnectionCommand = (function (_super) {
7
+ __extends(RejectInboundConnectionCommand, _super);
8
+ function RejectInboundConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RejectInboundConnectionCommand.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 = "RejectInboundConnectionCommand";
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 = "RejectInboundConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RejectInboundConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RejectInboundConnectionResponseFilterSensitiveLog,
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
+ RejectInboundConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RejectInboundConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RejectInboundConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RejectInboundConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RejectInboundConnectionCommand;
38
+ }($Command));
39
+ export { RejectInboundConnectionCommand };
@@ -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 { RemoveTagsRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RemoveTagsCommand, serializeAws_restJson1RemoveTagsCommand, } from "../protocols/Aws_restJson1";
5
- export class RemoveTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemoveTagsCommand = (function (_super) {
7
+ __extends(RemoveTagsCommand, _super);
8
+ function RemoveTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemoveTagsCommand.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 = "RemoveTagsCommand";
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 = "RemoveTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemoveTagsRequestFilterSensitiveLog,
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
+ RemoveTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RemoveTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemoveTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RemoveTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemoveTagsCommand;
38
+ }($Command));
39
+ export { RemoveTagsCommand };
@@ -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 { StartServiceSoftwareUpdateRequestFilterSensitiveLog, StartServiceSoftwareUpdateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartServiceSoftwareUpdateCommand, serializeAws_restJson1StartServiceSoftwareUpdateCommand, } from "../protocols/Aws_restJson1";
5
- export class StartServiceSoftwareUpdateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartServiceSoftwareUpdateCommand = (function (_super) {
7
+ __extends(StartServiceSoftwareUpdateCommand, _super);
8
+ function StartServiceSoftwareUpdateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartServiceSoftwareUpdateCommand.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 = "StartServiceSoftwareUpdateCommand";
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 = "StartServiceSoftwareUpdateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartServiceSoftwareUpdateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartServiceSoftwareUpdateResponseFilterSensitiveLog,
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
+ StartServiceSoftwareUpdateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartServiceSoftwareUpdateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartServiceSoftwareUpdateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartServiceSoftwareUpdateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartServiceSoftwareUpdateCommand;
38
+ }($Command));
39
+ export { StartServiceSoftwareUpdateCommand };
@@ -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 { UpdateDomainConfigRequestFilterSensitiveLog, UpdateDomainConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateDomainConfigCommand, serializeAws_restJson1UpdateDomainConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateDomainConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateDomainConfigCommand = (function (_super) {
7
+ __extends(UpdateDomainConfigCommand, _super);
8
+ function UpdateDomainConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateDomainConfigCommand.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 = "UpdateDomainConfigCommand";
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 = "UpdateDomainConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateDomainConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateDomainConfigResponseFilterSensitiveLog,
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
+ UpdateDomainConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateDomainConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateDomainConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateDomainConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateDomainConfigCommand;
38
+ }($Command));
39
+ export { UpdateDomainConfigCommand };
@@ -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 { UpdatePackageRequestFilterSensitiveLog, UpdatePackageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdatePackageCommand, serializeAws_restJson1UpdatePackageCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdatePackageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdatePackageCommand = (function (_super) {
7
+ __extends(UpdatePackageCommand, _super);
8
+ function UpdatePackageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdatePackageCommand.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 = "UpdatePackageCommand";
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 = "UpdatePackageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdatePackageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdatePackageResponseFilterSensitiveLog,
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
+ UpdatePackageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdatePackageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdatePackageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdatePackageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdatePackageCommand;
38
+ }($Command));
39
+ export { UpdatePackageCommand };