@aws-sdk/client-app-mesh 3.180.0 → 3.183.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 +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +44 -38
  3. package/dist-es/AppMesh.js +154 -161
  4. package/dist-es/AppMeshClient.js +22 -28
  5. package/dist-es/commands/CreateGatewayRouteCommand.js +21 -28
  6. package/dist-es/commands/CreateMeshCommand.js +21 -28
  7. package/dist-es/commands/CreateRouteCommand.js +21 -28
  8. package/dist-es/commands/CreateVirtualGatewayCommand.js +21 -28
  9. package/dist-es/commands/CreateVirtualNodeCommand.js +21 -28
  10. package/dist-es/commands/CreateVirtualRouterCommand.js +21 -28
  11. package/dist-es/commands/CreateVirtualServiceCommand.js +21 -28
  12. package/dist-es/commands/DeleteGatewayRouteCommand.js +21 -28
  13. package/dist-es/commands/DeleteMeshCommand.js +21 -28
  14. package/dist-es/commands/DeleteRouteCommand.js +21 -28
  15. package/dist-es/commands/DeleteVirtualGatewayCommand.js +21 -28
  16. package/dist-es/commands/DeleteVirtualNodeCommand.js +21 -28
  17. package/dist-es/commands/DeleteVirtualRouterCommand.js +21 -28
  18. package/dist-es/commands/DeleteVirtualServiceCommand.js +21 -28
  19. package/dist-es/commands/DescribeGatewayRouteCommand.js +21 -28
  20. package/dist-es/commands/DescribeMeshCommand.js +21 -28
  21. package/dist-es/commands/DescribeRouteCommand.js +21 -28
  22. package/dist-es/commands/DescribeVirtualGatewayCommand.js +21 -28
  23. package/dist-es/commands/DescribeVirtualNodeCommand.js +21 -28
  24. package/dist-es/commands/DescribeVirtualRouterCommand.js +21 -28
  25. package/dist-es/commands/DescribeVirtualServiceCommand.js +21 -28
  26. package/dist-es/commands/ListGatewayRoutesCommand.js +21 -28
  27. package/dist-es/commands/ListMeshesCommand.js +21 -28
  28. package/dist-es/commands/ListRoutesCommand.js +21 -28
  29. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  30. package/dist-es/commands/ListVirtualGatewaysCommand.js +21 -28
  31. package/dist-es/commands/ListVirtualNodesCommand.js +21 -28
  32. package/dist-es/commands/ListVirtualRoutersCommand.js +21 -28
  33. package/dist-es/commands/ListVirtualServicesCommand.js +21 -28
  34. package/dist-es/commands/TagResourceCommand.js +21 -28
  35. package/dist-es/commands/UntagResourceCommand.js +21 -28
  36. package/dist-es/commands/UpdateGatewayRouteCommand.js +21 -28
  37. package/dist-es/commands/UpdateMeshCommand.js +21 -28
  38. package/dist-es/commands/UpdateRouteCommand.js +21 -28
  39. package/dist-es/commands/UpdateVirtualGatewayCommand.js +21 -28
  40. package/dist-es/commands/UpdateVirtualNodeCommand.js +21 -28
  41. package/dist-es/commands/UpdateVirtualRouterCommand.js +21 -28
  42. package/dist-es/commands/UpdateVirtualServiceCommand.js +21 -28
  43. package/dist-es/endpoints.js +8 -8
  44. package/dist-es/models/AppMeshServiceException.js +5 -10
  45. package/dist-es/models/models_0.js +832 -393
  46. package/dist-es/pagination/ListGatewayRoutesPaginator.js +25 -68
  47. package/dist-es/pagination/ListMeshesPaginator.js +25 -68
  48. package/dist-es/pagination/ListRoutesPaginator.js +25 -68
  49. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  50. package/dist-es/pagination/ListVirtualGatewaysPaginator.js +25 -68
  51. package/dist-es/pagination/ListVirtualNodesPaginator.js +25 -68
  52. package/dist-es/pagination/ListVirtualRoutersPaginator.js +25 -68
  53. package/dist-es/pagination/ListVirtualServicesPaginator.js +25 -68
  54. package/dist-es/protocols/Aws_restJson1.js +3964 -4893
  55. package/dist-es/runtimeConfig.browser.js +26 -12
  56. package/dist-es/runtimeConfig.js +30 -12
  57. package/dist-es/runtimeConfig.native.js +8 -5
  58. package/dist-es/runtimeConfig.shared.js +8 -11
  59. 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 { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.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_restJson1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
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 { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.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_restJson1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
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 { UpdateGatewayRouteInputFilterSensitiveLog, UpdateGatewayRouteOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateGatewayRouteCommand, serializeAws_restJson1UpdateGatewayRouteCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateGatewayRouteCommand = (function (_super) {
7
- __extends(UpdateGatewayRouteCommand, _super);
8
- function UpdateGatewayRouteCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateGatewayRouteCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateGatewayRouteCommand.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 = "UpdateGatewayRouteCommand";
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 = "UpdateGatewayRouteCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateGatewayRouteInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateGatewayRouteOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateGatewayRouteCommand.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_restJson1UpdateGatewayRouteCommand(input, context);
33
- };
34
- UpdateGatewayRouteCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateGatewayRouteCommand(output, context);
36
- };
37
- return UpdateGatewayRouteCommand;
38
- }($Command));
39
- export { UpdateGatewayRouteCommand };
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 { UpdateMeshInputFilterSensitiveLog, UpdateMeshOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateMeshCommand, serializeAws_restJson1UpdateMeshCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateMeshCommand = (function (_super) {
7
- __extends(UpdateMeshCommand, _super);
8
- function UpdateMeshCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateMeshCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateMeshCommand.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 = "UpdateMeshCommand";
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 = "UpdateMeshCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateMeshInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateMeshOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateMeshCommand.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_restJson1UpdateMeshCommand(input, context);
33
- };
34
- UpdateMeshCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateMeshCommand(output, context);
36
- };
37
- return UpdateMeshCommand;
38
- }($Command));
39
- export { UpdateMeshCommand };
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 { UpdateRouteInputFilterSensitiveLog, UpdateRouteOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateRouteCommand, serializeAws_restJson1UpdateRouteCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateRouteCommand = (function (_super) {
7
- __extends(UpdateRouteCommand, _super);
8
- function UpdateRouteCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateRouteCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateRouteCommand.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 = "UpdateRouteCommand";
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 = "UpdateRouteCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateRouteInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateRouteOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateRouteCommand.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_restJson1UpdateRouteCommand(input, context);
33
- };
34
- UpdateRouteCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateRouteCommand(output, context);
36
- };
37
- return UpdateRouteCommand;
38
- }($Command));
39
- export { UpdateRouteCommand };
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 { UpdateVirtualGatewayInputFilterSensitiveLog, UpdateVirtualGatewayOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateVirtualGatewayCommand, serializeAws_restJson1UpdateVirtualGatewayCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateVirtualGatewayCommand = (function (_super) {
7
- __extends(UpdateVirtualGatewayCommand, _super);
8
- function UpdateVirtualGatewayCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateVirtualGatewayCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateVirtualGatewayCommand.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 = "UpdateVirtualGatewayCommand";
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 = "UpdateVirtualGatewayCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateVirtualGatewayInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateVirtualGatewayOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateVirtualGatewayCommand.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_restJson1UpdateVirtualGatewayCommand(input, context);
33
- };
34
- UpdateVirtualGatewayCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateVirtualGatewayCommand(output, context);
36
- };
37
- return UpdateVirtualGatewayCommand;
38
- }($Command));
39
- export { UpdateVirtualGatewayCommand };
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 { UpdateVirtualNodeInputFilterSensitiveLog, UpdateVirtualNodeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateVirtualNodeCommand, serializeAws_restJson1UpdateVirtualNodeCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateVirtualNodeCommand = (function (_super) {
7
- __extends(UpdateVirtualNodeCommand, _super);
8
- function UpdateVirtualNodeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateVirtualNodeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateVirtualNodeCommand.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 = "UpdateVirtualNodeCommand";
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 = "UpdateVirtualNodeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateVirtualNodeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateVirtualNodeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateVirtualNodeCommand.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_restJson1UpdateVirtualNodeCommand(input, context);
33
- };
34
- UpdateVirtualNodeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateVirtualNodeCommand(output, context);
36
- };
37
- return UpdateVirtualNodeCommand;
38
- }($Command));
39
- export { UpdateVirtualNodeCommand };
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 { UpdateVirtualRouterInputFilterSensitiveLog, UpdateVirtualRouterOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateVirtualRouterCommand, serializeAws_restJson1UpdateVirtualRouterCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateVirtualRouterCommand = (function (_super) {
7
- __extends(UpdateVirtualRouterCommand, _super);
8
- function UpdateVirtualRouterCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateVirtualRouterCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateVirtualRouterCommand.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 = "UpdateVirtualRouterCommand";
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 = "UpdateVirtualRouterCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateVirtualRouterInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateVirtualRouterOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateVirtualRouterCommand.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_restJson1UpdateVirtualRouterCommand(input, context);
33
- };
34
- UpdateVirtualRouterCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateVirtualRouterCommand(output, context);
36
- };
37
- return UpdateVirtualRouterCommand;
38
- }($Command));
39
- export { UpdateVirtualRouterCommand };
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 { UpdateVirtualServiceInputFilterSensitiveLog, UpdateVirtualServiceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateVirtualServiceCommand, serializeAws_restJson1UpdateVirtualServiceCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateVirtualServiceCommand = (function (_super) {
7
- __extends(UpdateVirtualServiceCommand, _super);
8
- function UpdateVirtualServiceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateVirtualServiceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateVirtualServiceCommand.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 = "UpdateVirtualServiceCommand";
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 = "UpdateVirtualServiceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateVirtualServiceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateVirtualServiceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateVirtualServiceCommand.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_restJson1UpdateVirtualServiceCommand(input, context);
33
- };
34
- UpdateVirtualServiceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateVirtualServiceCommand(output, context);
36
- };
37
- return UpdateVirtualServiceCommand;
38
- }($Command));
39
- export { UpdateVirtualServiceCommand };
31
+ }
32
+ }
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "af-south-1": {
5
4
  variants: [
6
5
  {
@@ -234,7 +233,7 @@ var regionHash = {
234
233
  ],
235
234
  },
236
235
  };
237
- var partitionHash = {
236
+ const partitionHash = {
238
237
  aws: {
239
238
  regions: [
240
239
  "af-south-1",
@@ -359,8 +358,9 @@ var partitionHash = {
359
358
  ],
360
359
  },
361
360
  };
362
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
363
- return __generator(this, function (_a) {
364
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "appmesh", regionHash: regionHash, partitionHash: partitionHash }))];
365
- });
366
- }); };
361
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
362
+ ...options,
363
+ signingService: "appmesh",
364
+ regionHash,
365
+ partitionHash,
366
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var AppMeshServiceException = (function (_super) {
4
- __extends(AppMeshServiceException, _super);
5
- function AppMeshServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, AppMeshServiceException.prototype);
8
- return _this;
2
+ export class AppMeshServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, AppMeshServiceException.prototype);
9
6
  }
10
- return AppMeshServiceException;
11
- }(__ServiceException));
12
- export { AppMeshServiceException };
7
+ }