@aws-sdk/client-app-mesh 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 (59) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/AppMesh.js +161 -154
  4. package/dist-es/AppMeshClient.js +28 -22
  5. package/dist-es/commands/CreateGatewayRouteCommand.js +28 -21
  6. package/dist-es/commands/CreateMeshCommand.js +28 -21
  7. package/dist-es/commands/CreateRouteCommand.js +28 -21
  8. package/dist-es/commands/CreateVirtualGatewayCommand.js +28 -21
  9. package/dist-es/commands/CreateVirtualNodeCommand.js +28 -21
  10. package/dist-es/commands/CreateVirtualRouterCommand.js +28 -21
  11. package/dist-es/commands/CreateVirtualServiceCommand.js +28 -21
  12. package/dist-es/commands/DeleteGatewayRouteCommand.js +28 -21
  13. package/dist-es/commands/DeleteMeshCommand.js +28 -21
  14. package/dist-es/commands/DeleteRouteCommand.js +28 -21
  15. package/dist-es/commands/DeleteVirtualGatewayCommand.js +28 -21
  16. package/dist-es/commands/DeleteVirtualNodeCommand.js +28 -21
  17. package/dist-es/commands/DeleteVirtualRouterCommand.js +28 -21
  18. package/dist-es/commands/DeleteVirtualServiceCommand.js +28 -21
  19. package/dist-es/commands/DescribeGatewayRouteCommand.js +28 -21
  20. package/dist-es/commands/DescribeMeshCommand.js +28 -21
  21. package/dist-es/commands/DescribeRouteCommand.js +28 -21
  22. package/dist-es/commands/DescribeVirtualGatewayCommand.js +28 -21
  23. package/dist-es/commands/DescribeVirtualNodeCommand.js +28 -21
  24. package/dist-es/commands/DescribeVirtualRouterCommand.js +28 -21
  25. package/dist-es/commands/DescribeVirtualServiceCommand.js +28 -21
  26. package/dist-es/commands/ListGatewayRoutesCommand.js +28 -21
  27. package/dist-es/commands/ListMeshesCommand.js +28 -21
  28. package/dist-es/commands/ListRoutesCommand.js +28 -21
  29. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  30. package/dist-es/commands/ListVirtualGatewaysCommand.js +28 -21
  31. package/dist-es/commands/ListVirtualNodesCommand.js +28 -21
  32. package/dist-es/commands/ListVirtualRoutersCommand.js +28 -21
  33. package/dist-es/commands/ListVirtualServicesCommand.js +28 -21
  34. package/dist-es/commands/TagResourceCommand.js +28 -21
  35. package/dist-es/commands/UntagResourceCommand.js +28 -21
  36. package/dist-es/commands/UpdateGatewayRouteCommand.js +28 -21
  37. package/dist-es/commands/UpdateMeshCommand.js +28 -21
  38. package/dist-es/commands/UpdateRouteCommand.js +28 -21
  39. package/dist-es/commands/UpdateVirtualGatewayCommand.js +28 -21
  40. package/dist-es/commands/UpdateVirtualNodeCommand.js +28 -21
  41. package/dist-es/commands/UpdateVirtualRouterCommand.js +28 -21
  42. package/dist-es/commands/UpdateVirtualServiceCommand.js +28 -21
  43. package/dist-es/endpoints.js +8 -8
  44. package/dist-es/models/AppMeshServiceException.js +10 -5
  45. package/dist-es/models/models_0.js +393 -832
  46. package/dist-es/pagination/ListGatewayRoutesPaginator.js +68 -25
  47. package/dist-es/pagination/ListMeshesPaginator.js +68 -25
  48. package/dist-es/pagination/ListRoutesPaginator.js +68 -25
  49. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  50. package/dist-es/pagination/ListVirtualGatewaysPaginator.js +68 -25
  51. package/dist-es/pagination/ListVirtualNodesPaginator.js +68 -25
  52. package/dist-es/pagination/ListVirtualRoutersPaginator.js +68 -25
  53. package/dist-es/pagination/ListVirtualServicesPaginator.js +68 -25
  54. package/dist-es/protocols/Aws_restJson1.js +4906 -3964
  55. package/dist-es/runtimeConfig.browser.js +12 -26
  56. package/dist-es/runtimeConfig.js +12 -30
  57. package/dist-es/runtimeConfig.native.js +5 -8
  58. package/dist-es/runtimeConfig.shared.js +11 -8
  59. 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 { DescribeVirtualRouterInputFilterSensitiveLog, DescribeVirtualRouterOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeVirtualRouterCommand, serializeAws_restJson1DescribeVirtualRouterCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeVirtualRouterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeVirtualRouterCommand = (function (_super) {
7
+ __extends(DescribeVirtualRouterCommand, _super);
8
+ function DescribeVirtualRouterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeVirtualRouterCommand.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 = "AppMeshClient";
15
- const commandName = "DescribeVirtualRouterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "DescribeVirtualRouterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeVirtualRouterInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeVirtualRouterOutputFilterSensitiveLog,
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
+ DescribeVirtualRouterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeVirtualRouterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeVirtualRouterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeVirtualRouterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeVirtualRouterCommand;
38
+ }($Command));
39
+ export { DescribeVirtualRouterCommand };
@@ -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 { DescribeVirtualServiceInputFilterSensitiveLog, DescribeVirtualServiceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeVirtualServiceCommand, serializeAws_restJson1DescribeVirtualServiceCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeVirtualServiceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeVirtualServiceCommand = (function (_super) {
7
+ __extends(DescribeVirtualServiceCommand, _super);
8
+ function DescribeVirtualServiceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeVirtualServiceCommand.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 = "AppMeshClient";
15
- const commandName = "DescribeVirtualServiceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "DescribeVirtualServiceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeVirtualServiceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeVirtualServiceOutputFilterSensitiveLog,
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
+ DescribeVirtualServiceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeVirtualServiceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeVirtualServiceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeVirtualServiceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeVirtualServiceCommand;
38
+ }($Command));
39
+ export { DescribeVirtualServiceCommand };
@@ -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 { ListGatewayRoutesInputFilterSensitiveLog, ListGatewayRoutesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListGatewayRoutesCommand, serializeAws_restJson1ListGatewayRoutesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListGatewayRoutesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListGatewayRoutesCommand = (function (_super) {
7
+ __extends(ListGatewayRoutesCommand, _super);
8
+ function ListGatewayRoutesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListGatewayRoutesCommand.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 = "AppMeshClient";
15
- const commandName = "ListGatewayRoutesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "ListGatewayRoutesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListGatewayRoutesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListGatewayRoutesOutputFilterSensitiveLog,
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
+ ListGatewayRoutesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListGatewayRoutesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListGatewayRoutesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListGatewayRoutesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListGatewayRoutesCommand;
38
+ }($Command));
39
+ export { ListGatewayRoutesCommand };
@@ -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 { ListMeshesInputFilterSensitiveLog, ListMeshesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListMeshesCommand, serializeAws_restJson1ListMeshesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListMeshesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListMeshesCommand = (function (_super) {
7
+ __extends(ListMeshesCommand, _super);
8
+ function ListMeshesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListMeshesCommand.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 = "AppMeshClient";
15
- const commandName = "ListMeshesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "ListMeshesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMeshesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMeshesOutputFilterSensitiveLog,
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
+ ListMeshesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListMeshesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListMeshesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListMeshesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListMeshesCommand;
38
+ }($Command));
39
+ export { ListMeshesCommand };
@@ -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 { ListRoutesInputFilterSensitiveLog, ListRoutesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListRoutesCommand, serializeAws_restJson1ListRoutesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListRoutesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRoutesCommand = (function (_super) {
7
+ __extends(ListRoutesCommand, _super);
8
+ function ListRoutesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRoutesCommand.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 = "AppMeshClient";
15
- const commandName = "ListRoutesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "ListRoutesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRoutesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRoutesOutputFilterSensitiveLog,
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
+ ListRoutesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListRoutesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRoutesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListRoutesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRoutesCommand;
38
+ }($Command));
39
+ export { ListRoutesCommand };
@@ -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 { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "AppMeshClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { ListVirtualGatewaysInputFilterSensitiveLog, ListVirtualGatewaysOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListVirtualGatewaysCommand, serializeAws_restJson1ListVirtualGatewaysCommand, } from "../protocols/Aws_restJson1";
5
- export class ListVirtualGatewaysCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVirtualGatewaysCommand = (function (_super) {
7
+ __extends(ListVirtualGatewaysCommand, _super);
8
+ function ListVirtualGatewaysCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVirtualGatewaysCommand.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 = "AppMeshClient";
15
- const commandName = "ListVirtualGatewaysCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "ListVirtualGatewaysCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVirtualGatewaysInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVirtualGatewaysOutputFilterSensitiveLog,
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
+ ListVirtualGatewaysCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListVirtualGatewaysCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVirtualGatewaysCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListVirtualGatewaysCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVirtualGatewaysCommand;
38
+ }($Command));
39
+ export { ListVirtualGatewaysCommand };
@@ -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 { ListVirtualNodesInputFilterSensitiveLog, ListVirtualNodesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListVirtualNodesCommand, serializeAws_restJson1ListVirtualNodesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListVirtualNodesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVirtualNodesCommand = (function (_super) {
7
+ __extends(ListVirtualNodesCommand, _super);
8
+ function ListVirtualNodesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVirtualNodesCommand.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 = "AppMeshClient";
15
- const commandName = "ListVirtualNodesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "ListVirtualNodesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVirtualNodesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVirtualNodesOutputFilterSensitiveLog,
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
+ ListVirtualNodesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListVirtualNodesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVirtualNodesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListVirtualNodesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVirtualNodesCommand;
38
+ }($Command));
39
+ export { ListVirtualNodesCommand };
@@ -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 { ListVirtualRoutersInputFilterSensitiveLog, ListVirtualRoutersOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListVirtualRoutersCommand, serializeAws_restJson1ListVirtualRoutersCommand, } from "../protocols/Aws_restJson1";
5
- export class ListVirtualRoutersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVirtualRoutersCommand = (function (_super) {
7
+ __extends(ListVirtualRoutersCommand, _super);
8
+ function ListVirtualRoutersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVirtualRoutersCommand.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 = "AppMeshClient";
15
- const commandName = "ListVirtualRoutersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "ListVirtualRoutersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVirtualRoutersInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVirtualRoutersOutputFilterSensitiveLog,
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
+ ListVirtualRoutersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListVirtualRoutersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVirtualRoutersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListVirtualRoutersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVirtualRoutersCommand;
38
+ }($Command));
39
+ export { ListVirtualRoutersCommand };
@@ -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 { ListVirtualServicesInputFilterSensitiveLog, ListVirtualServicesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListVirtualServicesCommand, serializeAws_restJson1ListVirtualServicesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListVirtualServicesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVirtualServicesCommand = (function (_super) {
7
+ __extends(ListVirtualServicesCommand, _super);
8
+ function ListVirtualServicesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVirtualServicesCommand.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 = "AppMeshClient";
15
- const commandName = "ListVirtualServicesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppMeshClient";
18
+ var commandName = "ListVirtualServicesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVirtualServicesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVirtualServicesOutputFilterSensitiveLog,
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
+ ListVirtualServicesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListVirtualServicesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVirtualServicesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListVirtualServicesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVirtualServicesCommand;
38
+ }($Command));
39
+ export { ListVirtualServicesCommand };