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