@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 { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceOutputFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateGatewayRouteInputFilterSensitiveLog, UpdateGatewayRouteOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateGatewayRouteCommand, serializeAws_restJson1UpdateGatewayRouteCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateGatewayRouteCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateGatewayRouteCommand.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 = "UpdateGatewayRouteCommand";
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 = "UpdateGatewayRouteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateGatewayRouteInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateGatewayRouteOutputFilterSensitiveLog,
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
+ UpdateGatewayRouteCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateGatewayRouteCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateGatewayRouteCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateGatewayRouteCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateGatewayRouteCommand;
38
+ }($Command));
39
+ export { UpdateGatewayRouteCommand };
@@ -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 { UpdateMeshInputFilterSensitiveLog, UpdateMeshOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateMeshCommand, serializeAws_restJson1UpdateMeshCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateMeshCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateMeshCommand.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 = "UpdateMeshCommand";
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 = "UpdateMeshCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateMeshInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateMeshOutputFilterSensitiveLog,
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
+ UpdateMeshCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateMeshCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateMeshCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateMeshCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateMeshCommand;
38
+ }($Command));
39
+ export { UpdateMeshCommand };
@@ -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 { UpdateRouteInputFilterSensitiveLog, UpdateRouteOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateRouteCommand, serializeAws_restJson1UpdateRouteCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateRouteCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateRouteCommand.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 = "UpdateRouteCommand";
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 = "UpdateRouteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateRouteInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateRouteOutputFilterSensitiveLog,
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
+ UpdateRouteCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateRouteCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateRouteCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateRouteCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateRouteCommand;
38
+ }($Command));
39
+ export { UpdateRouteCommand };
@@ -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 { UpdateVirtualGatewayInputFilterSensitiveLog, UpdateVirtualGatewayOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateVirtualGatewayCommand, serializeAws_restJson1UpdateVirtualGatewayCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateVirtualGatewayCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateVirtualGatewayCommand.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 = "UpdateVirtualGatewayCommand";
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 = "UpdateVirtualGatewayCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateVirtualGatewayInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateVirtualGatewayOutputFilterSensitiveLog,
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
+ UpdateVirtualGatewayCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateVirtualGatewayCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateVirtualGatewayCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateVirtualGatewayCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateVirtualGatewayCommand;
38
+ }($Command));
39
+ export { UpdateVirtualGatewayCommand };
@@ -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 { UpdateVirtualNodeInputFilterSensitiveLog, UpdateVirtualNodeOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateVirtualNodeCommand, serializeAws_restJson1UpdateVirtualNodeCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateVirtualNodeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateVirtualNodeCommand.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 = "UpdateVirtualNodeCommand";
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 = "UpdateVirtualNodeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateVirtualNodeInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateVirtualNodeOutputFilterSensitiveLog,
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
+ UpdateVirtualNodeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateVirtualNodeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateVirtualNodeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateVirtualNodeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateVirtualNodeCommand;
38
+ }($Command));
39
+ export { UpdateVirtualNodeCommand };
@@ -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 { UpdateVirtualRouterInputFilterSensitiveLog, UpdateVirtualRouterOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateVirtualRouterCommand, serializeAws_restJson1UpdateVirtualRouterCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateVirtualRouterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateVirtualRouterCommand.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 = "UpdateVirtualRouterCommand";
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 = "UpdateVirtualRouterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateVirtualRouterInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateVirtualRouterOutputFilterSensitiveLog,
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
+ UpdateVirtualRouterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateVirtualRouterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateVirtualRouterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateVirtualRouterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateVirtualRouterCommand;
38
+ }($Command));
39
+ export { UpdateVirtualRouterCommand };
@@ -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 { UpdateVirtualServiceInputFilterSensitiveLog, UpdateVirtualServiceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateVirtualServiceCommand, serializeAws_restJson1UpdateVirtualServiceCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateVirtualServiceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateVirtualServiceCommand.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 = "UpdateVirtualServiceCommand";
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 = "UpdateVirtualServiceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateVirtualServiceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateVirtualServiceOutputFilterSensitiveLog,
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
+ UpdateVirtualServiceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateVirtualServiceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateVirtualServiceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateVirtualServiceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateVirtualServiceCommand;
38
+ }($Command));
39
+ export { UpdateVirtualServiceCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "af-south-1": {
4
5
  variants: [
5
6
  {
@@ -233,7 +234,7 @@ const regionHash = {
233
234
  ],
234
235
  },
235
236
  };
236
- const partitionHash = {
237
+ var partitionHash = {
237
238
  aws: {
238
239
  regions: [
239
240
  "af-south-1",
@@ -358,9 +359,8 @@ const partitionHash = {
358
359
  ],
359
360
  },
360
361
  };
361
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
362
- ...options,
363
- signingService: "appmesh",
364
- regionHash,
365
- partitionHash,
366
- });
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
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class AppMeshServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, AppMeshServiceException.prototype);
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;
6
9
  }
7
- }
10
+ return AppMeshServiceException;
11
+ }(__ServiceException));
12
+ export { AppMeshServiceException };